arm64: dts: rockchip: miscellaneous fixes for rk3399-rock-pi-4c
Subsystems (2)
cover arm64: dts: rockchip: miscellaneous fixes for rk3399-rock-pi-4c
This patch series fix several issues found on rk3399-rock-pi-4c
Vicente Bergas (3):
arm64: dts: rockchip: fix supplies on rk3399-rock-pi-4
arm64: dts: rockchip: fix I2S conflict on rk3399-rock-pi-4
arm64: dts: rockchip: use USB host by default on rk3399-rock-pi-4
.../arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-)
Signature · 7 lines
2.29.2 _______________________________________________ Linux-rockchip mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-rockchip
PATCH 1/3 arm64: dts: rockchip: fix supplies on rk3399-rock-pi-4
Based on the board schematics at
https://dl.radxa.com/rockpi4/docs/hw/rockpi4/rockpi_4c_v12_sch_20200620.pdf
on page 18:vcc_lan is not controllable by software, it is just an analog LC filter. Because of this, it can not be turned off-in-suspend.
and on page 17:vcc_cam and vcc_mipi are not voltage regulators, they are just switches. So, the voltage range is not applicable.
This silences an error message about not being able to adjust the voltage.
--- arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi | 8 -------- 1 file changed, 8 deletions(-)
arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi +0 -8
@@ -111,10 +111,6 @@ vcc_lan: vcc3v3-phy-regulator { regulator-boot-on; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; - - regulator-state-mem { - regulator-off-in-suspend; - }; }; vdd_log: vdd-log {
@@ -362,8 +358,6 @@ vcc_cam: SWITCH_REG1 { regulator-name = "vcc_cam"; regulator-always-on; regulator-boot-on; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; regulator-state-mem { regulator-off-in-suspend; };
@@ -373,8 +367,6 @@ vcc_mipi: SWITCH_REG2 { regulator-name = "vcc_mipi"; regulator-always-on; regulator-boot-on; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; regulator-state-mem { regulator-off-in-suspend; };
Signature · 7 lines
2.29.2 _______________________________________________ Linux-rockchip mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-rockchip
PATCH 2/3 arm64: dts: rockchip: fix I2S conflict on rk3399-rock-pi-4
In reply to Vicente BergasBased on the board schematics at
https://dl.radxa.com/rockpi4/docs/hw/rockpi4/rockpi_4c_v12_sch_20200620.pdf
on page 14:
Only two channels of I2S are connected and the extra I2S pins are in conflict with other functions like USB power.
--- arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi +3 -2
@@ -432,8 +432,9 @@ &i2c4 { }; &i2s0 { - rockchip,playback-channels = <8>; - rockchip,capture-channels = <8>; + pinctrl-0 = <&i2s0_2ch_bus>; + rockchip,capture-channels = <2>; + rockchip,playback-channels = <2>; status = "okay"; };
Signature · 7 lines
2.29.2 _______________________________________________ Linux-rockchip mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-rockchip
PATCH 3/3 arm64: dts: rockchip: use USB host by default on rk3399-rock-pi-4
In reply to Vicente BergasBased on the board schematics at
https://dl.radxa.com/rockpi4/docs/hw/rockpi4/rockpi_4c_v12_sch_20200620.pdf
on page 19 there is an USB Type-A receptacle being used as an USB-OTG port.
But the Type-A connector is not valid for OTG operation, for this reason there is a switch to select host or device role.
This is non-compliant and error prone because switching is manual. So, use host mode as it corresponds for a Type-A receptacle.
--- arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi +1 -1
@@ -673,7 +673,7 @@ &usbdrd3_0 { &usbdrd_dwc3_0 { status = "okay"; - dr_mode = "otg"; + dr_mode = "host"; }; &usbdrd3_1 {
Signature · 7 lines
2.29.2 _______________________________________________ Linux-rockchip mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-rockchip
Quoted 8 lines · Vicente Bergas
This patch series fix several issues found on rk3399-rock-pi-4c
Vicente Bergas (3):
arm64: dts: rockchip: fix supplies on rk3399-rock-pi-4
arm64: dts: rockchip: fix I2S conflict on rk3399-rock-pi-4
arm64: dts: rockchip: use USB host by default on rk3399-rock-pi-4[...]
Applied, thanks!
[1/3] arm64: dts: rockchip: fix supplies on rk3399-rock-pi-4
commit: 328c6112787bf7562dbea638840366cd197868d6
[2/3] arm64: dts: rockchip: fix I2S conflict on rk3399-rock-pi-4
commit: eff57d38b546b3a50588e447a41ff3571a407c9f
[3/3] arm64: dts: rockchip: use USB host by default on rk3399-rock-pi-4
commit: e12f67fe83446432ef16704c22ec23bd1dbcd094Best regards,
Signature · 6 lines
Heiko Stuebner <[email protected]> _______________________________________________ Linux-rockchip mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-rockchip