U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Markus Schneider-Pargmann" <msp@baylibre.com>
To: "Tom Rini" <trini@konsulko.com>,
	"Markus Schneider-Pargmann (TI)" <msp@baylibre.com>
Cc: u-boot@lists.denx.de, "Marc Murphy" <marc.murphy@sancloud.com>,
	"Rasmus Villemoes" <ravi@prevas.dk>,
	"Kory Maincent" <kory.maincent@bootlin.com>,
	"Marek Vasut" <marek.vasut+renesas@mailbox.org>,
	"Romain Gantois" <romain.gantois@bootlin.com>,
	"Parvathi Pudi" <parvathi@couthit.com>,
	"Basharath Hussain Khaja" <basharath@couthit.com>,
	"Paul Barker" <paul.barker@sancloud.com>,
	"Andrew F. Davis" <afd@ti.com>, "Simon Glass" <sjg@chromium.org>,
	"Anshul Dalal" <anshuld@ti.com>,
	"Michael Trimarchi" <michael@amarulasolutions.com>,
	"Patrick Delaunay" <patrick.delaunay@foss.st.com>,
	"Patrice Chotard" <patrice.chotard@foss.st.com>,
	"Svyatoslav Ryhel" <clamor95@gmail.com>,
	"Tien Fong Chee" <tien.fong.chee@altera.com>,
	"Frieder Schrempf" <frieder.schrempf@kontron.de>,
	"Johan Jonker" <jbx6244@gmail.com>,
	"Brian Sune" <briansune@gmail.com>,
	"Hai Pham" <hai.pham.ud@renesas.com>,
	"Bernhard Messerklinger" <bernhard.messerklinger@at.abb.com>,
	"Emanuele Ghidoli" <emanuele.ghidoli@toradex.com>,
	"Parth Pancholi" <parth.pancholi@toradex.com>,
	"Jonas Schwöbel" <jonasschwoebel@yahoo.de>,
	"Paul Kocialkowski" <contact@paulk.fr>,
	"Andre Przywara" <andre.przywara@arm.com>,
	"Paresh Bhagat" <p-bhagat@ti.com>,
	"Ion Agorria" <ion@agorria.com>, "Peng Fan" <peng.fan@nxp.com>
Subject: Re: [PATCH v7 00/14] arm: am335x: Switch to upstream devicetree
Date: Tue, 26 May 2026 09:47:08 +0200	[thread overview]
Message-ID: <DISFXKXECKYM.2MZF42U82288S@baylibre.com> (raw)
In-Reply-To: <20260518182239.GA423423@bill-the-cat>

