Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp983172pxb; Fri, 15 Apr 2022 17:22:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvtwgk1RsyMXHfntt/Qn7PzMfn6rr14es5DCAAflsdpnq0Fm+4Uy+Tea07DQGIzSMc4Y3v X-Received: by 2002:a63:1312:0:b0:39c:f168:74fa with SMTP id i18-20020a631312000000b0039cf16874famr1098109pgl.618.1650068556982; Fri, 15 Apr 2022 17:22:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650068556; cv=none; d=google.com; s=arc-20160816; b=tZUKX+xu+lNHPCnlQoTTiouqJpD4b/qhRmfCtKz8u9ynBkKFkB4ThYqYI95TUEO1Qh i3uUFhNfaKnoJ7TzkhSbGviwWw7ZtQ4DCc+Bp5FU4SPqvBP1x79EAuCO1fYZdhnaTEic KsESoku4gMj3kGI4EFu5UAaidj+3aXxNK8qIFFk+C3NOYcMNb+7eXgqWD4Y56qoQ3hFL 5klcHoT46ehWHJ0hkK3p1TepV9zbnew+5TS6UedW3Ni+6ekaFDPyXZrsBW+hoNIAC3kw 8+vRa5nfyA4MvN43OpMu7LqM2lypb1ZU88Fn/WF30JaaLKupFBFcoKNIn8WORW6Fl7yA STSg== 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=xW+gwC4xCGMG6v1+4KhcIxH5r8ftuUTVjmJpXMqAdEg=; b=0SC4NpgZpL6BfXDJhJZ+1eAH1t7A9gPUpzGQb+Q1RDRQ5CJjkO4+TCoiePfPIgPb3I OiMU3GTtWXIbulP3AUH6tbGjnPFQYFJe6N4VJMab3iJk0XQ4zYPhRnx1nl74eiNYxPc5 V5n+N+HHMKzoG+A39bokLKiPZo6SjOSJhAwrcL8+JVuTtNT3sracV5qC4GTXXgUhDPOA ZfwZj800q8kb+SLWuLXaiCnkh4aT20FD4LneLskWBbKTvZSni210fTQTVH/oBBM1riSN ZuWNhkTRrt49+wjvAY7FdT5eT5woCQn9p746+6ujsHOG7GqiUmaWGGMyzreKaeCVBUnN zt8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Yp3eZYPP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id h1-20020a170902b94100b00154319ca2ddsi2627049pls.397.2022.04.15.17.22.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 17:22:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Yp3eZYPP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 56A0CD76FA; Fri, 15 Apr 2022 17:21:26 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353974AbiDONDt (ORCPT + 99 others); Fri, 15 Apr 2022 09:03:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353911AbiDONDF (ORCPT ); Fri, 15 Apr 2022 09:03:05 -0400 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD55D369CF; Fri, 15 Apr 2022 06:00:36 -0700 (PDT) Received: by mail-ed1-x52f.google.com with SMTP id c6so9835334edn.8; Fri, 15 Apr 2022 06:00:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xW+gwC4xCGMG6v1+4KhcIxH5r8ftuUTVjmJpXMqAdEg=; b=Yp3eZYPPhOsjc+QxsXPHTTBdboJ0BeFHw13LmFM2tSqUI0TBFGtapShRL8Im2VxHQo XHn1Gw67rtIrdzkC7kDEirvAOGzVgdBz8Aw9HWPMFLzmmzseLtYnNorEsRQQLfo4tUXQ jThGRyZK3aabB0ldsKsPc3xO0ERCnJNd5vXUkMd7AKU7oeiF4gyh5hkyUlU1DurTxVUB i9L+n4ExjWVPwqGsziLAqOZLjSQ01vJmPknO0Dass4k108kwOlXQD9ACCyMr3YwwZBMb En6wKcD0BXQJMGLUdVZGl/yTTy33slQNEc+6hMHjzcrCqT3VD0C2x8SWbmIaL7SFPJ5T XOfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xW+gwC4xCGMG6v1+4KhcIxH5r8ftuUTVjmJpXMqAdEg=; b=Plh6TaxxADrIDjZmeY6p8vRe+kxO7+LFtJqls5pUPB7MagWZajMvryuZYATA6L2e0d EqpcGOGlAnNgeKY8GEZ3bQlikBsqy3rXllpu1RJ0IKD/MaCtQ8GVMYjXmwevS58qTfx3 exHysc8J5kJk582w120QWgnsvHQkMF48qVF61StrEVY61aiovuXdtbCc82m6G8fXLCoa PlZnTTMECXyMog/re8pWL9Y/nlk5tI9G7nVa5j8/VpHja1mgUTahUNyn3z3WQqF1uRxH /tf+Yuh956fZwcwdNpFR2n+jtPAUHdra6eUI215Br6T9FhQgFPppZPyOMzSNehBZPjVV 7EGw== X-Gm-Message-State: AOAM532oG+d7gjR1VVZFGzD042xIkXWXfEozlJOLK0aV0zFwrD6IwwO3 LBTP0gdCBaGtsQlB8FWOYPA= X-Received: by 2002:a05:6402:514:b0:41d:787f:b99d with SMTP id m20-20020a056402051400b0041d787fb99dmr7984739edv.76.1650027635070; Fri, 15 Apr 2022 06:00:35 -0700 (PDT) Received: from poker.lan (static.2-229-210-222.ip198.fastwebnet.it. [2.229.210.222]) by smtp.gmail.com with ESMTPSA id i26-20020a50d75a000000b0041e84bb406fsm2704715edj.0.2022.04.15.06.00.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 06:00:34 -0700 (PDT) From: Andrea Merello To: jic23@kernel.org, mchehab+huawei@kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: lars@metafoo.de, robh+dt@kernel.org, andy.shevchenko@gmail.com, matt.ranostay@konsulko.com, ardeleanalex@gmail.com, jacopo@jmondi.org, Andrea Merello Subject: [v4 11/14] dt-bindings: iio: imu: add documentation for Bosch BNO055 bindings Date: Fri, 15 Apr 2022 15:00:02 +0200 Message-Id: <20220415130005.85879-12-andrea.merello@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220415130005.85879-1-andrea.merello@gmail.com> References: <20220415130005.85879-1-andrea.merello@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 --- .../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