sunxi: Enable DM_MMC for U-Boot proper
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest25 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/25 | ARM: dts: sun4i: Sync A10 MMC nodes from Linuxarch/ include/ | +232 | 3 replies | |
| 2/25 | ARM: dts: sun4i: Sync A10 board dts mmc0 node from Linuxarch/ arch/ arch/ +17 more | +20 | 0 replies | |
| 3/25 | ARM: dts: sun4i: Add mmc0 node for iNet 3Farch/ | +9 | 0 replies | |
| 4/25 | ARM: dts: sun4i: Add mmc0 node for iNet 3Warch/ | +9 | 0 replies | |
| 5/25 | dm: mmc: sunxi: Refactor ahb gate and clock setupdrivers/ | +28 | 0 replies | |
| 6/25 | dm: mmc: sunxi: Add ahb reset0 register writedrivers/ | +33 | 5 replies | |
| 7/25 | ARM: dts: sun7i: Sync A20 MMC nodes from Linuxarch/ include/ | +87 | 0 replies | |
| 8/25 | ARM: dts: sun7i: Add mmc0 node for Primo73 tabletarch/ | +10 | 3 replies | |
| 9/25 | ARM: dts: sun7i: Add mmc0 node for Ainol AW1arch/ | +13 | 0 replies | |
| 10/25 | ARM: dts: sun7i: Add mmc0 node for Mele M5arch/ | +12 | 0 replies | |
| 11/25 | ARM: dts: sun7i: Add mmc0 node for Toptech BD1078arch/ | +13 | 0 replies | |
| 12/25 | sunxi: A20: Enable DM_MMCarch/ | +1 | 0 replies | |
| 13/25 | mmc: sunxi: Add mmc, emmc H5/A64 compatibledrivers/ | +4 | 0 replies | |
| 14/25 | sunxi: H3_H5: Enable DM_MMCarch/ | +1 | 0 replies | |
| 15/25 | sunxi: A64: Enable DM_MMCarch/ | +1 | 0 replies | |
| 16/25 | ARM: dts: sun8i: Update A83T dts(i) files from Linuxarch/ arch/ arch/ +5 more | +2382 | 0 replies | |
| 17/25 | mmc: sunxi: Add A83T emmc compatibledrivers/ | +2 | 0 replies | |
| 18/25 | sunxi: A83T: Enable DM_MMCarch/ | +1 | 0 replies | |
| 19/25 | ARM: dts: sun8i: Update R40 dts(i) files from Linuxarch/ arch/ arch/ | +830 | 0 replies | |
| 20/25 | sunxi: V40: Enable DM_MMCarch/ | +1 | 0 replies | |
| 21/25 | fastboot: sunxi: Update fastboot mmc default deviceconfigs/ configs/ configs/ +1 more | +5 | 9 replies | |
| 21/25 | fastboot: sunxi: Update fastboot mmc default device | +0 | 1 reply | |
| 22/25 | env: sunxi: Update default env fat deviceconfigs/ configs/ configs/ +8 more | +12 | 3 replies | |
| 22/25 | env: sunxi: Update default env fat device | +0 | 0 replies | |
| 23/25 | sunxi: Use mmc_bootdev=2 for MMC2 bootboard/ include/ | +4 | 3 replies | |
| 24/25 | sunxi: A13/A31: Enable DM_MMCarch/ | +2 | 0 replies | |
| 25/25 | sunxi: A23/A33/V3S: Enable DM_MMCarch/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 00/25] sunxi: Enable DM_MMC for U-Boot proper
Enabling DM_MMC is not straight forward for Allwinner SoC's to make proper compatibility in mmc driver vs DT nodes.
Existing dm code for ahb gate clock will be suitable to handle sun4i,5i,6i and 7i U-Boot specific mmc dt nodes, which are different from Linux in terms of clocks phandle notation.
U-Boot DT clocks phandle follow direct ahb and clock address on node definition with specific bit position, but Linux clocks phandle follow macros to define AHB and MMC clocks so-that the ccu driver will set the bits accordingly.
Clocks phandle notations in U-Boot for higher Allwinner SoC start from sun8i, sun50i are following Linux notation so-that both Linux and U-Boot can have common node definition.
This series will address the ahb gate, clock setup to handle all type of Allwinner SoCs. and sync mmc node definitions from Linux for sun4i and sun5i.
Note:
- sun6i, A23, A33, V3S were untested these need to have a closer look on dt nodes along with default ENV_FAT device.
All these changes available at u-boot-sunxi/next
Let me know if any questions or missings,
Jagan.
Jagan Teki (25):
ARM: dts: sun4i: Sync A10 MMC nodes from Linux
ARM: dts: sun4i: Sync A10 board dts mmc0 node from Linux
ARM: dts: sun4i: Add mmc0 node for iNet 3F
ARM: dts: sun4i: Add mmc0 node for iNet 3W
dm: mmc: sunxi: Refactor ahb gate and clock setup
dm: mmc: sunxi: Add ahb reset0 register write
ARM: dts: sun7i: Sync A20 MMC nodes from Linux
ARM: dts: sun7i: Add mmc0 node for Primo73 tablet
ARM: dts: sun7i: Add mmc0 node for Ainol AW1
ARM: dts: sun7i: Add mmc0 node for Mele M5
ARM: dts: sun7i: Add mmc0 node for Toptech BD1078
sunxi: A20: Enable DM_MMC
mmc: sunxi: Add mmc, emmc H5/A64 compatible
sunxi: H3_H5: Enable DM_MMC
sunxi: A64: Enable DM_MMC
ARM: dts: sun8i: Update A83T dts(i) files from Linux
mmc: sunxi: Add A83T emmc compatible
sunxi: A83T: Enable DM_MMC
ARM: dts: sun8i: Update R40 dts(i) files from Linux
sunxi: V40: Enable DM_MMC
fastboot: sunxi: Update fastboot mmc default device
env: sunxi: Update default env fat device
sunxi: Use mmc_bootdev=2 for MMC2 boot
[DO NOT MERGE] sunxi: A13/A31: Enable DM_MMC [DO NOT MERGE] sunxi: A23/A33/V3S: Enable DM_MMC
arch/arm/dts/axp81x.dtsi | 169 ++++ arch/arm/dts/sun4i-a10-a1000.dts | 5 +- arch/arm/dts/sun4i-a10-ba10-tvbox.dts | 5 +- arch/arm/dts/sun4i-a10-chuwi-v7-cw0825.dts | 5 +- arch/arm/dts/sun4i-a10-cubieboard.dts | 5 +- arch/arm/dts/sun4i-a10-dserve-dsrv9703c.dts | 5 +- arch/arm/dts/sun4i-a10-gemei-g9.dts | 5 +- arch/arm/dts/sun4i-a10-hackberry.dts | 5 +- arch/arm/dts/sun4i-a10-hyundai-a7hd.dts | 5 +- arch/arm/dts/sun4i-a10-inet-3f.dts | 9 + arch/arm/dts/sun4i-a10-inet-3w.dts | 9 + arch/arm/dts/sun4i-a10-inet1.dts | 5 +- arch/arm/dts/sun4i-a10-inet97fv2.dts | 5 +- arch/arm/dts/sun4i-a10-inet9f-rev03.dts | 5 +- .../dts/sun4i-a10-itead-iteaduino-plus.dts | 5 +- arch/arm/dts/sun4i-a10-jesurun-q5.dts | 5 +- arch/arm/dts/sun4i-a10-marsboard.dts | 5 +- arch/arm/dts/sun4i-a10-mini-xplus.dts | 5 +- arch/arm/dts/sun4i-a10-mk802.dts | 5 +- arch/arm/dts/sun4i-a10-mk802ii.dts | 5 +- arch/arm/dts/sun4i-a10-olinuxino-lime.dts | 5 +- arch/arm/dts/sun4i-a10-pcduino.dts | 5 +- arch/arm/dts/sun4i-a10-pov-protab2-ips9.dts | 5 +- arch/arm/dts/sun4i-a10.dtsi | 112 +-- arch/arm/dts/sun7i-a20-ainol-aw1.dts | 13 + arch/arm/dts/sun7i-a20-m5.dts | 12 + arch/arm/dts/sun7i-a20-primo73.dts | 20 +- .../dts/sun7i-a20-yones-toptech-bd1078.dts | 13 + arch/arm/dts/sun7i-a20.dtsi | 102 +- .../dts/sun8i-a83t-allwinner-h8homlet-v2.dts | 195 +++- arch/arm/dts/sun8i-a83t-bananapi-m3.dts | 298 +++++- arch/arm/dts/sun8i-a83t-cubietruck-plus.dts | 322 ++++++- arch/arm/dts/sun8i-a83t-tbs-a711.dts | 355 ++++++- arch/arm/dts/sun8i-a83t.dtsi | 885 ++++++++++++++++-- arch/arm/dts/sun8i-r40-bananapi-m2-ultra.dts | 197 +++- arch/arm/dts/sun8i-r40.dtsi | 616 +++++++++++- arch/arm/dts/sun8i-v40-bananapi-m2-berry.dts | 50 + arch/arm/mach-sunxi/Kconfig | 10 + board/sunxi/board.c | 2 +- configs/A20-OLinuXino-Lime2-eMMC_defconfig | 2 + configs/A20-OLinuXino_MICRO-eMMC_defconfig | 1 + configs/A20-OLinuXino_MICRO_defconfig | 1 + configs/A20-Olimex-SOM-EVB_defconfig | 1 + configs/A20-Olimex-SOM204-EVB-eMMC_defconfig | 1 + configs/Mele_M3_defconfig | 1 + configs/Orangepi_mini_defconfig | 1 + configs/Sinlinx_SinA33_defconfig | 2 + configs/Yones_Toptech_BD1078_defconfig | 1 + configs/amarula_a64_relic_defconfig | 2 + drivers/fastboot/Kconfig | 3 +- drivers/mmc/sunxi_mmc.c | 81 +- env/Kconfig | 3 +- include/configs/sunxi-common.h | 4 +- include/dt-bindings/clock/sun4i-a10-ccu.h | 202 ++++ include/dt-bindings/clock/sun7i-a20-ccu.h | 53 ++ include/dt-bindings/clock/sun8i-a83t-ccu.h | 140 +++ include/dt-bindings/reset/sun8i-a83t-ccu.h | 98 ++ 57 files changed, 3715 insertions(+), 371 deletions(-) create mode 100644 arch/arm/dts/axp81x.dtsi create mode 100644 include/dt-bindings/clock/sun4i-a10-ccu.h create mode 100644 include/dt-bindings/clock/sun7i-a20-ccu.h create mode 100644 include/dt-bindings/clock/sun8i-a83t-ccu.h create mode 100644 include/dt-bindings/reset/sun8i-a83t-ccu.h
Signature · 1 line
2.17.1