[-- Attachment #1: Type: text/plain, Size: 7909 bytes --]

On Mon May 18, 2026 at 8:22 PM CEST, Tom Rini wrote:
> On Mon, Apr 27, 2026 at 11:01:16AM +0200, Markus Schneider-Pargmann (TI) wrote:
>
>> The series is split into two logical groups:
>> 
>> - Patches 1-3: Fixes for am335x-evm to boot and support the LCD panel
>>   with the current u-boot devicetree.
>> - Patches 4-14: Make upstream devicetree working with uboot. This
>>   adds tick-timer, adds compatibility of the board code for different
>>   USB probing, makes SPL smaller and updates the defconfig.
>> 
>> The series has been tested on am335x-evm. Note that I don't have all
>> other boards built with the am335x_*evm_*defconfig, so tests are
>> appreciated. buildman reports builds are working.
>> 
>> Dependencies:
>>   - net: cpsw: Add cpsw-switch DT binding support
>>       https://lore.kernel.org/r/20260410-topic-cpsw-switch-v2026-07-next-v1-0-c914724b13e4@baylibre.com
>
> After rebasing this on top of current next, I ran in to the problem of
> am335x_hs_evm* doesn't build. This is because looking at
> arch/arm/mach-omap2/config_secure.mk I see:
> OF_LIST_TARGETS = $(patsubst %,arch/$(ARCH)/dts/%.dtb,$(subst ",,$(CONFIG_OF_LIST)))
> And that won't work with OF_UPSTREAM. Can you please respin and make
> sure all of am335x builds? CI can help with this too:
> https://docs.u-boot.org/en/latest/develop/ci_testing.html
> Thanks.

Sorry for that, I will fix it.

Best
Markus

>
>> 
>> Best,
>> Markus
>> 
>> Signed-off-by: Markus Schneider-Pargmann (TI) <msp@baylibre.com>
>> ---
>> Changes in v7:
>> - Squash tick-timer patch for am335x-bonegreen-eco-u-boot into the patch
>>   that adds tick-timer for all other boards.
>> - Remove dependency on (SPL_)CLK for (SPL_)SIMPLE_PM_BUS as clocks are
>>   optional now. Note I kept your reviewed-bys @Simon @Kory as I felt
>>   like this is a small change of the patch
>> - Fixup USB probing for OF_UPSTREAM. Initial version of the patch probed
>>   USB host and USB gadget devices unconditionally. This is not necessary
>>   and also not what the old code did. The old code probed the
>>   ti-musb-wrapper driver which bound the usb host and usb gadget
>>   drivers, but it did not probe them.
>> - Add CONFIG_PHANDLE_CHECK_SEQ to defconfig as many of the devices in
>>   the upstream devicetree have names like mmc@0 because they are within
>>   ti-sysc device nodes. The config symbol should help sorting them
>>   consistently anyways.
>> - Link to v6: https://lore.kernel.org/r/20260415-topic-am33-evm-oftree-v2026-01-v6-0-94cde349bb01@baylibre.com
>> 
>> Changes in v6:
>> - Add patch to add am335x-bonegreen-eco-u-boot.dtsi which sets
>>   tick-timer
>> - Add patch to remove all devicetrees that were moved to OF_UPSTREAM
>> - Link to v5: https://lore.kernel.org/r/20260410-topic-am33-evm-oftree-v2026-01-v5-0-4b9c7aca0e3e@baylibre.com
>> 
>> Changes in v5:
>> - Add patch to add lcdc on beagle bone black to all boot phases. Without
>>   this patch booting uboot on bbb fails.
>> - Add patch to split SIMPLE_PM_BUS into two, one for SPL and one for
>>   normal u-boot. This was done to reduce the size of SPL.
>> - Link to v4: https://lore.kernel.org/r/20260127-topic-am33-evm-oftree-v2026-01-v4-0-0dadb0710ce7@baylibre.com
>> 
>> Changes in v4:
>> - Add patch to enable SPL_OPTIMIZE_INLINING to reduce size and fix the
>>   build
>> - Link to v3: https://lore.kernel.org/r/20251204-topic-am33-evm-oftree-v2026-01-v3-0-3d1566ce4dc7@baylibre.com
>> 
>> Changes in v3:
>> - Add patch to unify all config variants for the am335x-evm and similar
>>   boards. This also updates the upstream defconfig enablement patch to
>>   effectively switch all config variants to OF_UPSTREAM.
>> - Link to v2: https://lore.kernel.org/r/20251128-topic-am33-evm-oftree-v2026-01-v2-0-42a863304498@baylibre.com
>> 
>> Changes in v2:
>> - Most of the independent patches were extracted in smaller series
>> - Added patch to add vidconsole for am335x-evm
>> - Add chosen tick-timer to all devicetrees that are used with the
>>   am335x_evm_defconfig
>> - Link to v1: https://lore.kernel.org/r/20251118-topic-am33-evm-oftree-v2026-01-v1-0-91ce13c661e2@baylibre.com
>> 
>> ---
>> Markus Schneider-Pargmann (TI) (14):
>>       arm: dts: am335x-evm: Add backlight to the panel
>>       configs: am335x_evm_defconfig: Enable panel
>>       include: configs: am335x_evm: Enable vidconsole
>>       configs: am335x_evm: Enable SPL_OPTIMIZE_INLINING
>>       configs: am335x_evm: Unify evm board defconfigs
>>       am33xx: Avoid hard failure on USB probe issue
>>       arm: dts: am335x-*-u-boot: Add chosen tick-timer
>>       arm: dts: am335x-boneblack-u-boot: Add lcdc to all boot phases
>>       am33xx: Fix comment about config symbols
>>       am33xx: Support upstream devicetree USB device
>>       dm: core: Split SIMPLE_PM_BUS into phases
>>       configs: am335x_evm_defconfig: Switch to upstream devicetree
>>       arm: dts: am335x: Remove unused uboot devicetrees
>>       dm: core: Remove dependency on CLK
>> 
>>  arch/arm/dts/Makefile                              |  11 -
>>  arch/arm/dts/am335x-bone-common-u-boot.dtsi        |  14 +
>>  arch/arm/dts/am335x-bone-u-boot.dtsi               |   6 +
>>  arch/arm/dts/am335x-bone.dts                       |  23 -
>>  arch/arm/dts/am335x-boneblack-u-boot.dtsi          |  17 +
>>  arch/arm/dts/am335x-boneblack.dts                  | 174 -----
>>  arch/arm/dts/am335x-bonegreen-eco-u-boot.dtsi      |   6 +
>>  arch/arm/dts/am335x-bonegreen-eco.dts              |  53 --
>>  arch/arm/dts/am335x-bonegreen-u-boot.dtsi          |   6 +
>>  arch/arm/dts/am335x-bonegreen.dts                  |  14 -
>>  arch/arm/dts/am335x-evm-u-boot.dtsi                |   6 +
>>  arch/arm/dts/am335x-evm.dts                        | 766 ---------------------
>>  arch/arm/dts/am335x-evmsk-u-boot.dtsi              |   6 +
>>  arch/arm/dts/am335x-evmsk.dts                      | 730 --------------------
>>  arch/arm/dts/am335x-icev2-u-boot.dtsi              |   4 +
>>  arch/arm/dts/am335x-icev2.dts                      | 486 -------------
>>  arch/arm/dts/am335x-pocketbeagle-u-boot.dtsi       |   6 +
>>  arch/arm/dts/am335x-pocketbeagle.dts               | 237 -------
>>  arch/arm/dts/am335x-sancloud-bbe-common.dtsi       |  67 --
>>  .../am335x-sancloud-bbe-extended-wifi-u-boot.dtsi  |   6 +
>>  arch/arm/dts/am335x-sancloud-bbe-extended-wifi.dts | 113 ---
>>  arch/arm/dts/am335x-sancloud-bbe-lite.dts          |  50 --
>>  arch/arm/dts/am335x-sancloud-bbe.dts               |  53 --
>>  arch/arm/mach-omap2/am33xx/board.c                 |  23 +-
>>  configs/am335x_evm.config                          |  87 +++
>>  configs/am335x_evm_defconfig                       |  96 +--
>>  configs/am335x_evm_spiboot_defconfig               |  85 +--
>>  configs/am335x_hs_evm.config                       |  14 +
>>  configs/am335x_hs_evm_defconfig                    |  95 +--
>>  configs/am335x_hs_evm_uart_defconfig               |  94 +--
>>  drivers/core/Kconfig                               |  10 +-
>>  drivers/core/Makefile                              |   2 +-
>>  include/configs/am335x_evm.h                       |   2 +
>>  33 files changed, 227 insertions(+), 3135 deletions(-)
>> ---
>> base-commit: 1c1bfb1cf34bbb2a5717eb6995c55093279f9341
>> change-id: 20251118-topic-am33-evm-oftree-v2026-01-ea701e03f8cf
>> prerequisite-change-id: 20260410-topic-cpsw-switch-v2026-07-next-89e21f2d2446:v1
>> prerequisite-patch-id: 896e00f13956d28e056dd63764ad8906a0b626ef
>> prerequisite-patch-id: f612a9425d5a466c7585decbd8990d497a02cdfb
>> prerequisite-patch-id: 9b18f917297f98b76a75f3d16536283b4c1bc76b
>> prerequisite-patch-id: 2baa422fb10baa29bf4274a658eb7afba8c7b489
>> 
>> Best regards,
>> -- 
>> Markus Schneider-Pargmann (TI) <msp@baylibre.com>
>> 


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 289 bytes --]

      reply	other threads:[~2026-05-26  8:35 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-27  9:01 [PATCH v7 00/14] arm: am335x: Switch to upstream devicetree Markus Schneider-Pargmann (TI)
2026-04-27  9:01 ` [PATCH v7 01/14] arm: dts: am335x-evm: Add backlight to the panel Markus Schneider-Pargmann (TI)
2026-04-27  9:01 ` [PATCH v7 02/14] configs: am335x_evm_defconfig: Enable panel Markus Schneider-Pargmann (TI)
2026-04-27  9:01 ` [PATCH v7 03/14] include: configs: am335x_evm: Enable vidconsole Markus Schneider-Pargmann (TI)
2026-04-27  9:01 ` [PATCH v7 04/14] configs: am335x_evm: Enable SPL_OPTIMIZE_INLINING Markus Schneider-Pargmann (TI)
2026-04-27  9:01 ` [PATCH v7 05/14] configs: am335x_evm: Unify evm board defconfigs Markus Schneider-Pargmann (TI)
2026-04-27  9:01 ` [PATCH v7 06/14] am33xx: Avoid hard failure on USB probe issue Markus Schneider-Pargmann (TI)
2026-04-27  9:01 ` [PATCH v7 07/14] arm: dts: am335x-*-u-boot: Add chosen tick-timer Markus Schneider-Pargmann (TI)
2026-04-27  9:01 ` [PATCH v7 08/14] arm: dts: am335x-boneblack-u-boot: Add lcdc to all boot phases Markus Schneider-Pargmann (TI)
2026-04-27  9:01 ` [PATCH v7 09/14] am33xx: Fix comment about config symbols Markus Schneider-Pargmann (TI)
2026-04-27  9:01 ` [PATCH v7 10/14] am33xx: Support upstream devicetree USB device Markus Schneider-Pargmann (TI)
2026-04-27  9:01 ` [PATCH v7 11/14] dm: core: Split SIMPLE_PM_BUS into phases Markus Schneider-Pargmann (TI)
2026-04-27  9:01 ` [PATCH v7 12/14] configs: am335x_evm_defconfig: Switch to upstream devicetree Markus Schneider-Pargmann (TI)
2026-04-28  8:32   ` Kory Maincent
2026-04-27  9:01 ` [PATCH v7 13/14] arm: dts: am335x: Remove unused uboot devicetrees Markus Schneider-Pargmann (TI)
2026-04-28  8:41   ` Kory Maincent
2026-05-05 16:39     ` Tom Rini
2026-05-15 12:40       ` Markus Schneider-Pargmann
2026-04-27  9:01 ` [PATCH v7 14/14] dm: core: Remove dependency on CLK Markus Schneider-Pargmann (TI)
2026-04-28  8:42 ` [PATCH v7 00/14] arm: am335x: Switch to upstream devicetree Kory Maincent
2026-04-28 10:14   ` Markus Schneider-Pargmann
2026-05-18 18:22 ` Tom Rini
2026-05-26  7:47   ` Markus Schneider-Pargmann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DISFXKXECKYM.2MZF42U82288S@baylibre.com \
    --to=msp@baylibre.com \
    --cc=afd@ti.com \
    --cc=andre.przywara@arm.com \
    --cc=anshuld@ti.com \
    --cc=basharath@couthit.com \
    --cc=bernhard.messerklinger@at.abb.com \
    --cc=briansune@gmail.com \
    --cc=clamor95@gmail.com \
    --cc=contact@paulk.fr \
    --cc=emanuele.ghidoli@toradex.com \
    --cc=frieder.schrempf@kontron.de \
    --cc=hai.pham.ud@renesas.com \
    --cc=ion@agorria.com \
    --cc=jbx6244@gmail.com \
    --cc=jonasschwoebel@yahoo.de \
    --cc=kory.maincent@bootlin.com \
    --cc=marc.murphy@sancloud.com \
    --cc=marek.vasut+renesas@mailbox.org \
    --cc=michael@amarulasolutions.com \
    --cc=p-bhagat@ti.com \
    --cc=parth.pancholi@toradex.com \
    --cc=parvathi@couthit.com \
    --cc=patrice.chotard@foss.st.com \
    --cc=patrick.delaunay@foss.st.com \
    --cc=paul.barker@sancloud.com \
    --cc=peng.fan@nxp.com \
    --cc=ravi@prevas.dk \
    --cc=romain.gantois@bootlin.com \
    --cc=sjg@chromium.org \
    --cc=tien.fong.chee@altera.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox