From 3e03defd5e1a86b05097949a1eb39a140fbe71d7 Mon Sep 17 00:00:00 2001 From: Yunbo Wang Date: Wed, 11 Apr 2018 18:12:56 -0700 Subject: ata: add tegra shield ahci driver This is a separate driver specifically for Shield T210 platforms, and is ported from old kernel 3.10. bug 2100724 Change-Id: Iab57c156d4011997d45b17987dce0b1f84eb0ee8 Signed-off-by: Yunbo Wang Reviewed-on: https://git-master.nvidia.com/r/1693287 GVS: Gerrit_Virtual_Submit Reviewed-by: Vinayak Pane Reviewed-by: mobile promotions Tested-by: mobile promotions --- include/linux/platform_data/tegra-ahci-shield.h | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 include/linux/platform_data/tegra-ahci-shield.h (limited to 'include/linux/platform_data') diff --git a/include/linux/platform_data/tegra-ahci-shield.h b/include/linux/platform_data/tegra-ahci-shield.h new file mode 100644 index 000000000..d6d053347 --- /dev/null +++ b/include/linux/platform_data/tegra-ahci-shield.h @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2014-2018, NVIDIA Corporation. All rights reserved. + * + * This software is licensed under the terms of the GNU General Public + * License version 2, as published by the Free Software Foundation, and + * may be copied, distributed, and modified under those terms. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * include/linux/platform_data/tegra_ahci.h + * + * + */ + +#ifndef __MACH_TEGRA_AHCI_PDATA_H +#define __MACH_TEGRA_AHCI_PDATA_H + +struct tegra_ahci_platform_data { + s16 gen2_rx_eq; + int pexp_gpio_high; + int pexp_gpio_low; +}; + +struct tegra_sata_soc_data { + char * const *sata_regulator_names; + int num_sata_regulators; + int (*controller_init) (void *, int); +}; + +#endif -- cgit v1.2.2