From patchwork Tue Jan 17 22:30:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Kemnade X-Patchwork-Id: 13105157 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 59073C00A5A for ; Tue, 17 Jan 2023 22:45:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229648AbjAQWpy (ORCPT ); Tue, 17 Jan 2023 17:45:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229556AbjAQWne (ORCPT ); Tue, 17 Jan 2023 17:43:34 -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 0F43F5D93D; Tue, 17 Jan 2023 14:30:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20220719; h=Content-Transfer-Encoding:MIME-Version: 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:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=wIYWAmdqWjZbAmwLF7SivMb0k7ca08XLcKv5HclTrKA=; b=Fn2hN9fxVSVz4UpL3mvNLbpPFR RVfsVru2B5XNcWywsH2HyfGIgKftm3RRUubfJ08ZqVapsTZY+KDPFiec5BsC0luh4LfVH0FU8FhM3 qJrgAfaJ19ayk1bG1AygCGT6POsHEPnohV2FY/7iXrIufqh0cl88eoiyPp98eGCBkgeV6ffcBkBEY NfDf5maDmPht8gLZ8p2Zd7oCUBkeEYvlQNuAAtixwr7rNTie470S8kNPSvx9M7r/tYLqA3bcZ76gR roEbO+OXLqlSG31yD+fs14Ohf45yV+Xfs0wEyswPCBXnKHuCvZcFNTTjSZ9bXnR0o9DKmguTIdGZh mRaIh35w==; Received: from p200300ccff136d001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff13:6d00: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 1pHuTA-0006T7-G1; Tue, 17 Jan 2023 23:30:16 +0100 Received: from andi by aktux with local (Exim 4.94.2) (envelope-from ) id 1pHuT9-00AwoM-Qo; Tue, 17 Jan 2023 23:30:15 +0100 From: Andreas Kemnade To: bcousson@baylibre.com, tony@atomide.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Andreas Kemnade Subject: [PATCH v2] ARM: dts: omap: gta04: add BNO055 IMU chip Date: Tue, 17 Jan 2023 23:30:02 +0100 Message-Id: <20230117223002.2609301-1-andreas@kemnade.info> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org There is finally a driver upstreamed, so add the device. Signed-off-by: Andreas Kemnade --- Changes in v2: use a generic node name arch/arm/boot/dts/omap3-gta04a5.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04a5.dts b/arch/arm/boot/dts/omap3-gta04a5.dts index 0b5bd7388877..1ecdc985fa05 100644 --- a/arch/arm/boot/dts/omap3-gta04a5.dts +++ b/arch/arm/boot/dts/omap3-gta04a5.dts @@ -75,6 +75,11 @@ OMAP3_CORE1_IOPAD(0x2138, PIN_INPUT | MUX_MODE4) /* gpin114 */ >; }; + bno050_pins: pinmux-bno050-pins { + pinctrl-single,pins = < + OMAP3_CORE1_IOPAD(0x2136, PIN_INPUT | MUX_MODE4) /* gpin113 */ + >; + }; }; /* @@ -136,4 +141,12 @@ bme280@76 { vdda-supply = <&vio>; vddd-supply = <&vio>; }; + + imu@29 { + compatible = "bosch,bno055"; + reg = <0x29>; + pinctrl-names = "default"; + pinctrl-0 = <&bno050_pins>; + /* interrupt at &gpio4 17 */ + }; };