From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mugunthan V N Date: Mon, 18 Jan 2016 14:17:37 +0530 Subject: [U-Boot] [PATCH 0/6] driver model bring-up of sata device on dra72 and dra74 evm Message-ID: <1453106863-18128-1-git-send-email-mugunthanvnm@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This patch series enables sata driver to adopt driver model. This has been tested on the following evms (logs [1]) by loading kernel and dtb from sata hard-disk. * dra72 evm * dra74 evm Also pushed a branch for testing [2] [1] - http://pastebin.ubuntu.com/14565924/ [2] - git://git.ti.com/~mugunthanvnm/ti-u-boot/mugunth-ti-u-boot.git dm-sata Mugunthan V N (6): arm: omap: sata: move enable sata clocks to enable_basic_clocks() dm: implement a SATA uclass arm: omap-common: sata: prepare driver for DM conversion drivers: block: dwc_ahci: Implement a driver for Synopsys DWC sata device defconfig: dra74_evm: enable sata driver model defconfig: dra72_evm: enable sata driver model arch/arm/cpu/armv7/omap-common/sata.c | 38 ++++++------------- arch/arm/cpu/armv7/omap5/hw_data.c | 12 ++++++ configs/dra72_evm_defconfig | 2 + configs/dra74_evm_defconfig | 2 + drivers/block/Kconfig | 17 +++++++++ drivers/block/Makefile | 3 ++ drivers/block/dwc_ahci.c | 71 +++++++++++++++++++++++++++++++++++ drivers/block/sata-uclass.c | 69 ++++++++++++++++++++++++++++++++++ include/dm/uclass-id.h | 1 + include/sata.h | 2 + 10 files changed, 190 insertions(+), 27 deletions(-) create mode 100644 drivers/block/dwc_ahci.c create mode 100644 drivers/block/sata-uclass.c -- 2.7.0.rc3