Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp6099216ybl; Sun, 22 Dec 2019 23:20:45 -0800 (PST) X-Google-Smtp-Source: APXvYqwGjf1RJO9KEo93N3Qzj7GRgEtNZfDcyhoAbLD7PCoa4oB2xFc8/bfPLlqFFX7nMtESalAy X-Received: by 2002:a05:6830:1bd5:: with SMTP id v21mr32676726ota.154.1577085645809; Sun, 22 Dec 2019 23:20:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577085645; cv=none; d=google.com; s=arc-20160816; b=VTSNhUjLFgd8j8oGk4gcZ4ecMs1wYm7b1lT5xjhiyet5AY5s+5Szy8a3iTC012xIRq c49ImGkfcmB0o+PxW/eYSReHZu8lDMnDjzxRnznO4FPtCZcqnL4vglr6q45+uC+U5R/d rpgc9EzfPpaoKZjLMN3tlV2AMtKJEXUNGN+kq4xpq3U8ROyIL34q2bFYcHFn47z+8bhm mtcs9qHWPLigO6tXFqA6/mWVxqxxdgmdCB7qxX9qg1Qvx2LX8oTl8bNAM9mE0fO4iOLo UT3yAFNv8tsyYcm/g/ANPrSia9TXZcE/f92htn0cw9sjzvt+lNWRXfIJ+1PPuHGw31il s27w== 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=K5hP+WM4mHqsg8ShFVVH85H7fvRR5cQZPY6OBPRuRt4=; b=cMubmtazMTQ3eho0ZH9P8XTtBLHxLGt1j5xJ2LA0VFg3PvpK8xiP4EZPBFa7TlkKNF EPYfqqRPWZFpExEyoz488kESk2MMxMJuxnuscCs9a4AXLmDNDI8RgAMPPhHtZzVqjvYV i2UYAuE3TfMBlYePCwV8ULexH8UqsE2X9B08VAXQAcMRK8U5YXQC1y1RQ/93RlEumYHa oKeAelt0FDQhFgdVQ2ah3rASOrR4PbwKAzg1BR8MfKeTJa6fdDN1tth6TN+Y09nsmEmt NJdpAHSIL1Gc/cqLSr7N5Hm6CW5q4Qkf7d7faAE2WDCHPoXgDnKovD85Fn3ZKYZgr20t I8ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=NO7thX31; 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 a14si10853177otk.2.2019.12.22.23.20.34; Sun, 22 Dec 2019 23:20:45 -0800 (PST) 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=NO7thX31; 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 S1726211AbfLWHS3 (ORCPT + 99 others); Mon, 23 Dec 2019 02:18:29 -0500 Received: from mail.kernel.org ([198.145.29.99]:43326 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725810AbfLWHS3 (ORCPT ); Mon, 23 Dec 2019 02:18:29 -0500 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 1B42F206B7; Mon, 23 Dec 2019 07:18:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1577085508; bh=+xZCTXHEyRCDiG9GABKQf4z73/JeJ/82+LVQggHUV4Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NO7thX31ekyQ86+u0f0xQWbM16nK8c6pi9PpYNibBKFHJIcPkv4M9Sn8Gb0O/uRBn NgfY/xCASxjNaTxG0Wdl8/peWyKvIMYSU8m/BuYobLWssYsWugMTf3D21TtmTG++dB PGNRVlb/DtbVX4700KGjyGjrEiRQU3mWz1QDglN8= Date: Mon, 23 Dec 2019 15:18:06 +0800 From: Shawn Guo To: Martin Kepplinger Cc: robh@kernel.org, mark.rutland@arm.com, kernel@pengutronix.de, linux-imx@nxp.com, kernel@puri.sm, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: dts: imx8mq-librem5-devkit: add accelerometer and gyro sensor Message-ID: <20191223071805.GR11523@dragon> References: <20191203130336.18763-1-martin.kepplinger@puri.sm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Mon, Dec 16, 2019 at 10:32:15AM +0100, Martin Kepplinger wrote: > On 03.12.19 14:03, Martin Kepplinger wrote: > > Now that there is driver support, describe the accel and gyro sensor parts > > of the LSM9DS1 IMU. > > > > Signed-off-by: Martin Kepplinger > > --- > > arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts | 7 +++++++ > > 1 file changed, 7 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts > > index 683a11035643..7a92704c53ec 100644 > > --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts > > +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts > > @@ -415,6 +415,13 @@ > > pinctrl-0 = <&pinctrl_i2c3>; > > status = "okay"; > > > > + accel_gyro@6a { We prefer to use hyphen than underscore in node name. Also nodes with unit-address should be sorted in the address. Shawn > > + compatible = "st,lsm9ds1-imu"; > > + reg = <0x6a>; > > + vdd-supply = <®_3v3_p>; > > + vddio-supply = <®_3v3_p>; > > + }; > > + > > magnetometer@1e { > > compatible = "st,lsm9ds1-magn"; > > reg = <0x1e>; > > > > (adding / fixing people in CC) > > Are there any questions about this addition or the followup fix? > > thanks a lot, > > martin