devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: dts: rockchip: Add pwm nodes for RK3528
@ 2025-03-07 12:00 Chukun Pan
  2025-03-07 12:00 ` [PATCH 1/2] dt-bindings: pwm: rockchip: Add rockchip,rk3528-pwm Chukun Pan
                   ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: Chukun Pan @ 2025-03-07 12:00 UTC (permalink / raw)
  To: Heiko Stuebner
  Cc: Rob Herring, Conor Dooley, Krzysztof Kozlowski,
	Uwe Kleine-König, Jonas Karlman, Yao Zi, linux-arm-kernel,
	linux-rockchip, linux-kernel, devicetree, linux-pwm, Chukun Pan

Add pwm nodes for RK3528. Most rk3528 boards use pwm-regulator to
supply to CPU, add node to enable them. The PWM core on RK3528 is
the same as RK3328, but the driver doesn't support interrupts yet.

Unlike other SoCs, pinctrl-names need to be in "active" state,
I'm not sure about this, but otherwise the pwm-regulator will
not work properly.

---
vdd_arm: regulator-vdd-arm {
	compatible = "pwm-regulator";
	pwms = <&pwm1 0 5000 1>;
	pwm-supply = <&vcc5v0_sys>;
	regulator-name = "vdd_arm";
	regulator-min-microvolt = <746000>;
	regulator-max-microvolt = <1201000>;
	regulator-always-on;
	regulator-boot-on;
	regulator-settling-time-up-us = <250>;
};

&cpu0 {
	cpu-supply = <&vdd_arm>;
};

&pwm1 {
	status = "okay";
};
---

Chukun Pan (2):
  dt-bindings: pwm: rockchip: Add rockchip,rk3528-pwm
  arm64: dts: rockchip: Add pwm nodes for RK3528

 .../devicetree/bindings/pwm/pwm-rockchip.yaml |  1 +
 arch/arm64/boot/dts/rockchip/rk3528.dtsi      | 88 +++++++++++++++++++
 2 files changed, 89 insertions(+)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2025-03-14 15:40 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-07 12:00 [PATCH 0/2] arm64: dts: rockchip: Add pwm nodes for RK3528 Chukun Pan
2025-03-07 12:00 ` [PATCH 1/2] dt-bindings: pwm: rockchip: Add rockchip,rk3528-pwm Chukun Pan
2025-03-07 15:35   ` Conor Dooley
2025-03-07 17:07   ` Uwe Kleine-König
2025-03-08 16:25     ` Heiko Stuebner
2025-03-09  0:24       ` Uwe Kleine-König
2025-03-07 12:00 ` [PATCH 2/2] arm64: dts: rockchip: Add pwm nodes for RK3528 Chukun Pan
2025-03-09 18:28   ` Jonas Karlman
2025-03-12  7:45 ` (subset) [PATCH 0/2] " Heiko Stuebner
2025-03-12 14:00   ` Jonas Karlman
2025-03-12 14:35     ` Chukun Pan
2025-03-12 15:00       ` Jonas Karlman
2025-03-12 19:38         ` Heiko Stuebner
2025-03-13  7:10           ` Chukun Pan
2025-03-13  8:22             ` Jonas Karlman
2025-03-13  9:01               ` Chukun Pan
2025-03-13 12:03                 ` Jonas Karlman
2025-03-13 13:01                   ` Chukun Pan
2025-03-14 15:40                   ` Chukun Pan
2025-03-13 22:14             ` Heiko Stuebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).