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

dt-bindings: arm: hisilicon,cpuctrl: Merge "hisilicon,hix5hd2-clock" into parent binding

The "hisilicon,hix5hd2-clock" is simple enough to just add it into its
parent node binding, "hisilicon,cpuctrl".

This fixes a warning that "hisilicon,hix5hd2-clock" is missing a schema.

Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230707210700.869060-1-robh@kernel.org
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Rob Herring and committed by
Stephen Boyd
dac7d7a8 06c2afb8

+20 -30
+20
Documentation/devicetree/bindings/arm/hisilicon/controller/cpuctrl.yaml
··· 29 29 30 30 ranges: true 31 31 32 + patternProperties: 33 + "^clock@[0-9a-f]+$": 34 + type: object 35 + additionalProperties: false 36 + 37 + properties: 38 + compatible: 39 + const: hisilicon,hix5hd2-clock 40 + 41 + reg: 42 + maxItems: 1 43 + 44 + "#clock-cells": 45 + const: 1 46 + 47 + required: 48 + - compatible 49 + - reg 50 + - "#clock-cells" 51 + 32 52 required: 33 53 - compatible 34 54 - reg
-30
Documentation/devicetree/bindings/clock/hix5hd2-clock.txt
··· 1 - * Hisilicon Hix5hd2 Clock Controller 2 - 3 - The hix5hd2 clock controller generates and supplies clock to various 4 - controllers within the hix5hd2 SoC. 5 - 6 - Required Properties: 7 - 8 - - compatible: should be "hisilicon,hix5hd2-clock" 9 - - reg: Address and length of the register set 10 - - #clock-cells: Should be <1> 11 - 12 - Each clock is assigned an identifier and client nodes use this identifier 13 - to specify the clock which they consume. 14 - 15 - All these identifier could be found in <dt-bindings/clock/hix5hd2-clock.h>. 16 - 17 - Examples: 18 - clock: clock@f8a22000 { 19 - compatible = "hisilicon,hix5hd2-clock"; 20 - reg = <0xf8a22000 0x1000>; 21 - #clock-cells = <1>; 22 - }; 23 - 24 - uart0: uart@f8b00000 { 25 - compatible = "arm,pl011", "arm,primecell"; 26 - reg = <0xf8b00000 0x1000>; 27 - interrupts = <0 49 4>; 28 - clocks = <&clock HIX5HD2_FIXED_83M>; 29 - clock-names = "apb_pclk"; 30 - };