Patchwork [meta-fsl-arm,1/2] linux-imx (2.6.25): Add SSI3 address and AUDMUX pin fixes

login
register
mail settings
Submitter Daiane Angolini
Date June 28, 2013, 12:54 p.m.
Message ID <1372424067-3097-1-git-send-email-daiane.angolini@freescale.com>
Download mbox | patch
Permalink /patch/52561/
State Changes Requested
Delegated to: Otavio Salvador
Headers show

Comments

Daiane Angolini - June 28, 2013, 12:54 p.m.
These patches has been send by Eric Bénard to meta-freescale
mailing list and are still not applied in
Freescale GIT server.

Apply them here as a interim solution.

Change-Id: I75c768f7340e9e5dae45e2def889fac3f6b1dec2
Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
---
 ...1__AUDMUX_AUD4_TXFS_fix_pin_defintion_2-2.patch |   35 ++++++++++++++++++++
 .../mx53_fix_ssi3_addresses_1-2.patch              |   29 ++++++++++++++++
 recipes-kernel/linux/linux-imx_2.6.35.3.bb         |    2 ++
 3 files changed, 66 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-imx-2.6.35.3/SD2_DATA1__AUDMUX_AUD4_TXFS_fix_pin_defintion_2-2.patch
 create mode 100644 recipes-kernel/linux/linux-imx-2.6.35.3/mx53_fix_ssi3_addresses_1-2.patch
Fabio Estevam - June 28, 2013, 1:02 p.m.
On Fri, Jun 28, 2013 at 9:54 AM, Daiane Angolini
<daiane.angolini@freescale.com> wrote:
> These patches has been send by Eric Bénard to meta-freescale
> mailing list and are still not applied in
> Freescale GIT server.
>
> Apply them here as a interim solution.
>
> Change-Id: I75c768f7340e9e5dae45e2def889fac3f6b1dec2
> Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
> ---
>  ...1__AUDMUX_AUD4_TXFS_fix_pin_defintion_2-2.patch |   35 ++++++++++++++++++++
>  .../mx53_fix_ssi3_addresses_1-2.patch              |   29 ++++++++++++++++
>  recipes-kernel/linux/linux-imx_2.6.35.3.bb         |    2 ++
>  3 files changed, 66 insertions(+)
>  create mode 100644 recipes-kernel/linux/linux-imx-2.6.35.3/SD2_DATA1__AUDMUX_AUD4_TXFS_fix_pin_defintion_2-2.patch
>  create mode 100644 recipes-kernel/linux/linux-imx-2.6.35.3/mx53_fix_ssi3_addresses_1-2.patch
>
> diff --git a/recipes-kernel/linux/linux-imx-2.6.35.3/SD2_DATA1__AUDMUX_AUD4_TXFS_fix_pin_defintion_2-2.patch b/recipes-kernel/linux/linux-imx-2.6.35.3/SD2_DATA1__AUDMUX_AUD4_TXFS_fix_pin_defintion_2-2.patch
> new file mode 100644
> index 0000000..bb20bbf
> --- /dev/null
> +++ b/recipes-kernel/linux/linux-imx-2.6.35.3/SD2_DATA1__AUDMUX_AUD4_TXFS_fix_pin_defintion_2-2.patch
> @@ -0,0 +1,35 @@
> +From: eric@eukrea.com Eric Bénard

Looks like this is in the reverse order.

It should be:

From: Eric Bénard <eric@eukrea.com>

Patch

