OSDN Git Service

ARM: dts: imx6sl-tolino-shine2hd: Add Netronix embedded controller
authorAndreas Kemnade <andreas@kemnade.info>
Mon, 25 Jan 2021 19:08:04 +0000 (20:08 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 15 Mar 2021 04:22:16 +0000 (12:22 +0800)
For now, the driver detects an incompatible version, but since
that can be handled by auto-detection, add the controller to the
devicetree now. Only PWM seems to be available, there is no RTC
in that controller.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6sl-tolino-shine2hd.dts

index 6ea5f91..a17b8bb 100644 (file)
        pinctrl-1 = <&pinctrl_i2c1_sleep>;
        status = "okay";
 
-       /* TODO: embedded controller at 0x43 (driver missing) */
-
+       ec: embedded-controller@43 {
+               compatible = "netronix,ntxec";
+               reg = <0x43>;
+               #pwm-cells = <2>;
+       };
 };
 
 &i2c2 {