All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Kemnade <andreas@kemnade.info>
To: robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de,
	kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, j.neuschaefer@gmx.net
Cc: Andreas Kemnade <andreas@kemnade.info>
Subject: [PATCH] ARM: dts: imx6sl-tolino-shine2hd: Add Netronix embedded controller
Date: Mon, 25 Jan 2021 20:08:04 +0100	[thread overview]
Message-ID: <20210125190804.12552-1-andreas@kemnade.info> (raw)
In-Reply-To: <20210124214127.3631530-8-j.neuschaefer@gmx.net>

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>
---
 arch/arm/boot/dts/imx6sl-tolino-shine2hd.dts | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/imx6sl-tolino-shine2hd.dts b/arch/arm/boot/dts/imx6sl-tolino-shine2hd.dts
index caa279608803..c26bc5e10593 100644
--- a/arch/arm/boot/dts/imx6sl-tolino-shine2hd.dts
+++ b/arch/arm/boot/dts/imx6sl-tolino-shine2hd.dts
@@ -97,8 +97,11 @@ &i2c1 {
 	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 {
-- 
2.29.2


WARNING: multiple messages have this Message-ID (diff)
From: Andreas Kemnade <andreas@kemnade.info>
To: robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de,
	kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, j.neuschaefer@gmx.net
Cc: Andreas Kemnade <andreas@kemnade.info>
Subject: [PATCH] ARM: dts: imx6sl-tolino-shine2hd: Add Netronix embedded controller
Date: Mon, 25 Jan 2021 20:08:04 +0100	[thread overview]
Message-ID: <20210125190804.12552-1-andreas@kemnade.info> (raw)
In-Reply-To: <20210124214127.3631530-8-j.neuschaefer@gmx.net>

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>
---
 arch/arm/boot/dts/imx6sl-tolino-shine2hd.dts | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/imx6sl-tolino-shine2hd.dts b/arch/arm/boot/dts/imx6sl-tolino-shine2hd.dts
index caa279608803..c26bc5e10593 100644
--- a/arch/arm/boot/dts/imx6sl-tolino-shine2hd.dts
+++ b/arch/arm/boot/dts/imx6sl-tolino-shine2hd.dts
@@ -97,8 +97,11 @@ &i2c1 {
 	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 {
-- 
2.29.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2021-01-25 19:39 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-24 21:41 [PATCH v9 0/7] Netronix embedded controller driver for Kobo and Tolino ebook readers Jonathan Neuschäfer
2021-01-24 21:41 ` Jonathan Neuschäfer
2021-01-24 21:41 ` [PATCH v9 1/7] dt-bindings: Add vendor prefix for Netronix, Inc Jonathan Neuschäfer
2021-01-24 21:41   ` Jonathan Neuschäfer
2021-01-24 21:41 ` [PATCH v9 2/7] dt-bindings: mfd: Add binding for Netronix embedded controller Jonathan Neuschäfer
2021-01-24 21:41   ` Jonathan Neuschäfer
2021-01-24 21:41 ` [PATCH v9 3/7] mfd: Add base driver " Jonathan Neuschäfer
2021-01-24 21:41   ` Jonathan Neuschäfer
2021-01-24 21:41 ` [PATCH v9 4/7] pwm: ntxec: Add driver for PWM function in Netronix EC Jonathan Neuschäfer
2021-01-24 21:41   ` Jonathan Neuschäfer
2021-01-24 21:41 ` [PATCH v9 5/7] rtc: New driver for RTC in Netronix embedded controller Jonathan Neuschäfer
2021-01-24 21:41   ` Jonathan Neuschäfer
2021-01-24 21:41 ` [PATCH v9 6/7] MAINTAINERS: Add entry for " Jonathan Neuschäfer
2021-01-24 21:41   ` Jonathan Neuschäfer
2021-01-24 21:41 ` [PATCH v9 7/7] ARM: dts: imx50-kobo-aura: Add " Jonathan Neuschäfer
2021-01-24 21:41   ` Jonathan Neuschäfer
2021-01-25 19:08   ` Andreas Kemnade [this message]
2021-01-25 19:08     ` [PATCH] ARM: dts: imx6sl-tolino-shine2hd: " Andreas Kemnade
2021-01-25 20:26     ` Jonathan Neuschäfer
2021-03-03  7:59     ` Shawn Guo
2021-03-03  7:59       ` Shawn Guo
2021-03-03  7:59   ` [PATCH v9 7/7] ARM: dts: imx50-kobo-aura: " Shawn Guo
2021-03-03  7:59     ` Shawn Guo
2021-02-08 21:56 ` [PATCH v9 0/7] Netronix embedded controller driver for Kobo and Tolino ebook readers Andreas Kemnade
2021-02-08 21:56   ` Andreas Kemnade
2021-02-09 14:11   ` Lee Jones
2021-02-09 14:11     ` Lee Jones
2021-03-01 10:28 ` [GIT PULL] Immutable branch between MFD, PWM and RTC due for the v5.13 merge window Lee Jones
2021-03-01 10:28   ` Lee Jones
2021-03-09 20:05   ` Lee Jones
2021-03-09 20:05     ` Lee Jones
2021-03-10 11:08     ` Lee Jones
2021-03-10 11:08       ` Lee Jones
2021-03-10 11:39     ` Uwe Kleine-König
2021-03-10 11:39       ` Uwe Kleine-König
2021-03-10 11:54       ` Alexandre Belloni
2021-03-10 11:54         ` Alexandre Belloni
2021-03-12 18:42         ` Mark Brown
2021-03-12 18:42           ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210125190804.12552-1-andreas@kemnade.info \
    --to=andreas@kemnade.info \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=j.neuschaefer@gmx.net \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.