Re: [PATCH 2/5] ARM: DTS: qcom: fix dtbs_check warning with new rpmcc clocks

From: Dmitry Baryshkov
Date: Wed Jul 06 2022 - 03:36:01 EST


On Tue, 5 Jul 2022 at 23:56, Christian Marangi <ansuelsmth@xxxxxxxxx> wrote:
>
> Fix dtbs_check warning for new rpmcc Documentation changes and add the
> required clocks.
>
> Signed-off-by: Christian Marangi <ansuelsmth@xxxxxxxxx>

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>

> ---
> arch/arm/boot/dts/qcom-apq8064.dtsi | 2 ++
> arch/arm/boot/dts/qcom-ipq8064.dtsi | 2 ++
> arch/arm/boot/dts/qcom-msm8660.dtsi | 4 +++-
> 3 files changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi
> index 91adcbd54b17..6a88e616ea01 100644
> --- a/arch/arm/boot/dts/qcom-apq8064.dtsi
> +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi
> @@ -853,6 +853,8 @@ rpm@108000 {
> rpmcc: clock-controller {
> compatible = "qcom,rpmcc-apq8064", "qcom,rpmcc";
> #clock-cells = <1>;
> + clocks = <&pxo_board>, <&cxo_board>;
> + clock-names = "pxo", "cxo";
> };
>
> regulators {
> diff --git a/arch/arm/boot/dts/qcom-ipq8064.dtsi b/arch/arm/boot/dts/qcom-ipq8064.dtsi
> index 4b475d98343c..1425a4e4283f 100644
> --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
> +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
> @@ -773,6 +773,8 @@ rpm: rpm@108000 {
> rpmcc: clock-controller {
> compatible = "qcom,rpmcc-ipq806x", "qcom,rpmcc";
> #clock-cells = <1>;
> + clocks = <&pxo_board>;
> + clock-names = "pxo";
> };
> };
>
> diff --git a/arch/arm/boot/dts/qcom-msm8660.dtsi b/arch/arm/boot/dts/qcom-msm8660.dtsi
> index b9cded35b1cc..63a501c63cf8 100644
> --- a/arch/arm/boot/dts/qcom-msm8660.dtsi
> +++ b/arch/arm/boot/dts/qcom-msm8660.dtsi
> @@ -56,7 +56,7 @@ cxo_board {
> clock-frequency = <19200000>;
> };
>
> - pxo_board {
> + pxo_board: pxo_board {
> compatible = "fixed-clock";
> #clock-cells = <0>;
> clock-frequency = <27000000>;
> @@ -411,6 +411,8 @@ rpm: rpm@104000 {
> rpmcc: clock-controller {
> compatible = "qcom,rpmcc-msm8660", "qcom,rpmcc";
> #clock-cells = <1>;
> + clocks = <&pxo_board>;
> + clock-names = "pxo";
> };
>
> pm8901-regulators {
> --
> 2.36.1
>


--
With best wishes
Dmitry