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

Merge tag 'v5.16-rockchip-dts32-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into arm/dt

ADC-keys for the mk808 board and a number of further cleanups
to make dt-schema happier.

* tag 'v5.16-rockchip-dts32-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
ARM: dts: rockchip: swap timer clock-names
ARM: dts: rockchip: add more angle brackets to operating-points property on rk3066a
ARM: dts: rockchip: rename opp-table node names
ARM: dts: rockchip: change rv1108 gmac nodename
ARM: dts: rockchip: add adc-keys node to rk3066a-mk808

Link: https://lore.kernel.org/r/5121280.Lt9SDvczpP@phil
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

+48 -22
+2 -2
arch/arm/boot/dts/rk3036.dtsi
··· 416 416 compatible = "rockchip,rk3036-timer", "rockchip,rk3288-timer"; 417 417 reg = <0x20044000 0x20>; 418 418 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; 419 - clocks = <&xin24m>, <&cru PCLK_TIMER>; 420 - clock-names = "timer", "pclk"; 419 + clocks = <&cru PCLK_TIMER>, <&xin24m>; 420 + clock-names = "pclk", "timer"; 421 421 }; 422 422 423 423 pwm0: pwm@20050000 {
+27
arch/arm/boot/dts/rk3066a-mk808.dts
··· 4 4 */ 5 5 6 6 /dts-v1/; 7 + #include <dt-bindings/input/input.h> 7 8 #include "rk3066a.dtsi" 8 9 9 10 / { ··· 23 22 memory@60000000 { 24 23 reg = <0x60000000 0x40000000>; 25 24 device_type = "memory"; 25 + }; 26 + 27 + adc-keys { 28 + compatible = "adc-keys"; 29 + io-channels = <&saradc 1>; 30 + io-channel-names = "buttons"; 31 + keyup-threshold-microvolt = <2500000>; 32 + poll-interval = <100>; 33 + 34 + recovery { 35 + label = "recovery"; 36 + linux,code = <KEY_VENDOR>; 37 + press-threshold-microvolt = <0>; 38 + }; 26 39 }; 27 40 28 41 gpio-leds { ··· 59 44 remote-endpoint = <&hdmi_out_con>; 60 45 }; 61 46 }; 47 + }; 48 + 49 + vcc_2v5: vcc-2v5 { 50 + compatible = "regulator-fixed"; 51 + regulator-name = "vcc_2v5"; 52 + regulator-min-microvolt = <2500000>; 53 + regulator-max-microvolt = <2500000>; 62 54 }; 63 55 64 56 vcc_io: vcc-io { ··· 184 162 rockchip,pins = <3 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>; 185 163 }; 186 164 }; 165 + }; 166 + 167 + &saradc { 168 + vref-supply = <&vcc_2v5>; 169 + status = "okay"; 187 170 }; 188 171 189 172 &uart2 {
+8 -9
arch/arm/boot/dts/rk3066a.dtsi
··· 23 23 compatible = "arm,cortex-a9"; 24 24 next-level-cache = <&L2>; 25 25 reg = <0x0>; 26 - operating-points = < 26 + operating-points = 27 27 /* kHz uV */ 28 - 1416000 1300000 29 - 1200000 1175000 30 - 1008000 1125000 31 - 816000 1125000 32 - 600000 1100000 33 - 504000 1100000 34 - 312000 1075000 35 - >; 28 + <1416000 1300000>, 29 + <1200000 1175000>, 30 + <1008000 1125000>, 31 + <816000 1125000>, 32 + <600000 1100000>, 33 + <504000 1100000>, 34 + <312000 1075000>; 36 35 clock-latency = <40000>; 37 36 clocks = <&cru ARMCLK>; 38 37 };
+1 -1
arch/arm/boot/dts/rk3188.dtsi
··· 54 54 }; 55 55 }; 56 56 57 - cpu0_opp_table: opp_table0 { 57 + cpu0_opp_table: opp-table-0 { 58 58 compatible = "operating-points-v2"; 59 59 opp-shared; 60 60
+1 -1
arch/arm/boot/dts/rk3229.dtsi
··· 10 10 11 11 /delete-node/ opp-table0; 12 12 13 - cpu0_opp_table: opp_table0 { 13 + cpu0_opp_table: opp-table-0 { 14 14 compatible = "operating-points-v2"; 15 15 opp-shared; 16 16
+3 -3
arch/arm/boot/dts/rk322x.dtsi
··· 68 68 }; 69 69 }; 70 70 71 - cpu0_opp_table: opp_table0 { 71 + cpu0_opp_table: opp-table-0 { 72 72 compatible = "operating-points-v2"; 73 73 opp-shared; 74 74 ··· 477 477 compatible = "rockchip,rk3228-timer", "rockchip,rk3288-timer"; 478 478 reg = <0x110c0000 0x20>; 479 479 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>; 480 - clocks = <&xin24m>, <&cru PCLK_TIMER>; 481 - clock-names = "timer", "pclk"; 480 + clocks = <&cru PCLK_TIMER>, <&xin24m>; 481 + clock-names = "pclk", "timer"; 482 482 }; 483 483 484 484 cru: clock-controller@110e0000 {
+2 -2
arch/arm/boot/dts/rk3288.dtsi
··· 100 100 }; 101 101 }; 102 102 103 - cpu_opp_table: cpu-opp-table { 103 + cpu_opp_table: opp-table-0 { 104 104 compatible = "operating-points-v2"; 105 105 opp-shared; 106 106 ··· 1278 1278 status = "disabled"; 1279 1279 }; 1280 1280 1281 - gpu_opp_table: gpu-opp-table { 1281 + gpu_opp_table: opp-table-1 { 1282 1282 compatible = "operating-points-v2"; 1283 1283 1284 1284 opp-100000000 {
+4 -4
arch/arm/boot/dts/rv1108.dtsi
··· 40 40 }; 41 41 }; 42 42 43 - cpu_opp_table: opp_table { 43 + cpu_opp_table: opp-table-0 { 44 44 compatible = "operating-points-v2"; 45 45 46 46 opp-408000000 { ··· 300 300 compatible = "rockchip,rv1108-timer", "rockchip,rk3288-timer"; 301 301 reg = <0x10350000 0x20>; 302 302 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; 303 - clocks = <&xin24m>, <&cru PCLK_TIMER>; 304 - clock-names = "timer", "pclk"; 303 + clocks = <&cru PCLK_TIMER>, <&xin24m>; 304 + clock-names = "pclk", "timer"; 305 305 }; 306 306 307 307 watchdog: watchdog@10360000 { ··· 557 557 status = "disabled"; 558 558 }; 559 559 560 - gmac: eth@30200000 { 560 + gmac: ethernet@30200000 { 561 561 compatible = "rockchip,rv1108-gmac"; 562 562 reg = <0x30200000 0x10000>; 563 563 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,