mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Victor Chernyakin <chernyakin.victor.j@outlook.com>
Cc: "David Lechner" <dlechner@baylibre.com>,
	"Nuno Sá" <nuno.sa@analog.com>,
	"Andy Shevchenko" <andy@kernel.org>,
	"Rob Herring" <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>,
	linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/3] dt-bindings: iio: cdc: add Texas Instruments FDC1004
Date: Fri, 23 Oct 2026 04:09:27 +0100	[thread overview]
Message-ID: <20261023040927.1f142eea@jic23-hlaptop> (raw)
In-Reply-To: <SN1PR12MB25283751BF4A06FF790BC114A5652@SN1PR12MB2528.namprd12.prod.outlook.com>

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


  reply	other threads:[~2026-10-23  3:09 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-22 23:40 [PATCH 0/3] iio: cdc: add Texas Instruments FDC1004 driver Victor Chernyakin
2026-10-22 23:40 ` [PATCH 1/3] iio: add IIO_VAL_DECIMAL64_{ATTO,ZEPTO,YOCTO} formats Victor Chernyakin
2026-10-23  3:06   ` Jonathan Cameron
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 [this message]
2026-10-24  0:18     ` Victor Chernyakin
2026-10-22 23:40 ` [PATCH 3/3] iio: cdc: add Texas Instruments FDC1004 driver Victor Chernyakin
2026-10-23  3:01   ` Jonathan Cameron
2026-10-23  7:29     ` Andy Shevchenko
2026-10-24  0:16       ` Victor Chernyakin
2026-10-24  0:13     ` Victor Chernyakin
2026-10-24  2:28       ` Jonathan Cameron
2026-10-24 10:19       ` Andy Shevchenko
2026-10-24 10:21         ` Andy Shevchenko
2026-10-23  7:09 ` [PATCH 0/3] " Andy Shevchenko
2026-10-24  0:05   ` Victor Chernyakin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261023040927.1f142eea@jic23-hlaptop \
    --to=jic23@kernel.org \
    --cc=andy@kernel.org \
    --cc=chernyakin.victor.j@outlook.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nuno.sa@analog.com \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®