Skip to content

arm64: dts: rockchip: Add PWM fan and WWAN overlay for Radxa ROCK 3B

Adam Wermuth linux-arm-kernel linux-devicetree linux-rockchip lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 1 replyApplied

Changes in v2 from the cover letter

- Move the USB host1 enablement and the WWAN slot handling into a new rk3568-rock-3b-wwan.dtso overlay, as the slot is not always populated (Jonas)
- Drop phy-supply from usb2phy1_host, as the M.2 slot has no VBUS
- Put the fan patch first, as it no longer depends on the others

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2arm64: dts: rockchip: Add PWM fan to Radxa ROCK 3Barch/arm64/boot/dts/rockchip/rk3568-rock-3b.dts+51 -00 replies
2/2arm64: dts: rockchip: Add WWAN overlay for Radxa ROCK 3Barch/arm64/boot/dts/rockchip/Makefile arch/arm64/boot/dts/rockchip/rk3568-rock-3b-wwan.dtso+70 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] arm64: dts: rockchip: Add PWM fan and WWAN overlay for Radxa ROCK 3B

The Radxa ROCK 3B has a 2-pin fan header and an M.2 B-key slot intended for 4G/5G modules, neither of which is currently described in the mainline device tree.

Patch 1 adds the PWM fan and ties it to the CPU thermal zone. Patch 2 adds a device tree overlay for the B-key slot, enabling the USB 2.0 host controller serving the slot as well as its power, RESET# and W_DISABLE1# controls.

Pin assignments were checked against the ROCK 3B V1.51 schematic. Tested on a ROCK 3B with a SIMCom SIM7600G-H module and a 5V fan, running Linux 6.12 (OpenWrt) with the same changes applied.

Changes in v2:
- Move the USB host1 enablement and the WWAN slot handling into a new rk3568-rock-3b-wwan.dtso overlay, as the slot is not always populated (Jonas)
- Drop phy-supply from usb2phy1_host, as the M.2 slot has no VBUS
- Put the fan patch first, as it no longer depends on the others

v1: https://lore.kernel.org/linux-rockchip/[email protected]/

Adam Wermuth (2):
arm64: dts: rockchip: Add PWM fan to Radxa ROCK 3B
arm64: dts: rockchip: Add WWAN overlay for Radxa ROCK 3B

 arch/arm64/boot/dts/rockchip/Makefile         |  5 ++
 .../dts/rockchip/rk3568-rock-3b-wwan.dtso     | 65 +++++++++++++++++++
 .../boot/dts/rockchip/rk3568-rock-3b.dts      | 51 +++++++++++++++
 3 files changed, 121 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-rock-3b-wwan.dtso

base-commit: 23d8f49fcae5d72b77744c7f349c12462c3bb748

Signature · 1 line
2.43.0