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

dt-bindings: arm: alpine: Move CPU control related binding to cpu-enable-method/al,alpine-smp

It is best practice to have 1 binding per file, so board level bindings
should be separate for various misc SoC bindings. Move the Alpine CPU
control to al,alpine-smp and we can also remove a cross reference.

Cc: Tsahee Zidenberg <tsahee@annapurnalabs.com>
Cc: Antoine Tenart <antoine.tenart@free-electrons.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: devicetree@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>

+31 -75
-72
Documentation/devicetree/bindings/arm/al,alpine.txt
··· 14 14 15 15 ... 16 16 } 17 - 18 - * CPU node: 19 - 20 - The Alpine platform includes cortex-a15 cores. 21 - enable-method: must be "al,alpine-smp" to allow smp [1] 22 - 23 - Example: 24 - 25 - cpus { 26 - #address-cells = <1>; 27 - #size-cells = <0>; 28 - enable-method = "al,alpine-smp"; 29 - 30 - cpu@0 { 31 - compatible = "arm,cortex-a15"; 32 - device_type = "cpu"; 33 - reg = <0>; 34 - }; 35 - 36 - cpu@1 { 37 - compatible = "arm,cortex-a15"; 38 - device_type = "cpu"; 39 - reg = <1>; 40 - }; 41 - 42 - cpu@2 { 43 - compatible = "arm,cortex-a15"; 44 - device_type = "cpu"; 45 - reg = <2>; 46 - }; 47 - 48 - cpu@3 { 49 - compatible = "arm,cortex-a15"; 50 - device_type = "cpu"; 51 - reg = <3>; 52 - }; 53 - }; 54 - 55 - 56 - * Alpine CPU resume registers 57 - 58 - The CPU resume register are used to define required resume address after 59 - reset. 60 - 61 - Properties: 62 - - compatible : Should contain "al,alpine-cpu-resume". 63 - - reg : Offset and length of the register set for the device 64 - 65 - Example: 66 - 67 - cpu_resume { 68 - compatible = "al,alpine-cpu-resume"; 69 - reg = <0xfbff5ed0 0x30>; 70 - }; 71 - 72 - * Alpine System-Fabric Service Registers 73 - 74 - The System-Fabric Service Registers allow various operation on CPU and 75 - system fabric, like powering CPUs off. 76 - 77 - Properties: 78 - - compatible : Should contain "al,alpine-sysfabric-service" and "syscon". 79 - - reg : Offset and length of the register set for the device 80 - 81 - Example: 82 - 83 - nb_service { 84 - compatible = "al,alpine-sysfabric-service", "syscon"; 85 - reg = <0xfb070000 0x10000>; 86 - }; 87 - 88 - [1] arm/cpu-enable-method/al,alpine-smp
+31 -3
Documentation/devicetree/bindings/arm/cpu-enable-method/al,alpine-smp
··· 14 14 15 15 Note: 16 16 This enable method requires valid nodes compatible with 17 - "al,alpine-cpu-resume" and "al,alpine-nb-service"[1]. 17 + "al,alpine-cpu-resume" and "al,alpine-nb-service". 18 + 19 + 20 + * Alpine CPU resume registers 21 + 22 + The CPU resume register are used to define required resume address after 23 + reset. 24 + 25 + Properties: 26 + - compatible : Should contain "al,alpine-cpu-resume". 27 + - reg : Offset and length of the register set for the device 28 + 29 + 30 + * Alpine System-Fabric Service Registers 31 + 32 + The System-Fabric Service Registers allow various operation on CPU and 33 + system fabric, like powering CPUs off. 34 + 35 + Properties: 36 + - compatible : Should contain "al,alpine-sysfabric-service" and "syscon". 37 + - reg : Offset and length of the register set for the device 38 + 18 39 19 40 Example: 20 41 ··· 69 48 }; 70 49 }; 71 50 72 - -- 73 - [1] arm/al,alpine.txt 51 + cpu_resume { 52 + compatible = "al,alpine-cpu-resume"; 53 + reg = <0xfbff5ed0 0x30>; 54 + }; 55 + 56 + nb_service { 57 + compatible = "al,alpine-sysfabric-service", "syscon"; 58 + reg = <0xfb070000 0x10000>; 59 + };