From: Krzysztof Kozlowski <krzk@kernel.org>
To: Hyunuk Son <hyunuk.son@irondevice.com>
Cc: broonie@kernel.org, lgirdwood@gmail.com, robh@kernel.org,
krzk+dt@kernel.org, conor+dt@kernel.org, perex@perex.cz,
tiwai@suse.com, kiseok.jo@irondevice.com,
linux-sound@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] ASoC: dt-bindings: Add Iron Device MA5311
Date: Thu, 15 Oct 2026 12:36:38 +0200 [thread overview]
Message-ID: <20261015-gregarious-flawless-cuttlefish-145cab@quoll> (raw)
In-Reply-To: <20261015060408.128711-2-hyunuk.son@irondevice.com>
On Thu, Oct 15, 2026 at 03:04:06PM +0900, Hyunuk Son wrote:
> Add a Device Tree binding for the Iron Device MA5311
> audio codec.
>
> The binding describes the properties required to identify
> the codec and configure its connections to the host audio
> controller.
Drpo, obvious. Explain the hardware.
Please wrap commit message according to Linux coding style / submission
process (neither too early nor over the limit):
https://elixir.bootlin.com/linux/v6.4-rc1/source/Documentation/process/submitting-patches.rst#L597
>
> Signed-off-by: Hyunuk Son <hyunuk.son@irondevice.com>
> ---
> .../bindings/sound/irondevice,ma5311.yaml | 69 +++++++++++++++++++
> 1 file changed, 69 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/sound/irondevice,ma5311.yaml
>
> diff --git a/Documentation/devicetree/bindings/sound/irondevice,ma5311.yaml b/Documentation/devicetree/bindings/sound/irondevice,ma5311.yaml
> new file mode 100644
> index 000000000..ae4a13c29
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/sound/irondevice,ma5311.yaml
> @@ -0,0 +1,69 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/sound/irondevice,ma5311.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Iron Device MA5311 Audio Codec
> +
> +maintainers:
> + - Hyunuk Son <hyunuk.son@irondevice.com>
> +
> +description:
> + The MA5311 is an audio device providing digital speaker amplification,
> + analog input conversion, and audio DSP functionality.
> +
> +allOf:
> + - $ref: dai-common.yaml#
> +
> +properties:
> + compatible:
> + enum:
> + - irondevice,ma5311
> + description:
> + Requires two I2C Channel.
Not sure what is I2C channel... like two SDA/SCL lines? Anyway, this
goes to description.
> +
> + reg:
> + items:
> + - description: I2C address for control registers
> + - description: I2C address for ADC registers
> +
> + reg-names:
> + items:
> + - const: control
> + - const: adc
> +
> + reset-gpios:
> + maxItems: 1
> + description:
> + GPIO connected to the active-low RSTN pin.
> +
> + interrupts:
> + maxItems: 1
> + description:
> + Interrupt from the active-low INTN fault and thermal warning output.
> +
> + '#sound-dai-cells':
> + const: 1
> +
> +required:
> + - compatible
> + - reg
> + - reg-names
> + - '#sound-dai-cells'
> +
> +additionalProperties: false
unevaluatedProperties instead
> +
> +examples:
> + - |
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + audio-codec@3e {
> + compatible = "irondevice,ma5311";
> + reg = <0x3e>, <0x3f>;
> + #sound-dai-cells = <1>;
> + reg-names = "control", "adc";
Make the example complete.
Best regards,
Krzysztof
next prev parent reply other threads:[~2026-10-15 10:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-15 6:04 [PATCH 0/2] ASoC: Add driver for Iron Device MA5311 Hyunuk Son
2026-10-15 6:04 ` [PATCH 1/2] ASoC: dt-bindings: Add " Hyunuk Son
2026-10-15 6:09 ` sashiko-bot
2026-10-15 10:36 ` Krzysztof Kozlowski [this message]
2026-10-15 15:53 ` Mark Brown
2026-10-15 6:04 ` [PATCH 2/2] ASoC: codecs: Add driver for " Hyunuk Son
2026-10-15 6:14 ` sashiko-bot
2026-10-15 10:41 ` Krzysztof Kozlowski
2026-10-15 16:16 ` Mark Brown
2026-10-15 17:03 ` 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=20261015-gregarious-flawless-cuttlefish-145cab@quoll \
--to=krzk@kernel.org \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=hyunuk.son@irondevice.com \
--cc=kiseok.jo@irondevice.com \
--cc=krzk+dt@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=robh@kernel.org \
--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