diff options
| author | Yunbo Wang <yunbow@nvidia.com> | 2018-04-11 21:12:56 -0400 |
|---|---|---|
| committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-05-10 17:53:10 -0400 |
| commit | 3e03defd5e1a86b05097949a1eb39a140fbe71d7 (patch) | |
| tree | 44f3c0fd27fba3106016afdbd376c957e7c7a977 /include/linux/platform_data | |
| parent | 10625366899cc87b087222fc796dfe60f1daddf8 (diff) | |
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 <yunbow@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1693287
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/tegra-ahci-shield.h | 33 |
1 files changed, 33 insertions, 0 deletions
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 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2014-2018, NVIDIA Corporation. All rights reserved. | ||
| 3 | * | ||
| 4 | * This software is licensed under the terms of the GNU General Public | ||
| 5 | * License version 2, as published by the Free Software Foundation, and | ||
| 6 | * may be copied, distributed, and modified under those terms. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * include/linux/platform_data/tegra_ahci.h | ||
| 14 | * | ||
| 15 | * | ||
| 16 | */ | ||
| 17 | |||
| 18 | #ifndef __MACH_TEGRA_AHCI_PDATA_H | ||
| 19 | #define __MACH_TEGRA_AHCI_PDATA_H | ||
| 20 | |||
| 21 | struct tegra_ahci_platform_data { | ||
| 22 | s16 gen2_rx_eq; | ||
| 23 | int pexp_gpio_high; | ||
| 24 | int pexp_gpio_low; | ||
| 25 | }; | ||
| 26 | |||
| 27 | struct tegra_sata_soc_data { | ||
| 28 | char * const *sata_regulator_names; | ||
| 29 | int num_sata_regulators; | ||
| 30 | int (*controller_init) (void *, int); | ||
| 31 | }; | ||
| 32 | |||
| 33 | #endif | ||
