Pull request: u-boot-sunxi/master for 2023.07

Andre Przywara andre.przywara at arm.com
Mon May 1 01:18:33 CEST 2023


Hi Tom,

please pull the second part of the sunxi pull request for this cycle.
Another bunch of patches that replace old-school U-Boot hacks with
proper DM based code, this time for the raw NAND flash driver, and the
USB PHY VBUS detection code. Plus two smaller patches that were sitting
in my inbox for a while.

Gitlab CI passed. In lack of some supported board with NAND flash I
couldn't really test this part, but apparently this was tested by the
reviewer. I briefly ran the branch on some boards with USB-OTG, and
this still worked.

Thanks,
Andre

========================
The following changes since commit c9c2c95d4cd27fe0cd41fe13a863899d268f973c:

  Merge branch '2023-04-27-introduce-nvm-xip-block-storage-emulation' (2023-04-27 19:22:38 -0400)

are available in the Git repository at:

  https://source.denx.de/u-boot/custodians/u-boot-sunxi.git master

for you to fetch changes up to 25bc7bfc30532098d9207783ff2ca45cdc5a0161:

  Kconfig: Remove an impossible condition (2023-04-28 01:32:05 +0100)

----------------------------------------------------------------
Samuel Holland (12):
      sunxi: binman: Fix U-Boot offset when SPL is not 32 KiB
      clk: sunxi: Add NAND clocks and resets
      pinctrl: sunxi: Add NAND pinmuxes
      mtd: nand: sunxi: Remove an unnecessary check
      mtd: nand: sunxi: Convert from fdtdec to ofnode
      mtd: nand: sunxi: Convert to the driver model
      mtd: nand: sunxi: Pass the device to the init function
      power: regulator: Add a driver for the AXP USB power supply
      sunxi: Switch to PMIC USB power supply VBUS detection
      gpio: axp/sunxi: Remove virtual VBUS detection GPIO
      phy: sun4i-usb: Do not drive VBUS with external VBUS present
      Kconfig: Remove an impossible condition

 Kconfig                                        |   2 +-
 arch/arm/dts/sunxi-u-boot.dtsi                 |   6 +-
 arch/arm/include/asm/arch-sunxi/gpio.h         |   1 -
 board/sunxi/board.c                            |   5 +-
 configs/A33-OLinuXino_defconfig                |   2 +-
 configs/Ainol_AW1_defconfig                    |   2 +-
 configs/Cubieboard4_defconfig                  |   3 +-
 configs/Cubietruck_plus_defconfig              |   2 +-
 configs/MSI_Primo81_defconfig                  |   2 +-
 configs/Merrii_A80_Optimus_defconfig           |   3 +-
 configs/Nintendo_NES_Classic_Edition_defconfig |   2 +-
 configs/Sinovoip_BPI_M3_defconfig              |   2 +-
 configs/Wexler_TAB7200_defconfig               |   2 +-
 configs/Yones_Toptech_BD1078_defconfig         |   2 +-
 configs/Yones_Toptech_BS1078_V2_defconfig      |   2 +-
 configs/colorfly_e708_q1_defconfig             |   2 +-
 configs/ga10h_v1_1_defconfig                   |   2 +-
 configs/gt90h_v4_defconfig                     |   2 +-
 configs/iNet_D978_rev2_defconfig               |   2 +-
 configs/inet86dz_defconfig                     |   2 +-
 configs/inet_q972_defconfig                    |   2 +-
 configs/polaroid_mid2407pxe03_defconfig        |   2 +-
 configs/polaroid_mid2809pxe04_defconfig        |   2 +-
 configs/q8_a23_tablet_800x480_defconfig        |   2 +-
 configs/q8_a33_tablet_1024x600_defconfig       |   2 +-
 configs/q8_a33_tablet_800x480_defconfig        |   2 +-
 configs/tbs_a711_defconfig                     |   2 +-
 drivers/clk/sunxi/clk_a10.c                    |   2 +
 drivers/clk/sunxi/clk_a10s.c                   |   2 +
 drivers/clk/sunxi/clk_a23.c                    |   3 +
 drivers/clk/sunxi/clk_a31.c                    |   6 +
 drivers/clk/sunxi/clk_a64.c                    |   3 +
 drivers/clk/sunxi/clk_a80.c                    |   8 ++
 drivers/clk/sunxi/clk_a83t.c                   |   3 +
 drivers/clk/sunxi/clk_h3.c                     |   3 +
 drivers/clk/sunxi/clk_h6.c                     |   5 +
 drivers/clk/sunxi/clk_h616.c                   |   5 +
 drivers/clk/sunxi/clk_r40.c                    |   3 +
 drivers/gpio/axp_gpio.c                        |  21 +--
 drivers/gpio/sunxi_gpio.c                      |   6 +-
 drivers/mtd/nand/raw/sunxi_nand.c              | 173 +++++++++++--------------
 drivers/phy/allwinner/phy-sun4i-usb.c          |   6 +
 drivers/pinctrl/sunxi/pinctrl-sunxi.c          |  13 ++
 drivers/power/regulator/Kconfig                |   7 +
 drivers/power/regulator/Makefile               |   1 +
 drivers/power/regulator/axp_usb_power.c        |  49 +++++++
 include/axp209.h                               |   1 -
 include/axp221.h                               |   1 -
 include/axp809.h                               |   1 -
 include/axp818.h                               |   1 -
 include/fdtdec.h                               |   1 -
 lib/fdtdec.c                                   |   1 -
 52 files changed, 235 insertions(+), 152 deletions(-)
 create mode 100644 drivers/power/regulator/axp_usb_power.c


More information about the U-Boot mailing list