From: Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: tomm.merciai@gmail.com, linux-renesas-soc@vger.kernel.org,
biju.das.jz@bp.renesas.com, Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Magnus Damm <magnus.damm@gmail.com>,
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>,
John Madieu <john.madieu.xa@bp.renesas.com>,
linux-sound@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/3] ASoC: dt-bindings: renesas,r9a09g047-sound: Document audio_clkout clock-frequency
Date: Wed, 5 Aug 2026 13:55:45 +0200 [thread overview]
Message-ID: <anMkwfGAW5fBSAEf@tom-desktop> (raw)
In-Reply-To: <8c5f0e53-2515-4744-ac6a-a4c94f2ae2b8@kernel.org>
On Tue, Aug 04, 2026 at 08:20:29AM +0200, Krzysztof Kozlowski wrote:
> On 03/08/2026 19:19, Tommaso Merciai wrote:
> > Hi Krzysztof,
> > Thanks for your review.
> >
> > On Mon, Aug 03, 2026 at 03:32:48PM +0200, Krzysztof Kozlowski wrote:
> >> On 03/08/2026 15:28, Tommaso Merciai wrote:
> >>> r9a09g047e57-smarc.dts set clock-frequency for the audio_clkout output,
> >>> but the binding never declared it, so dtbs_check fails:
> >>>
> >>> sound@13c00000 (renesas,r9a09g047-sound): Unevaluated properties
> >>> are not allowed ('clock-frequency' was unexpected)
> >>
> >> Maybe the DTS is wrong, because property was rejected? Did you check
> >> this? You cannot document ABI post-factum if it was rejected.
> >>
> >>
> >>>
> >>> clock-cells is fixed to 0, so only a single audio_clkout applies.
> >>>
> >>> Fixes: a86fd3c20218 ("ASoC: dt-bindings: sound: Add DT binding for RZ/G3E sound")
> >>> Signed-off-by: Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
> >>> ---
> >>> .../devicetree/bindings/sound/renesas,r9a09g047-sound.yaml | 3 +++
> >>> 1 file changed, 3 insertions(+)
> >>>
> >>> diff --git a/Documentation/devicetree/bindings/sound/renesas,r9a09g047-sound.yaml b/Documentation/devicetree/bindings/sound/renesas,r9a09g047-sound.yaml
> >>> index d7fa16554698..6e2b2c93b4b7 100644
> >>> --- a/Documentation/devicetree/bindings/sound/renesas,r9a09g047-sound.yaml
> >>> +++ b/Documentation/devicetree/bindings/sound/renesas,r9a09g047-sound.yaml
> >>> @@ -42,6 +42,9 @@ properties:
> >>> "#clock-cells":
> >>> const: 0
> >>>
> >>> + clock-frequency:
> >>> + description: for audio_clkout
> >>
> >> Incomplete, missing type/ref, constraints.
> >
> > renesas,r9a09g047-sound is handled by sound/soc/renesas/rcar/core.c [1],
> > and "clock-frequency" is read by rsnd_adg_get_clkout() [2]. The same
> > property is already documented for R-Car in
> > Documentation/devicetree/bindings/sound/renesas,rsnd.yaml [3].
>
> But was the property rejected? I am repeating myself...
Looking into this further, I found that you already asked to drop this
property during the v5 review [1].
Thanks for pointing it out.
For context: the sound module contains an audio clock generator (ADG) which
generates an output clock from the external audio clocks and outputs it in
to the AUDIO_CLKOUT pin, that mostly supply master clock to codec.
"clock-frequency" is array of the possible rates provided by
AUDIO_CLKOUT to the codec master clock.
Based on the playback rate it will request either 44.1kHz or 48kHz.
I will drop "clock-frequency" property from r9a09g047e57-smarc.dts, where
AUDIO_CLKOUT output pin is not wired.
But for boards that populates AUDIO_CLKOUT we need this property,
Could you suggest how to model this properly?
Thanks for your time.
[1] https://lore.kernel.org/all/20260417-energetic-practical-frigatebird-5b93ad@quoll/
Kind regards,
Tommaso
>
> Best regards,
> Krzysztof
next prev parent reply other threads:[~2026-08-05 11:56 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-03 13:28 [PATCH 0/3] RZ/G3E: Fix dtbs_check failures Tommaso Merciai
2026-08-03 13:28 ` [PATCH 1/3] ASoC: dt-bindings: renesas,r9a09g047-sound: Document audio_clkout clock-frequency Tommaso Merciai
2026-08-03 13:32 ` Krzysztof Kozlowski
2026-08-03 17:19 ` Tommaso Merciai
2026-08-04 6:20 ` Krzysztof Kozlowski
2026-08-05 11:55 ` Tommaso Merciai [this message]
2026-08-05 12:02 ` Geert Uytterhoeven
2026-08-05 13:05 ` Tommaso Merciai
2026-08-05 13:19 ` Krzysztof Kozlowski
2026-08-05 13:34 ` Tommaso Merciai
2026-08-05 13:44 ` Krzysztof Kozlowski
2026-08-03 13:28 ` [PATCH 2/3] arm64: dts: renesas: r9a09g047: Add missing I2C clock-frequency Tommaso Merciai
2026-08-03 13:33 ` Krzysztof Kozlowski
2026-08-03 16:18 ` Tommaso Merciai
2026-08-03 13:28 ` [PATCH 3/3] arm64: dts: renesas: r9a09g047e57-smarc: Set I2C1 clock frequency to 1 MHz Tommaso Merciai
2026-08-10 13:55 ` Geert Uytterhoeven
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=anMkwfGAW5fBSAEf@tom-desktop \
--to=tommaso.merciai.xr@bp.renesas.com \
--cc=biju.das.jz@bp.renesas.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=geert+renesas@glider.be \
--cc=john.madieu.xa@bp.renesas.com \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=kuninori.morimoto.gx@renesas.com \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=robh@kernel.org \
--cc=tomm.merciai@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.