Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: hisilicon: Merge hi3620-clock into hisilicon,sysctrl binding

The hi3620-clock binding is simple and always a child of the
"hisilicon,sysctrl" node, so just add it into the hisilicon,sysctrl
binding and drop the old txt binding.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>

authored by

Rob Herring and committed by
Wei Xu
e6fe33c6 b85ea95d

+17 -20
+17
Documentation/devicetree/bindings/arm/hisilicon/controller/sysctrl.yaml
··· 82 82 83 83 ranges: true 84 84 85 + patternProperties: 86 + '^clock@': 87 + type: object 88 + additionalProperties: false 89 + 90 + properties: 91 + compatible: 92 + enum: 93 + - hisilicon,hi3620-clock 94 + - hisilicon,hi3620-mmc-clock 95 + 96 + reg: 97 + maxItems: 1 98 + 99 + '#clock-cells': 100 + const: 1 101 + 85 102 required: 86 103 - compatible 87 104 - reg
-20
Documentation/devicetree/bindings/clock/hi3620-clock.txt
··· 1 - * Hisilicon Hi3620 Clock Controller 2 - 3 - The Hi3620 clock controller generates and supplies clock to various 4 - controllers within the Hi3620 SoC. 5 - 6 - Required Properties: 7 - 8 - - compatible: should be one of the following. 9 - - "hisilicon,hi3620-clock" - controller compatible with Hi3620 SoC. 10 - - "hisilicon,hi3620-mmc-clock" - controller specific for Hi3620 mmc. 11 - 12 - - reg: physical base address of the controller and length of memory mapped 13 - region. 14 - 15 - - #clock-cells: should be 1. 16 - 17 - Each clock is assigned an identifier and client nodes use this identifier 18 - to specify the clock which they consume. 19 - 20 - All these identifier could be found in <dt-bindings/clock/hi3620-clock.h>.