summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorXinyu Chen <xinyu.chen@freescale.com>2012-08-10 16:27:20 +0800
committerXinyu Chen <xinyu.chen@freescale.com>2012-08-10 16:27:20 +0800
commit14839768c2e0f5448f1767729a7fe5791cd4f3dd (patch)
tree9f69e695154d828ca8f6e81d76451843f9d543f4 /arch
parent76b225cc90ecdd50e67c4bdb79448973db49ead6 (diff)
parentf588fca89c529c559ef280a96b4c9143aec904bc (diff)
Merge remote branch 'fsl-linux-sdk/imx_3.0.35' into imx_3.0.35_android
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/configs/imx6_defconfig6
-rw-r--r--arch/arm/mach-mx6/board-mx6q_arm2.c11
-rw-r--r--arch/arm/mach-mx6/board-mx6q_sabreauto.c3
-rw-r--r--arch/arm/mach-mx6/board-mx6q_sabresd.c3
4 files changed, 17 insertions, 6 deletions
diff --git a/arch/arm/configs/imx6_defconfig b/arch/arm/configs/imx6_defconfig
index 181cf312d2b4..495cdf7ea588 100644
--- a/arch/arm/configs/imx6_defconfig
+++ b/arch/arm/configs/imx6_defconfig
@@ -1,6 +1,6 @@
#
# Automatically generated make config: don't edit
-# Linux/arm 3.0.15 Kernel Configuration
+# Linux/arm 3.0.35 Kernel Configuration
#
CONFIG_ARM=y
CONFIG_HAVE_PWM=y
@@ -314,6 +314,7 @@ CONFIG_MACH_MX6Q_SABREAUTO=y
# MX6 Options:
#
# CONFIG_IMX_PCIE is not set
+CONFIG_USB_EHCI_ARC_H1=y
# CONFIG_MX6_INTER_LDO_BYPASS is not set
CONFIG_ISP1504_MXC=y
# CONFIG_MXC_IRQ_PRIOR is not set
@@ -1622,7 +1623,7 @@ CONFIG_MXC_CAMERA_OV5642=m
CONFIG_MXC_TVIN_ADV7180=m
CONFIG_MXC_CAMERA_OV5640_MIPI=m
CONFIG_MXC_CAMERA_SENSOR_CLK=m
-CONFIG_MXC_IPU_PRP_VF_SDC=m
+CONFIG_MXC_IPU_DEVICE_QUEUE_SDC=m
CONFIG_MXC_IPU_PRP_ENC=m
CONFIG_MXC_IPU_CSI_ENC=m
CONFIG_VIDEO_MXC_OUTPUT=y
@@ -1938,7 +1939,6 @@ CONFIG_USB_OTG=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_ARC=y
CONFIG_USB_EHCI_ARC_OTG=y
-CONFIG_USB_EHCI_ARC_H1=y
# CONFIG_USB_EHCI_ARC_HSIC is not set
# CONFIG_USB_STATIC_IRAM is not set
CONFIG_USB_EHCI_ROOT_HUB_TT=y
diff --git a/arch/arm/mach-mx6/board-mx6q_arm2.c b/arch/arm/mach-mx6/board-mx6q_arm2.c
index 64cba5af1f08..98394c54d7d6 100644
--- a/arch/arm/mach-mx6/board-mx6q_arm2.c
+++ b/arch/arm/mach-mx6/board-mx6q_arm2.c
@@ -53,6 +53,9 @@
#include <linux/regulator/fixed.h>
#include <linux/mfd/max17135.h>
#include <sound/pcm.h>
+#include <linux/mxc_asrc.h>
+#include <linux/mfd/mxc-hdmi-core.h>
+
#include <mach/common.h>
#include <mach/hardware.h>
@@ -1411,7 +1414,7 @@ static void hdmi_init(int ipu_id, int disp_id)
mxc_iomux_set_gpr_register(3, 2, 2, hdmi_mux_setting);
/* Set HDMI event as SDMA event2 while Chip version later than TO1.2 */
- if ((mx6q_revision() > IMX_CHIP_REVISION_1_1))
+ if (hdmi_SDMA_check())
mxc_iomux_set_gpr_register(0, 0, 1, 1);
}
@@ -1569,8 +1572,14 @@ static const struct pm_platform_data mx6_arm2_pm_data __initconst = {
.suspend_exit = arm2_suspend_exit,
};
+static const struct asrc_p2p_params esai_p2p __initconst = {
+ .p2p_rate = 44100,
+ .p2p_width = ASRC_WIDTH_24_BIT,
+};
+
static struct mxc_audio_platform_data sab_audio_data = {
.sysclk = 16934400,
+ .priv = (void *)&esai_p2p,
};
static struct platform_device sab_audio_device = {
diff --git a/arch/arm/mach-mx6/board-mx6q_sabreauto.c b/arch/arm/mach-mx6/board-mx6q_sabreauto.c
index 4578ce1d003c..b8f609c136cc 100644
--- a/arch/arm/mach-mx6/board-mx6q_sabreauto.c
+++ b/arch/arm/mach-mx6/board-mx6q_sabreauto.c
@@ -57,6 +57,7 @@
#include <linux/regulator/fixed.h>
#include <linux/mxc_asrc.h>
#include <sound/pcm.h>
+#include <linux/mfd/mxc-hdmi-core.h>
#include <mach/common.h>
#include <mach/hardware.h>
@@ -913,7 +914,7 @@ static void hdmi_init(int ipu_id, int disp_id)
mxc_iomux_set_gpr_register(3, 2, 2, hdmi_mux_setting);
/* Set HDMI event as SDMA event2 while Chip version later than TO1.2 */
- if ((mx6q_revision() > IMX_CHIP_REVISION_1_1))
+ if (hdmi_SDMA_check())
mxc_iomux_set_gpr_register(0, 0, 1, 1);
}
diff --git a/arch/arm/mach-mx6/board-mx6q_sabresd.c b/arch/arm/mach-mx6/board-mx6q_sabresd.c
index 594dfdff899a..405ae9c015e7 100644
--- a/arch/arm/mach-mx6/board-mx6q_sabresd.c
+++ b/arch/arm/mach-mx6/board-mx6q_sabresd.c
@@ -56,6 +56,7 @@
#include <linux/mfd/wm8994/pdata.h>
#include <linux/mfd/wm8994/gpio.h>
#include <sound/wm8962.h>
+#include <linux/mfd/mxc-hdmi-core.h>
#include <mach/common.h>
#include <mach/hardware.h>
@@ -1279,7 +1280,7 @@ static void hdmi_init(int ipu_id, int disp_id)
mxc_iomux_set_gpr_register(3, 2, 2, hdmi_mux_setting);
/* Set HDMI event as SDMA event2 while Chip version later than TO1.2 */
- if ((mx6q_revision() > IMX_CHIP_REVISION_1_1))
+ if (hdmi_SDMA_check())
mxc_iomux_set_gpr_register(0, 0, 1, 1);
}