mbox series

[00/26] sync am65x device tree with Linux v6.7-rc1

Message ID 20231221174412.210807-1-bb@ti.com
Headers show
Series sync am65x device tree with Linux v6.7-rc1 | expand

Message

Bryan Brattlof Dec. 21, 2023, 5:43 p.m. UTC
Hello Everyone!

This series gets the am65x booting again along with syncing the device
tree files with v6.7-rc1 Linux.

The bulk of these patches unify the WKUP SPL board file with the arm64
files to make future syncs from Linux much easier. In the end the DTBs
should look a lot like what the DTBs look like for the am64x which
is fairly similar to the am65x.

For those interested in what UART boot looks like:
   https://paste.sr.ht/~bryanb/7df8a645dc548912cd806abd5ecab967ef3287bc

Thanks for reviewing and happy holidays
~Bryan

Bryan Brattlof (26):
  configs: am65x_evm_r5: enable driver for fixed regulators
  configs: am65x_evm_a53: disable CONSOLE_MUX
  arm: dts: k3-am654-r5: Merge board file and U-Boot overlay
  arm: dts: k3-am654: pull in dtb update from Linux
  arm: dts: k3-am654: copy bootph properties to a53 dts
  arm: dts: k3-am654: include a53 board dtb for r5 build
  arm: dts: k3-am654: remove duplicate vtt_supply
  arm: dts: k3-am654: remove duplicate wkup_uart0
  arm: dts: k3-am654: remove duplicate timer
  arm: dts: k3-am654: remove duplicate mcu_ringacc
  arm: dts: k3-am654: remove duplicate mcu_udmap
  arm: dts: k3-am654: add needed regs to udmap nodes
  arm: dts: k3-am654: remove duplicate mcu_uart0 node
  arm: dts: k3-am654: remove duplicate main_uart0
  arm: dts: k3-am654: remove duplicate sdhci0 pinmux node
  arm: dts: k3-am654: remove duplicate sdhci1 pinmux node
  arm: dts: k3-am654: remove duplicate wkup_i2c0
  arm: dts: k3-am654: remove duplicate ospi0 node
  arm: dts: k3-am654: remove usb0
  arm: dts: k3-am654: remove duplicate mdio
  arm: dts: k3-am654: remove duplicate vtt pinmux
  arm: dts: k3-am654: remove duplicate root properties
  arm: dts: k3-am654: remove un-needed aliases
  arm: dts: k3-am654: move dummy_clock to root node
  arm: dts: k3-am65: remove duplicate mcu secure proxy node
  arm: dts: k3-am654: convert bootph-pre-ram to bootph-all

 arch/arm/dts/k3-am65-main.dtsi                | 342 +++++++++++++++---
 arch/arm/dts/k3-am65-mcu.dtsi                 | 156 +++++++-
 arch/arm/dts/k3-am65-wakeup.dtsi              |  10 +-
 arch/arm/dts/k3-am65.dtsi                     |  19 +-
 arch/arm/dts/k3-am654-base-board-u-boot.dtsi  | 201 +++++++++-
 arch/arm/dts/k3-am654-base-board.dts          | 301 +++++++++------
 .../dts/k3-am654-r5-base-board-u-boot.dtsi    | 208 -----------
 arch/arm/dts/k3-am654-r5-base-board.dts       | 298 +++------------
 arch/arm/dts/k3-am654.dtsi                    |   7 +
 configs/am65x_evm_a53_defconfig               |   1 -
 configs/am65x_evm_r5_defconfig                |   2 +
 11 files changed, 887 insertions(+), 658 deletions(-)
 delete mode 100644 arch/arm/dts/k3-am654-r5-base-board-u-boot.dtsi


base-commit: 2c9ee3f22603083ef0c4b808cf92645e5417156a

Comments

Tom Rini Dec. 21, 2023, 8 p.m. UTC | #1
On Thu, Dec 21, 2023 at 11:43:46AM -0600, Bryan Brattlof wrote:

> Hello Everyone!
> 
> This series gets the am65x booting again along with syncing the device
> tree files with v6.7-rc1 Linux.
> 
> The bulk of these patches unify the WKUP SPL board file with the arm64
> files to make future syncs from Linux much easier. In the end the DTBs
> should look a lot like what the DTBs look like for the am64x which
> is fairly similar to the am65x.
> 
> For those interested in what UART boot looks like:
>    https://paste.sr.ht/~bryanb/7df8a645dc548912cd806abd5ecab967ef3287bc
> 
> Thanks for reviewing and happy holidays
> ~Bryan

For the series,
Tested-by: Tom Rini <trini@konsulko.com>

Nishanth, does this path work for you?
Nishanth Menon Dec. 27, 2023, 12:39 p.m. UTC | #2
On 15:00-20231221, Tom Rini wrote:
> On Thu, Dec 21, 2023 at 11:43:46AM -0600, Bryan Brattlof wrote:
> 
> > Hello Everyone!
> > 
> > This series gets the am65x booting again along with syncing the device
> > tree files with v6.7-rc1 Linux.
> > 
> > The bulk of these patches unify the WKUP SPL board file with the arm64
> > files to make future syncs from Linux much easier. In the end the DTBs
> > should look a lot like what the DTBs look like for the am64x which
> > is fairly similar to the am65x.
> > 
> > For those interested in what UART boot looks like:
> >    https://paste.sr.ht/~bryanb/7df8a645dc548912cd806abd5ecab967ef3287bc
> > 
> > Thanks for reviewing and happy holidays
> > ~Bryan
> 
> For the series,
> Tested-by: Tom Rini <trini@konsulko.com>
> 
> Nishanth, does this path work for you?
> 

Other than the minor comments provided in the relevant patches,

The following files also need sync up with v6.7-rc1.

k3-am65-iot2050-common-pg2.dtsi
k3-am65-iot2050-common.dtsi
k3-am6528-iot2050-basic-common.dtsi
k3-am6548-iot2050-advanced-common.dtsi
k3-am6548-iot2050-advanced-m2.dts

Jan - could you look at syncing those once an update to this series is
posted? We could probably have a smoother v6.8-rc1 from then on.
Tom Rini Dec. 27, 2023, 1:32 p.m. UTC | #3
On Wed, Dec 27, 2023 at 06:39:28AM -0600, Nishanth Menon wrote:
> On 15:00-20231221, Tom Rini wrote:
> > On Thu, Dec 21, 2023 at 11:43:46AM -0600, Bryan Brattlof wrote:
> > 
> > > Hello Everyone!
> > > 
> > > This series gets the am65x booting again along with syncing the device
> > > tree files with v6.7-rc1 Linux.
> > > 
> > > The bulk of these patches unify the WKUP SPL board file with the arm64
> > > files to make future syncs from Linux much easier. In the end the DTBs
> > > should look a lot like what the DTBs look like for the am64x which
> > > is fairly similar to the am65x.
> > > 
> > > For those interested in what UART boot looks like:
> > >    https://paste.sr.ht/~bryanb/7df8a645dc548912cd806abd5ecab967ef3287bc
> > > 
> > > Thanks for reviewing and happy holidays
> > > ~Bryan
> > 
> > For the series,
> > Tested-by: Tom Rini <trini@konsulko.com>
> > 
> > Nishanth, does this path work for you?
> > 
> 
> Other than the minor comments provided in the relevant patches,
> 
> The following files also need sync up with v6.7-rc1.
> 
> k3-am65-iot2050-common-pg2.dtsi
> k3-am65-iot2050-common.dtsi
> k3-am6528-iot2050-basic-common.dtsi
> k3-am6548-iot2050-advanced-common.dtsi
> k3-am6548-iot2050-advanced-m2.dts
> 
> Jan - could you look at syncing those once an update to this series is
> posted? We could probably have a smoother v6.8-rc1 from then on.

I hope that by v6.8-rc1 time we'll have merged Sumit's patch series and
so instead TI platforms will move to the v6.7-dts tag there, and then
v6.8-dts once that's out.
Jan Kiszka Jan. 2, 2024, 7:27 a.m. UTC | #4
On 27.12.23 13:39, Nishanth Menon wrote:
> On 15:00-20231221, Tom Rini wrote:
>> On Thu, Dec 21, 2023 at 11:43:46AM -0600, Bryan Brattlof wrote:
>>
>>> Hello Everyone!
>>>
>>> This series gets the am65x booting again along with syncing the device
>>> tree files with v6.7-rc1 Linux.
>>>
>>> The bulk of these patches unify the WKUP SPL board file with the arm64
>>> files to make future syncs from Linux much easier. In the end the DTBs
>>> should look a lot like what the DTBs look like for the am64x which
>>> is fairly similar to the am65x.
>>>
>>> For those interested in what UART boot looks like:
>>>    https://paste.sr.ht/~bryanb/7df8a645dc548912cd806abd5ecab967ef3287bc
>>>
>>> Thanks for reviewing and happy holidays
>>> ~Bryan
>>
>> For the series,
>> Tested-by: Tom Rini <trini@konsulko.com>
>>
>> Nishanth, does this path work for you?
>>
> 
> Other than the minor comments provided in the relevant patches,
> 
> The following files also need sync up with v6.7-rc1.
> 
> k3-am65-iot2050-common-pg2.dtsi
> k3-am65-iot2050-common.dtsi
> k3-am6528-iot2050-basic-common.dtsi
> k3-am6548-iot2050-advanced-common.dtsi
> k3-am6548-iot2050-advanced-m2.dts
> 
> Jan - could you look at syncing those once an update to this series is
> posted? We could probably have a smoother v6.8-rc1 from then on.
> 

We currently plan to sync once support for the new SM variant is in the
upstream DT. Do you see other changes that would benefit from an earlier
sync?

Jan
Tom Rini Jan. 2, 2024, 5:42 p.m. UTC | #5
On Tue, Jan 02, 2024 at 08:27:34AM +0100, Jan Kiszka wrote:
> On 27.12.23 13:39, Nishanth Menon wrote:
> > On 15:00-20231221, Tom Rini wrote:
> >> On Thu, Dec 21, 2023 at 11:43:46AM -0600, Bryan Brattlof wrote:
> >>
> >>> Hello Everyone!
> >>>
> >>> This series gets the am65x booting again along with syncing the device
> >>> tree files with v6.7-rc1 Linux.
> >>>
> >>> The bulk of these patches unify the WKUP SPL board file with the arm64
> >>> files to make future syncs from Linux much easier. In the end the DTBs
> >>> should look a lot like what the DTBs look like for the am64x which
> >>> is fairly similar to the am65x.
> >>>
> >>> For those interested in what UART boot looks like:
> >>>    https://paste.sr.ht/~bryanb/7df8a645dc548912cd806abd5ecab967ef3287bc
> >>>
> >>> Thanks for reviewing and happy holidays
> >>> ~Bryan
> >>
> >> For the series,
> >> Tested-by: Tom Rini <trini@konsulko.com>
> >>
> >> Nishanth, does this path work for you?
> >>
> > 
> > Other than the minor comments provided in the relevant patches,
> > 
> > The following files also need sync up with v6.7-rc1.
> > 
> > k3-am65-iot2050-common-pg2.dtsi
> > k3-am65-iot2050-common.dtsi
> > k3-am6528-iot2050-basic-common.dtsi
> > k3-am6548-iot2050-advanced-common.dtsi
> > k3-am6548-iot2050-advanced-m2.dts
> > 
> > Jan - could you look at syncing those once an update to this series is
> > posted? We could probably have a smoother v6.8-rc1 from then on.
> > 
> 
> We currently plan to sync once support for the new SM variant is in the
> upstream DT. Do you see other changes that would benefit from an earlier
> sync?