diff --git a/recipes-kernel/linux/linux-imx-2.6.35.3/SD2_DATA1__AUDMUX_AUD4_TXFS_fix_pin_defintion_2-2.patch b/recipes-kernel/linux/linux-imx-2.6.35.3/SD2_DATA1__AUDMUX_AUD4_TXFS_fix_pin_defintion_2-2.patch
new file mode 100644
index 0000000..bb20bbf
--- /dev/null
+++ b/recipes-kernel/linux/linux-imx-2.6.35.3/SD2_DATA1__AUDMUX_AUD4_TXFS_fix_pin_defintion_2-2.patch
@@ -0,0 +1,35 @@ 
+From: eric@eukrea.com Eric Bénard 
+To:  
+Date: Fri, 14 Jun 2013 04:00:04 -0300 
+Subject: [meta-freescale] [2.6.35-maintain PATCH 2/2] SD2_DATA1__AUDMUX_AUD4_TXFS: fix pin defintion 
+ 
+else the wrong input is selected for the AUDMUX4_TXFS
+
+Upstream-Status: Pending
+
+Signed-off-by: Eric Bénard <eric@eukrea.com>
+---
+ arch/arm/plat-mxc/include/mach/iomux-mx53.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/arch/arm/plat-mxc/include/mach/iomux-mx53.h b/arch/arm/plat-mxc/include/mach/iomux-mx53.h
+index 7712729..2ab9f46 100644
+--- a/arch/arm/plat-mxc/include/mach/iomux-mx53.h
++++ b/arch/arm/plat-mxc/include/mach/iomux-mx53.h
+@@ -1122,7 +1122,7 @@
+ #define _MX53_PAD_SD2_DATA1__ESDHC2_DAT1	IOMUX_PAD(0x698, 0x30C, 0, 0x0, 0, 0)
+ #define _MX53_PAD_SD2_DATA1__GPIO1_14	IOMUX_PAD(0x698, 0x30C, 1, 0x0, 0, 0)
+ #define _MX53_PAD_SD2_DATA1__KPP_COL_7	IOMUX_PAD(0x698, 0x30C, 2, 0x848, 1, 0)
+-#define _MX53_PAD_SD2_DATA1__AUDMUX_AUD4_TXFS	IOMUX_PAD(0x698, 0x30C, 3, 0x744, 0, 0)
++#define _MX53_PAD_SD2_DATA1__AUDMUX_AUD4_TXFS	IOMUX_PAD(0x698, 0x30C, 3, 0x744, 1, 0)
+ #define _MX53_PAD_SD2_DATA1__CSPI_SS0	IOMUX_PAD(0x698, 0x30C, 5, 0x78C, 4, 0)
+ #define _MX53_PAD_SD2_DATA1__RTIC_SEC_VIO	IOMUX_PAD(0x698, 0x30C, 7, 0x0, 0, 0)
+ #define _MX53_PAD_SD2_DATA0__ESDHC2_DAT0	IOMUX_PAD(0x69C, 0x310, 0, 0x0, 0, 0)
+-- 
+1.8.1.4
+
+_______________________________________________
+meta-freescale mailing list
+meta-freescale@yoctoproject.org
+https://lists.yoctoproject.org/listinfo/meta-freescale
+
diff --git a/recipes-kernel/linux/linux-imx-2.6.35.3/mx53_fix_ssi3_addresses_1-2.patch b/recipes-kernel/linux/linux-imx-2.6.35.3/mx53_fix_ssi3_addresses_1-2.patch
new file mode 100644
index 0000000..77535e4
--- /dev/null
+++ b/recipes-kernel/linux/linux-imx-2.6.35.3/mx53_fix_ssi3_addresses_1-2.patch
@@ -0,0 +1,29 @@ 
+From: eric@eukrea.com Eric Bénard 
+To:  
+Date: Fri, 14 Jun 2013 04:00:03 -0300 
+Subject: [meta-freescale] [2.6.35-maintain PATCH 1/2] mx53: fix ssi3 addresses 
+ 
+else its mapped at the i.MX51's address so the peripheral doesn't works.
+
+Upstream-Status: Pending
+
+Signed-off-by: Eric Bénard <eric@eukrea.com>
+---
+ arch/arm/mach-mx5/devices.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/arch/arm/mach-mx5/devices.c b/arch/arm/mach-mx5/devices.c
+index e75a486..d439b02 100644
+--- a/arch/arm/mach-mx5/devices.c
++++ b/arch/arm/mach-mx5/devices.c
+@@ -1850,6 +1850,8 @@ int __init mxc_init_devices(void)
+ 		ssi1_resources[0].end -= MX53_OFFSET;
+ 		ssi2_resources[0].start -= MX53_OFFSET;
+ 		ssi2_resources[0].end -= MX53_OFFSET;
++		ssi3_resources[0].start -= MX53_OFFSET;
++		ssi3_resources[0].end -= MX53_OFFSET;
+ 		esai_resources[0].start -= MX53_OFFSET;
+ 		esai_resources[0].end -= MX53_OFFSET;
+ 		tve_resources[0].start -= MX53_OFFSET;
+-- 
+1.8.1.4
diff --git a/recipes-kernel/linux/linux-imx_2.6.35.3.bb b/recipes-kernel/linux/linux-imx_2.6.35.3.bb
index ec6c64a..0936a6a 100644
--- a/recipes-kernel/linux/linux-imx_2.6.35.3.bb
+++ b/recipes-kernel/linux/linux-imx_2.6.35.3.bb
@@ -14,6 +14,8 @@  LOCALVERSION = "-maintain+yocto"
 SRC_URI += "file://NFS-Fix-nfsroot-support.patch \
             file://NFS-allow-nfs-root-mount-to-use-alternate-rpc-ports.patch \
             file://perf-avoid-use-sysroot-headers.patch \
+            file://mx53_fix_ssi3_addresses_1-2.patch \
+            file://SD2_DATA1__AUDMUX_AUD4_TXFS_fix_pin_defintion_2-2.patch \
 "
 
 SRC_URI_append_mx28 = " \