* [PATCH 2/3] dt-bindings: iio: cdc: add Texas Instruments FDC1004
[not found] <SN1PR12MB25286BE4E1EA3B75F8E563A9A5652@SN1PR12MB2528.namprd12.prod.outlook.com>
@ 2026-10-22 23:40 ` Victor Chernyakin
2026-10-23 3:09 ` Jonathan Cameron
0 siblings, 1 reply; 3+ messages in thread
From: Victor Chernyakin @ 2026-10-22 23:40 UTC (permalink / raw)
To: Jonathan Cameron
Cc: Victor Chernyakin, David Lechner, Nuno Sá, Andy Shevchenko,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-iio,
devicetree, linux-kernel
Add device tree bindings for the Texas Instruments FDC1004
capacitive sensor.
Signed-off-by: Victor Chernyakin <chernyakin.victor.j@outlook.com>
---
.../bindings/iio/cdc/ti,fdc1004.yaml | 44 +++++++++++++++++++
MAINTAINERS | 5 +++
2 files changed, 49 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/cdc/ti,fdc1004.yaml
diff --git a/Documentation/devicetree/bindings/iio/cdc/ti,fdc1004.yaml b/Documentation/devicetree/bindings/iio/cdc/ti,fdc1004.yaml
new file mode 100644
index 000000000000..d22b7bc92a3f
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/cdc/ti,fdc1004.yaml
@@ -0,0 +1,44 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/iio/cdc/ti,fdc1004.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Texas Instruments FDC1004 capacitive sensor
+
+maintainers:
+ - Victor Chernyakin <chernyakin.victor.j@outlook.com>
+
+description: |
+ The FDC1004 is a high-resolution 4-channel capacitance to digital converter
+ that works over I2C.
+
+ https://www.ti.com/product/FDC1004
+
+properties:
+ compatible:
+ const: ti,fdc1004
+
+ reg:
+ maxItems: 1
+
+ vdd-supply: true
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ cdc@50 {
+ compatible = "ti,fdc1004";
+ reg = <0x50>;
+ };
+ };
+...
diff --git a/MAINTAINERS b/MAINTAINERS
index 360977678f70..69c23ae21016 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -27388,6 +27388,11 @@ S: Maintained
F: drivers/net/ethernet/ti/cpsw*
F: drivers/net/ethernet/ti/davinci*
+TI FDC1004 DRIVER
+M: Victor Chernyakin <chernyakin.victor.j@outlook.com>
+S: Maintained
+F: Documentation/devicetree/bindings/iio/cdc/ti,fdc1004.yaml
+
TI FLASH MEDIA MEMORYSTICK/MMC DRIVERS
M: Alex Dubov <oakad@yahoo.com>
S: Maintained
--
2.53.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 2/3] dt-bindings: iio: cdc: add Texas Instruments FDC1004
2026-10-22 23:40 ` [PATCH 2/3] dt-bindings: iio: cdc: add Texas Instruments FDC1004 Victor Chernyakin
@ 2026-10-23 3:09 ` Jonathan Cameron
2026-10-24 0:18 ` Victor Chernyakin
0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Cameron @ 2026-10-23 3:09 UTC (permalink / raw)
To: Victor Chernyakin
Cc: David Lechner, Nuno Sá, Andy Shevchenko, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-iio, devicetree,
linux-kernel
On Thu, 22 Oct 2026 18:40:31 -0500
Victor Chernyakin <chernyakin.victor.j@outlook.com> wrote:
> Add device tree bindings for the Texas Instruments FDC1004
> capacitive sensor.
>
> Signed-off-by: Victor Chernyakin <chernyakin.victor.j@outlook.com>
> ---
> .../bindings/iio/cdc/ti,fdc1004.yaml | 44 +++++++++++++++++++
> MAINTAINERS | 5 +++
> 2 files changed, 49 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/iio/cdc/ti,fdc1004.yaml
>
> diff --git a/Documentation/devicetree/bindings/iio/cdc/ti,fdc1004.yaml b/Documentation/devicetree/bindings/iio/cdc/ti,fdc1004.yaml
> new file mode 100644
> index 000000000000..d22b7bc92a3f
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/cdc/ti,fdc1004.yaml
> @@ -0,0 +1,44 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/iio/cdc/ti,fdc1004.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Texas Instruments FDC1004 capacitive sensor
> +
> +maintainers:
> + - Victor Chernyakin <chernyakin.victor.j@outlook.com>
> +
> +description: |
> + The FDC1004 is a high-resolution 4-channel capacitance to digital converter
> + that works over I2C.
> +
> + https://www.ti.com/product/FDC1004
> +
> +properties:
> + compatible:
> + const: ti,fdc1004
> +
> + reg:
> + maxItems: 1
> +
> + vdd-supply: true
> +
> +required:
> + - compatible
> + - reg
Require the power supply. The binding reflects that the sensor needs
power to operate.
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + cdc@50 {
> + compatible = "ti,fdc1004";
As I mention in the driver review, I think this sort of sensor is pretty
much always wired up to specific external sensing elements. As such you
may want to provide channel sub nodes in here to make it discoverable
which channels are actually useful.
> + reg = <0x50>;
> + };
> + };
> +...
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 360977678f70..69c23ae21016 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -27388,6 +27388,11 @@ S: Maintained
> F: drivers/net/ethernet/ti/cpsw*
> F: drivers/net/ethernet/ti/davinci*
>
> +TI FDC1004 DRIVER
> +M: Victor Chernyakin <chernyakin.victor.j@outlook.com>
> +S: Maintained
> +F: Documentation/devicetree/bindings/iio/cdc/ti,fdc1004.yaml
> +
> TI FLASH MEDIA MEMORYSTICK/MMC DRIVERS
> M: Alex Dubov <oakad@yahoo.com>
> S: Maintained
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 2/3] dt-bindings: iio: cdc: add Texas Instruments FDC1004
2026-10-23 3:09 ` Jonathan Cameron
@ 2026-10-24 0:18 ` Victor Chernyakin
0 siblings, 0 replies; 3+ messages in thread
From: Victor Chernyakin @ 2026-10-24 0:18 UTC (permalink / raw)
To: Jonathan Cameron
Cc: David Lechner, Nuno Sá, Andy Shevchenko, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-iio@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
> Require the power supply. The binding reflects that the sensor needs
> power to operate.
Fixed in v2.
> As I mention in the driver review, I think this sort of sensor is pretty
> much always wired up to specific external sensing elements. As such you
> may want to provide channel sub nodes in here to make it discoverable
> which channels are actually useful.
Replied under that patch.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-10-24 0:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <SN1PR12MB25286BE4E1EA3B75F8E563A9A5652@SN1PR12MB2528.namprd12.prod.outlook.com>
2026-10-22 23:40 ` [PATCH 2/3] dt-bindings: iio: cdc: add Texas Instruments FDC1004 Victor Chernyakin
2026-10-23 3:09 ` Jonathan Cameron
2026-10-24 0:18 ` Victor Chernyakin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox