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

dt-bindings: clock: qcom,gcc-apq8064: move msm8960 compat from gcc-other.yaml

MSM8960 shares the design (and the driver) of the global clock
controller with APQ8064. Move it from clock/qcom,gcc-other.yaml to
clock/qcom,gcc-apq8064.yaml.

As the example in gcc-other.yaml was using qcom,gcc-msm8960 compat string,
change it to qcom,gcc-msm8974.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220521151437.1489111-2-dmitry.baryshkov@linaro.org

authored by

Dmitry Baryshkov and committed by
Bjorn Andersson
91a4cbf9 bf8bb8ea

+6 -5
+4 -2
Documentation/devicetree/bindings/clock/qcom,gcc-apq8064.yaml
··· 4 4 $id: http://devicetree.org/schemas/clock/qcom,gcc-apq8064.yaml# 5 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 - title: Qualcomm Global Clock & Reset Controller Binding for APQ8064 7 + title: Qualcomm Global Clock & Reset Controller Binding for APQ8064/MSM8960 8 8 9 9 allOf: 10 10 - $ref: qcom,gcc.yaml# ··· 23 23 24 24 properties: 25 25 compatible: 26 - const: qcom,gcc-apq8064 26 + enum: 27 + - qcom,gcc-apq8064 28 + - qcom,gcc-msm8960 27 29 28 30 nvmem-cells: 29 31 minItems: 1
+2 -3
Documentation/devicetree/bindings/clock/qcom,gcc-other.yaml
··· 44 44 - qcom,gcc-msm8916 45 45 - qcom,gcc-msm8939 46 46 - qcom,gcc-msm8953 47 - - qcom,gcc-msm8960 48 47 - qcom,gcc-msm8974 49 48 - qcom,gcc-msm8974pro 50 49 - qcom,gcc-msm8974pro-ac ··· 57 58 unevaluatedProperties: false 58 59 59 60 examples: 60 - # Example for GCC for MSM8960: 61 + # Example for GCC for MSM8974: 61 62 - | 62 63 clock-controller@900000 { 63 - compatible = "qcom,gcc-msm8960"; 64 + compatible = "qcom,gcc-msm8974"; 64 65 reg = <0x900000 0x4000>; 65 66 #clock-cells = <1>; 66 67 #reset-cells = <1>;