From patchwork Mon Jan 25 19:08:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Kemnade X-Patchwork-Id: 12044029 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0D767C433E0 for ; Mon, 25 Jan 2021 19:10:06 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AB1A42067B for ; Mon, 25 Jan 2021 19:10:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AB1A42067B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kemnade.info Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=J91URLDDb5nESbmr4fbH6KJnbD9LWG6bGR7LH/p9nys=; b=QnWy3YhaamVGTZiYrktRL1KhY 9urIIAYpzrOFbQXTl1IronPjdI66NV6hH/YTS+gXPEgyXoJh3iQAkq7aXgEIqj2xpLxAf00HRRLsR 1rsQXsgtKQHJgUcpcUIFZvdZ2QUE14OZosXsdJGzWijzqJrlhAEPdk81Rgs8WqzeN79LtCZ24U/w0 UPnfYKdtzvWQ+Ry7qyGUmqIcgLShwvx5iLLkjsU0w3DWRM6l2MACCh7sHQpezeVaBxFipehtzu9/Q 8Fi7NVAxGe8bNEX8WN2AfMrc6Jrg7pGgg9Sq3l2aYYwZfOvw3lbTj3Wscoi3DV/atSQIeF68nmiNe Fr+vfjHYw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l47E4-0005SB-Nt; Mon, 25 Jan 2021 19:08:36 +0000 Received: from mail.andi.de1.cc ([2a01:238:4321:8900:456f:ecd6:43e:202c]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l47E2-0005RR-7E for linux-arm-kernel@lists.infradead.org; Mon, 25 Jan 2021 19:08:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20180802; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=apAxVfHae0wzCGdNc4Jfqs4ga/AMxkfe4hpTqg3oAhI=; b=DZhKSQziCI4nJrDrhQgCAxLxgM ZTY8K+wkl4XUljJEj1+mtJEyfPJFex/Eg/o5W0Z2vdui7GmyuOtPI6a3BBl9/PEQLAozrdVdVawOR 0TjFuecmk+h2MJZuJ6Bl/QljqzIgcn2SXRZCuw/q70Osgo0sAGk0zTr6ainU2BZnKe64=; Received: from p200300ccff0a26001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff0a:2600:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1l47Ds-0007Hb-Bq; Mon, 25 Jan 2021 20:08:24 +0100 Received: from andi by aktux with local (Exim 4.92) (envelope-from ) id 1l47Dq-0003HH-A7; Mon, 25 Jan 2021 20:08:22 +0100 From: Andreas Kemnade 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 Subject: [PATCH] ARM: dts: imx6sl-tolino-shine2hd: Add Netronix embedded controller Date: Mon, 25 Jan 2021 20:08:04 +0100 Message-Id: <20210125190804.12552-1-andreas@kemnade.info> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210124214127.3631530-8-j.neuschaefer@gmx.net> References: <20210124214127.3631530-8-j.neuschaefer@gmx.net> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210125_140834_499602_D6A0377D X-CRM114-Status: GOOD ( 11.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andreas Kemnade Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 --- 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 {