[U-Boot,v5,2/3] ARM: dts: OMAP5+: Add support for bandgap sensor in SPL

Message ID 1510656153-26769-3-git-send-email-faiz_abbas@ti.com
State Accepted
Delegated to: Tom Rini
Headers show
Series
  • Support for TI bandgap temperature sensor
Related show

Commit Message

Faiz Abbas Nov. 14, 2017, 10:42 a.m.
Mark bandgap node as uboot,dm-spl so that it can be accessed in spl

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
---

v3:
Added Reviewed-by comment.

 arch/arm/dts/omap5-u-boot.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Tom Rini Nov. 21, 2017, 1:06 p.m. | #1
On Tue, Nov 14, 2017 at 04:12:32PM +0530, Faiz Abbas wrote:

> Mark bandgap node as uboot,dm-spl so that it can be accessed in spl
> 
> Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>
> Reviewed-by: Tom Rini <trini@konsulko.com>

Applied to u-boot/master, thanks!

Patch

diff --git a/arch/arm/dts/omap5-u-boot.dtsi b/arch/arm/dts/omap5-u-boot.dtsi
index fdaa692..bf2684c 100644
--- a/arch/arm/dts/omap5-u-boot.dtsi
+++ b/arch/arm/dts/omap5-u-boot.dtsi
@@ -18,6 +18,10 @@ 
 		ocp2scp@4a090000 {
 			compatible = "ti,omap-ocp2scp", "simple-bus";
 		};
+
+		bandgap@4a0021e0 {
+			u-boot,dm-spl;
+		};
 	};
 };