All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] ASoC: dt-bindings: xlnx,audio-formatter: add the AXI4-Stream clocks
  2026-11-25 11:48 [PATCH 0/4] ASoC: xlnx: update audio formatter support Dhanunjanrao Katta
@ 2026-11-25 11:48 ` Dhanunjanrao Katta
  2026-11-29  9:43   ` Krzysztof Kozlowski
  0 siblings, 1 reply; 3+ messages in thread
From: Dhanunjanrao Katta @ 2026-11-25 11:48 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood, Vincenzo Frascino, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Jaroslav Kysela, Takashi Iwai,
	Michal Simek
  Cc: linux-sound, devicetree, linux-arm-kernel, linux-kernel,
	naveen.gaddipati, Dhanunjanrao Katta

The formatter has four clock inputs. Besides the AXI4-Lite control
clock and the audio master clock, each of the two data movers has its
own AXI4-Stream clock. Only the first two are described, so a device
tree that lists a stream clock fails validation.

The MM2S and S2MM movers are instantiated independently of each other
and a design may have only one of them. Let the third name be either
stream clock, so a capture only design does not have to leave a hole
where the MM2S clock would go.

The descriptions of the two existing clocks are wrong as well.
s_axi_lite_aclk is the control interface clock and not a clock for the
data stream, and aud_mclk is the audio master clock.

While here, move allOf below required to match the layout used by the
other bindings.

Signed-off-by: Dhanunjanrao Katta <katta.dhanunjanrao@amd.com>
---
 .../bindings/sound/xlnx,audio-formatter.yaml  | 22 +++++++++++++------
 1 file changed, 15 insertions(+), 7 deletions(-)

diff --git a/Documentation/devicetree/bindings/sound/xlnx,audio-formatter.yaml b/Documentation/devicetree/bindings/sound/xlnx,audio-formatter.yaml
index 82fa448bd2e9..a9463f3bf864 100644
--- a/Documentation/devicetree/bindings/sound/xlnx,audio-formatter.yaml
+++ b/Documentation/devicetree/bindings/sound/xlnx,audio-formatter.yaml
@@ -13,9 +13,6 @@ description:
 maintainers:
   - Vincenzo Frascino <vincenzo.frascino@arm.com>
 
-allOf:
-  - $ref: dai-common.yaml#
-
 properties:
   compatible:
     enum:
@@ -38,15 +35,22 @@ properties:
 
   clock-names:
     minItems: 1
+    uniqueItems: true
     items:
       - const: s_axi_lite_aclk
       - const: aud_mclk
+      - enum: [m_axis_mm2s_aclk, s_axis_s2mm_aclk]
+      - const: s_axis_s2mm_aclk
 
   clocks:
     minItems: 1
     items:
-      - description: clock for the axi data stream
-      - description: clock for the MEMS microphone data stream
+      - description: AXI4-Lite control interface clock
+      - description: audio master clock
+      - description:
+          AXI4-Stream clock of the MM2S data mover, or of the S2MM data
+          mover in a design that only has the S2MM one
+      - description: AXI4-Stream clock of the S2MM data mover
 
 required:
   - compatible
@@ -56,6 +60,9 @@ required:
   - clock-names
   - clocks
 
+allOf:
+  - $ref: dai-common.yaml#
+
 additionalProperties: false
 
 examples:
@@ -66,7 +73,8 @@ examples:
       interrupt-names = "irq_mm2s", "irq_s2mm";
       interrupt-parent = <&gic>;
       interrupts = <0 104 4>, <0 105 4>;
