From: Rob Herring <robh@kernel.org>
To: cy_huang@richtek.com
Cc: Mark Brown <broonie@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
Otto lin <otto_lin@richtek.com>,
Allen Lin <allen_lin@richtek.com>,
devicetree@vger.kernel.org, linux-sound@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/4] ASoC: dt-bindings: Add bindings for Richtek rt9123p
Date: Fri, 4 Apr 2025 15:07:58 -0500 [thread overview]
Message-ID: <20250404200758.GA218697-robh@kernel.org> (raw)
In-Reply-To: <61a77673fabc4f9109b05c19fad4ef1087eccfa5.1743774849.git.cy_huang@richtek.com>
On Fri, Apr 04, 2025 at 10:22:13PM +0800, cy_huang@richtek.com wrote:
> From: ChiYuan Huang <cy_huang@richtek.com>
>
> Document the ASoC Richtek rt9123p.
>
> Signed-off-by: ChiYuan Huang <cy_huang@richtek.com>
> ---
> .../bindings/sound/richtek,rt9123p.yaml | 50 +++++++++++++++++++
> 1 file changed, 50 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/sound/richtek,rt9123p.yaml
>
> diff --git a/Documentation/devicetree/bindings/sound/richtek,rt9123p.yaml b/Documentation/devicetree/bindings/sound/richtek,rt9123p.yaml
> new file mode 100644
> index 000000000000..836cd369a68c
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/sound/richtek,rt9123p.yaml
> @@ -0,0 +1,50 @@
> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/sound/richtek,rt9123p.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Richtek RT9123P Audio Amplifier
> +
> +maintainers:
> + - ChiYuan Huang <cy_huang@richtek.com>
> +
> +description:
> + RT9123P is a RT9123 variant which does not support I2C control.
> +
> +allOf:
> + - $ref: dai-common.yaml#
> +
> +properties:
> + compatible:
> + enum:
> + - richtek,rt9123p
> +
> + '#sound-dai-cells':
> + const: 0
> +
> + enable-gpios:
> + maxItems: 1
> +
> + enable-delay:
> + $ref: /schemas/types.yaml#/definitions/uint32
> + description:
> + Delay time for 'ENABLE' pin changes intended to make I2S clocks ready to
> + prevent speaker pop noise. The unit is in millisecond.
> + default: 0
Ah, it is documented. But my questions need to be addressed (in the
patch).
> +
> +required:
> + - compatible
> + - '#sound-dai-cells'
> +
> +unevaluatedProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/gpio/gpio.h>
> +
> + amplifier {
> + compatible = "richtek,rt9123p";
> + enable-gpios = <&gpio 26 GPIO_ACTIVE_HIGH>;
> + #sound-dai-cells = <0>;
> + };
> --
> 2.34.1
>
next prev parent reply other threads:[~2025-04-04 20:07 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-04 14:22 [PATCH 0/4] ASoC: Add Richtek rt9123 and rt9123p support cy_huang
2025-04-04 14:22 ` [PATCH 1/4] ASoC: dt-bindings: Add bindings for Richtek rt9123 cy_huang
2025-04-04 14:22 ` [PATCH 2/4] ASoC: codecs: Add support " cy_huang
2025-04-04 15:03 ` Mark Brown
2025-04-07 0:44 ` ChiYuan Huang
2025-04-07 12:34 ` Mark Brown
2025-04-08 3:53 ` ChiYuan Huang
2025-04-05 14:21 ` kernel test robot
2025-04-05 15:13 ` kernel test robot
2025-04-04 14:22 ` [PATCH 3/4] ASoC: dt-bindings: Add bindings for Richtek rt9123p cy_huang
2025-04-04 20:07 ` Rob Herring [this message]
2025-04-04 14:22 ` [PATCH 4/4] ASoC: codecs: Add support " cy_huang
2025-04-04 20:05 ` Rob Herring
2025-04-07 0:53 ` ChiYuan Huang
2025-04-09 1:06 ` ChiYuan Huang
2025-04-09 12:29 ` Mark Brown
2025-04-14 13:56 ` (subset) [PATCH 0/4] ASoC: Add Richtek rt9123 and rt9123p support Mark Brown
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=20250404200758.GA218697-robh@kernel.org \
--to=robh@kernel.org \
--cc=allen_lin@richtek.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=cy_huang@richtek.com \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=otto_lin@richtek.com \
--cc=perex@perex.cz \
--cc=tiwai@suse.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;
as well as URLs for NNTP newsgroup(s).