public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Niranjan H Y <niranjan.hy@ti.com>,
	linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org,
	linux-sound@vger.kernel.org, devicetree@vger.kernel.org
Cc: lee@kernel.org, linusw@kernel.org, lgirdwood@gmail.com,
	broonie@kernel.org, perex@perex.cz, tiwai@suse.com,
	robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
	nb@tipi-net.de, navada@ti.com, v-hampiholi@ti.com,
	sandeepk@ti.com, baojun.xu@ti.com, shenghao-ding@ti.com
Subject: Re: [PATCH v1 1/8] dt-bindings: mfd: Add bindings for TI TAC5x1x MFD core
Date: Sat, 14 Mar 2026 11:13:36 +0100	[thread overview]
Message-ID: <2e7ddc36-25ed-4f76-9966-00d818ed3503@kernel.org> (raw)
In-Reply-To: <20260312184833.263-2-niranjan.hy@ti.com>

On 12/03/2026 19:48, Niranjan H Y wrote:
> Add device tree bindings for the Texas Instruments TAC5x1x family of
> audio codecs with integrated GPIO controller, describing the MFD core
> device interface, power supplies, and clock configuration.
> 
> Signed-off-by: Niranjan H Y <niranjan.hy@ti.com>
> ---
>  .../devicetree/bindings/mfd/ti,tac5x1x.yaml   | 247 ++++++++++++++++++
>  1 file changed, 247 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/mfd/ti,tac5x1x.yaml
> 
> diff --git a/Documentation/devicetree/bindings/mfd/ti,tac5x1x.yaml b/Documentation/devicetree/bindings/mfd/ti,tac5x1x.yaml
> new file mode 100644
> index 000000000000..3d7943c0411f
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mfd/ti,tac5x1x.yaml
> @@ -0,0 +1,247 @@
> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/mfd/ti,tac5x1x.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Texas Instruments TAC5x1x Multi-Function Audio Device
> +
> +maintainers:
> +  - Niranjan H Y <niranjan.hy@ti.com>
> +
> +description: |
> +  TAC5x1x family of low-power, high-performance audio codecs with integrated
> +  GPIO controller and diagnostic capabilities.
> +
> +  This is the parent binding. Child nodes are bound by these bindings:
> +  - Pin controller: Documentation/devicetree/bindings/pinctrl/ti,tac5x1x-pinctrl.yaml
> +  - Audio codec: Documentation/devicetree/bindings/sound/ti,tac5x1x.yaml
> +
> +  Hardware features:
> +  - Audio ADC/DAC with configurable impedance and voltage references
> +  - 4-pin GPIO controller with alternate functions (PDM, IRQ)
> +  - Analog voltage and current monitoring circuits
> +  - Diagnostic fault detection with interrupt generation
> +
> +  Device datasheets can be found at:
> +    TAA5212:    https://www.ti.com/lit/ds/symlink/taa5212.pdf
> +    TAA5412-Q1: https://www.ti.com/lit/ds/symlink/taa5412-q1.pdf
> +    TAC5111:    https://www.ti.com/lit/ds/symlink/tac5111.pdf
> +    TAC5112:    https://www.ti.com/lit/ds/symlink/tac5112.pdf
> +    TAC5211:    https://www.ti.com/lit/ds/symlink/tac5211.pdf
> +    TAC5212:    https://www.ti.com/lit/ds/symlink/tac5212.pdf
> +    TAC5301:    https://www.ti.com/lit/ds/symlink/tac5301-q1.pdf
> +    TAC5311-Q1: https://www.ti.com/lit/ds/symlink/tac5311-q1.pdf
> +    TAC5312-Q1: https://www.ti.com/lit/ds/symlink/tac5312-q1.pdf
> +    TAC5411-Q1: https://www.ti.com/lit/ds/symlink/tac5411-q1.pdf
> +    TAC5412-Q1: https://www.ti.com/lit/ds/symlink/tac5412-q1.pdf
> +    TAD5112:    https://www.ti.com/lit/ds/symlink/tad5112.pdf
> +    TAD5212:    https://www.ti.com/lit/ds/symlink/tad5212.pdf
> +
> +properties:
> +  compatible:
> +    enum:
> +      - ti,taa5212
> +      - ti,taa5412
> +      - ti,tac5111
> +      - ti,tac5112
> +      - ti,tac5211
> +      - ti,tac5212
> +      - ti,tac5301
> +      - ti,tac5311
> +      - ti,tac5312
> +      - ti,tac5411
> +      - ti,tac5412
> +      - ti,tad5112
> +      - ti,tad5212
> +
> +  reg:
> +    maxItems: 1
> +    description: I2C slave address
> +
> +  reset-gpios:
> +    maxItems: 1
> +    description: Hardware reset control pin (active low)
> +
> +  interrupts:
> +    maxItems: 1
> +    description: |
> +      Interrupt from device diagnostic circuits to host processor.
> +      Generated on voltage/current fault conditions and other diagnostic events.
> +
> +  clocks:
> +    maxItems: 1
> +    description: Master clock input (MCLK)
> +
> +  clock-names:
> +    items:
> +      - const: mclk
> +
> +  avdd-supply:
> +    description: |
> +      Analog supply voltage input (AVDD pin).
> +      Typical voltages: 1.8V, 3.0V, 3.3V, 5.0V
> +
> +  iovdd-supply:
> +    description: |
> +      Digital I/O supply voltage input (IOVDD pin).
> +      Typical voltages: 1.8V, 3.3V
> +
> +  ti,vref-voltage:

