devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: rockchip: Add missing fan-supply to rk3566-quartz64-a
@ 2025-06-28 14:28 Diederik de Haas
  2025-06-30  9:11 ` Heiko Stuebner
  0 siblings, 1 reply; 2+ messages in thread
From: Diederik de Haas @ 2025-06-28 14:28 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner
  Cc: Dragan Simic, Johan Jonker, devicetree, linux-arm-kernel,
	linux-rockchip, linux-kernel, Diederik de Haas

The Quartz 64 Model-A Schematic from 20210427 on page 7 shows that the
fan's power supply is provided by VCC12V_DCIN.

This fixes the following warning:

  gpio-fan gpio_fan: supply fan not found, using dummy regulator

Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
---
 arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts b/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts
index 3c127c5c2607..a9021c524afb 100644
--- a/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts
@@ -30,6 +30,7 @@ gmac1_clkin: external-gmac1-clock {
 
 	fan: gpio_fan {
 		compatible = "gpio-fan";
+		fan-supply = <&vcc12v_dcin>;
 		gpios = <&gpio0 RK_PD5 GPIO_ACTIVE_HIGH>;
 		gpio-fan,speed-map =
 				<   0 0>,
-- 
2.50.0


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

* Re: [PATCH] arm64: dts: rockchip: Add missing fan-supply to rk3566-quartz64-a
  2025-06-28 14:28 [PATCH] arm64: dts: rockchip: Add missing fan-supply to rk3566-quartz64-a Diederik de Haas
@ 2025-06-30  9:11 ` Heiko Stuebner
  0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stuebner @ 2025-06-30  9:11 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Diederik de Haas
  Cc: Heiko Stuebner, Dragan Simic, Johan Jonker, devicetree,
	linux-arm-kernel, linux-rockchip, linux-kernel


On Sat, 28 Jun 2025 16:28:18 +0200, Diederik de Haas wrote:
> The Quartz 64 Model-A Schematic from 20210427 on page 7 shows that the
> fan's power supply is provided by VCC12V_DCIN.
> 
> This fixes the following warning:
> 
>   gpio-fan gpio_fan: supply fan not found, using dummy regulator
> 
> [...]

Applied, thanks!

[1/1] arm64: dts: rockchip: Add missing fan-supply to rk3566-quartz64-a
      commit: 9037532ab893635a46afe88542cd747a4a846497

Best regards,
-- 
Heiko Stuebner <heiko@sntech.de>

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

end of thread, other threads:[~2025-06-30  9:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-28 14:28 [PATCH] arm64: dts: rockchip: Add missing fan-supply to rk3566-quartz64-a Diederik de Haas
2025-06-30  9:11 ` 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).