-      clock-names = "s_axi_lite_aclk", "aud_mclk";
-      clocks = <&clk 71>, <&clk_wiz_1 0>;
+      clock-names = "s_axi_lite_aclk", "aud_mclk",
+                    "m_axis_mm2s_aclk", "s_axis_s2mm_aclk";
+      clocks = <&clk 71>, <&clk_wiz_1 0>, <&clk 72>, <&clk 73>;
     };
 ...
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/4] ASoC: dt-bindings: xlnx,audio-formatter: add the AXI4-Stream clocks
  2026-11-25 11:48 ` [PATCH 1/4] ASoC: dt-bindings: xlnx,audio-formatter: add the AXI4-Stream clocks Dhanunjanrao Katta
@ 2026-11-29  9:43   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2026-11-29  9:43 UTC (permalink / raw)
  To: Dhanunjanrao Katta
  Cc: Mark Brown, Liam Girdwood, Vincenzo Frascino, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Jaroslav Kysela, Takashi Iwai,
	Michal Simek, linux-sound, devicetree, linux-arm-kernel,
	linux-kernel, naveen.gaddipati

On Wed, Nov 25, 2026 at 05:18:36PM +0530, Dhanunjanrao Katta wrote:
> The formatter has four clock inputs. Besides the AXI4-Lite control

Here four, a bit later 3 or 4.

> clock and the audio master clock, each of the two data movers has its
> own AXI4-Stream clock. Only the first two are described, so a device
> tree that lists a stream clock fails validation.
> 
> The MM2S and S2MM movers are instantiated independently of each other
> and a design may have only one of them. Let the third name be either
> stream clock, so a capture only design does not have to leave a hole
> where the MM2S clock would go.
> 
> The descriptions of the two existing clocks are wrong as well.
> s_axi_lite_aclk is the control interface clock and not a clock for the
> data stream, and aud_mclk is the audio master clock.
> 
> While here, move allOf below required to match the layout used by the
> other bindings.
> 
> Signed-off-by: Dhanunjanrao Katta <katta.dhanunjanrao@amd.com>
> ---
>  .../bindings/sound/xlnx,audio-formatter.yaml  | 22 +++++++++++++------
>  1 file changed, 15 insertions(+), 7 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/sound/xlnx,audio-formatter.yaml b/Documentation/devicetree/bindings/sound/xlnx,audio-formatter.yaml
> index 82fa448bd2e9..a9463f3bf864 100644
> --- a/Documentation/devicetree/bindings/sound/xlnx,audio-formatter.yaml
> +++ b/Documentation/devicetree/bindings/sound/xlnx,audio-formatter.yaml
> @@ -13,9 +13,6 @@ description:
>  maintainers:
>    - Vincenzo Frascino <vincenzo.frascino@arm.com>
>  
> -allOf:
> -  - $ref: dai-common.yaml#
> -
>  properties:
>    compatible:
>      enum:
> @@ -38,15 +35,22 @@ properties:
>  
>    clock-names:
>      minItems: 1
> +    uniqueItems: true

This should not be needed.

>      items:
>        - const: s_axi_lite_aclk
>        - const: aud_mclk
> +      - enum: [m_axis_mm2s_aclk, s_axis_s2mm_aclk]
> +      - const: s_axis_s2mm_aclk

Looks like you use source clock names, instead of actual inputs.

>  
>    clocks:
>      minItems: 1
>      items:
> -      - description: clock for the axi data stream
> -      - description: clock for the MEMS microphone data stream
> +      - description: AXI4-Lite control interface clock
> +      - description: audio master clock
> +      - description:
> +          AXI4-Stream clock of the MM2S data mover, or of the S2MM data
> +          mover in a design that only has the S2MM one
> +      - description: AXI4-Stream clock of the S2MM data mover
>  
>  required:
>    - compatible
> @@ -56,6 +60,9 @@ required:
>    - clock-names
>    - clocks
>  
> +allOf:
> +  - $ref: dai-common.yaml#
> +

This change does not look relevant to the commit.

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/4] ASoC: dt-bindings: xlnx,audio-formatter: add the AXI4-Stream clocks
@ 2026-11-29 15:19 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2026-11-29 15:19 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "dtcheck: binding changes may go via different trees"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20261125114839.3642735-2-katta.dhanunjanrao@amd.com>
References: <20261125114839.3642735-2-katta.dhanunjanrao@amd.com>
TO: Dhanunjanrao Katta <katta.dhanunjanrao@amd.com>
TO: Mark Brown <broonie@kernel.org>
TO: Liam Girdwood <lgirdwood@gmail.com>
TO: Vincenzo Frascino <vincenzo.frascino@arm.com>
TO: Rob Herring <robh@kernel.org>
TO: Krzysztof Kozlowski <krzk@kernel.org>
TO: Conor Dooley <conor+dt@kernel.org>
TO: Jaroslav Kysela <perex@perex.cz>
TO: Takashi Iwai <tiwai@suse.com>
TO: Michal Simek <monstr@monstr.eu>
CC: linux-sound@vger.kernel.org
CC: devicetree@vger.kernel.org
CC: linux-arm-kernel@lists.infradead.org
CC: linux-kernel@vger.kernel.org
CC: naveen.gaddipati@amd.com
CC: Dhanunjanrao Katta <katta.dhanunjanrao@amd.com>

Hi Dhanunjanrao,

kernel test robot noticed the following build warnings:

[auto build test WARNING on broonie-sound/for-next]
[also build test WARNING on robh/for-next linus/master v7.4-rc4 next-20261127]
[cannot apply to xilinx-xlnx/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Dhanunjanrao-Katta/ASoC-dt-bindings-xlnx-audio-formatter-add-the-AXI4-Stream-clocks/20261125-171836
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
patch link:    https://lore.kernel.org/r/20261125114839.3642735-2-katta.dhanunjanrao%40amd.com
patch subject: [PATCH 1/4] ASoC: dt-bindings: xlnx,audio-formatter: add the AXI4-Stream clocks
:::::: branch date: 4 days ago
:::::: commit date: 4 days ago
config: arc-allnoconfig (https://download.01.org/0day-ci/archive/20261129/20261129161352.rLP5xbnH-lkp@intel.com/config)
compiler: arc-linux-gcc (GCC) 16.2.0
dtschema: 2026.10.dev9+g7453fd0b0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261129/20261129161352.rLP5xbnH-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/20261129161352.rLP5xbnH-lkp@intel.com/

dtcheck warnings: (new ones prefixed by >>)
>> Documentation/devicetree/bindings/sound/xlnx,audio-formatter.yaml: properties:clock-names: Additional properties are not allowed ('uniqueItems' was unexpected)
   	from schema $id: http://devicetree.org/meta-schemas/string-array.yaml

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-29 15:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-29 15:19 [PATCH 1/4] ASoC: dt-bindings: xlnx,audio-formatter: add the AXI4-Stream clocks kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2026-11-25 11:48 [PATCH 0/4] ASoC: xlnx: update audio formatter support Dhanunjanrao Katta
2026-11-25 11:48 ` [PATCH 1/4] ASoC: dt-bindings: xlnx,audio-formatter: add the AXI4-Stream clocks Dhanunjanrao Katta
2026-11-29  9:43   ` Krzysztof Kozlowski

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.