Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3286017pxb; Mon, 25 Jan 2021 11:39:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJwEyybS6C/J4tHOK4o/8knARANjnzoz0ucKdY6uV9q7PpD6N8jI7tDkeQPk+tz14DuKDgy7 X-Received: by 2002:a50:8b61:: with SMTP id l88mr1864699edl.250.1611603590878; Mon, 25 Jan 2021 11:39:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611603590; cv=none; d=google.com; s=arc-20160816; b=uk5nkj5/eABgz514nBEbE1xyg/TEmJCyzx4369wsdo+Fzh+nCYcDOgsqoRQHOHA9uQ mSNfg0LdfLLg6SqXYVhbTLxteTHahxiGA/cHSrgRhYZpFeUqEA2OoepXLhqqdQX42UhV jWqlX25AYjiwpR41XA6MHTFuRD0uoeOicwPL4Z+ubXbe9ZECu9IRnILLFTUpAgpAKHTM 6qm2990Ek2AK9uyiEZBfwbROLV0SFzqUCtk+Si9zv/TfLnA4mdrP1La9goBb5amP+Z1q bkequD8aNT2BLSFLYFGz+u8LA3AxbGdShpekuiFwAJwnsjC36jRTLad70K7F08jPdZUP B7jQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=apAxVfHae0wzCGdNc4Jfqs4ga/AMxkfe4hpTqg3oAhI=; b=PbZLzr+Z+phUVDmKxs8vKf7NKjElM7FDw4SgdPwnn3WpZgCr7X9LUXEhf2i+5ySJ+O R9cPSAEPOI+emR6Sm/W7MQTyBfIfUXXH7NzL9dUqM5rFPQBoboiZTtgJnkcIRIBpL/gc CIJNtTKFceyUyi3l1o1NwNO/i6VRPYvO2OnzxBaTGFkVbKryp5/01VVqZzJtoTdoe43E 0+j8qZKfOA67WKlMrfRaJMwd/sU1QJNk6f/MFd8eLRKuDrC5epURmHXUuQ7ZoYIYlDIc YO5+DW1qLD3dMfHac7Q5PZ8MN/m89ZV/Jdu8LZjD/vkzllobUVnXL9TG6Y/eSJA3qZ8c FkuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=DZhKSQzi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g15si7578878edp.102.2021.01.25.11.39.25; Mon, 25 Jan 2021 11:39:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=DZhKSQzi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731577AbhAYThz (ORCPT + 99 others); Mon, 25 Jan 2021 14:37:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731603AbhAYTJO (ORCPT ); Mon, 25 Jan 2021 14:09:14 -0500 Received: from mail.andi.de1.cc (mail.andi.de1.cc [IPv6:2a01:238:4321:8900:456f:ecd6:43e:202c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 024BEC061756; Mon, 25 Jan 2021 11:08:32 -0800 (PST) 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 Cc: Andreas Kemnade 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 Content-Transfer-Encoding: 8bit X-Spam-Score: -1.0 (-) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 { -- 2.29.2