Skip to contentSkip to conversation

dt-bindings: sound: tlv320aic3x: Add optional clock and port properties

PATCH In review Jai Luthra 3 participants 4 messages Dec 30, 2022 – Jan 16, 2023

Subsystems (3)
lore
Share & tools
lore

Jai Luthra

author
#0 lore raw

PATCH v2 1/1 dt-bindings: sound: tlv320aic3x: Add optional clock and port properties

Describe optional properties for clocks and ports that were missing in the original txt binding, to fix warnings like:

aic33@18: 'assigned-clock-parents', 'assigned-clock-rates',

	'assigned-clocks' do not match any of the regexes:
	'pinctrl-[0-9]+'
	arch/arm/boot/dts/omap2420-n810.dtb

tlv320aic3106@1b: 'port' does not match any of the regexes:

	'pinctrl-[0-9]+'
	arch/arm/boot/dts/am335x-sl50.dtb

codec@18: 'clocks' does not match any of the regexes: 'pinctrl-[0-9]+'

	arch/arm/boot/dts/imx6dl-gw5903.dtb
	arch/arm/boot/dts/imx6q-gw5903.dtb

Some uses of "port" still lead to warnings because they pass clocks in the endpoint, but that is discouraged:
https://lore.kernel.org/all/[email protected]/

---

Splitting this patch from v5 of the old series, as the base bindings in [1/2] were picked in broonie's tree

v2:
- Add maxItems to clocks
- Use audio-graph-port bindings

v1:
https://lore.kernel.org/all/[email protected]/

 .../devicetree/bindings/sound/ti,tlv320aic3x.yaml          | 7 +++++++
 1 file changed, 7 insertions(+)
Documentation/devicetree/bindings/sound/ti,tlv320aic3x.yaml +7 -0
index f0375bbf4c40..e8ca9f3369f8 100644
@@ -110,6 +110,13 @@ properties:
   '#sound-dai-cells':
     const: 0
 
+  clocks:
+    maxItems: 1
+
+  port:
+    $ref: audio-graph-port.yaml#
+    unevaluatedProperties: false
+
 required:
   - compatible
   - reg
Signature · 1 line
2.17.1
Reviewed-by on v2 1/1
#1 lore raw
Quoted 16 lines · Jai Luthra

Describe optional properties for clocks and ports that were missing in the original txt binding, to fix warnings like:

aic33@18: 'assigned-clock-parents', 'assigned-clock-rates',

	'assigned-clocks' do not match any of the regexes:
	'pinctrl-[0-9]+'
	arch/arm/boot/dts/omap2420-n810.dtb

tlv320aic3106@1b: 'port' does not match any of the regexes:

	'pinctrl-[0-9]+'
	arch/arm/boot/dts/am335x-sl50.dtb

codec@18: 'clocks' does not match any of the regexes: 'pinctrl-[0-9]+'

	arch/arm/boot/dts/imx6dl-gw5903.dtb
	arch/arm/boot/dts/imx6q-gw5903.dtb
Quoted 7 lines

Some uses of "port" still lead to warnings because they pass clocks in the endpoint, but that is discouraged:
https://lore.kernel.org/all/[email protected]/

---

Best regards,
Krzysztof

maintainer
#2 lore raw
In reply to Jai Luthra
Quoted 9 lines · Jai Luthra

Describe optional properties for clocks and ports that were missing in the original txt binding, to fix warnings like:

aic33@18: 'assigned-clock-parents', 'assigned-clock-rates',

	'assigned-clocks' do not match any of the regexes:
	'pinctrl-[0-9]+'
	arch/arm/boot/dts/omap2420-n810.dtb

[...]

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] dt-bindings: sound: tlv320aic3x: Add optional clock and port properties

      commit: b6e98cf4ed3baff0c2f7a1c1babf96fde8e129f3

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

maintainer
#3 lore raw
In reply to Jai Luthra
Quoted 9 lines · Jai Luthra

Describe optional properties for clocks and ports that were missing in the original txt binding, to fix warnings like:

aic33@18: 'assigned-clock-parents', 'assigned-clock-rates',

	'assigned-clocks' do not match any of the regexes:
	'pinctrl-[0-9]+'
	arch/arm/boot/dts/omap2420-n810.dtb

[...]

Applied to

broonie/sound.git for-next

Thanks!

[1/1] dt-bindings: sound: tlv320aic3x: Add optional clock and port properties

      commit: b6e98cf4ed3baff0c2f7a1c1babf96fde8e129f3

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark