[U-Boot] [PATCH 0/7] *** SUBJECT HERE ***
make at marvell.com
make at marvell.com
Thu Mar 23 09:29:00 UTC 2017
From: Ken Ma <make at marvell.com>
*** BLURB HERE ***
1. Move base, max_lun and max_id such scsi generic data from platdata to uclass plat data;
2. Make scsi compatible for legacy SCSI devices and new SAS controller
- Introduce scsi bus DT node, scsi work as bus and scsi disks, scsi scanner and sata are
its children scsi device; this is similar to the case that spi bus manages spi flashes;
In such case, scsi bus probe should probe its children devices automatically;
- SAS controller can also be a scsi node as current.
3. Example with mvebu armada 3700 scsi bus node
Ken Ma (7):
scsi: move base, max_lun and max_id to uclass plat data
scsi: add children devices binding
scsi: call children devices' probe functions automatically
scsi: dt-bindings: add scsi device tree bindings
scsi: mvebu: add scsi driver
scsi: a3700: enable mvebu scsi driver
scsi: dts: a3700: add scsi node
arch/arm/dts/armada-3720-db.dts | 4 ++
arch/arm/dts/armada-37xx.dtsi | 16 +++++--
common/scsi.c | 2 +-
configs/mvebu_db-88f3720_defconfig | 2 +
.../scsi/marvell,mvebu-scsi.txt | 29 ++++++++++++
doc/device-tree-bindings/scsi/scsi-bus.txt | 22 +++++++++
drivers/block/Kconfig | 10 ++++
drivers/block/Makefile | 1 +
drivers/block/ahci.c | 2 +-
drivers/block/mvebu_scsi.c | 31 +++++++++++++
drivers/block/scsi-uclass.c | 54 +++++++++++++++++++++-
11 files changed, 165 insertions(+), 8 deletions(-)
create mode 100644 doc/device-tree-bindings/scsi/marvell,mvebu-scsi.txt
create mode 100644 doc/device-tree-bindings/scsi/scsi-bus.txt
create mode 100644 drivers/block/mvebu_scsi.c
--
1.9.1
More information about the U-Boot
mailing list