public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/8] PinePhone automatic device tree selection
@ 2020-09-03  5:07 Samuel Holland
  2020-09-03  5:07 ` [PATCH 1/8] sunxi: board: Use a more descriptive variable name Samuel Holland
                   ` (10 more replies)
  0 siblings, 11 replies; 27+ messages in thread
From: Samuel Holland @ 2020-09-03  5:07 UTC (permalink / raw)
  To: u-boot

All,

This patch series implements a feature to automatically choose the
right PinePhone device tree by probing the hardware. It then extends
the functionality to pass the chosen DTB name to the boot command.
Finally, I add device trees and a defconfig for the PinePhone.

I'm aware that Andre has concerns about updating the device tree files.
It would be unfortunate for this to block new hardware support. Since
the device trees are primarily maintained in the Linux repository, and
only copied here, I believe compatibility concerns should be directed
there, not here. In any case, the first 6 patches can be merged
independently, so I request that they be merged even if patches 7-8 are
not. I am mainly including the last two patches for ease of testing.

Samuel Holland (8):
  sunxi: board: Use a more descriptive variable name
  sunxi: board: Add a helper to get the SPL DT name
  sunxi: board: Simplify Pine A64 DT selection logic
  sunxi: board: Add PinePhone DT selection logic
  sunxi: board: Save the chosen DT name in the SPL header
  sunxi: board: Set fdtfile to match the DT chosen by SPL
  sunxi: DT: A64: update device tree files
  sunxi: a64: Add a defconfig for the PinePhone

 arch/arm/dts/Makefile                         |   4 +
 arch/arm/dts/axp803.dtsi                      |  82 +--
 arch/arm/dts/sun50i-a64-amarula-relic.dts     | 109 +++-
 arch/arm/dts/sun50i-a64-bananapi-m64.dts      | 118 ++--
 arch/arm/dts/sun50i-a64-cpu-opp.dtsi          |  75 +++
 arch/arm/dts/sun50i-a64-nanopi-a64.dts        |  70 +--
 .../dts/sun50i-a64-oceanic-5205-5inmfd.dts    |  31 +-
 arch/arm/dts/sun50i-a64-olinuxino-emmc.dts    |  12 +-
 arch/arm/dts/sun50i-a64-olinuxino.dts         | 113 ++--
 arch/arm/dts/sun50i-a64-orangepi-win.dts      | 127 +++--
 arch/arm/dts/sun50i-a64-pine64-lts.dts        |   7 +-
 arch/arm/dts/sun50i-a64-pine64-plus.dts       |  52 +-
 arch/arm/dts/sun50i-a64-pine64.dts            |  97 ++--
 arch/arm/dts/sun50i-a64-pinebook-u-boot.dtsi  |  17 -
 arch/arm/dts/sun50i-a64-pinebook.dts          | 237 ++++++--
 arch/arm/dts/sun50i-a64-pinephone-1.0.dts     |  11 +
 arch/arm/dts/sun50i-a64-pinephone-1.1.dts     |  30 +
 arch/arm/dts/sun50i-a64-pinephone-1.2.dts     |  40 ++
 arch/arm/dts/sun50i-a64-pinephone.dtsi        | 429 ++++++++++++++
 arch/arm/dts/sun50i-a64-pinetab.dts           | 460 +++++++++++++++
 arch/arm/dts/sun50i-a64-sopine-baseboard.dts  | 113 ++--
 arch/arm/dts/sun50i-a64-sopine.dtsi           |  69 +--
 arch/arm/dts/sun50i-a64-teres-i-u-boot.dtsi   |  41 --
 arch/arm/dts/sun50i-a64-teres-i.dts           | 138 ++++-
 arch/arm/dts/sun50i-a64.dtsi                  | 532 ++++++++++++++----
 arch/arm/mach-sunxi/Kconfig                   |   7 +
 board/sunxi/board.c                           |  97 +++-
 configs/pinephone_defconfig                   |  12 +
 include/dt-bindings/clock/sun50i-a64-ccu.h    |   4 +-
 include/dt-bindings/clock/sun8i-de2.h         |   3 +
 include/dt-bindings/reset/sun8i-de2.h         |   1 +
 31 files changed, 2488 insertions(+), 650 deletions(-)
 create mode 100644 arch/arm/dts/sun50i-a64-cpu-opp.dtsi
 delete mode 100644 arch/arm/dts/sun50i-a64-pinebook-u-boot.dtsi
 create mode 100644 arch/arm/dts/sun50i-a64-pinephone-1.0.dts
 create mode 100644 arch/arm/dts/sun50i-a64-pinephone-1.1.dts
 create mode 100644 arch/arm/dts/sun50i-a64-pinephone-1.2.dts
 create mode 100644 arch/arm/dts/sun50i-a64-pinephone.dtsi
 create mode 100644 arch/arm/dts/sun50i-a64-pinetab.dts
 delete mode 100644 arch/arm/dts/sun50i-a64-teres-i-u-boot.dtsi
 create mode 100644 configs/pinephone_defconfig

-- 
2.26.2

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2020-10-24 16:50 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-03  5:07 [PATCH 0/8] PinePhone automatic device tree selection Samuel Holland
2020-09-03  5:07 ` [PATCH 1/8] sunxi: board: Use a more descriptive variable name Samuel Holland
2020-09-22  0:37   ` André Przywara
2020-09-03  5:07 ` [PATCH 2/8] sunxi: board: Add a helper to get the SPL DT name Samuel Holland
2020-09-22  0:38   ` André Przywara
2020-09-03  5:07 ` [PATCH 3/8] sunxi: board: Simplify Pine A64 DT selection logic Samuel Holland
2020-09-22  0:40   ` André Przywara
2020-09-03  5:07 ` [PATCH 4/8] sunxi: board: Add PinePhone " Samuel Holland
2020-09-22  0:41   ` André Przywara
2020-10-21 18:56   ` Jagan Teki
2020-10-22  1:38     ` Samuel Holland
2020-10-22  6:26       ` Jagan Teki
2020-10-22 15:50       ` Maxime Ripard
2020-09-03  5:07 ` [PATCH 5/8] sunxi: board: Save the chosen DT name in the SPL header Samuel Holland
2020-09-22  0:41   ` André Przywara
2020-09-22  1:12     ` Samuel Holland
2020-09-22  7:46       ` André Przywara
2020-09-03  5:07 ` [PATCH 6/8] sunxi: board: Set fdtfile to match the DT chosen by SPL Samuel Holland
2020-09-22  0:43   ` André Przywara
2020-09-22  1:33     ` Samuel Holland
2020-09-24 14:22       ` Andre Przywara
2020-09-03  5:07 ` [PATCH 7/8] sunxi: DT: A64: update device tree files Samuel Holland
2020-09-03  5:07 ` [PATCH 8/8] sunxi: a64: Add a defconfig for the PinePhone Samuel Holland
2020-09-03  7:31 ` [PATCH 0/8] PinePhone automatic device tree selection Maxime Ripard
2020-09-07  0:01 ` André Przywara
2020-10-24 16:50   ` Peter Robinson
2020-10-24 14:45 ` Jagan Teki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox