[PATCH v1] rockchip: rv1126: Migrate to OF_UPSTREAM

Jonas Karlman jonas at kwiboo.se
Thu May 9 19:04:39 CEST 2024


Hi Anand,

On 2024-05-09 18:42, Anand Moon wrote:
> Hi Jonas
> 
> On Thu, 9 May 2024 at 21:38, Jonas Karlman <jonas at kwiboo.se> wrote:
>>
>> Hi,
>>
>> On 2024-05-09 17:26, Anand Moon wrote:
>>> Migrate RV1126 boards that exists in Linux v6.8 to use OF_UPSTREAM.
>>>
>>> Following targets is not migrated to use OF_UPSTREAM:
>>
> 
> Ok, will update the commit message in the future.
> 
>> At first I got a little bit confused about the "not migrated", but see
>> now that these are the boards that is migrated.
>>
>>> - rv1126-edgeble-neu2 : Board is an industrial form factor
>>>                         IO board.
>>> - sonoff-ihost-rv1126 : Gateway device designed to provide a
>>>                         Smart Home Hub.
>>>
>>> Cc: Tim Lunn <tim at feathertop.org>
>>> Cc: Jagan Teki <jagan at edgeble.ai>
>>> Signed-off-by: Anand Moon <linux.amoon at gmail.com>
>>> ---
>>> Tested on neu2 edgable board.
>>> ---
>>>  arch/arm/dts/Makefile                   |   3 -
>>>  arch/arm/dts/rv1126-edgeble-neu2-io.dts | 112 -----
>>>  arch/arm/dts/rv1126-edgeble-neu2.dtsi   | 345 -------------
>>>  arch/arm/dts/rv1126-pinctrl.dtsi        | 341 -------------
>>>  arch/arm/dts/rv1126-sonoff-ihost.dts    |  29 --
>>>  arch/arm/dts/rv1126-sonoff-ihost.dtsi   | 404 ---------------
>>>  arch/arm/dts/rv1126.dtsi                | 623 ------------------------
>>>  arch/arm/mach-rockchip/Kconfig          |   1 +
>>>  configs/neu2-io-rv1126_defconfig        |   2 +-
>>>  configs/sonoff-ihost-rv1126_defconfig   |   2 +-
>>>  10 files changed, 3 insertions(+), 1859 deletions(-)
>>>  delete mode 100644 arch/arm/dts/rv1126-edgeble-neu2-io.dts
>>>  delete mode 100644 arch/arm/dts/rv1126-edgeble-neu2.dtsi
>>>  delete mode 100644 arch/arm/dts/rv1126-pinctrl.dtsi
>>>  delete mode 100644 arch/arm/dts/rv1126-sonoff-ihost.dts
>>>  delete mode 100644 arch/arm/dts/rv1126-sonoff-ihost.dtsi
>>>  delete mode 100644 arch/arm/dts/rv1126.dtsi
>>
>> Following should also be removed:
>> - include/dt-bindings/clock/rockchip,rv1126-cru.h
>> - include/dt-bindings/power/rockchip,rv1126-power.h
>>
>> Side note, following is remaining after the rv1108 migration and should
>> probably also be removed:
>> - include/dt-bindings/clock/rv1108-cru.h
>>
> 
> I will check if any drivers are using this if not I will remove them.
> will address this in V2.

After migration to OF_UPSTREAM any related dt-bindings include must be
removed from include/dt-bindings/ or the upstream include files cannot
be included from dts/upstream/include/dt-bindings/.

Fabio just sent a fix for rv1108-cru.h, thanks!

Please remove the two rv1126 include/dt-bindings/ files in v2.

Regards,
Jonas

> 
>> Regards,
>> Jonas
> 
> Thanks
> -Anand



More information about the U-Boot mailing list