From patchwork Wed Jul 24 12:51:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Shen Jianping (ME-SE/EAD2)" X-Patchwork-Id: 13740912 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2055.outbound.protection.outlook.com [40.107.22.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 011641E488; Wed, 24 Jul 2024 12:51:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.55 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721825518; cv=fail; b=VZATLtHE1Q+JovRA8mLVb4zDG12cg7BZNee6rc1hK31YzY1iDV3VYaJ+YouByK/pt2COhd/FwGUUn0J2yWCjzlqClhSoDghgDeHR6WJU24JLRpubeYA80REI5CdoYZ5TqU2sMuJyEjvoQXpX5+JThRVOvjNA+PqFRhFESR7MlOU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721825518; c=relaxed/simple; bh=gA0p82bVwMM/pTK+6ymmbNwkxX/28quSf2FLvFsNPm0=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=qZgm2CBzx9PX98MOoyajaviYERV4LLvpRF7u8R4esAEx/mLg3cIJc2/6moftnpJzVXVChQhS+k2xPWZG9f8bSr2ovamAYRYb9ObQRnYzHB5RSPadp9CvlgvD4snwz4r2S8SWs/jRTRLhDt1qS5ZixMR0OCYWWv88JPQbhXXmZts= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=de.bosch.com; spf=pass smtp.mailfrom=de.bosch.com; dkim=pass (2048-bit key) header.d=de.bosch.com header.i=@de.bosch.com header.b=JabA8/NH; arc=fail smtp.client-ip=40.107.22.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=de.bosch.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=de.bosch.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=de.bosch.com header.i=@de.bosch.com header.b="JabA8/NH" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=jCQlHZR/U7BALcf1J3MEHGkHmC2TkkhOElvvWnYRzDIHzW9SbR+xTm4xPzH9Chxlhfv3iuVaxhsnEMASiYlbyAPBipH7bp3TqE9jmAacOVogIJQvuPwL6VzPIZPQruLKrWl8fpgM1Ue85uZjzbBvOJr8GrEGeZM+fJTXywIBeavnVjVR20JwmPytmV7xlOttg14zE2TBDVauHk6oIaMQF5rPDa0MlRGLCGIGE9lyL7h/R7nUANe82bx86ef3NZkuki7slywEPJKA0Oesa1vMtqzIJRrv6GnMx4dn6TXOmN9cSdKOA5mT2ZVycxRJ777jl8YsNgWdUxut9EdvkakUsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=TGHhaeuvPh/AOjyHJ9XkDvJA5lgc6bzSeYprYivfPnI=; b=hmeRwz1/LyaoiISm5BPJPB/NnDIOhJe52dzvn0PqYjqCx4n2+3PUXvXvRTSfNF2qAFBAZ5sb2XJlaPbfuWb+w2NR++Y7JpcJ2QG2auA186kL5/sr4Oveo7aIeIMijksKkR0Pt/3JYfcj7P6TyMbuT5GMHYF0lcRQqVhS6xuFhSZQG4S2fFKaME4ovkSv5q25OOcyVuQOAV/uLW3YBwSVi+a4oRdnZvhWx75jDuZSK2BGEjCuhIIVtXQkuUZ6HL0M9+U5ZQx/vKKYX4umUFhR6UaLnq2H7IpKRGWey00jyVjCK95qT5S/ZcHNMX5C2muRUjVDyECJLZWUjPtXMVHJ7g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 139.15.153.206) smtp.rcpttodomain=kernel.org smtp.mailfrom=de.bosch.com; dmarc=pass (p=reject sp=none pct=100) action=none header.from=de.bosch.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=de.bosch.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TGHhaeuvPh/AOjyHJ9XkDvJA5lgc6bzSeYprYivfPnI=; b=JabA8/NHkD7P5b2fw9FGkD4nyhGQkS09H6lkT575f5vGNlY7qbSBPFm3jXgBFlIAkvOHFaMPOret0evV1ZMqTelVGfaoGjNJHYhUiEseCtn2/V6m4yT/eCcKcfZagaHOf2s063p/uh0D3OY9Pd0GljtxAI2czs3zlSmJnXjaEoUAwVHmR6AyaB1GYrWnwp3ixoeOu3D7ADPoNBhiVImzSIed9U1p4tEPOToAO8EtvL2uC15odWhrK2hHFM+BOitrS7UzuJg7yiPbzd3T5NMCrYH0JACF7h/xR880NR7NPX4cTLWxmHc5WVd1GWR1ujwNO9ZA5OTmCNCc51GoY0R8mA== Received: from DUZPR01CA0058.eurprd01.prod.exchangelabs.com (2603:10a6:10:469::12) by DU0PR10MB7609.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:34d::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.18; Wed, 24 Jul 2024 12:51:50 +0000 Received: from DB1PEPF000509F7.eurprd02.prod.outlook.com (2603:10a6:10:469:cafe::39) by DUZPR01CA0058.outlook.office365.com (2603:10a6:10:469::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.19 via Frontend Transport; Wed, 24 Jul 2024 12:51:50 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 139.15.153.206) smtp.mailfrom=de.bosch.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=de.bosch.com; Received-SPF: Pass (protection.outlook.com: domain of de.bosch.com designates 139.15.153.206 as permitted sender) receiver=protection.outlook.com; client-ip=139.15.153.206; helo=eop.bosch-org.com; pr=C Received: from eop.bosch-org.com (139.15.153.206) by DB1PEPF000509F7.mail.protection.outlook.com (10.167.242.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.11 via Frontend Transport; Wed, 24 Jul 2024 12:51:50 +0000 Received: from SI-EXCAS2000.de.bosch.com (10.139.217.201) by eop.bosch-org.com (139.15.153.206) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Wed, 24 Jul 2024 14:51:37 +0200 Received: from LR-C-0008DVM.rt.de.bosch.com (10.139.217.196) by SI-EXCAS2000.de.bosch.com (10.139.217.201) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Wed, 24 Jul 2024 14:51:37 +0200 From: To: , , , , , , , , , , , , , Subject: [PATCH] dt-bindings: iio: imu: SMI240: add bosch,smi240.yaml Date: Wed, 24 Jul 2024 14:51:15 +0200 Message-ID: <20240724125115.10110-1-Jianping.Shen@de.bosch.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB1PEPF000509F7:EE_|DU0PR10MB7609:EE_ X-MS-Office365-Filtering-Correlation-Id: bd97b422-0300-4fdf-950e-08dcabdf62e9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|36860700013|376014|82310400026|7416014|921020; X-Microsoft-Antispam-Message-Info: =?utf-8?q?Je+GbEX8M7eEj9UP3mNJJe8hdyTyUiH?= =?utf-8?q?X8wnvl/BzdGP+xMMpvAEIP4wBwIiGocXDZ3oDZ/AFXcmMfpPYx7Z8l4TkXbWFZjJk?= =?utf-8?q?LmUbnxzw3tLpF/tvgMcRD8w35E1V6kvhnBd+GaF/redG+Hbdnq4Wf2AT5dKBn8lUd?= =?utf-8?q?aU1FNrBbYPhRubUa63KXkjb3VYyeJyA7m8STqyoCoM8DlKb/kHZGKxcGJNhtUj0Tw?= =?utf-8?q?MKs6HncLE99ODrpqNtUU7obfo0iNVugrmPy65igExnRU+a3XVWw68xR88aQCoq8jk?= =?utf-8?q?ZR2XRwVfWX6o/M1SF41Cgn4LVLexpHJ20TmKKN1NIBs0YHDfScdjdUfm+RU2nPm3a?= =?utf-8?q?+V83NOZo5U5gobHFJjkq/nP55wNvvPKs9Zr6AfTvQOHu9XjkFn2DlDiIH03F9N9fP?= =?utf-8?q?5TQOsv+faVpD0JBzkFSrqby2FbgaaDxkj2DMm3ey7tyiGqN1j69DgBQMUs5r6jc6i?= =?utf-8?q?LwJ4T1Oz91NEChZMXcRpmJiVUt3+l/VAhqKQkNYWbnVnOhxKXkdkAjroNs8gpNO8a?= =?utf-8?q?O4UXwLXfibFFpjlN+/J83/EEMOJKFqn5ghd5CeyB0Xzf+Bn6N2tECL9CVPaFn1xV3?= =?utf-8?q?E0twmXwa76h6ZY2VZo0jz4nmfdpPTIxck+vaKSVHg9Nn5jHk0eBJqCIP16HVT3SCO?= =?utf-8?q?3xEFfZ5VnGWPPVb2v3MB6+tVnmP2AeQLxTfCSwSmj/H3AkArwit+OfGe/pI5XKBKW?= =?utf-8?q?VgnAMnEW8wONvCG6F466kzVXLfjQYtEgPW37M73j1s0Mcj3OJPJdits1bK6kXFA55?= =?utf-8?q?D2Hj4yVfDGA5dgZkrJHLqWUhbuXHvD/6VPyAi4L96i3ngR3TKMGVO1ipp8rBVzL98?= =?utf-8?q?5nNXwwDpPc2dByWh2wTY7mDP0Oks1rl4xY40xI2hx7BHlya0A708sw2u0QCOMjCqu?= =?utf-8?q?OrHN523MhDExHlK6tsR1q/Ti4vHsukBTNzjDNTYJCWcKdWBYHjBvJcVdMajTebWbX?= =?utf-8?q?Y5Wck4+FueCb7r7umf7UbmlRDaNPnnVABEHBKte2SH8ywTxHJFDv4ejtCPONJhnAk?= =?utf-8?q?Rbzt9QpbedivMGozg1+2Nwa0kATXjwZ/jLsJcb5opMI1NeFEVWaWRPQcUOdMmjgBk?= =?utf-8?q?NRFNTa5R787Eq9qU9lFIE86DGOao3Tb+A6C/SfQXfrTJ3Bi07OwP0I0lG1DJKrDVA?= =?utf-8?q?kkriJOzuNDlguLfGfvL/qmmwOfDWl3CvK48ZWyKojlYlTFypd8lZxVQmE+sp2B2sZ?= =?utf-8?q?n3/r/4K9SEp8wlJvKKWWFVxTjiBOFGa0JvBsou7a0queTNWTLCFMFjsgsis1XJLSZ?= =?utf-8?q?fK8nwVq6f6XtF30MoGQ2rMqt3J/6gwfrMtANVr2XH027JSjY/2V14uPhTO5lbHoeQ?= =?utf-8?q?XtiphnKd2sTnRI32I001v6c1uJwVV0LG1g=3D=3D?= X-Forefront-Antispam-Report: CIP:139.15.153.206;CTRY:DE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:eop.bosch-org.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(1800799024)(36860700013)(376014)(82310400026)(7416014)(921020);DIR:OUT;SFP:1101; X-OriginatorOrg: de.bosch.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2024 12:51:50.4362 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bd97b422-0300-4fdf-950e-08dcabdf62e9 X-MS-Exchange-CrossTenant-Id: 0ae51e19-07c8-4e4b-bb6d-648ee58410f4 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=0ae51e19-07c8-4e4b-bb6d-648ee58410f4;Ip=[139.15.153.206];Helo=[eop.bosch-org.com] X-MS-Exchange-CrossTenant-AuthSource: DB1PEPF000509F7.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR10MB7609 From: "Shen Jianping (ME-SE/EAD2)" dt-bindings: iio: imu: SMI240: add bosch,smi240.yaml Signed-off-by: Shen Jianping (ME-SE/EAD2) --- .../bindings/iio/imu/bosch,smi240.yaml | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/imu/bosch,smi240.yaml diff --git a/Documentation/devicetree/bindings/iio/imu/bosch,smi240.yaml b/Documentation/devicetree/bindings/iio/imu/bosch,smi240.yaml new file mode 100644 index 00000000000..5e89d85d867 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/imu/bosch,smi240.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/imu/bosch,smi240.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Bosch SMI240 IMU + +maintainers: + - Jianping Shen + +description: | + The SMI240 is a combined three axis angular rate and three axis acceleration sensor module + with a measurement range of +/-300°/s and up to 16g. SMI240 does not support interrupt. + https://www.bosch-semiconductors.com/mems-sensors/highly-automated-driving/smi240/ + +properties: + compatible: + const: bosch,smi240 + + reg: + maxItems: 1 + + vdd-supply: + description: provide VDD power to the sensor. + + vddio-supply: + description: provide VDD IO power to the sensor. + +required: + - compatible + - reg + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + spi@0 { + compatible = "bosch,smi240"; + reg = <0>; + spi-max-frequency = <10000000>; + }; + };