public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 00/14] dm: sata: mmc: Convert a sunxi board to driver model for MMC, SATA
@ 2017-06-19 17:11 Simon Glass
  2017-06-19 17:11 ` [U-Boot] [PATCH 01/14] ahci: Support non-PCI controllers Simon Glass
                   ` (14 more replies)
  0 siblings, 15 replies; 36+ messages in thread
From: Simon Glass @ 2017-06-19 17:11 UTC (permalink / raw)
  To: u-boot

At present SCSI support for driver model works only with PCI controllers.

This series makes the following changes:

- Adjusts SATA/AHCI support to work with non-PCI controllers
- Allows driver model to be used for MMC in U-Boot proper without
requiring it to be used in SPL
- Adjusts sunxi MMC and SATA drivers to support driver model
- Enables this on a single board (Linksprite_pcDuino3)

Even with this series the AHCI uclass still does not have any operations.
This will be needed for drivers which do not use SCSI. Further work is
needed to complete this.


Simon Glass (14):
  ahci: Support non-PCI controllers
  dm: mmc: Allow disabling driver model in SPL
  fdt: Correct fdt_get_base_address()
  dm: scsi: Drop duplicate SCSI and DM_SCSI options
  dm: ahci: Correct uclass private data
  dm: mmc: sunxi: Rename struct sunxi_mmc_host to sunxi_mmc_priv
  dm: mmc: sunxi: Rename mmchost to priv
  dm: mmc: sunxi: Pass private data around explicitly
  dm: mmc: sunxi: Drop mmc_clk_io_on()
  dm: mmc: sunxi: Add support for driver model
  dm: scsi: Don't scan the SCSI bus when probing
  dm: sunxi: sata: Don't build sata support into SPL
  dm: sata: sunxi: Add support for driver model
  dm: sunxi: Move Linksprite_pcDuino3 to use DM for MMC, SATA

 arch/arm/dts/sun7i-a20-pcduino3.dts   |   1 -
 arch/x86/cpu/ivybridge/sata.c         |   2 +-
 board/sunxi/Makefile                  |   2 +
 board/sunxi/ahci.c                    |  61 +++++-
 common/fdt_support.c                  |   7 +-
 common/spl/spl_mmc.c                  |   4 +-
 configs/Linksprite_pcDuino3_defconfig |   7 +-
 drivers/ata/Kconfig                   |  18 --
 drivers/ata/ahci-uclass.c             |   2 +
 drivers/ata/ahci.c                    |  33 ++--
 drivers/block/Kconfig                 |  12 ++
 drivers/block/Makefile                |   4 +-
 drivers/mmc/Kconfig                   |  21 ++
 drivers/mmc/Makefile                  |   4 +-
 drivers/mmc/mmc-uclass.c              |   6 +-
 drivers/mmc/mmc.c                     |  28 +--
 drivers/mmc/mmc_legacy.c              |   2 +-
 drivers/mmc/mmc_private.h             |   6 +-
 drivers/mmc/omap_hsmmc.c              |  20 +-
 drivers/mmc/sunxi_mmc.c               | 360 +++++++++++++++++++++++-----------
 drivers/scsi/scsi.c                   |   2 +-
 include/ahci.h                        |  14 +-
 include/blk.h                         |   4 +-
 include/mmc.h                         |  12 +-
 24 files changed, 431 insertions(+), 201 deletions(-)

-- 
2.13.1.518.g3df882009-goog

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

end of thread, other threads:[~2017-08-22 19:57 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-19 17:11 [U-Boot] [PATCH 00/14] dm: sata: mmc: Convert a sunxi board to driver model for MMC, SATA Simon Glass
2017-06-19 17:11 ` [U-Boot] [PATCH 01/14] ahci: Support non-PCI controllers Simon Glass
2017-06-19 17:11 ` [U-Boot] [PATCH 02/14] dm: mmc: Allow disabling driver model in SPL Simon Glass
2017-06-19 17:11 ` [U-Boot] [PATCH 03/14] fdt: Correct fdt_get_base_address() Simon Glass
2017-06-19 17:11 ` [U-Boot] [PATCH 04/14] dm: scsi: Drop duplicate SCSI and DM_SCSI options Simon Glass
2017-06-19 17:11 ` [U-Boot] [PATCH 05/14] dm: ahci: Correct uclass private data Simon Glass
2017-06-19 17:11 ` [U-Boot] [PATCH 06/14] dm: mmc: sunxi: Rename struct sunxi_mmc_host to sunxi_mmc_priv Simon Glass
2017-06-19 17:11 ` [U-Boot] [PATCH 07/14] dm: mmc: sunxi: Rename mmchost to priv Simon Glass
2017-06-19 17:11 ` [U-Boot] [PATCH 08/14] dm: mmc: sunxi: Pass private data around explicitly Simon Glass
2017-06-19 17:11 ` [U-Boot] [PATCH 09/14] dm: mmc: sunxi: Drop mmc_clk_io_on() Simon Glass
2017-06-19 17:11 ` [U-Boot] [PATCH 10/14] dm: mmc: sunxi: Add support for driver model Simon Glass
2017-06-21  7:31   ` Maxime Ripard
2017-07-04 19:33     ` Simon Glass
2017-07-05 14:57       ` Maxime Ripard
2017-07-05 20:14         ` Maxime Ripard
2017-07-14 13:47           ` Simon Glass
2017-07-17  9:26             ` Maxime Ripard
2017-07-28  4:19               ` Simon Glass
2017-07-28  5:03                 ` Suneel Garapati
2017-07-28 18:44                   ` Simon Glass
2017-07-28 21:34                     ` Suneel Garapati
2017-07-31 14:45                       ` Simon Glass
2017-07-28 16:08                 ` Maxime Ripard
2017-07-28 20:15                   ` Siarhei Siamashka
2017-08-22 19:57                     ` Maxime Ripard
2017-06-19 17:11 ` [U-Boot] [PATCH 11/14] dm: scsi: Don't scan the SCSI bus when probing Simon Glass
2017-06-19 17:11 ` [U-Boot] [PATCH 12/14] dm: sunxi: sata: Don't build sata support into SPL Simon Glass
2017-06-19 17:11 ` [U-Boot] [PATCH 13/14] dm: sata: sunxi: Add support for driver model Simon Glass
2017-06-19 17:11 ` [U-Boot] [PATCH 14/14] dm: sunxi: Move Linksprite_pcDuino3 to use DM for MMC, SATA Simon Glass
2017-06-20  6:45   ` Maxime Ripard
2017-06-20 18:26     ` Simon Glass
2017-06-21  7:18       ` Maxime Ripard
2017-07-04 19:33         ` Simon Glass
2017-07-02  1:32 ` [U-Boot] [PATCH 00/14] dm: sata: mmc: Convert a sunxi board to driver model " Simon Glass
2017-07-03 20:35   ` Maxime Ripard
2017-07-04 19:33     ` Simon Glass

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