Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm: dts: bcm2711: Add emc2301 to the CM4 IO board
@ 2026-09-25  6:54 Peter Robinson
  2026-09-28 18:27 ` Florian Fainelli
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Robinson @ 2026-09-25  6:54 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Florian Fainelli,
	Broadcom internal kernel review list, devicetree,
	linux-rpi-kernel, linux-arm-kernel
  Cc: Peter Robinson

The CM4 IO carrier board has a emc2301 fan controller. Add
it so it can be used on the CM4 board.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
 arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts b/arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts
index 8e45de01d2ad1..4f81fbdb85b56 100644
--- a/arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts
+++ b/arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts
@@ -107,6 +107,20 @@ &genet {
 };
 
 &i2c0_1 {
+	emc2301: fan-controller@2f {
+		compatible = "microchip,emc2301", "microchip,emc2305";
+		reg = <0x2f>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		#pwm-cells = <3>;
+
+		fan@0 {
+			reg = <0x0>;
+			pwms = <&emc2301 26000 0 1>;
+			#cooling-cells = <2>;
+		};
+	};
+
 	pcf85063: rtc@51 {
 		/* Attention: An alarm resets the machine */
 		compatible = "nxp,pcf85063a";
-- 
2.55.0



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

* Re: [PATCH] arm: dts: bcm2711: Add emc2301 to the CM4 IO board
  2026-09-25  6:54 [PATCH] arm: dts: bcm2711: Add emc2301 to the CM4 IO board Peter Robinson
@ 2026-09-28 18:27 ` Florian Fainelli
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Fainelli @ 2026-09-28 18:27 UTC (permalink / raw)
  To: bcm-kernel-feedback-list, Peter Robinson, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Florian Fainelli, devicetree,
	linux-rpi-kernel, linux-arm-kernel
  Cc: Florian Fainelli

From: Florian Fainelli <f.fainelli@gmail.com>

On Fri, 25 Sep 2026 07:54:10 +0100, Peter Robinson <pbrobinson@gmail.com> wrote:
> The CM4 IO carrier board has a emc2301 fan controller. Add
> it so it can be used on the CM4 board.
> 
> Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
> ---

Applied to https://github.com/Broadcom/stblinux/commits/devicetree/next, thanks!
--
Florian


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

end of thread, other threads:[~2026-09-28 18:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-25  6:54 [PATCH] arm: dts: bcm2711: Add emc2301 to the CM4 IO board Peter Robinson
2026-09-28 18:27 ` Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox