Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp805750pxb; Thu, 17 Feb 2022 15:23:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJx3gGuPtt/+jkWj8trLrlpZsrm6HWL9Bl4MT+rQQiuQxJYuVJTN8JMl3QBtB2seNuj3RLd4 X-Received: by 2002:a17:90b:291:b0:1b9:3cb7:41ad with SMTP id az17-20020a17090b029100b001b93cb741admr9779460pjb.16.1645140231173; Thu, 17 Feb 2022 15:23:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645140231; cv=none; d=google.com; s=arc-20160816; b=AylidMqvEVzdT8a3QO2B/qlkVnlzFHrgukGyPwdOycvKnwjb9YYNpwAhr9i0W8P7kA rVPIneGiPDXok1kVBbXbGR6egS/9mKF0pKggjbnk3Ji3AwCncL3RfIJoKWjXfZBx+IiJ hGeyvkVmaMlxP+MxQzWWYJ3qNgxzrxvvcjRJ5YN7XMC3Sm6L97edG1fL4zfpyUULNsqs GPm1xIlFj8oHVgp1BcXIpGoGa5d9NI01kskzoiT7fjuuUFQ1R+lxPE4O8Rzl+tUqTFaK rWXCxAp6kx7IxQNOXaTzmJKGmGoCEgjFqZ+1GFQPdJODUBZHBO5OoY10cHQ7fL28H1uw 4XUQ== 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=9TN6KDpHU/fcJsRDPYzJSQRkuj2gxgVh7KPbfIBfiw8=; b=cPhPkgltoUie5s1g/WgKYvVGRFeU/3DIRg0T/ikfZtHlh9PCTUdiYrdbOUxOg7tSb9 LrgzYpW/r6bwJLk2xMkEqk+ZCf5CSVUnplL48K77d7cP98vBH9PAA2Xd5oh3YcPIfIyL rGQyhgLkH7ZhF7Kio7rOceVOguZKLU/klOzpVTBWkE9LRzr6ZXW/Lfr/ZAJ9+zHcsTQz MNnA1ikrFcdpqQh60Dk0cmaqttHNYXgFrvqTrQG3xOu83qsk3zosx+8s/SleVOTYIMdk 1sL1PLittScdA8UDF6XgzU12HSMfI6Nx6w8m//MduvLxP8VIalbqRx2nv4eGQlQwFNQN PjrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=p+Dn1m1i; 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 e4si1999109pjr.179.2022.02.17.15.23.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 15:23:51 -0800 (PST) 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=p+Dn1m1i; 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 8051B4ECD1; Thu, 17 Feb 2022 15:09:32 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243205AbiBQQ2A (ORCPT + 99 others); Thu, 17 Feb 2022 11:28:00 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:60752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243151AbiBQQ1s (ORCPT ); Thu, 17 Feb 2022 11:27:48 -0500 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 231B79D049; Thu, 17 Feb 2022 08:27:34 -0800 (PST) Received: by mail-ed1-x532.google.com with SMTP id u18so10610195edt.6; Thu, 17 Feb 2022 08:27:34 -0800 (PST) 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=9TN6KDpHU/fcJsRDPYzJSQRkuj2gxgVh7KPbfIBfiw8=; b=p+Dn1m1iWFHZLCfxSfqbw37qW3cs7g0tWJzQzYwUE48iHIcrr9qbEWPpmKq7uMY80k 3DfUtdJuo9vgbNz0r+b9g4Gy1lmjhX8+4y++U7/dxGVBUp8hf5FqDHJHmr875Mi1M+Ck IqGJQXz/97eNDbHfdTWTgHY/G5hEXDMpPLrSR2BltNqzUVP2G/U2MyWjGz+j3vVCZt72 kxhfsosCnPYjrbxZ4VryMQKyMZpX+qJfLf3NQeseY/yYL/Y7haiF6IarVeA5NuKfyYtl TU9fAhNkTMTn1JtwKg0QCrI2D6sjV9Kk1/46n9BwERFUG9CyUu9ulWpQQWmkrutJr++S IfKA== 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=9TN6KDpHU/fcJsRDPYzJSQRkuj2gxgVh7KPbfIBfiw8=; b=Vuc/vPvNzqkenmMDhm6OIAFiUlI0bTzGrYchyoPE8lngxYyq5jbNe7+Ai707mqpCNy ekg86yR9T4vrU+L2P76kMyrUDL4+8Z6hBsEiFB6RtmCvpXwRTkNCEaf1b+wruG15C3kV feDGn+okF1W1pQN1REX1I1QW1jHnLBGPQ2CpDPYbMU8Z2rf95Ncx76MHe4JAQgRrmAdW osw7Oi+a6PKeNq25PhblcHZi6shsZOVZKjp3Rb2mYmYnJEKNFv7KNSN/9+qAoYBc71QI 3WsWPt2LSjNQe6ZPSt7xZrNI7sA7PBuzingBU6hAzecH0c2LAafErQFpL+B2ljueuS1s VENA== X-Gm-Message-State: AOAM533B/XEa0ZErLmkQwgYB6X1xbj4B1hks34oHhfPspe6yoqooiITy v92xfnIr1v48LJWJW3qiOcY= X-Received: by 2002:a50:8713:0:b0:410:db7a:4b2a with SMTP id i19-20020a508713000000b00410db7a4b2amr3443451edb.140.1645115252663; Thu, 17 Feb 2022 08:27:32 -0800 (PST) Received: from poker.lan (static.2-229-210-222.ip198.fastwebnet.it. [2.229.210.222]) by smtp.gmail.com with ESMTPSA id j13sm3653742edw.24.2022.02.17.08.27.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 08:27:32 -0800 (PST) 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 , Andrea Merello Subject: [v3 10/13] dt-bindings: iio: imu: add documentation for Bosch BNO055 bindings Date: Thu, 17 Feb 2022 17:27:07 +0100 Message-Id: <20220217162710.33615-11-andrea.merello@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220217162710.33615-1-andrea.merello@gmail.com> References: <20220217162710.33615-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 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