* [PATCH 0/2] ASoC: xilinx: xlnx_i2s: Discover parameters from registers @ 2026-01-29 17:23 Sean Anderson 2026-01-29 17:23 ` [PATCH 1/2] dt-bindings: sound: xlnx,i2s: Make discoverable parameters optional Sean Anderson 0 siblings, 1 reply; 3+ messages in thread From: Sean Anderson @ 2026-01-29 17:23 UTC (permalink / raw) To: Vincenzo Frascino, Liam Girdwood, Mark Brown, linux-sound Cc: Jaroslav Kysela, linux-kernel, linux-arm-kernel, Michal Simek, Takashi Iwai, Sean Anderson, Conor Dooley, Krzysztof Kozlowski, Rob Herring, devicetree Xilinx helpfully included a read-only "config" register that contains configuration parameters. Discover our parameters from this register instead of reading them from the device tree. Sean Anderson (2): dt-bindings: sound: xlnx,i2s: Make discoverable parameters optional ASoC: xilinx: xlnx_i2s: Discover parameters from registers .../devicetree/bindings/sound/xlnx,i2s.yaml | 8 ++--- sound/soc/xilinx/xlnx_i2s.c | 32 +++++++------------ 2 files changed, 13 insertions(+), 27 deletions(-) -- 2.35.1.1320.gc452695387.dirty ^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/2] dt-bindings: sound: xlnx,i2s: Make discoverable parameters optional 2026-01-29 17:23 [PATCH 0/2] ASoC: xilinx: xlnx_i2s: Discover parameters from registers Sean Anderson @ 2026-01-29 17:23 ` Sean Anderson 2026-01-29 17:37 ` Conor Dooley 0 siblings, 1 reply; 3+ messages in thread From: Sean Anderson @ 2026-01-29 17:23 UTC (permalink / raw) To: Vincenzo Frascino, Liam Girdwood, Mark Brown, linux-sound Cc: Jaroslav Kysela, linux-kernel, linux-arm-kernel, Michal Simek, Takashi Iwai, Sean Anderson, Conor Dooley, Krzysztof Kozlowski, Rob Herring, devicetree These parameters can be discovered from a config register. As they will not be used any more, mark them deprecated, make them optional, and remove them from the example. Signed-off-by: Sean Anderson <sean.anderson@linux.dev> --- Documentation/devicetree/bindings/sound/xlnx,i2s.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/xlnx,i2s.yaml b/Documentation/devicetree/bindings/sound/xlnx,i2s.yaml index 3c2b0be07c53..180f43f2b230 100644 --- a/Documentation/devicetree/bindings/sound/xlnx,i2s.yaml +++ b/Documentation/devicetree/bindings/sound/xlnx,i2s.yaml @@ -29,6 +29,7 @@ properties: enum: - 16 - 24 + deprecated: true description: | Sample data width. @@ -36,14 +37,13 @@ properties: $ref: /schemas/types.yaml#/definitions/uint32 minimum: 1 maximum: 4 + deprecated: true description: | Number of I2S streams. required: - compatible - reg - - xlnx,dwidth - - xlnx,num-channels additionalProperties: false @@ -52,14 +52,10 @@ examples: i2s@a0080000 { compatible = "xlnx,i2s-receiver-1.0"; reg = <0xa0080000 0x10000>; - xlnx,dwidth = <0x18>; - xlnx,num-channels = <1>; }; i2s@a0090000 { compatible = "xlnx,i2s-transmitter-1.0"; reg = <0xa0090000 0x10000>; - xlnx,dwidth = <0x18>; - xlnx,num-channels = <1>; }; ... -- 2.35.1.1320.gc452695387.dirty ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] dt-bindings: sound: xlnx,i2s: Make discoverable parameters optional 2026-01-29 17:23 ` [PATCH 1/2] dt-bindings: sound: xlnx,i2s: Make discoverable parameters optional Sean Anderson @ 2026-01-29 17:37 ` Conor Dooley 0 siblings, 0 replies; 3+ messages in thread From: Conor Dooley @ 2026-01-29 17:37 UTC (permalink / raw) To: Sean Anderson Cc: Vincenzo Frascino, Liam Girdwood, Mark Brown, linux-sound, Jaroslav Kysela, linux-kernel, linux-arm-kernel, Michal Simek, Takashi Iwai, Conor Dooley, Krzysztof Kozlowski, Rob Herring, devicetree [-- Attachment #1: Type: text/plain, Size: 75 bytes --] Acked-by: Conor Dooley <conor.dooley@microchip.com> pw-bot: not-applicable [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 228 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-01-29 17:37 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2026-01-29 17:23 [PATCH 0/2] ASoC: xilinx: xlnx_i2s: Discover parameters from registers Sean Anderson 2026-01-29 17:23 ` [PATCH 1/2] dt-bindings: sound: xlnx,i2s: Make discoverable parameters optional Sean Anderson 2026-01-29 17:37 ` Conor Dooley
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox