devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Svyatoslav Ryhel" <clamor95@gmail.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v1 1/2 RESEND] ASoC: dt-bindings: Document FM34NE DSP
Date: Tue, 13 Oct 2026 18:56:30 +0000	[thread overview]
Message-ID: <sashiko-outbox-170357@kernel.org> (raw)
In-Reply-To: <20261013184755.530392-2-clamor95@gmail.com>

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Low] dt-bindings: typo in example clock phandle fn34ne_clk
- [Low] dt-bindings: missing audio-graph-port validation on nested ports children
--

commit 7ea62b580d59721cf9be3722ba0f59686684d184
Author: Svyatoslav Ryhel <clamor95@gmail.com>

ASoC: dt-bindings: Document FM34NE DSP
    
Document the FM34NE DSP based voice processor used in the ASUS Transformer
devices.

> diff --git a/Documentation/devicetree/bindings/sound/asus,tf201-dsp.yaml b/Documentation/devicetree/bindings/sound/asus,tf201-dsp.yaml
> new file mode 100644
> index 0000000000000..6b1c478bd03cc
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/sound/asus,tf201-dsp.yaml
> @@ -0,0 +1,80 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---

[ ... ]

> +  bypass-gpios:
> +    maxItems: 1
> +    description: Signal that switches DSP into programming mode.
> +
> +  vdd-supply: true
> +
> +  ports:
> +    $ref: /schemas/graph.yaml#/properties/ports

[Severity: Low]
Does this node lack audio-graph-port validation for its nested port children?

When a device tree configuration uses the ports container node, any properties
inside its nested port@X children will only be validated against the generic
graph.yaml schema, not audio-graph-port.yaml#. As a result, invalid or
misspelled audio-specific properties will silently pass schema validation.

Should this explicitly apply patternProperties with a reference to
audio-graph-port.yaml# for the children?

> +
> +  port:
> +    $ref: audio-graph-port.yaml#
> +    unevaluatedProperties: false

[ ... ]

> +examples:
> +  - |
> +    #include <dt-bindings/gpio/gpio.h>
> +
> +    i2c {
> +        #address-cells = <1>;
> +        #size-cells = <0>;
> +
> +        codec@60 {
> +            compatible = "asus,tf201-dsp";
> +            reg = <0x60>;
> +
> +            clocks = <&fn34ne_clk>;

[Severity: Low]
This isn't a bug, but should this phandle name be &fm34ne_clk to match the
FM34NE chip name?

> +
> +            bypass-gpios = <&gpio 222 GPIO_ACTIVE_HIGH>;
> +            reset-gpios = <&gpio 115 GPIO_ACTIVE_LOW>;
> +
> +            vdd-supply = <&vdd_1v8_dsp>;
> +        };
> +    };
> +...

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261013184755.530392-1-clamor95@gmail.com?part=1

  reply	other threads:[~2026-10-13 18:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-13 18:47 [PATCH v1 0/2 RESEND] ASoC: codecs: Add support for Fortemedia FM34NE DSP Svyatoslav Ryhel
2026-10-13 18:47 ` [PATCH v1 1/2 RESEND] ASoC: dt-bindings: Document " Svyatoslav Ryhel
2026-10-13 18:56   ` sashiko-bot [this message]
2026-10-13 18:47 ` [PATCH v1 2/2 RESEND] ASoC: codecs: Add support for Fortemedia " Svyatoslav Ryhel
2026-10-13 18:54   ` sashiko-bot
2026-10-13 18:49 ` [PATCH v1 0/2 " Mark Brown
2026-10-13 18:51   ` Svyatoslav Ryhel
2026-10-13 18:55     ` Mark Brown
2026-10-13 18:56       ` Svyatoslav Ryhel

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=sashiko-outbox-170357@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=clamor95@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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).