From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.218.44 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796441749; b=sp504UmerigvwABCXk3sstch/LFKirnZN6n723LiovK/pAerhb9LG+NV+7BuQ7rJawxm XZaX6kWlhvpvXIBmjya4q3H0kZG/ifrqVXe5Szt8Sy78EbNM7szNRZD4PkOTCFo2dbcoH O1uoYpGec/zgfwh+blIyW0oIDSiJs8VMEDVU2waDVLvsm40McHJNf3vDLilR0SbSyIcdM igstxWNFnuDrW9jRTBi7WBJfJSD/ZKoUyglJkzrjRLXHjiF8WVwIyML2KvM7WohHAJFmK Ui78r/YUyi76WsNtafdeZ+U8zTEppmK5O5cKII0ZbJGv4V/gZs3ceNr8uza6ddG90Lw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796441749; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:Date:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding: Message-Id:References:In-Reply-To:To:Cc:X-Mailer; bh=qY0/PZZQfi9/4XkkuqusHb3N1mrZ4ZpcLQk87Yz42kI=; b=42eQXVeUiPC7+DsGfcuMq/QY3qwE0tIX9yXc5sRzCmgAEif2THMUkK/8lQnrGD0FGEzj +AzgkOet986YgYuYOd5iOZ9SkhK7wzRddklJpZRGCCY2YAmpjAq1rsxfuPqo1GoxyLJoP J/n+S5BLSPv4dMZ4NucWa6yYVuV0J9bUs0j43PE+RwThvmT0YjP599EVtvDGseDGs9C1U tJnQIf6buaKb9CidFHKghQSoAOD1Ukf4tbKtu3Ch8G0OJfIji4I9LOysOSPOorrEiWxSz 9+vQZVdSBvo78Bp+vChXWyeSYU38rb8LCTtpBFpW6t1ck4Xwx9xGFiKmqVVOVGKZVXg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=GvaMmNAZ; arc=none smtp.remote-ip=209.85.218.44 Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3D4C5606A334 for ; Sat, 5 Dec 2026 03:35:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3D4C5606A334 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=GvaMmNAZ Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-c5235be7be9so248471466b.2 for ; Fri, 04 Dec 2026 19:35:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796441748; x=1797046548; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=qY0/PZZQfi9/4XkkuqusHb3N1mrZ4ZpcLQk87Yz42kI=; b=GvaMmNAZDS9pKPoBeLS0VwlUnesSeDHEASzmzPuP1NY++qyzP257UAFfzIaH7x/+PL v81PnlC7DaF0g0felDLBsIqfNAeJOBynEK0JELLQbRiv9MvS36k1FB6RmpZxxKCXhjtf fcl4uYL/soLuTRPLon3QnGRxFeW8DZWm2+PgOjplgXgFaZFYbOEstaQtRoYueWoegj2X ctEZ2SQOF2o0eXdnDcEgxWzhl6bf5U0/ELFS+7XYBwAKiTu2ZrBc4XyFekvdEQ/xkKwi fxGUFm2MVTyPuhYzzLnDNJqRu7RsXmdYHPhvAWetfqkINsFMIRsOFmSQuY21pWJvU8WF nDzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796441748; x=1797046548; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=qY0/PZZQfi9/4XkkuqusHb3N1mrZ4ZpcLQk87Yz42kI=; b=uTqXKPTQg8hUmuhBsqHntoP5p3lKXEit4Qtbqfq2LuFGdYAoTJd4C/j6Ua5gGozxiK frcP1pLC78ToIDHDr04lxzwYmCABvzdLLRM2RM2f+P5y+d0XoAopLaHQ9AGTOpbYnX0r AFzSJffLjpFi664GDm2kcUNymhVM2FkfEZvg1X7fGsFLmXZVNjdYAJDC2G6Mthdwr8IG 6hogiXJJ18F87LDEmo1hKmyfxeGZBBu+ThkK07ivpKWgxDfJKPFqAxtZrlBV8JHqAYgm i0T21SM3DXL+ISxnnIWRnQCbda7l7InksdefzpmDoe7z6QWQp9JvaDFmYeCBclTPOZvE lQMA== X-Forwarded-Encrypted: i=1; AL+hErH0NbKcaNaih0NNT1AhQJ0oQhJd9b74xk3t8RtSXlZrU6CiawcER1uFZN1NDEOk8c0hy8NLVgLs8KG7xsk=@vger.kernel.org X-Gm-Message-State: APuU4Z84wRnLHUNH4mqlpBOOCJgbmygNJsOh6cQoEuK6m1iSGJn5qWDA w6MSUp1lCpY9YYm8LOMBMwkRUqBMdnCJlMAqDJzCzpUSahd8CKxRTJgv X-Gm-Gg: AZFdTZcRxJ6l/rS1MOglNGvuEQrhJN1lF5ChoSi2K+FpYEvW9fGtWvbY2WuB9mdT+A5 6CoJlxbVjUUzW0TjXlaMEKrVbXlPIfq/oG0AnPb4CX6DpCOsw7WaGI/6g6NL8KCtxeUVr3lNX5o Kvp1cAm96ELongFDkcArIxtXp0Ytl2SRS7OUikIPatQNLMqSfdN0HQGDV+Vez9xVHpsxZhucfpq xbLIOT0XAOOHpPzLbUS0osSiPANjp1Dcm2A0kBv6A757vDUt7CZHEARw9tVpfucoRRS9QWLVF8g UotphABNu0NLue9CkrUXsp9olmXx8YhKNFEhudNdo6OvW2MNQK7V0+E8KWl9D0Fnx1sWu/cwmVS MAviVMegoyUR8U7l17oQeg5ifhWYz59KG4NCv4NKXx4lhydtz5EgDaTHksa+mdygxctvY470wdg FIPS5eCy4Vi7RmMvAJR52RdmCJWZF87b5lmnVsSKL9bS5b5Pqu3/Y/juw53JVaXZHwm/fkCLRCh 90VBnKYQ/32n70IMZoqMb2ATzt9AaIaRdHNuMmeoEtCkMCg9DrFCWtFvE7P+UdAxnvgM2rJoOFe xj5QzKQ0lNHuSgsykHRB3f4TAsuyDbzXWQ== X-Received: by 2002:a17:907:60c9:b0:c50:564b:c63 with SMTP id a640c23a62f3a-c5261ecb86dmr276839866b.6.1796441747720; Fri, 04 Dec 2026 19:35:47 -0800 (PST) Received: from [127.0.1.1] ([195.155.168.196]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c525b2b7568sm199708566b.2.2026.12.04.19.35.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2026 19:35:47 -0800 (PST) From: =?utf-8?q?Adil_H=C3=BCsrev_Tepe?= Date: Sat, 05 Dec 2026 06:35:40 +0300 Subject: [PATCH v4 1/2] dt-bindings: iio: proximity: add Imagis ISG5320A X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20261205-isg5320a-v4-1-a9bb8573c064@gmail.com> References: <20261205-isg5320a-v4-0-a9bb8573c064@gmail.com> In-Reply-To: <20261205-isg5320a-v4-0-a9bb8573c064@gmail.com> To: Jonathan Cameron , David Lechner , =?utf-8?q?Nuno_S=C3=A1?= , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, Joshua Crofts , =?utf-8?q?Adil_H=C3=BCsrev_Tepe?= X-Mailer: b4 0.16.0 Add a binding for the Imagis ISG5320A capacitive SAR/grip proximity sensor (I2C), as fitted on the Samsung Galaxy XCover5. Signed-off-by: Adil Hüsrev Tepe --- v4: - vdd-supply is now required; the chip does not work unpowered. On the XCover5 it is a PMIC LDO. - Krzysztof's Reviewed-by on v3 is dropped because of this change. - The example uses IRQ_TYPE_EDGE_FALLING: the chip pulls INT low on an event and releases it when IRQSRC is read, and the vendor kernel requests the interrupt as a falling edge. - The example no longer sets wakeup-source. The property stays allowed as hardware description (the vendor kernel uses the INT line as a wake-up interrupt); the driver has no wakeup support yet. - Drop the sentence about the phone from the description (Sashiko AI on v1). --- .../bindings/iio/proximity/imagis,isg5320a.yaml | 54 ++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/proximity/imagis,isg5320a.yaml b/Documentation/devicetree/bindings/iio/proximity/imagis,isg5320a.yaml new file mode 100644 index 00000000000..4671557ba58 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/proximity/imagis,isg5320a.yaml @@ -0,0 +1,54 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/proximity/imagis,isg5320a.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Imagis ISG5320A SAR proximity (grip) sensor + +maintainers: + - Adil Hüsrev Tepe + +description: + Imagis ISG5320A capacitive SAR/grip proximity sensor, connected over I2C. + +properties: + compatible: + const: imagis,isg5320a + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + description: active-low data-ready / proximity interrupt + + vdd-supply: true + + wakeup-source: true + +required: + - compatible + - reg + - interrupts + - vdd-supply + +additionalProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + proximity@28 { + compatible = "imagis,isg5320a"; + reg = <0x28>; + interrupt-parent = <&gpa2>; + interrupts = <0 IRQ_TYPE_EDGE_FALLING>; + vdd-supply = <&grip_vdd>; + }; + }; +... -- 2.53.0