board-8064: Add necessary board support for SATA
Following changes are required in board files to
support SATA on APQ8064 CDP and MPQ8064 HRD.
1) Clocks:
- SATA controller and PHY needs following clocks
for correct operation:
- AHB and AXI interface clocks
- RX out-of-band signalling clock
- PHY reference clock
- PHY configuration clock
2) Regulators:
- SATA clock generator block is powered by an external
3.3V supply which is controlled by a PMIC MPP4 pin.
- MPQ8064 HRD supports port multiplier (PMP) which is
powered by PM8921 S4 regulator.
3) Platform device:
- The MSM SATA device is added as a platform device
with necessary resources - memory mapped i/o and irq number.
Change-Id: Ie4429e976059f2fcf306d5b8426a11e171a5b3c1
Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
diff --git a/arch/arm/mach-msm/devices.h b/arch/arm/mach-msm/devices.h
index 2339706..3046db7 100644
--- a/arch/arm/mach-msm/devices.h
+++ b/arch/arm/mach-msm/devices.h
@@ -1,7 +1,7 @@
/* linux/arch/arm/mach-msm/devices.h
*
* Copyright (C) 2008 Google, Inc.
- * Copyright (c) 2009-2012, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2009-2013, The Linux Foundation. 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
@@ -95,6 +95,7 @@
extern struct platform_device apq8064_device_ssbi_pmic1;
extern struct platform_device apq8064_device_ssbi_pmic2;
extern struct platform_device apq8064_device_cache_erp;
+extern struct platform_device apq8064_device_sata;
extern struct platform_device msm9615_device_uart_gsbi4;
extern struct platform_device msm9615_device_qup_i2c_gsbi5;