ARM: dts: rockchip: Describe the touchscreen interrupt on rk3288-phycore-rdk
Subsystems (2)
PATCH 1/3 ARM: dts: rockchip: Describe the touchscreen interrupt on rk3288-phycore-rdk
According to the phyCORE - RK3288 Hardware Manual, GPIO5_B4 corresponds to the touchscreen interrupt line:
https://www.phytec.eu/fileadmin/legacy/downloads/Manuals/L-826e_1.pdf
Describe it to improve the devicetree representation.
This fixes the following dt-schema warning:
'interrupts' is a required property 'interrupts-extended' is a required property
--- arch/arm/boot/dts/rockchip/rk3288-phycore-rdk.dts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
arch/arm/boot/dts/rockchip/rk3288-phycore-rdk.dts +5 -1
@@ -86,6 +86,10 @@ &i2c1 { touchscreen@44 { compatible = "st,stmpe811"; reg = <0x44>; + pinctrl-names = "default"; + pinctrl-0 = <&ts_irq_pin>; + interrupt-parent = <&gpio5>; + interrupts = <RK_PB4 IRQ_TYPE_EDGE_FALLING>; }; adc@64 {
@@ -199,7 +203,7 @@ sdmmc_pwr: sdmmc-pwr { touchscreen { ts_irq_pin: ts-irq-pin { - rockchip,pins = <5 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>; + rockchip,pins = <5 RK_PB4 RK_FUNC_GPIO &pcfg_pull_up>; }; };
Signature · 1 line
2.34.1
PATCH 2/3 ARM: dts: rockchip: Improve the RTC description on rk3288-firefly-reload
Node names should be generic, so use 'rtc'.
Remove 'clock-frequency' as is not a valid property.
This fixes the following dt-schema warnings:
'hym8563@51' does not match '^rtc(@.*|-([0-9]|[1-9][0-9]+))?$' Unevaluated properties are not allowed ('clock-frequency' was unexpected)
--- arch/arm/boot/dts/rockchip/rk3288-firefly-reload.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm/boot/dts/rockchip/rk3288-firefly-reload.dts +1 -2
@@ -197,11 +197,10 @@ &hdmi { }; &i2c0 { - hym8563: hym8563@51 { + hym8563: rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; #clock-cells = <0>; - clock-frequency = <32768>; clock-output-names = "xin32k"; interrupt-parent = <&gpio7>; interrupts = <RK_PA4 IRQ_TYPE_EDGE_FALLING>;
Signature · 1 line
2.34.1
PATCH 3/3 ARM: dts: rockchip: Improve GMAC description n RK3288 boards
In reply to Fabio EstevamAccording to rockchip-dwmac.yaml, the mdio node should be 'mdio0' and 'wakeup-source' is not a valid property.
Change it accordingly.
This fixes the following dt-schema warning:
Unevaluated properties are not allowed ('mdio0', 'wakeup-source'\
were unexpected)
--- arch/arm/boot/dts/rockchip/rk3288-phycore-som.dtsi | 2 +- arch/arm/boot/dts/rockchip/rk3288-veyron-fievel.dts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-)
arch/arm/boot/dts/rockchip/rk3288-phycore-som.dtsi +1 -1
@@ -100,7 +100,7 @@ &gmac { tx_delay = <0x0>; rx_delay = <0x0>; - mdio0 { + mdio { compatible = "snps,dwmac-mdio"; #address-cells = <1>; #size-cells = <0>;
arch/arm/boot/dts/rockchip/rk3288-veyron-fievel.dts +1 -2
@@ -98,9 +98,8 @@ &gmac { snps,reset-gpio = <&gpio4 RK_PB0 0>; snps,reset-active-low; snps,reset-delays-us = <0 10000 30000>; - wakeup-source; - mdio0 { + mdio { compatible = "snps,dwmac-mdio"; #address-cells = <1>; #size-cells = <0>;
Signature · 1 line
2.34.1
Quoted 8 lines · Fabio Estevam
According to the phyCORE - RK3288 Hardware Manual,
GPIO5_B4corresponds to the touchscreen interrupt line:https://www.phytec.eu/fileadmin/legacy/downloads/Manuals/L-826e_1.pdf
Describe it to improve the devicetree representation.
[...]
Applied, thanks!
[1/3] ARM: dts: rockchip: Describe the touchscreen interrupt on rk3288-phycore-rdk
commit: adf54d9282e8071da6c8774ac104dc00f78451c8
[2/3] ARM: dts: rockchip: Improve the RTC description on rk3288-firefly-reload
commit: 30b0084d438012083024feffa40ca1af8e1c096a
[3/3] ARM: dts: rockchip: Improve GMAC description n RK3288 boards
commit: bd60d32070916c471ba5a212261746ad69a292ebBest regards,
Signature · 1 line
Heiko Stuebner <[email protected]>