NAK

This was repeated multiple times, was mentioned in my
talks/presentations, is explicitly documented in kernel docs.

This posting has poor quality. First go via internal review because I do
not believe such code was reviewed earlier.

...


> +    default: [2600, 18000]
> +
> +required:
> +  - compatible
> +  - reg
> +  - avdd-supply
> +  - iovdd-supply
> +
> +unevaluatedProperties: false

You never tested this binding. You cannot have one without example.

Best regards,
Krzysztof

  parent reply	other threads:[~2026-03-14 10:13 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-12 18:48 [PATCH v1 0/8] ASoC: support TI's TAC5x1x audio codec family Niranjan H Y
2026-03-12 18:48 ` [PATCH v1 1/8] dt-bindings: mfd: Add bindings for TI TAC5x1x MFD core Niranjan H Y
2026-03-13 20:43   ` Rob Herring
2026-03-14 10:13   ` Krzysztof Kozlowski [this message]
2026-03-12 18:48 ` [PATCH v1 2/8] dt-bindings: pinctrl: Add bindings for TI TAC5x1x pinctrl Niranjan H Y
2026-03-14 10:10   ` Krzysztof Kozlowski
2026-03-14 10:12   ` Krzysztof Kozlowski
2026-03-12 18:48 ` [PATCH v1 3/8] dt-bindings: sound: Add bindings for TI TAC5x1x codec Niranjan H Y
2026-03-14 10:14   ` Krzysztof Kozlowski
2026-03-12 18:48 ` [PATCH v1 4/8] dt-bindings: sound: Update ti,pcm6240.yaml to remove TAC5x1x family Niranjan H Y
2026-03-14 10:15   ` Krzysztof Kozlowski
2026-03-12 18:48 ` [PATCH v1 5/8] mfd: tac5x1x: Add TI TAC5x1x MFD core driver Niranjan H Y
2026-03-14 10:20   ` Krzysztof Kozlowski
2026-03-12 18:48 ` [PATCH v1 6/8] pinctrl: pinctrl-tac5x1x: Add TI TAC5x1x pinctrl driver Niranjan H Y
2026-03-14 10:11   ` Krzysztof Kozlowski
2026-03-12 18:48 ` [PATCH v1 7/8] ASoC: tac5x1x: Add TI TAC5x1x codec driver Niranjan H Y
2026-03-12 19:56   ` Mark Brown
2026-03-12 18:48 ` [PATCH v1 8/8] ASoC: pcm6240: remove support for taac5x1x family Niranjan H Y

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=2e7ddc36-25ed-4f76-9966-00d818ed3503@kernel.org \
    --to=krzk@kernel.org \
    --cc=baojun.xu@ti.com \
    --cc=broonie@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=lee@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linusw@kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=navada@ti.com \
    --cc=nb@tipi-net.de \
    --cc=niranjan.hy@ti.com \
    --cc=perex@perex.cz \
    --cc=robh@kernel.org \
    --cc=sandeepk@ti.com \
    --cc=shenghao-ding@ti.com \
    --cc=tiwai@suse.com \
    --cc=v-hampiholi@ti.com \
    /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