Re: [PATCH] ARM: dts: exynos: Add soc node to exynos5440

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 5, 2018 at 1:39 PM, Maciej Purski <m.purski@xxxxxxxxxxx> wrote:
> The exynos5440 device tree is the only one left, which does not use
> "soc" node. Add a "soc" node to exynos5440.dtsi in order to make it
> compatible with other exynos DTS.
>
> Signed-off-by: Maciej Purski <m.purski@xxxxxxxxxxx>
> ---
>  arch/arm/boot/dts/exynos5440.dtsi | 526 +++++++++++++++++++-------------------
>  1 file changed, 267 insertions(+), 259 deletions(-)
>
> diff --git a/arch/arm/boot/dts/exynos5440.dtsi b/arch/arm/boot/dts/exynos5440.dtsi
> index fce9e26..5cdeda0 100644
> --- a/arch/arm/boot/dts/exynos5440.dtsi
> +++ b/arch/arm/boot/dts/exynos5440.dtsi

(...)

>
> -       tmuctrl_2: tmuctrl@160120 {
> -               compatible = "samsung,exynos5440-tmu";
> -               reg = <0x160120 0x230>, <0x160368 0x10>;
> -               interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
> -               clocks = <&clock CLK_B_125>;
> -               clock-names = "tmu_apbif";
> -               #include "exynos5440-tmu-sensor-conf.dtsi"
> -       };
> +               tmuctrl_0: tmuctrl@160118 {
> +                       compatible = "samsung,exynos5440-tmu";
> +                       reg = <0x160118 0x230>, <0x160368 0x10>;
> +                       interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
> +                       clocks = <&clock CLK_B_125>;
> +                       clock-names = "tmu_apbif";
> +                       #include "exynos5440-tmu-sensor-conf.dtsi"
> +               };
>
> -       thermal-zones {
> -               cpu0_thermal: cpu0-thermal {
> -                       thermal-sensors = <&tmuctrl_0>;
> -                       #include "exynos5440-trip-points.dtsi"
> +               tmuctrl_1: tmuctrl@16011c {
> +                       compatible = "samsung,exynos5440-tmu";
> +                       reg = <0x16011C 0x230>, <0x160368 0x10>;
> +                       interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
> +                       clocks = <&clock CLK_B_125>;
> +                       clock-names = "tmu_apbif";
> +                       #include "exynos5440-tmu-sensor-conf.dtsi"
>                 };
> -               cpu1_thermal: cpu1-thermal {
> -                      thermal-sensors = <&tmuctrl_1>;
> -                      #include "exynos5440-trip-points.dtsi"
> +
> +               tmuctrl_2: tmuctrl@160120 {
> +                       compatible = "samsung,exynos5440-tmu";
> +                       reg = <0x160120 0x230>, <0x160368 0x10>;
> +                       interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
> +                       clocks = <&clock CLK_B_125>;
> +                       clock-names = "tmu_apbif";
> +                       #include "exynos5440-tmu-sensor-conf.dtsi"
>                 };
> -               cpu2_thermal: cpu2-thermal {
> -                      thermal-sensors = <&tmuctrl_2>;
> -                      #include "exynos5440-trip-points.dtsi"
> +
> +               thermal-zones {

Just like in case of other boards, leave thermal-zones outside of soc
(unless there is a problem with it?).

Best regards,
Krzysztof
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux