Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp539201pxv; Thu, 15 Jul 2021 09:47:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyEVPa5oXzQLs5RuzS0a8uau/AB7zOCOOuRkJDXMHgkG0mjiz2JP3jnL8mgta4TRa9/590t X-Received: by 2002:a17:907:3c16:: with SMTP id gh22mr6681964ejc.158.1626367641332; Thu, 15 Jul 2021 09:47:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626367641; cv=none; d=google.com; s=arc-20160816; b=P/GP8YdDQN/2QeNoqo82833apg06mOGSEJWw85OxNLhqun7EvHuYbenA9Bejz0G3hc 0MELtlugHIyAUIq2cN36UrNpP0C8wjua1VI/1yk4IvYmuOcj6O7vfQ39Ky42nmgnVh1U sguAZX+uZMP3zF1+KWWutFDOtK7vm64HbYOU3pYPY57Id74jtxOZscEXpbINPdewWsCS A/PawVcfxjcV1sPbVTepCUDeQtzx2oRMlHMG0+Ut1RBt5n7lse+yshhjHPJdzWQ2f+Oq g/TVitEEhKYZzF1V8o+i8n/cBtnufBqQV/sCq3lnCfcua3CPbtFz/fluWkJLx5jYPDTy mv1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=WlcQjV1pVGOdbbJgTKcaNM0AAWDKgA3E4feJJrmCLBs=; b=EITgGOIetksxUxLEcaktEXNNnL856tZOAuZgUTVbfsjRAukojN2IVlXi9M5egccZdN 6O+s4Jhf/D2SAhJynsMaj/zPkMBSMAiDG0rLGJhpR5QImo1XEIzVoGWDqonz/roKkcis TQ5zLZEYgf3hCb/Ij747JUY2vz2ENJ3Yp8zpxVvxz5jIPPIMPzVtCeoh1+6IjyKn3Nkm 6xCIOaPlFS7nyAPrIrisWA0QPBLPU0BvXiXMk9lLLMwP/VsLiCDfuzptn83uQYtRdhcz xE0ZTsEq4h99nQ3A8GMeGe2mh4+Yfp16ADzNmjJKIdU1PO4266fanPOFI9CNBuvDieT6 P08w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JSHy2P38; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g13si7752869edp.307.2021.07.15.09.46.58; Thu, 15 Jul 2021 09:47:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JSHy2P38; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238728AbhGOOUw (ORCPT + 99 others); Thu, 15 Jul 2021 10:20:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238665AbhGOOUs (ORCPT ); Thu, 15 Jul 2021 10:20:48 -0400 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00473C06175F; Thu, 15 Jul 2021 07:17:53 -0700 (PDT) Received: by mail-wm1-x32f.google.com with SMTP id l17-20020a05600c1d11b029021f84fcaf75so6168837wms.1; Thu, 15 Jul 2021 07:17:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=WlcQjV1pVGOdbbJgTKcaNM0AAWDKgA3E4feJJrmCLBs=; b=JSHy2P38ya/DHrqRszHIyHx6r4x5mXZOeteeXd631reo6Y05ZYpWxhGAE284a6HkEM R5XejMxtLKqvpifIMWJvLQj1tc6u2qGnb8z5YRA0DGCFWZkN7loSKHZDNlrUIRfClmko Sm689jCIy8cLcMqShcpiS70Tltmtsd42p+IMrhXvw7uKqT9FaW/p19Ls/1l6x3USO+X3 qJ9yKlszmesIxVb1QkDYNWQqRyI3/lAz0n7Jah7oWw3dD1xmpNkRJilQxCTKXfzwzqsO KBPA1yE/697sjqb+hzQM1tmSLCybn3g8c1/0hOR8RDAnb0S2Voap038l3YM2Bzgxvvrx MGqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=WlcQjV1pVGOdbbJgTKcaNM0AAWDKgA3E4feJJrmCLBs=; b=r1ch1FGIez8KIa0+5CAOWv1g1RPoPDCR0VrPiBZkI++sdRRP2DLGHNAo2wTFxBQswM IUKGbaxg8wZYfirfy2o3/si9zAF3xuwVJxENQLaril11xyhWqwTOyw/YvD+Euy8kQoEm E+Dn1v17pGeQEV3Z5fJe7AbUa8UxqMB8YaOYQtm3h+EJLlG70fF60gMoyZYJqUxMBu5A yq/BIcnY9U2Orim14YlB9n2GxcrkPCvBFi6LzRe0w0JuggBksNZsV70G1IWmr8ddGJ+4 UcYvtwwgIkepTy/Quek21q6K2J6zSWykFVDiltcuOVnhXeiEZTEWi+Cmpyh0zT3s1OD8 y42Q== X-Gm-Message-State: AOAM530sMcM3UfrOLI68mg9Xwc0oOBTmvl5Dn1fMwFmD//dukKqp9Poa R3EpnJv+5Du8RweR67T4nCW8c8Ih4SRDmAiNs0k= X-Received: by 2002:a7b:c934:: with SMTP id h20mr4794896wml.59.1626358672602; Thu, 15 Jul 2021 07:17:52 -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 u16sm7989094wrw.36.2021.07.15.07.17.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Jul 2021 07:17:52 -0700 (PDT) From: Andrea Merello To: jic23@kernel.org, lars@metafoo.de Cc: robh+dt@kernel.org, matt.ranostay@konsulko.com, andriy.shevchenko@linux.intel.com, vlad.dogaru@intel.com, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, Andrea Merello , Andrea Merello Subject: [PATCH 3/4] dt-bindings: iio: imu: add bosch BNO055 serdev driver bindings Date: Thu, 15 Jul 2021 16:17:41 +0200 Message-Id: <20210715141742.15072-4-andrea.merello@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210715141742.15072-1-andrea.merello@gmail.com> References: <20210715141742.15072-1-andrea.merello@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Introduce new documentation file for the BNO055 serdev driver that will be included in next patches of this same series Signed-off-by: Andrea Merello Cc: Andrea Merello Cc: Rob Herring Cc: Matt Ranostay Cc: Andy Shevchenko Cc: Vlad Dogaru Cc: linux-kernel@vger.kernel.org Cc: linux-iio@vger.kernel.org --- .../bindings/iio/imu/bosch,bno055-serial.yaml | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/imu/bosch,bno055-serial.yaml diff --git a/Documentation/devicetree/bindings/iio/imu/bosch,bno055-serial.yaml b/Documentation/devicetree/bindings/iio/imu/bosch,bno055-serial.yaml new file mode 100644 index 000000000000..743c784ebc94 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/imu/bosch,bno055-serial.yaml @@ -0,0 +1,40 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/imu/bosch,bno055-serial.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Serial-attached Bosch BNO055 + +maintainers: + - Jonathan Cameron + +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-serial + + reset-gpios: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + +additionalProperties: false + +examples: + - | + #include + bno055 { + compatible = "bosch,bno055-serial"; + reset-gpios = <&gpio0 54 GPIO_ACTIVE_LOW>; + clocks = <&imu_clk>; + }; -- 2.17.1