So this sync is because the ref platforms at least do not boot, is
iot2050 currently booting?
Jan Kiszka Jan. 3, 2024, 5:10 a.m. UTC | #6
On 02.01.24 18:42, Tom Rini wrote:
> On Tue, Jan 02, 2024 at 08:27:34AM +0100, Jan Kiszka wrote:
>> On 27.12.23 13:39, Nishanth Menon wrote:
>>> On 15:00-20231221, Tom Rini wrote:
>>>> On Thu, Dec 21, 2023 at 11:43:46AM -0600, Bryan Brattlof wrote:
>>>>
>>>>> Hello Everyone!
>>>>>
>>>>> This series gets the am65x booting again along with syncing the device
>>>>> tree files with v6.7-rc1 Linux.
>>>>>
>>>>> The bulk of these patches unify the WKUP SPL board file with the arm64
>>>>> files to make future syncs from Linux much easier. In the end the DTBs
>>>>> should look a lot like what the DTBs look like for the am64x which
>>>>> is fairly similar to the am65x.
>>>>>
>>>>> For those interested in what UART boot looks like:
>>>>>    https://paste.sr.ht/~bryanb/7df8a645dc548912cd806abd5ecab967ef3287bc
>>>>>
>>>>> Thanks for reviewing and happy holidays
>>>>> ~Bryan
>>>>
>>>> For the series,
>>>> Tested-by: Tom Rini <trini@konsulko.com>
>>>>
>>>> Nishanth, does this path work for you?
>>>>
>>>
>>> Other than the minor comments provided in the relevant patches,
>>>
>>> The following files also need sync up with v6.7-rc1.
>>>
>>> k3-am65-iot2050-common-pg2.dtsi
>>> k3-am65-iot2050-common.dtsi
>>> k3-am6528-iot2050-basic-common.dtsi
>>> k3-am6548-iot2050-advanced-common.dtsi
>>> k3-am6548-iot2050-advanced-m2.dts
>>>
>>> Jan - could you look at syncing those once an update to this series is
>>> posted? We could probably have a smoother v6.8-rc1 from then on.
>>>
>>
>> We currently plan to sync once support for the new SM variant is in the
>> upstream DT. Do you see other changes that would benefit from an earlier
>> sync?
> 
> So this sync is because the ref platforms at least do not boot, is
> iot2050 currently booting?

It was booting with ~v2024.01-rc4 before Christmas, didn't try latest
master yet.

Jan
Tom Rini Jan. 3, 2024, 3:50 p.m. UTC | #7
On Wed, Jan 03, 2024 at 06:10:55AM +0100, Jan Kiszka wrote:
> On 02.01.24 18:42, Tom Rini wrote:
> > On Tue, Jan 02, 2024 at 08:27:34AM +0100, Jan Kiszka wrote:
> >> On 27.12.23 13:39, Nishanth Menon wrote:
> >>> On 15:00-20231221, Tom Rini wrote:
> >>>> On Thu, Dec 21, 2023 at 11:43:46AM -0600, Bryan Brattlof wrote:
> >>>>
> >>>>> Hello Everyone!
> >>>>>
> >>>>> This series gets the am65x booting again along with syncing the device
> >>>>> tree files with v6.7-rc1 Linux.
> >>>>>
> >>>>> The bulk of these patches unify the WKUP SPL board file with the arm64
> >>>>> files to make future syncs from Linux much easier. In the end the DTBs
> >>>>> should look a lot like what the DTBs look like for the am64x which
> >>>>> is fairly similar to the am65x.
> >>>>>
> >>>>> For those interested in what UART boot looks like:
> >>>>>    https://paste.sr.ht/~bryanb/7df8a645dc548912cd806abd5ecab967ef3287bc
> >>>>>
> >>>>> Thanks for reviewing and happy holidays
> >>>>> ~Bryan
> >>>>
> >>>> For the series,
> >>>> Tested-by: Tom Rini <trini@konsulko.com>
> >>>>
> >>>> Nishanth, does this path work for you?
> >>>>
> >>>
> >>> Other than the minor comments provided in the relevant patches,
> >>>
> >>> The following files also need sync up with v6.7-rc1.
> >>>
> >>> k3-am65-iot2050-common-pg2.dtsi
> >>> k3-am65-iot2050-common.dtsi
> >>> k3-am6528-iot2050-basic-common.dtsi
> >>> k3-am6548-iot2050-advanced-common.dtsi
> >>> k3-am6548-iot2050-advanced-m2.dts
> >>>
> >>> Jan - could you look at syncing those once an update to this series is
> >>> posted? We could probably have a smoother v6.8-rc1 from then on.
> >>>
> >>
> >> We currently plan to sync once support for the new SM variant is in the
> >> upstream DT. Do you see other changes that would benefit from an earlier
> >> sync?
> > 
> > So this sync is because the ref platforms at least do not boot, is
> > iot2050 currently booting?
> 
> It was booting with ~v2024.01-rc4 before Christmas, didn't try latest
> master yet.

OK, then it should still be fine but please do confirm if you have the
cycles, thanks.