2015-12-25 23:32:58

by Pali Rohár

[permalink] [raw]
Subject: [PATCH] ARM: dts: omap3: Include missing bandgap data for ti-soc-thermal driver

Driver for omap3 with documentation is there since v4.4-rc1.

Signed-off-by: Pali Rohár <[email protected]>
---
arch/arm/boot/dts/omap34xx.dtsi | 5 +++++
arch/arm/boot/dts/omap36xx.dtsi | 5 +++++
2 files changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/omap34xx.dtsi b/arch/arm/boot/dts/omap34xx.dtsi
index 4f6b2d5..c3f488f 100644
--- a/arch/arm/boot/dts/omap34xx.dtsi
+++ b/arch/arm/boot/dts/omap34xx.dtsi
@@ -54,6 +54,11 @@
#size-cells = <0>;
};
};
+
+ bandgap {
+ reg = <0x48002524 0x4>;
+ compatible = "ti,omap34xx-bandgap";
+ };
};
};

diff --git a/arch/arm/boot/dts/omap36xx.dtsi b/arch/arm/boot/dts/omap36xx.dtsi
index 86253de..00f98c1 100644
--- a/arch/arm/boot/dts/omap36xx.dtsi
+++ b/arch/arm/boot/dts/omap36xx.dtsi
@@ -86,6 +86,11 @@
#size-cells = <0>;
};
};
+
+ bandgap {
+ reg = <0x48002524 0x4>;
+ compatible = "ti,omap36xx-bandgap";
+ };
};
};

--
1.7.9.5


2015-12-26 18:50:38

by Pavel Machek

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: omap3: Include missing bandgap data for ti-soc-thermal driver

On Sat 2015-12-26 00:32:25, Pali Roh?r wrote:
> Driver for omap3 with documentation is there since v4.4-rc1.
>
> Signed-off-by: Pali Roh?r <[email protected]>

Acked-by: Pavel Machek <[email protected]>
Tested-by: Pavel Machek <[email protected]>

Thanks!
Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

2015-12-31 17:38:57

by Eduardo Valentin

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: omap3: Include missing bandgap data for ti-soc-thermal driver

Hello,

On Sat, Dec 26, 2015 at 12:32:25AM +0100, Pali Roh?r wrote:
> Driver for omap3 with documentation is there since v4.4-rc1.
>
> Signed-off-by: Pali Roh?r <[email protected]>


> ---
> arch/arm/boot/dts/omap34xx.dtsi | 5 +++++
> arch/arm/boot/dts/omap36xx.dtsi | 5 +++++
> 2 files changed, 10 insertions(+)
>
> diff --git a/arch/arm/boot/dts/omap34xx.dtsi b/arch/arm/boot/dts/omap34xx.dtsi
> index 4f6b2d5..c3f488f 100644
> --- a/arch/arm/boot/dts/omap34xx.dtsi
> +++ b/arch/arm/boot/dts/omap34xx.dtsi
> @@ -54,6 +54,11 @@
> #size-cells = <0>;
> };
> };
> +
> + bandgap {
> + reg = <0x48002524 0x4>;
> + compatible = "ti,omap34xx-bandgap";
> + };
> };
> };
>
> diff --git a/arch/arm/boot/dts/omap36xx.dtsi b/arch/arm/boot/dts/omap36xx.dtsi
> index 86253de..00f98c1 100644
> --- a/arch/arm/boot/dts/omap36xx.dtsi
> +++ b/arch/arm/boot/dts/omap36xx.dtsi
> @@ -86,6 +86,11 @@
> #size-cells = <0>;
> };
> };
> +
> + bandgap {
> + reg = <0x48002524 0x4>;
> + compatible = "ti,omap36xx-bandgap";

Can you please already add on both cases

#thermal-sensor-cells = <0>;
?

This way we can already use them to define thermal zones. Of course,
that alone won't add the thermal zones. A separated patch would be
needed to add the thermal zone for OMAP3.

> + };
> };
> };
>
> --
> 1.7.9.5
>