]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ASoC: audio-graph-card: Add clocks property to endpoint node
authorSameer Pujar <spujar@nvidia.com>
Fri, 29 Jan 2021 18:27:40 +0000 (23:57 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 1 Feb 2021 13:19:43 +0000 (13:19 +0000)
Add optional 'clocks' property to audio port 'endpoint' node. One
such example is where SoC supplies a clock to external audio codec
component.

Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://lore.kernel.org/r/1611944866-29373-4-git-send-email-spujar@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/audio-graph-port.yaml

index 766e9109b2f77dc16f04a78ddaae10a795be2e4c..08ed8f52c96232b5fbc9b03b213c2d66026d8512 100644 (file)
@@ -33,6 +33,9 @@ properties:
         properties:
           remote-endpoint:
             maxItems: 1
+          clocks:
+            maxItems: 1
+            description: Describes the clock used by audio component.
           mclk-fs:
             description: |
               Multiplication factor between stream rate and codec mclk.