Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Alexander Koch" <mail@alexanderkoch.net>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH 2/2] SoC: dt-bindings: asahi-kasei,ak4619: Add PDN GPIO support
Date: Mon, 28 Sep 2026 11:45:13 +0000	[thread overview]
Message-ID: <20260928114514.4A7541F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260928114019.1441752-3-mail@alexanderkoch.net>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] dt-bindings: missing gpio header for GPIO_ACTIVE_HIGH
--

commit 8c4430d8f688f6a14fffa90ba8e9b1227185a45b
Author: Alexander Koch <mail@alexanderkoch.net>

SoC: dt-bindings: asahi-kasei,ak4619: Add PDN GPIO support

This commit adds documentation for an optional pdn-gpios property that
enables operation of the PDN pin during initialization.

> diff --git a/Documentation/devicetree/bindings/sound/asahi-kasei,ak4619.yaml b/Documentation/devicetree/bindings/sound/asahi-kasei,ak4619.yaml
> index 2e81947bb8dd9..bc173811a8c46 100644
> --- a/Documentation/devicetree/bindings/sound/asahi-kasei,ak4619.yaml
> +++ b/Documentation/devicetree/bindings/sound/asahi-kasei,ak4619.yaml
[ ... ]
> @@ -49,6 +55,8 @@ examples:
>              compatible = "asahi-kasei,ak4619";
>              reg = <0x10>;
>  
> +            pdn-gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;

[Severity: Low]
Does this example block require a #include <dt-bindings/gpio/gpio.h> directive
before using GPIO_ACTIVE_HIGH? 

Running make dt_binding_check extracts the example into a dts file and passes
it through the C preprocessor and dtc. Without the header, the undefined literal
causes dtc to fail with a syntax error because the GPIO_ACTIVE_HIGH macro
remains unexpanded.

> +
>              clocks = <&rcar_sound>;
>              clock-names = "mclk";

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260928114019.1441752-1-mail@alexanderkoch.net?part=2

  reply	other threads:[~2026-09-28 11:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-28 11:40 [PATCH 0/2] ASoC: codecs: ak4619: Add PDN pin handling Alexander Koch
2026-09-28 11:40 ` [PATCH 1/2] ASoC: codecs: ak4619: Add optional PDN pin support Alexander Koch
2026-09-28 11:51   ` sashiko-bot
2026-09-28 11:40 ` [PATCH 2/2] SoC: dt-bindings: asahi-kasei,ak4619: Add PDN GPIO support Alexander Koch
2026-09-28 11:45   ` sashiko-bot [this message]
2026-09-28 12:58   ` Rob Herring (Arm)
2026-09-28 13:59     ` Alexander Koch
2026-09-28 13:12   ` Rob Herring
2026-09-28 14:01     ` Alexander Koch
2026-09-28 13:12   ` Rob Herring

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=20260928114514.4A7541F000FF@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=mail@alexanderkoch.net \
    --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