dt-bindings: arm: hisilicon: convert hisilicon,hip04-bootwrapper bindings to json...
authorZhen Lei <thunder.leizhen@huawei.com>
Tue, 29 Sep 2020 14:14:51 +0000 (22:14 +0800)
committerRob Herring <robh@kernel.org>
Thu, 1 Oct 2020 12:24:48 +0000 (07:24 -0500)
commitaeb9dd8491c2b05405ffba583272cac9b47fdc08
treeb67251e8a92625b4f7928b759086295ed6e88e72
parent1dc0041db230709caf01caa38497ded973ece87f
dt-bindings: arm: hisilicon: convert hisilicon,hip04-bootwrapper bindings to json-schema

Convert the Hisilicon Bootwrapper boot method binding to DT schema format
using json-schema.

The property boot-method contains two groups of physical address range
information: bootwrapper and relocation. The "uint32-array" type is not
suitable for it, because the field "address" and "size" may occupy one or
two cells respectively. Use "minItems: 1" and "maxItems: 2" to allow it
can be written in "<addr size addr size>" or "<addr size>, <addr size>"
format.

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/r/20200929141454.2312-15-thunder.leizhen@huawei.com
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/arm/hisilicon/controller/hip04-bootwrapper.yaml [new file with mode: 0644]
Documentation/devicetree/bindings/arm/hisilicon/controller/hisilicon,hip04-bootwrapper.txt [deleted file]