Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp6134251ybl; Mon, 23 Dec 2019 00:13:54 -0800 (PST) X-Google-Smtp-Source: APXvYqxiM2mvl9r6+07rwu0AXftVBbTG3QAbZh42v0TV+mHXhIgbJHTt3sW/mWt1ihCqxkB648im X-Received: by 2002:a05:6830:1715:: with SMTP id 21mr32152706otk.67.1577088834798; Mon, 23 Dec 2019 00:13:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577088834; cv=none; d=google.com; s=arc-20160816; b=cPyOafzuZhEWYgL2IxMbH5afb4sB2DcMkPDICUmtiiAbm6nK/FKv6J/YzGqRwve3cF BdqvnhDRPYrPP0F20p7DFSRVQpXjYax5JTjnpswMU3BbV+c8BhWONulLfRODiGWIiJRS FZgVrSzVSTPrXNe8tyRXZxzMMyCJLlsWMzjqF6l+w+27wUqqZY+0zoDJ41DoyyabXdD6 IoXmaM8cxPUwOnU4OjettkA+xNENAjBrWsWlFaClI6KQUq7TVqmg2naSMqOg/EfRkZzk uXQyWcOOiUUteqiPbWQqF4rPEh6Gf/Juy8s0LoFmdIUgB1fcL4ITtAK/GohMPV850h0U ATIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:message-id:date :subject:cc:to:from; bh=oIYxrqaCjz3gWyWZ7W6nk60ZWjdiLXtYuTuUhsn5CNc=; b=cQbqioKauBw1VANp+VFFLfOMAg67430rhHWpJI8GljQkLUh2EH0AfChhKtMcr/RveM f3MXNdwoTJz45ficdJNJARUKaa6wqhXSM71R3CY7vKBnKtjnpKxNujmWStbj9l1je8zx ihmEPHUdoSbA3HwMR0PuA+wN0Wf5yOzBHooIDdfeNW//ju+7+X9VU7dCauIbxBGY1u1k +yQN6y7MZsFGeC2qh5KktHwfTF/GZyhggQc83GuJ2qneUpb3itPcX5AtB/QipQQ+dWBG JB7fNR+fyzNNIE5POp7rkpj0RT5P8wFLiyPppOEAUNkbDSyTZfB5ZQS4eWcCBM3AEsjY jq8A== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q6si3765203oth.26.2019.12.23.00.13.43; Mon, 23 Dec 2019 00:13:54 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725988AbfLWINE (ORCPT + 99 others); Mon, 23 Dec 2019 03:13:04 -0500 Received: from comms.puri.sm ([159.203.221.185]:48756 "EHLO comms.puri.sm" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725855AbfLWINE (ORCPT ); Mon, 23 Dec 2019 03:13:04 -0500 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id AE636DF754; Mon, 23 Dec 2019 00:13:03 -0800 (PST) Received: from comms.puri.sm ([127.0.0.1]) by localhost (comms.puri.sm [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4uDTf511eGyR; Mon, 23 Dec 2019 00:13:02 -0800 (PST) From: Martin Kepplinger To: shawnguo@kernel.org, robh@kernel.org, mark.rutland@arm.com, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, devicetree@vger.kernel.org, kernel@puri.sm, linux-kernel@vger.kernel.org, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, Martin Kepplinger , =?UTF-8?q?Guido=20G=C3=BCnther?= Subject: [PATCH v2 1/2] arm64: dts: imx8mq-librem5-devkit: add accelerometer and gyro sensor Date: Mon, 23 Dec 2019 09:12:52 +0100 Message-Id: <20191223081253.27516-1-martin.kepplinger@puri.sm> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Now that there is driver support, describe the accel and gyro sensor parts of the LSM9DS1 IMU. Signed-off-by: Martin Kepplinger Reviewed-by: Guido Günther --- revision history ---------------- v2: use hyphen in node name and reorder (thanks Shawn) add Guido's review tag 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 523e5f2ce873..379510886e3e 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts @@ -449,6 +449,13 @@ AVDD28-supply = <®_2v8_p>; VDDIO-supply = <®_1v8_p>; }; + + accel-gyro@6a { + compatible = "st,lsm9ds1-imu"; + reg = <0x6a>; + vdd-supply = <®_3v3_p>; + vddio-supply = <®_3v3_p>; + }; }; &iomuxc { -- 2.20.1