Skip to content

Use clocks property in a device node

Sameer Pujar alsa-devel linux-devicetree linux-tegra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ASoC: simple-card-utils: Fix device module clocksound/soc/generic/simple-card-utils.c+6 -731 replies
2/3Revert "ASoC: audio-graph-card: Add clocks property to endpoint node"Documentation/devicetree/bindings/sound/audio-graph-port.yaml+0 -31 reply
3/3arm64: tegra: Move clocks from RT5658 endpoint to device nodearch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Use clocks property in a device node

It is recommended to not specifiy clocks property in an endpoint subnode. This series moves clocks to device node.

However after moving the clocks to device node, the audio playback or capture fails. The specified clock is not actually getting enabled and hence the failure is seen. There seems to be a bug in simple-card-utils.c where clock handle is not assigned when parsing clocks from device node.

Fix the same and revert original change which actually added clocks property in endpoint subnode. Also update Jetson AGX Xavier DT where the usage is found.

Sameer Pujar (3):
ASoC: simple-card-utils: Fix device module clock
Revert "ASoC: audio-graph-card: Add clocks property to endpoint node"
arm64: tegra: Move clocks from RT5658 endpoint to device node

 .../devicetree/bindings/sound/audio-graph-port.yaml         |  3 ---
 arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts          |  2 +-
 sound/soc/generic/simple-card-utils.c                       | 13 ++++++-------
 3 files changed, 7 insertions(+), 11 deletions(-)
Signature · 1 line
2.7.4