Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp647205ybg; Sat, 26 Oct 2019 04:56:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqxBw9lhoNbWxIAY1TC+E//LUpi4vpkkf7IRa5nNaKZOUI9zDDHmAPypChzprTDw2pt6ZnOB X-Received: by 2002:a17:906:4ec9:: with SMTP id i9mr971453ejv.8.1572091003883; Sat, 26 Oct 2019 04:56:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572091003; cv=none; d=google.com; s=arc-20160816; b=q/ycotRzQfPk5viswfNq/z3lmUkTT7+scW1Jbt1sZsQt0ne1zD/85DWFpKOG0FMIIQ 3bymFf5pvDXwajCVMnhY3tJFNPWIS0TsOhHX0U8tfyvATEogPvMc/RVWKYzsiGWiCI53 isQOhgJT6i7vHviGGVc0KSu20M41aLXR99L1qYyZ2+Pp2RjyI09XeK3Nw1+cJW3ELU40 gQTW3u06+LW6J4ICaUbePfgEQT/mDdogQfWRHC/6foJs4cKhc2HI9cD+31amBMNNEsXg MGLIdrDazRT4lB9yd6+CxT8cVLfXmQ9h/R7yJ+MRZ4W+FjAqfR28JTrveSFGG5A61D21 F8Pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/AxjcKActR7I+Vfr+CTT8JjvQUUXHNNhmkWGdpZuKSA=; b=vVp7NoJ4OLARO5mrJiKrf3nEF5cuC0thtNesxpL20CcV2aokNmXcIy8XqCqQcTQ3cM hmWXo2pSUtE3nRDJmBNou6VWMnMGT0M6C6Wv/RPMJl+KLlNiqnacR6BRBdv/DkJRkahO WtEuMZn7wpCWlwSqtIX1aP+PfbYgQ/H34knT6uCZHviureaa3cQXcll1Xq2jd1rrBHkf xGDJSyhva2K8OfeBSY58ciBL0aI7WvMHhhmX5l0b1eEsWrWjJI03j6nOgfL7xIemT6Dx QtTAqo/tjIwQbAg+0ww2hAZtS7xZXADR15JpqwGone1YbTSHYcvv178SuHemHPYh4uh9 qK8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Bnm8ct2/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g4si3377942edb.41.2019.10.26.04.56.20; Sat, 26 Oct 2019 04:56:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Bnm8ct2/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726302AbfJZLzm (ORCPT + 99 others); Sat, 26 Oct 2019 07:55:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:56952 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726175AbfJZLzl (ORCPT ); Sat, 26 Oct 2019 07:55:41 -0400 Received: from dragon (98.142.130.235.16clouds.com [98.142.130.235]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F29222070B; Sat, 26 Oct 2019 11:55:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572090941; bh=lpBqhBANauiN5UjByiLbpVHMRnCeuRYvpYYqm1oL4LE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Bnm8ct2/gE7F8AM0lmeF4dg+ROuNoYJtrIVKrc6OXPyNhfqpeSpeMHgbxgQ1QsAwo hk12AVYkNFiFJMzXmWRrgg2d6d4cuDoldUbsx0UIuOuJV93B58Iwrel85GubZm4GXB WvDhNHJPdqpoLgj2Ij3nlMMG2f4BG1+Ey3huOuzw= Date: Sat, 26 Oct 2019 19:55:25 +0800 From: Shawn Guo To: Andrey Smirnov Cc: linux-arm-kernel@lists.infradead.org, Fabio Estevam , Chris Healy , Lucas Stach , linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/4] arm64: dts: zii-ultra: Add node for accelerometer Message-ID: <20191026115524.GJ14401@dragon> References: <20191015152654.26726-1-andrew.smirnov@gmail.com> <20191015152654.26726-3-andrew.smirnov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191015152654.26726-3-andrew.smirnov@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 15, 2019 at 08:26:53AM -0700, Andrey Smirnov wrote: > Add I2C node for accelerometer present on both Zest and RMB3 boards. > > Signed-off-by: Andrey Smirnov > Cc: Fabio Estevam > Cc: Chris Healy > Cc: Lucas Stach > Cc: Shawn Guo > Cc: linux-arm-kernel@lists.infradead.org, > Cc: linux-kernel@vger.kernel.org > --- > .../boot/dts/freescale/imx8mq-zii-ultra.dtsi | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi > index 21eb52341ba8..8395c5a73ba6 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi > @@ -262,6 +262,18 @@ > pinctrl-0 = <&pinctrl_i2c1>; > status = "okay"; > > + accel@1c { s/accel/accelerometer I fixed it up and applied the series. Shawn > + compatible = "fsl,mma8451"; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_accel>; > + reg = <0x1c>; > + interrupt-parent = <&gpio3>; > + interrupts = <20 IRQ_TYPE_LEVEL_LOW>; > + interrupt-names = "INT2"; > + vdd-supply = <®_gen_3p3>; > + vddio-supply = <®_gen_3p3>; > + }; > + > ucs1002: charger@32 { > compatible = "microchip,ucs1002"; > pinctrl-names = "default"; > @@ -522,6 +534,12 @@ > }; > > &iomuxc { > + pinctrl_accel: accelgrp { > + fsl,pins = < > + MX8MQ_IOMUXC_SAI5_RXC_GPIO3_IO20 0x41 > + >; > + }; > + > pinctrl_fec1: fec1grp { > fsl,pins = < > MX8MQ_IOMUXC_ENET_MDC_ENET1_MDC 0x3 > -- > 2.21.0 >