Message ID | 20230509-msm8226-mmcc-parents-v1-2-83a2dfc986ab@z3ntu.xyz (mailing list archive) |
---|---|
State | Awaiting Upstream, archived |
Headers | show |
Series | Provide parent clocks to msm8226 mmcc | expand |
On 09/05/2023 23:16, Luca Weiss wrote: > Define clock/clock-names properties of the MMCC device node to be used > on MSM8226 platform. > > Signed-off-by: Luca Weiss <luca@z3ntu.xyz> > --- Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On 5/9/2023 3:16 PM, Luca Weiss wrote: > Define clock/clock-names properties of the MMCC device node to be used > on MSM8226 platform. > > Signed-off-by: Luca Weiss <luca@z3ntu.xyz> Acked-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
diff --git a/Documentation/devicetree/bindings/clock/qcom,mmcc.yaml b/Documentation/devicetree/bindings/clock/qcom,mmcc.yaml index acf0c923c24f..422f5776a771 100644 --- a/Documentation/devicetree/bindings/clock/qcom,mmcc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,mmcc.yaml @@ -31,11 +31,11 @@ properties: - qcom,mmcc-sdm660 clocks: - minItems: 8 + minItems: 7 maxItems: 13 clock-names: - minItems: 8 + minItems: 7 maxItems: 13 '#clock-cells': @@ -99,6 +99,34 @@ allOf: - const: dsi2pllbyte - const: hdmipll + - if: + properties: + compatible: + contains: + enum: + - qcom,mmcc-msm8226 + then: + properties: + clocks: + items: + - description: Board XO source + - description: MMSS GPLL0 voted clock + - description: GPLL0 voted clock + - description: GPLL1 voted clock + - description: GFX3D clock source + - description: DSI phy instance 0 dsi clock + - description: DSI phy instance 0 byte clock + + clock-names: + items: + - const: xo + - const: mmss_gpll0_vote + - const: gpll0_vote + - const: gpll1_vote + - const: gfx3d_clk_src + - const: dsi0pll + - const: dsi0pllbyte + - if: properties: compatible:
Define clock/clock-names properties of the MMCC device node to be used on MSM8226 platform. Signed-off-by: Luca Weiss <luca@z3ntu.xyz> --- .../devicetree/bindings/clock/qcom,mmcc.yaml | 32 ++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-)