Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1403980iog; Tue, 14 Jun 2022 05:32:38 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tiIOKzByDlLqRflUIIpA0Z5bgPiQ8pFyR9GwWJcaBD3np96HsXm3t7RQfuo+8UFVHzlX5a X-Received: by 2002:a05:6402:4255:b0:431:34c3:6018 with SMTP id g21-20020a056402425500b0043134c36018mr5717887edb.146.1655209958444; Tue, 14 Jun 2022 05:32:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655209958; cv=none; d=google.com; s=arc-20160816; b=a71w/OoR3/tK6/yq1OFX+uTzRTrnXGj/0P9oCZXE+MvHyWD1w2wq7vnHkBoEZgEkAD LwiPIWpCJ39eWtGgtH8Y6JR+pks53GmSFWV3MbBJIMmFRjzmCqpNbtRFq09M8OC+9pyF PBPPbNoLGIowSGw3ROz0LWdskn/LcjVosp/oSuOHCOknedM56ITUiFKAuU+TV9w5q6yx mx50hHYVxss2erN5d9480Kn0HcuDBNWzTJVnqQFALiEGQHBOhMqgobBwK/qPLr0hWzHO BF8m3uAeVq4ROvVYa2bDcOJFCEStwWwVRCoiRtA/T5wLqXMC4+uBWfHvHEh4ktn5XZPj IGMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lThD6BA32M/3+1gJOlZ6Sd+pgka8j0o3qmjB0KTkeU4=; b=MK5LeOS4bRUqGSHLpcwDheGBV3xJfKk253nyE2IG1xvIXxg8rZg4vgfflvtp/AV3DT 77PYkBYYVkeguoGaJ0YTVBbyIp3UCxMvkoxWJVaBStODiVKVa0/OalLwAig50+QJDfGH sAl7C46nAtNNDa+EZbp9uheiK/gmxAJ8A7Vq/Qvuk25zYlze5BD8AntcrRsz4ONr6Xbr ZaZSwN29Jg4I9yozpcyuaRrD5SBTn5XOy+SrDGp4/9TnbUiqN3/x7Mv7cblZJRCSuWDh 3z7c76O2SdAI6l/HDYATvAuySSyMJU424h+XoyKV6hSPTF0UsZFZ3MxwL/Oh19LjtkXh DoYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@iit.it header.s=mx header.b=iXpKDfQ0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=iit.it Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id js18-20020a17090797d200b007156fe1aa78si11666282ejc.403.2022.06.14.05.32.10; Tue, 14 Jun 2022 05:32:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@iit.it header.s=mx header.b=iXpKDfQ0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=iit.it Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237027AbiFNM2R (ORCPT + 99 others); Tue, 14 Jun 2022 08:28:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233465AbiFNM16 (ORCPT ); Tue, 14 Jun 2022 08:27:58 -0400 Received: from es400ra02.iit.it (mx.iit.it [90.147.26.161]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CB8B21268; Tue, 14 Jun 2022 05:27:50 -0700 (PDT) Received: from es400ra02.iit.it (127.0.0.1) id hl1vc40171s9; Mon, 13 Jun 2022 14:05:56 +0200 (envelope-from ) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iit.it; s=mx; i=@iit.it; h=Received:Received:From:To:CC:Subject:Date: Message-ID:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding:Content-Type; bh=lThD6BA32M/3+1gJOlZ6S d+pgka8j0o3qmjB0KTkeU4=; b=iXpKDfQ0yGSdROKy1TR6Cilec80V9RSBKQQJm NBUlJt1y+LoOGsSPL1A1P7EIxu14N18PKsN0GtxCAYiTlVBWWNYZPF2exWYDrK4D VHqSn23GdeQOGo1UTtBZCmMxEMN/zcUSPi1H1D0ABkJaH4gCL15MM6QaYlvvjLuo jyDmMY= Received: from mail.iit.it ([10.255.8.186]) by es400ra02.iit.it ([172.31.0.242]) (SonicWall 10.0.16.7295) with ESMTPS (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256/256) id o202206131205550231026-8; Mon, 13 Jun 2022 14:05:55 +0200 Received: from poker.lan (90.147.26.235) by iitmxwge020.iit.local (10.255.8.186) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.17; Mon, 13 Jun 2022 14:05:55 +0200 From: To: , , , , CC: , , , , , , Andrea Merello , Rob Herring Subject: [v6 11/14] dt-bindings: iio/imu: Add Bosch BNO055 Date: Mon, 13 Jun 2022 14:05:31 +0200 Message-ID: <20220613120534.36991-12-andrea.merello@iit.it> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220613120534.36991-1-andrea.merello@iit.it> References: <20220613120534.36991-1-andrea.merello@iit.it> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [90.147.26.235] X-ClientProxiedBy: IITMXWGE021.iit.local (10.255.8.187) To iitmxwge020.iit.local (10.255.8.186) X-Mlf-DSE-Version: 6873 X-Mlf-Rules-Version: s20220519150137; ds20200715013501; di20220610180234; ri20160318003319; fs20220610211824 X-Mlf-Smartnet-Version: 20210917223710 X-Mlf-Envelope-From: Andrea.Merello@iit.it X-Mlf-Version: 10.0.16.7295 X-Mlf-License: BSV_C_AP_T_R X-Mlf-UniqueId: o202206131205550231026 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Andrea Merello Introduce new documentation file for the Bosch BNO055 IMU. Signed-off-by: Andrea Merello Reviewed-by: Rob Herring Reviewed-by: Andy Shevchenko --- .../bindings/iio/imu/bosch,bno055.yaml | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/imu/bosch,bno055.yaml diff --git a/Documentation/devicetree/bindings/iio/imu/bosch,bno055.yaml b/Documentation/devicetree/bindings/iio/imu/bosch,bno055.yaml new file mode 100644 index 000000000000..e0d06db161a9 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/imu/bosch,bno055.yaml @@ -0,0 +1,59 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/imu/bosch,bno055.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Bosch BNO055 + +maintainers: + - Andrea Merello + +description: | + Inertial Measurement Unit with Accelerometer, Gyroscope, Magnetometer and + internal MCU for sensor fusion + https://www.bosch-sensortec.com/products/smart-sensors/bno055/ + +properties: + compatible: + enum: + - bosch,bno055 + + reg: + maxItems: 1 + + reset-gpios: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + +additionalProperties: false + +examples: + - | + #include + serial { + imu { + compatible = "bosch,bno055"; + reset-gpios = <&gpio0 54 GPIO_ACTIVE_LOW>; + clocks = <&imu_clk>; + }; + }; + + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + imu@28 { + compatible = "bosch,bno055"; + reg = <0x28>; + reset-gpios = <&gpio0 54 GPIO_ACTIVE_LOW>; + clocks = <&imu_clk>; + }; + }; -- 2.17.1