Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: dt-bindings: qcom,lpass-va-macro: Add missing NPL clock

Several devices (e.g. SC8280XP and SM8450) expect a NPL (Near Pad Logic)
clock. Add the clock and customize allowed clocks per each variant.
The clocks are also required by ADSP in all variants.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230330113405.55722-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Mark Brown
cfad8170 59257015

+57 -11
+57 -11
Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml
··· 9 9 maintainers: 10 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 11 11 12 - allOf: 13 - - $ref: dai-common.yaml# 14 - 15 12 properties: 16 13 compatible: 17 14 enum: ··· 28 31 const: 0 29 32 30 33 clocks: 31 - maxItems: 3 34 + minItems: 1 35 + maxItems: 4 32 36 33 37 clock-names: 34 - oneOf: 35 - - items: #for ADSP based platforms 36 - - const: mclk 37 - - const: macro 38 - - const: dcodec 39 - - items: #for ADSP bypass based platforms 40 - - const: mclk 38 + minItems: 1 39 + maxItems: 4 41 40 42 41 clock-output-names: 43 42 maxItems: 1 ··· 57 64 - compatible 58 65 - reg 59 66 - "#sound-dai-cells" 67 + - clock-names 68 + - clocks 69 + 70 + allOf: 71 + - $ref: dai-common.yaml# 72 + 73 + - if: 74 + properties: 75 + compatible: 76 + contains: 77 + const: qcom,sc7280-lpass-va-macro 78 + then: 79 + properties: 80 + clocks: 81 + maxItems: 1 82 + clock-names: 83 + items: 84 + - const: mclk 85 + 86 + - if: 87 + properties: 88 + compatible: 89 + contains: 90 + const: qcom,sm8250-lpass-va-macro 91 + then: 92 + properties: 93 + clocks: 94 + minItems: 3 95 + maxItems: 3 96 + clock-names: 97 + items: 98 + - const: mclk 99 + - const: macro 100 + - const: dcodec 101 + 102 + - if: 103 + properties: 104 + compatible: 105 + contains: 106 + enum: 107 + - qcom,sc8280xp-lpass-va-macro 108 + - qcom,sm8450-lpass-va-macro 109 + then: 110 + properties: 111 + clocks: 112 + minItems: 4 113 + maxItems: 4 114 + clock-names: 115 + items: 116 + - const: mclk 117 + - const: macro 118 + - const: dcodec 119 + - const: npl 60 120 61 121 - if: 62 122 properties: