[RFC PATCH 6/6] arm64: dts: qcom: sc7180: Add SoC specific compatible to soc node
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Wed Jan 8 05:02:12 PST 2025
On Tue, Jan 07, 2025 at 05:28:43PM -0800, Stephen Boyd wrote:
> Allow an SoC driver to probe for these devices. Add the SoC specific
> compatible to the soc node. Leave the original simple-bus compatible in
> place so that everything keeps working.
>
> Cc: Rob Herring <robh at kernel.org>
> Cc: Bjorn Andersson <andersson at kernel.org>
> Cc: Konrad Dybcio <konradybcio at kernel.org>
> Cc: <linux-arm-msm at vger.kernel.org>
> Signed-off-by: Stephen Boyd <swboyd at chromium.org>
> ---
> arch/arm64/boot/dts/qcom/sc7180.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi
> index 76fe314d2ad5..257890a193e6 100644
> --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi
> @@ -782,7 +782,7 @@ soc: soc at 0 {
> #size-cells = <2>;
> ranges = <0 0 0 0 0x10 0>;
> dma-ranges = <0 0 0 0 0x10 0>;
> - compatible = "simple-bus";
> + compatible = "qcom,soc-sc7180", "simple-bus";
If the new driver requires this compatible, it will break compatibility
with older DT files (and it should be avoided).
>
> gcc: clock-controller at 100000 {
> compatible = "qcom,gcc-sc7180";
> --
> https://chromeos.dev
>
--
With best wishes
Dmitry
More information about the linux-arm-kernel
mailing list