Re: [PATCH V2 1/4] arm: davinci: Migrate da850-evm to OF_UPSTREAM

2024-05-07 Thread Tom Rini
On Wed, 01 May 2024 04:57:50 -0500, Adam Ford wrote:

> The da850-evm can remove the U-Boot device trees if migrated
> to OF_UPSTREAM.  This means pointing the device trees to the
> ti/davinci directory.
> 
> Signed-off-by: Adam Ford 
> 
> 
> [...]

Applied to u-boot/master, thanks!

-- 
Tom




[PATCH V2 1/4] arm: davinci: Migrate da850-evm to OF_UPSTREAM

2024-05-01 Thread Adam Ford
The da850-evm can remove the U-Boot device trees if migrated
to OF_UPSTREAM.  This means pointing the device trees to the
ti/davinci directory.

Signed-off-by: Adam Ford 
---
v2:  Remove DTS from Makefile.

diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index c9f1b25ad6..d6135c41ad 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -41,7 +41,6 @@ dtb-$(CONFIG_ARCH_APPLE) += \
t8103-j457.dtb
 
 dtb-$(CONFIG_ARCH_DAVINCI) += \
-   da850-evm.dtb \
da850-lcdk.dtb \
da850-lego-ev3.dtb
 
diff --git a/arch/arm/dts/da850-evm.dts b/arch/arm/dts/da850-evm.dts
deleted file mode 100644
index 378af9f344..00
--- a/arch/arm/dts/da850-evm.dts
+++ /dev/null
@@ -1,453 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-only
-/*
- * Device Tree for DA850 EVM board
- *
- * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
- */
-/dts-v1/;
-#include "da850.dtsi"
-#include 
-
-/ {
-   compatible = "ti,da850-evm", "ti,da850";
-   model = "DA850/AM1808/OMAP-L138 EVM";
-
-   chosen {
-   stdout-path = &serial2;
-   };
-
-   aliases {
-   serial0 = &serial0;
-   serial1 = &serial1;
-   serial2 = &serial2;
-   ethernet0 = ð0;
-   spi0 = &spi1;
-   };
-
-   backlight: backlight-pwm {
-   pinctrl-names = "default";
-   pinctrl-0 = <&ecap2_pins>;
-   power-supply = <&backlight_lcd>;
-   compatible = "pwm-backlight";
-   /*
-* The PWM here corresponds to production hardware. The
-* schematic needs to be 1015171 (15 March 2010), Rev A
-* or newer.
-*/
-   pwms = <&ecap2 0 5 0>;
-   brightness-levels = <0 10 20 30 40 50 60 70 80 90 99>;
-   default-brightness-level = <7>;
-   };
-
-   panel {
-   compatible = "ti,tilcdc,panel";
-   pinctrl-names = "default";
-   pinctrl-0 = <&lcd_pins>;
-   /*
-* The vpif and the LCD are mutually exclusive.
-* To enable VPIF, change the status below to 'disabled' then
-* then change the status of the vpif below to 'okay'
-*/
-   status = "okay";
-   enable-gpios = <&gpio 40 GPIO_ACTIVE_HIGH>; /* lcd_panel_pwr */
-
-   panel-info {
-   ac-bias = <255>;
-   ac-bias-intrpt = <0>;
-   dma-burst-sz = <16>;
-   bpp = <16>;
-   fdd = <0x80>;
-   sync-edge = <0>;
-   sync-ctrl = <1>;
-   raster-order = <0>;
-   fifo-th = <0>;
-   };
-
-   display-timings {
-   native-mode = <&timing0>;
-   timing0: 480x272 {
-   clock-frequency = <900>;
-   hactive = <480>;
-   vactive = <272>;
-   hfront-porch = <3>;
-   hback-porch = <2>;
-   hsync-len = <42>;
-   vback-porch = <3>;
-   vfront-porch = <4>;
-   vsync-len = <11>;
-   hsync-active = <0>;
-   vsync-active = <0>;
-   de-active = <1>;
-   pixelclk-active = <1>;
-   };
-   };
-   };
-
-   vbat: fixedregulator0 {
-   compatible = "regulator-fixed";
-   regulator-name = "vbat";
-   regulator-min-microvolt = <500>;
-   regulator-max-microvolt = <500>;
-   regulator-boot-on;
-   };
-
-   baseboard_3v3: fixedregulator-3v3 {
-   /* TPS73701DCQ */
-   compatible = "regulator-fixed";
-   regulator-name = "baseboard_3v3";
-   regulator-min-microvolt = <330>;
-   regulator-max-microvolt = <330>;
-   vin-supply = <&vbat>;
-   regulator-always-on;
-   regulator-boot-on;
-   };
-
-   baseboard_1v8: fixedregulator-1v8 {
-   /* TPS73701DCQ */
-   compatible = "regulator-fixed";
-   regulator-name = "baseboard_1v8";
-   regulator-min-microvolt = <180>;
-   regulator-max-microvolt = <180>;
-   vin-supply = <&vbat>;
-   regulator-always-on;
-   regulator-boot-on;
-   };
-
-   backlight_lcd: backlight-regulator {
-   compatible = "regulator-fixed";
-   regulator-name = "lcd_backlight_pwr";
-   regulator-min-microvolt = <330>;