Re: [PATCH 1/4] arm64: dts: qcom: msm8998: correct xo clock name

From: Bjorn Andersson
Date: Thu Nov 15 2018 - 13:26:46 EST


On Thu 15 Nov 09:18 PST 2018, Jeffrey Hugo wrote:

> The root parent clock of most msm8998 clock is the "xo" clock. The DT node
> is incorrectly named "xo_board", which prevents Linux from correctly
> parsing the clock tree, resulting in most clocks being unparented and
> unable to be manipulated. The end result is that we can't turn on clocks
> for peripherals like SD, so init usually fails.
>
> Fixes: 4807c71cc688 (arm64: dts: Add msm8998 SoC and MTP board support)
> Signed-off-by: Jeffrey Hugo <jhugo@xxxxxxxxxxxxxx>
> ---

Reviewed-by: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>

> arch/arm64/boot/dts/qcom/msm8998.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi
> index 78227cc..a948d4b 100644
> --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi
> +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi
> @@ -53,7 +53,7 @@
> };
>
> clocks {
> - xo_board {
> + xo {

You could have taken the opportunity and added the label here...

> compatible = "fixed-clock";
> #clock-cells = <0>;
> clock-frequency = <19200000>;

Regards,
Bjorn