Re: [PATCH v7] SATA: OCTEON: support SATA on OCTEON platform

From: Rob Herring
Date: Mon Feb 08 2016 - 12:42:49 EST


On Wed, Feb 03, 2016 at 05:35:15PM +0000, Zubair Lutfullah Kakakhel wrote:
> From: Aleksey Makarov <aleksey.makarov@xxxxxxxxxxxxxxxxxx>
>
> The OCTEON SATA controller is currently found on cn71XX devices.
>
> Cc: Arnd Bergmann <arnd@xxxxxxxx>
> Acked-by: Hans de Goede <hdegoede@xxxxxxxxxx>
> Signed-off-by: David Daney <david.daney@xxxxxxxxxx>
> Signed-off-by: Vinita Gupta <vgupta@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Aleksey Makarov <aleksey.makarov@xxxxxxxxxx>
> Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@xxxxxxxxxx>
>
> ---
> Changes in v7
> - Rebase to v4.5-rc2
> - Use #defines instead of __BITFIELD
> - Add sign off from Zubair
>
> Changes in v6
> - Rebase to v4.5-rc1
> - Tested on utm8 by rhino labs. CN7130
>
> Changes in v5:
> - Sparse warnings are fixed
> - Device tree docs are improved
>
> Changes in v4:
> - The call to dma_coerce_mask_and_coherent() was removed as suggested
> by Arnd Bergmann dma_mask and coherent_dma_mask are actually set
> in the ahci_platform_init_host() (libahci_platform.c)
>
> Changes in v3:
> - Rebased to v4.0-rc2
> - Cosmetic changes
>
> Changes in v2:
> - The driver was rewritten as a driver for the UCTL SATA controller glue.
> It allowed to get rid of the most changes in ahci_platform.c
> - Documentation for the device tree bindings was fixed.
> ---
> .../devicetree/bindings/ata/ahci-platform.txt | 1 +
> .../devicetree/bindings/mips/cavium/sata-uctl.txt | 42 +++++++++

Acked-by: Rob Herring <robh@xxxxxxxxxx>

> drivers/ata/Kconfig | 9 ++
> drivers/ata/Makefile | 1 +
> drivers/ata/ahci_platform.c | 1 +
> drivers/ata/sata_octeon.c | 105 +++++++++++++++++++++
> 6 files changed, 159 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/mips/cavium/sata-uctl.txt
> create mode 100644 drivers/ata/sata_octeon.c