* [PATCH] dt-bindings: mfd: cirrus,madera: Reference the SPI peripheral properties
@ 2026-12-04 1:30 Fabricio Akio via B4 Relay
2026-12-04 9:23 ` Charles Keepax
0 siblings, 1 reply; 2+ messages in thread
From: Fabricio Akio via B4 Relay @ 2026-12-04 1:30 UTC (permalink / raw)
To: Charles Keepax, Richard Fitzgerald, Lee Jones, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, patches
Cc: linux-sound, mfd, devicetree, Fabricio Akio
From: Fabricio Akio <fabricioakio@gmail.com>
The Madera codecs sit on SPI or I2C. On an SPI bus the node carries
spi-max-frequency, which the schema rejects:
codec@0 (cirrus,cs47l35): Unevaluated properties are not allowed
('spi-max-frequency' was unexpected)
Reference spi-peripheral-props.yaml, as wlf,arizona.yaml does for the
Arizona codecs.
Fixes: 2cb80529811b ("mfd: madera: Move binding over to dtschema")
Signed-off-by: Fabricio Akio <fabricioakio@gmail.com>
---
No board in mainline has a Madera codec on SPI. Found with the board
file of a Motorola Moto X4, not in mainline yet; the vendor's node for
it, on SPI with spi-max-frequency:
https://github.com/LineageOS/android_kernel_motorola_msm8998/blob/ce9ea8f125c7302ae9b2fec84f23a69271e957c3/arch/arm/boot/dts/qcom/sdm660-moto-audio.dtsi#L235-L256
---
Documentation/devicetree/bindings/mfd/cirrus,madera.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/mfd/cirrus,madera.yaml b/Documentation/devicetree/bindings/mfd/cirrus,madera.yaml
index 68c75a517c92..d7103c1357d0 100644
--- a/Documentation/devicetree/bindings/mfd/cirrus,madera.yaml
+++ b/Documentation/devicetree/bindings/mfd/cirrus,madera.yaml
@@ -23,6 +23,7 @@ allOf:
- $ref: /schemas/pinctrl/cirrus,madera.yaml#
- $ref: /schemas/regulator/wlf,arizona.yaml#
- $ref: /schemas/sound/cirrus,madera.yaml#
+ - $ref: /schemas/spi/spi-peripheral-props.yaml#
- if:
properties:
compatible:
---
base-commit: 799dd936553182df5770dde7f38d94c8337df75a
change-id: 20261203-madera-spi-props-85878c7877ec
Best regards,
--
Fabricio Akio <fabricioakio@gmail.com>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dt-bindings: mfd: cirrus,madera: Reference the SPI peripheral properties
2026-12-04 1:30 [PATCH] dt-bindings: mfd: cirrus,madera: Reference the SPI peripheral properties Fabricio Akio via B4 Relay
@ 2026-12-04 9:23 ` Charles Keepax
0 siblings, 0 replies; 2+ messages in thread
From: Charles Keepax @ 2026-12-04 9:23 UTC (permalink / raw)
To: fabricioakio
Cc: Richard Fitzgerald, Lee Jones, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, patches, linux-sound, mfd, devicetree
On Thu, Dec 03, 2026 at 10:30:06PM -0300, Fabricio Akio via B4 Relay wrote:
> From: Fabricio Akio <fabricioakio@gmail.com>
>
> The Madera codecs sit on SPI or I2C. On an SPI bus the node carries
> spi-max-frequency, which the schema rejects:
>
> codec@0 (cirrus,cs47l35): Unevaluated properties are not allowed
> ('spi-max-frequency' was unexpected)
>
> Reference spi-peripheral-props.yaml, as wlf,arizona.yaml does for the
> Arizona codecs.
>
> Fixes: 2cb80529811b ("mfd: madera: Move binding over to dtschema")
> Signed-off-by: Fabricio Akio <fabricioakio@gmail.com>
> ---
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Thanks,
Charles
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-12-04 9:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-04 1:30 [PATCH] dt-bindings: mfd: cirrus,madera: Reference the SPI peripheral properties Fabricio Akio via B4 Relay
2026-12-04 9:23 ` Charles Keepax
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox