dt-bindings: clock: qcom,mmcc: fix clocks/clock-names definitions
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tue, 5 Jul 2022 11:27:33 +0000 (14:27 +0300)
committerBjorn Andersson <andersson@kernel.org>
Mon, 29 Aug 2022 20:43:39 +0000 (15:43 -0500)
commit73e66ddfd9984594c1f28fb756e68010924798ed
treeed8e61613417c1b3857af003fa91ac94293bb218
parent342470f7b48b4c1be912453da18f4858342822fc
dt-bindings: clock: qcom,mmcc: fix clocks/clock-names definitions

Rather than defining (incorrect) global clocks and clock-names lists,
define them per platform using conditionals. Also, while we are at it,
mark these properties as required for all platforms for which DT files
contained clocks/clock-names for the MMCC nodes from the beginning (in
addition to existing MSM8998 this adds MSM8994, SDM630 and SDM660).

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220705112734.1323355-2-dmitry.baryshkov@linaro.org
Documentation/devicetree/bindings/clock/qcom,mmcc.yaml