From nobody Fri Oct 10 13:49:42 2025 Received: from OSPPR02CU001.outbound.protection.outlook.com (mail-norwayeastazon11013003.outbound.protection.outlook.com [40.107.159.3]) (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 CCF6D207A2A; Sat, 14 Jun 2025 22:14:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.159.3 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749939251; cv=fail; b=DRUnenWqV8EWsjjt3aWwAYmdVblz/ZucgNbHyPQTX1PLidcblQvOJN6besliKXs/iKpRlswrb111wT766MswwYy7MP+atLDEU4TFAdoUddGp/ZMSLdUrQdpu/6H9974ypPcFkwbpuPzaI25YaczLMxYfrA71Z9lrO9gXi5iUVBw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749939251; c=relaxed/simple; bh=jbD5vAQPa3VN9DJQsqgaxKlNT8a7edxBVaBzztblK9k=; h=From:To:CC:Subject:In-Reply-To:Message-ID:Date:MIME-Version: Content-Type; b=fqehtTWi3mdlnRstszpntwJdEHI+c+Qk429fP/9GGaClcN4LIFIyD9JrJNBFKyLrWliNHjNR5WItRmsoft3Nz2bh2Ltops3KHriJrBfra0yDW3QCzCEVrTEPGkpIy9opYmXfwUZIfESMPCP3Jgn2/nQuidL029HvX0fhxfl4huk= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=axis.com; spf=pass smtp.mailfrom=axis.com; dkim=pass (1024-bit key) header.d=axis.com header.i=@axis.com header.b=cGRWjYC2; arc=fail smtp.client-ip=40.107.159.3 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=axis.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=axis.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=axis.com header.i=@axis.com header.b="cGRWjYC2" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=PfKxTX3wKqnC1kqx9o1W/MixkdDyEuogQwnjiZ8KQdm5JYQBH5kZIqiHVubKzC/WeFT4+on7nG3Ei0tsZIhXp+lNdXcsidz4rJPmCOv/LaijPDr8KJC44iB/uRN/GPMb5/M3bHBa+4i/a4wz9/SZXzykx4sk/c0K5A+krXlVl9KVHhXVOQ7uO7jmeZFKHbxMr22fVHeWcLeZTsez9mYVtu0kvXDOAR/I1v65j1u/5U5+KPL9FjYB/+Y+i2GB/nXhe0zSjyjEmAmIrLJAnmwdAgQMEkE/EqZxPbCeYud0lFBXP5veKiy1EmSaJx7wZQpqAnIpaGXHGSzJ0epAJisbSg== 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=7JiRRQgcTI57yVLLv/FJDnC9f49UmWo0z2cgM96pnNw=; b=bwU+cdWPnYcxqc7FsIflpbz2Y9a/RtxZ+VhEL9LxdkO27wbmMgLuFwBxroRqVbhjOf1H2b4sEMSrgLAZ0HoRXs4crrvI9fTR6itXwrtJBnKMumdPDluJKEUh6+vDVn91mzr0fOkhCkXAoHoAK1U0DJGlLAjjItcnq6P/iwSZEuaseoT85nqqZ7QKrbE/3yXJytYnRy5g44X4ziqkZAJfQ0340jpBOTDPqMNUYRerkAoPnPf9Ww849uFMjRPbZzwcNT6k9KNmtiPG0RmbqpkSnexXICT6YtNZLKiicegK0KbzThmBJjuWBtr3xwtXP4UXt1rx8b1YhJDeuxTyVNtDaQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 195.60.68.100) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=axis.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=axis.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7JiRRQgcTI57yVLLv/FJDnC9f49UmWo0z2cgM96pnNw=; b=cGRWjYC2+hiqBtyXC/ZDqZ44dpZQ3ZaJKKgJAsQTIW3hrPTeuCeCBaRTM4v7MiASYucMCj3NujebNxzyxabhyQeLth1hVaZvVm8Ww/XXGzETQrx/VuGDVqi8zGQ5rtafOJOKx+TBVd3JkqWuls5oGQqbGGZSUTnduLRydg03TLU= Received: from DU2PR04CA0231.eurprd04.prod.outlook.com (2603:10a6:10:2b1::26) by DU0PR02MB9025.eurprd02.prod.outlook.com (2603:10a6:10:477::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8835.26; Sat, 14 Jun 2025 22:14:05 +0000 Received: from DU6PEPF0000B621.eurprd02.prod.outlook.com (2603:10a6:10:2b1:cafe::78) by DU2PR04CA0231.outlook.office365.com (2603:10a6:10:2b1::26) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8835.23 via Frontend Transport; Sat, 14 Jun 2025 22:14:05 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 195.60.68.100) smtp.mailfrom=axis.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=axis.com; Received-SPF: Pass (protection.outlook.com: domain of axis.com designates 195.60.68.100 as permitted sender) receiver=protection.outlook.com; client-ip=195.60.68.100; helo=mail.axis.com; pr=C Received: from mail.axis.com (195.60.68.100) by DU6PEPF0000B621.mail.protection.outlook.com (10.167.8.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.8835.15 via Frontend Transport; Sat, 14 Jun 2025 22:14:04 +0000 Received: from pc52311-2249 (10.4.0.13) by se-mail01w.axis.com (10.20.40.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.44; Sun, 15 Jun 2025 00:14:03 +0200 From: Waqar Hameed To: Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , Subject: [PATCH v2 2/3] dt-bindings: iio: proximity: Add Nicera D3-323-AA PIR sensor In-Reply-To: User-Agent: a.out Message-ID: Date: Sun, 15 Jun 2025 00:14:02 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: se-mail01w.axis.com (10.20.40.7) To se-mail01w.axis.com (10.20.40.7) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU6PEPF0000B621:EE_|DU0PR02MB9025:EE_ X-MS-Office365-Filtering-Correlation-Id: d6c1dddd-3cfc-41e9-b9af-08ddab90c680 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|82310400026|1800799024|36860700013|13003099007; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?YGmhzU7yUGhlVPa7sqxhzVPsmqsMONyZZ7f7vaXOF5C8GjZwUdYeSbkjAu45?= =?us-ascii?Q?dJNtL8J7G6sNHpDxYXGTWTGAI/24rQ0yZtJ9XnFeTXdJMtOe0q5bTrrVLFNK?= =?us-ascii?Q?2y6KEsAnQ1QfXKEB+cRYOQocDp1TxihlV9XFOM+PC4mGlqG7hlQUYKG7YP/y?= =?us-ascii?Q?Dyn9m/61+hUu0/Rv3auYbczoZeMYW9Z28bfnaCSqz7dfPbZI/qeU00BRC85C?= =?us-ascii?Q?YT5zxGHLe7GC4cWcHxKmJnYYC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?us-ascii?Q?ggoCRZn+qj8n/zoY++TZwln8InZe4uHXn7bD1Iqob6ieEVgq9Y2/gh6ekXgO?= =?us-ascii?Q?l89lOYRN28RaSq8at+EJu/ne6kWbtbRTO18SpDHLApka/eD6zI0SpSsTtSzr?= =?us-ascii?Q?vo/IC4UcYydolT+rGFIdiOnDwOgh81cVM7Ey1SHAKM6wACyDD+y23a/uJcGc?= =?us-ascii?Q?TrhoSIVjbddEMSEo//wkJ2i1ftMa03jfIO1Vcy4CPWmk7YFsuNgtdZhsJjMm?= =?us-ascii?Q?T4Id9+CPq8IO05SEl+tzMj5JmMF3xuWZyycRSjTC/KKxbaErobhVrTlaORnn?= =?us-ascii?Q?3bqpIMRAFlnvfYSGFeGNBsom3t4dGxlUHVAhEfMzyq2q86lgwDxYEQ=3D=3D?= X-Forefront-Antispam-Report: CIP:195.60.68.100;CTRY:SE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.axis.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(376014)(82310400026)(1800799024)(36860700013)(13003099007);DIR:OUT;SFP:1101; X-OriginatorOrg: axis.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jun 2025 22:14:04.9874 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d6c1dddd-3cfc-41e9-b9af-08ddab90c680 X-MS-Exchange-CrossTenant-Id: 78703d3c-b907-432f-b066-88f7af9ca3af X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=78703d3c-b907-432f-b066-88f7af9ca3af;Ip=[195.60.68.100];Helo=[mail.axis.com] X-MS-Exchange-CrossTenant-AuthSource: DU6PEPF0000B621.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR02MB9025 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Nicera D3-323-AA is a PIR sensor for human detection. It has two GPIOs for detection and data communication. Signed-off-by: Waqar Hameed --- .../iio/proximity/nicera,d3323aa.yaml | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/proximity/nicera,= d3323aa.yaml diff --git a/Documentation/devicetree/bindings/iio/proximity/nicera,d3323aa= .yaml b/Documentation/devicetree/bindings/iio/proximity/nicera,d3323aa.yaml new file mode 100644 index 000000000000..01c084de96c3 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/proximity/nicera,d3323aa.yaml @@ -0,0 +1,60 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/proximity/nicera,d3323aa.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nicera D3-323-AA PIR sensor + +maintainers: + - Waqar Hameed + +description: | + PIR sensor for human detection. + Datasheet: https://www.endrich.com/Datenbl%C3%A4tter/Sensoren/D3-323-AA_= e.pdf + +properties: + compatible: + const: nicera,d3323aa + + vdd-supply: + description: + Supply voltage (1.8 to 5.5 V). + + vout-clk-gpios: + maxItems: 1 + description: + GPIO for clock and detection. + After reset, the device signals with two falling edges on this pin t= hat it + is ready for configuration (within 1.2 s). + During configuration, it is used as clock for data reading and writi= ng (on + data-gpios). + After all this, when device is in operational mode, it signals on th= is pin + for any detections. + + data-gpios: + maxItems: 1 + description: + GPIO for data reading and writing. This is denoted "DO (SI)" in data= sheet. + During configuration, this pin is used for writing and reading + configuration data (together with vout-clk-gpios as clock). + After this, during operational mode, the device will output serial d= ata on + this GPIO. + +required: + - compatible + - vdd-supply + - vout-clk-gpios + - data-gpios + +additionalProperties: false + +examples: + - | + proximity { + compatible =3D "nicera,d3323aa"; + vdd-supply =3D <®ulator_3v3>; + vout-clk-gpios =3D <&gpio 78 0>; + data-gpios =3D <&gpio 76 0>; + }; +... --=20 2.39.5