Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2727345ybl; Mon, 20 Jan 2020 08:15:24 -0800 (PST) X-Google-Smtp-Source: APXvYqwHkcxxSWnshxvnx6DO2AgWxGsDosSMS+hQ/X5WSd+Itb2u1KyoIvEvQH8I5MeGAZdRSdwY X-Received: by 2002:a05:6830:1482:: with SMTP id s2mr105056otq.285.1579536924347; Mon, 20 Jan 2020 08:15:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579536924; cv=none; d=google.com; s=arc-20160816; b=DGeMgih+t5jIFDCq7ztmKkXYJ863Q/voyrDjqkOLuZi7mFkQhx1nGFoosJZCOxkJI7 yu8w2fah2BFcKX+TaksthxnAAAj7PzQwsoKl2tkdCNdBrSCjNKXdRmPnd7BVCSUzSBsQ OnZIJV7mnEZLKR5ffzzLrkhcDNrHNtf/++qmM3r8ajsMlY38ImmkcJtcAcyo8uUr09/d 3YpYZVP1pV3RXtmT4w4HYglpHATXAdvCdB2mAlm59cVTYikyWSrFlzzRbUZ9kOqyHhff LyYqpzuUHu5ZH5r4KVTOULmZGUQMfkAjQuh2Fyu+eksscleiUEtt2gcCHzauNNISP7vt PJzA== 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:mime-version :message-id:date:subject:to:from; bh=lGuR63ia4aKyjzsbvvWTt7JMjb6VbU1wLTXKJ7m3FcA=; b=MkyOSQRNZIsCcgu2ndUJe/q5a0GLEVcbyYfkE7s4ezI5eLYnHZVyOHvdYWQ4VXXSai xTOYX6N++Y7PeoMpmpzzImeM9sKLBs3XmquEwJ81rLDOTvBiIGwlB6+EY6EprwybkBSl PKTGfwpXKyHbVIZ9lv9YABzU9aXjKpYHIa00c5+1DWdWbX9UABkEz20WUpTXdToXhhRc SFo2Aio6GN9Z2YMYkW3KgmL5U6gFlItdB1PmSFSWJCXM+IEMMrTluZTztnkGn8Z81xRn X07qPQYkievqQs5u/ZqelUCZPVorvXgTU/7p44IWfmI6Py/mAZycr650J6uRaUYdeE3s jSrQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m25si20828606otr.310.2020.01.20.08.15.12; Mon, 20 Jan 2020 08:15:24 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729165AbgATQNA (ORCPT + 99 others); Mon, 20 Jan 2020 11:13:00 -0500 Received: from honk.sigxcpu.org ([24.134.29.49]:56100 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727285AbgATQNA (ORCPT ); Mon, 20 Jan 2020 11:13:00 -0500 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 58995FB03; Mon, 20 Jan 2020 17:12:57 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SaOQFEdPtkQE; Mon, 20 Jan 2020 17:12:56 +0100 (CET) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id E324F404AA; Mon, 20 Jan 2020 17:12:55 +0100 (CET) From: =?UTF-8?q?Guido=20G=C3=BCnther?= To: Rob Herring , Mark Rutland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , "Angus Ainslie (Purism)" , =?UTF-8?q?Guido=20G=C3=BCnther?= , Martin Kepplinger , Anson Huang , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: imx8mq-librem5-devkit: Add proximity sensor Date: Mon, 20 Jan 2020 17:12:55 +0100 Message-Id: X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 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 Support for the vcnl4040 landet a while ago so add it and the corresponding pinmux. The irq is currently unused in the driver so don't configure it yet. Signed-off-by: Guido Günther --- .../boot/dts/freescale/imx8mq-librem5-devkit.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts index c8627f6614ae..b87c2e39b16c 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts @@ -448,6 +448,12 @@ VDDIO-supply = <®_1v8_p>; }; + prox@60 { + compatible = "vishay,vcnl4040"; + reg = <0x60>; + pinctrl-0 = <&pinctrl_prox>; + }; + accel-gyro@6a { compatible = "st,lsm9ds1-imu"; reg = <0x6a>; @@ -550,6 +556,12 @@ >; }; + pinctrl_prox: proxgrp { + fsl,pins = < + MX8MQ_IOMUXC_GPIO1_IO12_GPIO1_IO12 0x80 /* prox intr */ + >; + }; + pinctrl_pwr_en: pwrengrp { fsl,pins = < MX8MQ_IOMUXC_GPIO1_IO08_GPIO1_IO8 0x06 -- 2.23.0