[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250307120004.959980-1-amadeus@jmu.edu.cn>
Date: Fri, 7 Mar 2025 20:00:02 +0800
From: Chukun Pan <amadeus@....edu.cn>
To: Heiko Stuebner <heiko@...ech.de>
Cc: Rob Herring <robh@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Uwe Kleine-König <ukleinek@...nel.org>,
Jonas Karlman <jonas@...boo.se>,
Yao Zi <ziyao@...root.org>,
linux-arm-kernel@...ts.infradead.org,
linux-rockchip@...ts.infradead.org,
linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org,
linux-pwm@...r.kernel.org,
Chukun Pan <amadeus@....edu.cn>
Subject: [PATCH 0/2] arm64: dts: rockchip: Add pwm nodes for RK3528
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
Powered by blists - more mailing lists