u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
* [U-Boot] [PATCH imx6dl] Enable SION Bit for GPIO16 when ALT2 mode is selected
@ 2014-01-19 14:34 Andy Ng
  2014-01-19 16:58 ` Otavio Salvador
  2014-02-11 10:13 ` Stefano Babic
  0 siblings, 2 replies; 20+ messages in thread
From: Andy Ng @ 2014-01-19 14:34 UTC (permalink / raw)
  To: u-boot

The ENET_REF_CLK has to loopback: the patch was produced from u-boot 2013-10


diff --git a/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
b/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
index 7851eb1..9c18847 100644
--- a/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
+++ b/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
@@ -1047,7 +1047,7 @@ MX6_PAD_DECL(GPIO_1__USDHC1_CD            , 0x05E0,
0x0210, 6, 0x0000, 0, 0)
 MX6_PAD_DECL(GPIO_1__SRC_TESTER_ACK            , 0x05E0, 0x0210, 7,
0x0000, 0, 0)
 MX6_PAD_DECL(GPIO_16__ESAI1_TX3_RX2            , 0x05E4, 0x0214, 0,
0x0850, 1, 0)
 MX6_PAD_DECL(GPIO_16__ENET_1588_EVENT2_IN      , 0x05E4, 0x0214, 1,
0x0000, 0, 0)
-MX6_PAD_DECL(GPIO_16__ENET_ANATOP_ETHERNET_REF_OUT     , 0x05E4, 0x0214,
2, 0x080C, 0, 0)
+MX6_PAD_DECL(GPIO_16__ENET_ANATOP_ETHERNET_REF_OUT     , 0x05E4, 0x0214, 2
| IOMUX_CONFIG_SION, 0x080C, 0, 0)
 MX6_PAD_DECL(GPIO_16__USDHC1_LCTL              , 0x05E4, 0x0214, 3,
0x0000, 0, 0)
 MX6_PAD_DECL(GPIO_16__SPDIF_IN1                , 0x05E4, 0x0214, 4,
0x08F0, 2, 0)
 MX6_PAD_DECL(GPIO_16__GPIO_7_11                , 0x05E4, 0x0214, 5,
0x0000, 0, 0)

^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [U-Boot] [PATCH imx6dl] Enable SION Bit for GPIO16 when ALT2 mode is selected
  2014-01-19 14:34 [U-Boot] [PATCH imx6dl] Enable SION Bit for GPIO16 when ALT2 mode is selected Andy Ng
@ 2014-01-19 16:58 ` Otavio Salvador
  2014-01-19 17:07   ` Otavio Salvador
  2014-02-11 10:13 ` Stefano Babic
  1 sibling, 1 reply; 20+ messages in thread
From: Otavio Salvador @ 2014-01-19 16:58 UTC (permalink / raw)
  To: u-boot

On Sun, Jan 19, 2014 at 12:34 PM, Andy Ng <andreas2025@gmail.com> wrote:
> The ENET_REF_CLK has to loopback: the patch was produced from u-boot 2013-10

Please:

 - Add Signed-off-by
 - Rebase it to imx/master as this does not apply in current source code.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot] [PATCH imx6dl] Enable SION Bit for GPIO16 when ALT2 mode is selected
  2014-01-19 16:58 ` Otavio Salvador
@ 2014-01-19 17:07   ` Otavio Salvador
  2014-01-19 17:48     ` Fabio Estevam
  0 siblings, 1 reply; 20+ messages in thread
From: Otavio Salvador @ 2014-01-19 17:07 UTC (permalink / raw)
  To: u-boot

Andy,

On Sun, Jan 19, 2014 at 2:58 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> On Sun, Jan 19, 2014 at 12:34 PM, Andy Ng <andreas2025@gmail.com> wrote:
>> The ENET_REF_CLK has to loopback: the patch was produced from u-boot 2013-10
>
> Please:
>
>  - Add Signed-off-by
>  - Rebase it to imx/master as this does not apply in current source code.
>
> --
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750

This fixed one customer board I have as well.

I tested it using today's master tip.

Please change Q variant as well, rebased patch bellow:

diff --git a/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
b/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
index 55cc9ad..3f41787 100644
--- a/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
+++ b/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
@@ -695,7 +695,7 @@ MX6_PAD_DECL(GPIO_1__GPIO1_IO01,    0x05E0,
0x0210, 5, 0x0000, 0, 0)
 MX6_PAD_DECL(GPIO_1__SD1_CD_B, 0x05E0, 0x0210, 6, 0x0000, 0, 0)
 MX6_PAD_DECL(GPIO_16__ESAI_TX3_RX2,    0x05E4, 0x0214, 0, 0x0850, 1, 0)
 MX6_PAD_DECL(GPIO_16__ENET_1588_EVENT2_IN,     0x05E4, 0x0214, 1, 0x0000, 0, 0)
-MX6_PAD_DECL(GPIO_16__ENET_REF_CLK,    0x05E4, 0x0214, 2, 0x080C, 0, 0)
+MX6_PAD_DECL(GPIO_16__ENET_REF_CLK,    0x05E4, 0x0214, 2 |
IOMUX_CONFIG_SION, 0x080C, 0, 0)
 MX6_PAD_DECL(GPIO_16__SD1_LCTL,        0x05E4, 0x0214, 3, 0x0000, 0, 0)
 MX6_PAD_DECL(GPIO_16__SPDIF_IN,        0x05E4, 0x0214, 4, 0x08F0, 2, 0)
 MX6_PAD_DECL(GPIO_16__GPIO7_IO11,      0x05E4, 0x0214, 5, 0x0000, 0, 0)
diff --git a/arch/arm/include/asm/arch-mx6/mx6q_pins.h
b/arch/arm/include/asm/arch-mx6/mx6q_pins.h
index ad31c33..3aae246 100644
--- a/arch/arm/include/asm/arch-mx6/mx6q_pins.h
+++ b/arch/arm/include/asm/arch-mx6/mx6q_pins.h
@@ -703,7 +703,7 @@ MX6_PAD_DECL(GPIO_8__SPDIF_SR_CLK,  0x0614,
0x0244, 6, 0x0000, 0, 0)
 MX6_PAD_DECL(GPIO_8__USB_OTG_PWR_CTL_WAKE,     0x0614, 0x0244, 7, 0x0000, 0, 0)
 MX6_PAD_DECL(GPIO_16__ESAI_TX3_RX2,    0x0618, 0x0248, 0, 0x0880, 1, 0)
 MX6_PAD_DECL(GPIO_16__ENET_1588_EVENT2_IN,     0x0618, 0x0248, 1, 0x0000, 0, 0)
-MX6_PAD_DECL(GPIO_16__ENET_REF_CLK,    0x0618, 0x0248, 2, 0x083C, 1, 0)
+MX6_PAD_DECL(GPIO_16__ENET_REF_CLK,    0x0618, 0x0248, 2 |
IOMUX_CONFIG_SION, 0x083C, 1, 0)
 MX6_PAD_DECL(GPIO_16__SD1_LCTL,        0x0618, 0x0248, 3, 0x0000, 0, 0)
 MX6_PAD_DECL(GPIO_16__SPDIF_IN,        0x0618, 0x0248, 4, 0x0914, 3, 0)
 MX6_PAD_DECL(GPIO_16__GPIO7_IO11,      0x0618, 0x0248, 5, 0x0000, 0, 0)


-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750

^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [U-Boot] [PATCH imx6dl] Enable SION Bit for GPIO16 when ALT2 mode is selected
  2014-01-19 17:07   ` Otavio Salvador
@ 2014-01-19 17:48     ` Fabio Estevam
  2014-01-19 17:55       ` Otavio Salvador
  0 siblings, 1 reply; 20+ messages in thread
From: Fabio Estevam @ 2014-01-19 17:48 UTC (permalink / raw)
  To: u-boot

Hi Otavio/Andy,

On Sun, Jan 19, 2014 at 3:07 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:

> --- a/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
> +++ b/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
> @@ -695,7 +695,7 @@ MX6_PAD_DECL(GPIO_1__GPIO1_IO01,    0x05E0,
> 0x0210, 5, 0x0000, 0, 0)
>  MX6_PAD_DECL(GPIO_1__SD1_CD_B, 0x05E0, 0x0210, 6, 0x0000, 0, 0)
>  MX6_PAD_DECL(GPIO_16__ESAI_TX3_RX2,    0x05E4, 0x0214, 0, 0x0850, 1, 0)
>  MX6_PAD_DECL(GPIO_16__ENET_1588_EVENT2_IN,     0x05E4, 0x0214, 1, 0x0000, 0, 0)
> -MX6_PAD_DECL(GPIO_16__ENET_REF_CLK,    0x05E4, 0x0214, 2, 0x080C, 0, 0)
> +MX6_PAD_DECL(GPIO_16__ENET_REF_CLK,    0x05E4, 0x0214, 2 |

What about adding the SION bit in the board file only?

Then we would have the same behaviour as in the kernel.

Please check the hummingboard dts file:
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/arch/arm/boot/dts/imx6qdl-microsom-ar8035.dtsi?id=refs/tags/next-20140117

Regards,

Fabio Estevam

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot] [PATCH imx6dl] Enable SION Bit for GPIO16 when ALT2 mode is selected
  2014-01-19 17:48     ` Fabio Estevam
@ 2014-01-19 17:55       ` Otavio Salvador
  2014-01-19 18:03         ` Fabio Estevam
  0 siblings, 1 reply; 20+ messages in thread
From: Otavio Salvador @ 2014-01-19 17:55 UTC (permalink / raw)
  To: u-boot

On Sun, Jan 19, 2014 at 3:48 PM, Fabio Estevam <festevam@gmail.com> wrote:
> Hi Otavio/Andy,
>
> On Sun, Jan 19, 2014 at 3:07 PM, Otavio Salvador
> <otavio@ossystems.com.br> wrote:
>
>> --- a/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
>> +++ b/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
>> @@ -695,7 +695,7 @@ MX6_PAD_DECL(GPIO_1__GPIO1_IO01,    0x05E0,
>> 0x0210, 5, 0x0000, 0, 0)
>>  MX6_PAD_DECL(GPIO_1__SD1_CD_B, 0x05E0, 0x0210, 6, 0x0000, 0, 0)
>>  MX6_PAD_DECL(GPIO_16__ESAI_TX3_RX2,    0x05E4, 0x0214, 0, 0x0850, 1, 0)
>>  MX6_PAD_DECL(GPIO_16__ENET_1588_EVENT2_IN,     0x05E4, 0x0214, 1, 0x0000, 0, 0)
>> -MX6_PAD_DECL(GPIO_16__ENET_REF_CLK,    0x05E4, 0x0214, 2, 0x080C, 0, 0)
>> +MX6_PAD_DECL(GPIO_16__ENET_REF_CLK,    0x05E4, 0x0214, 2 |
>
> What about adding the SION bit in the board file only?
>
> Then we would have the same behaviour as in the kernel.
>
> Please check the hummingboard dts file:
> https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/arch/arm/boot/dts/imx6qdl-microsom-ar8035.dtsi?id=refs/tags/next-20140117

Personally I think when using the ALT 2 people are expecting it works
out of box so I think this should be in the PAD declaration.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot] [PATCH imx6dl] Enable SION Bit for GPIO16 when ALT2 mode is selected
  2014-01-19 17:55       ` Otavio Salvador
@ 2014-01-19 18:03         ` Fabio Estevam
  2014-01-19 18:47           ` Otavio Salvador
  0 siblings, 1 reply; 20+ messages in thread
From: Fabio Estevam @ 2014-01-19 18:03 UTC (permalink / raw)
  To: u-boot

On Sun, Jan 19, 2014 at 3:55 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:

> Personally I think when using the ALT 2 people are expecting it works
> out of box so I think this should be in the PAD declaration.

This pin works out of the box in hummingboard, for example.

IOMUX_CONFIG_SION is not used anywhere in the
mx6q_pins.h/mx6dl_pins.h, so why GPIO_16__ENET_
REF_CLK should be an exception?

Regards,

Fabio Estevam

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot] [PATCH imx6dl] Enable SION Bit for GPIO16 when ALT2 mode is selected
  2014-01-19 18:03         ` Fabio Estevam
@ 2014-01-19 18:47           ` Otavio Salvador
  2014-01-22  7:19             ` Markus Niebel
  0 siblings, 1 reply; 20+ messages in thread
From: Otavio Salvador @ 2014-01-19 18:47 UTC (permalink / raw)
  To: u-boot

On Sun, Jan 19, 2014 at 4:03 PM, Fabio Estevam <festevam@gmail.com> wrote:
> On Sun, Jan 19, 2014 at 3:55 PM, Otavio Salvador
> <otavio@ossystems.com.br> wrote:
>
>> Personally I think when using the ALT 2 people are expecting it works
>> out of box so I think this should be in the PAD declaration.
>
> This pin works out of the box in hummingboard, for example.
>
> IOMUX_CONFIG_SION is not used anywhere in the
> mx6q_pins.h/mx6dl_pins.h, so why GPIO_16__ENET_
> REF_CLK should be an exception?

Are you sure?

% git grep -c IOMUX_CONFIG_SION arch/arm/include/asm/arch-mx6/
arch/arm/include/asm/arch-mx6/mx6dl_pins.h:31
arch/arm/include/asm/arch-mx6/mx6q_pins.h:1

The q_pins is outdate it seems.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot] [PATCH imx6dl] Enable SION Bit for GPIO16 when ALT2 mode is selected
  2014-01-19 18:47           ` Otavio Salvador
@ 2014-01-22  7:19             ` Markus Niebel
  2014-01-22 10:57               ` Fabio Estevam
  0 siblings, 1 reply; 20+ messages in thread
From: Markus Niebel @ 2014-01-22  7:19 UTC (permalink / raw)
  To: u-boot

Am 19.01.2014 19:47, wrote Otavio Salvador:
> On Sun, Jan 19, 2014 at 4:03 PM, Fabio Estevam <festevam@gmail.com> wrote:
>> On Sun, Jan 19, 2014 at 3:55 PM, Otavio Salvador
>> <otavio@ossystems.com.br> wrote:
>>
>>> Personally I think when using the ALT 2 people are expecting it works
>>> out of box so I think this should be in the PAD declaration.
>>
>> This pin works out of the box in hummingboard, for example.
>>
>> IOMUX_CONFIG_SION is not used anywhere in the
>> mx6q_pins.h/mx6dl_pins.h, so why GPIO_16__ENET_
>> REF_CLK should be an exception?
> 
> Are you sure?
> 
> % git grep -c IOMUX_CONFIG_SION arch/arm/include/asm/arch-mx6/
> arch/arm/include/asm/arch-mx6/mx6dl_pins.h:31
> arch/arm/include/asm/arch-mx6/mx6q_pins.h:1
> 
> The q_pins is outdate it seems.
> 

IOMUX_CONFIG_SION is used everywhere for I2C dedicated pins - partly hard coded for
mx6q - so yes, should be used fro enet_clk, too

Markus

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot] [PATCH imx6dl] Enable SION Bit for GPIO16 when ALT2 mode is selected
  2014-01-22  7:19             ` Markus Niebel
@ 2014-01-22 10:57               ` Fabio Estevam
  0 siblings, 0 replies; 20+ messages in thread
From: Fabio Estevam @ 2014-01-22 10:57 UTC (permalink / raw)
  To: u-boot

On Wed, Jan 22, 2014 at 5:19 AM, Markus Niebel <list-09_u-boot@tqsc.de> wrote:

>
> IOMUX_CONFIG_SION is used everywhere for I2C dedicated pins - partly hard coded for
> mx6q - so yes, should be used fro enet_clk, too

Yes, looks good.

Regards,

Fabio Estevam

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot] [PATCH imx6dl] Enable SION Bit for GPIO16 when ALT2 mode is selected
  2014-01-19 14:34 [U-Boot] [PATCH imx6dl] Enable SION Bit for GPIO16 when ALT2 mode is selected Andy Ng
  2014-01-19 16:58 ` Otavio Salvador
@ 2014-02-11 10:13 ` Stefano Babic
  2014-02-11 10:55   ` Otavio Salvador
  1 sibling, 1 reply; 20+ messages in thread
From: Stefano Babic @ 2014-02-11 10:13 UTC (permalink / raw)
  To: u-boot

Hi Andy,

On 19/01/2014 15:34, Andy Ng wrote:
> The ENET_REF_CLK has to loopback: the patch was produced from u-boot 2013-10
> 
> 

We agree about your patch, but can you please fix the issues reported by
Otavio (add your signed-off-by and rebase) and resubmit, please ?

Thanks,
Stefano Babic




-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot] [PATCH imx6dl] Enable SION Bit for GPIO16 when ALT2 mode is selected
  2014-02-11 10:13 ` Stefano Babic
@ 2014-02-11 10:55   ` Otavio Salvador
  2014-02-11 11:11     ` Stefano Babic
  0 siblings, 1 reply; 20+ messages in thread
From: Otavio Salvador @ 2014-02-11 10:55 UTC (permalink / raw)
  To: u-boot

Hello,

On Tue, Feb 11, 2014 at 8:13 AM, Stefano Babic <sbabic@denx.de> wrote:
> On 19/01/2014 15:34, Andy Ng wrote:
>> The ENET_REF_CLK has to loopback: the patch was produced from u-boot 2013-10
>
> We agree about your patch, but can you please fix the issues reported by
> Otavio (add your signed-off-by and rebase) and resubmit, please ?

I have reworked Andy's patch and applied to my internal tree. I can
send it if needed.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot] [PATCH imx6dl] Enable SION Bit for GPIO16 when ALT2 mode is selected
  2014-02-11 10:55   ` Otavio Salvador
@ 2014-02-11 11:11     ` Stefano Babic
  2014-02-11 13:03       ` Otavio Salvador
  0 siblings, 1 reply; 20+ messages in thread
From: Stefano Babic @ 2014-02-11 11:11 UTC (permalink / raw)
  To: u-boot

Hi Otavio,

On 11/02/2014 11:55, Otavio Salvador wrote:
> Hello,
> 
> On Tue, Feb 11, 2014 at 8:13 AM, Stefano Babic <sbabic@denx.de> wrote:
>> On 19/01/2014 15:34, Andy Ng wrote:
>>> The ENET_REF_CLK has to loopback: the patch was produced from u-boot 2013-10
>>
>> We agree about your patch, but can you please fix the issues reported by
>> Otavio (add your signed-off-by and rebase) and resubmit, please ?
> 
> I have reworked Andy's patch and applied to my internal tree. I can
> send it if needed.

Thanks, wait on. I would like to know from Andy if it is ok for him to
add his Signed-off-by, before applying. If Andy is not available, we
will rework the patch.

Regards,
Stefano

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot] [PATCH imx6dl] Enable SION Bit for GPIO16 when ALT2 mode is selected
  2014-02-11 11:11     ` Stefano Babic
@ 2014-02-11 13:03       ` Otavio Salvador
  2014-02-11 13:12         ` Stefano Babic
  0 siblings, 1 reply; 20+ messages in thread
From: Otavio Salvador @ 2014-02-11 13:03 UTC (permalink / raw)
  To: u-boot

Hello,

On Tue, Feb 11, 2014 at 9:11 AM, Stefano Babic <sbabic@denx.de> wrote:
> Hi Otavio,
>
> On 11/02/2014 11:55, Otavio Salvador wrote:
>> Hello,
>>
>> On Tue, Feb 11, 2014 at 8:13 AM, Stefano Babic <sbabic@denx.de> wrote:
>>> On 19/01/2014 15:34, Andy Ng wrote:
>>>> The ENET_REF_CLK has to loopback: the patch was produced from u-boot 2013-10
>>>
>>> We agree about your patch, but can you please fix the issues reported by
>>> Otavio (add your signed-off-by and rebase) and resubmit, please ?
>>
>> I have reworked Andy's patch and applied to my internal tree. I can
>> send it if needed.
>
> Thanks, wait on. I would like to know from Andy if it is ok for him to
> add his Signed-off-by, before applying. If Andy is not available, we
> will rework the patch.

In fact Andy's patch was not complete. So I did it:

--
MX6: Add SION flag to ENET_REF_CLK PAD
The ENET_REF_CLK needs to have the SION flag enabled so it can

                           loopback.

This patch has been based upon an Andy Ng <andreas2025@gmail.com> one.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
--

So when you want, I can send it.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot] [PATCH imx6dl] Enable SION Bit for GPIO16 when ALT2 mode is selected
  2014-02-11 13:03       ` Otavio Salvador
@ 2014-02-11 13:12         ` Stefano Babic
       [not found]           ` <CAAVaN8wXYG0MBACg=HT+EdTwy5hS0r_MDwOaYzK6-LUYyLhxjg@mail.gmail.com>
  0 siblings, 1 reply; 20+ messages in thread
From: Stefano Babic @ 2014-02-11 13:12 UTC (permalink / raw)
  To: u-boot

Hi Otavio,

On 11/02/2014 14:03, Otavio Salvador wrote:
> Hello,
> 
> On Tue, Feb 11, 2014 at 9:11 AM, Stefano Babic <sbabic@denx.de> wrote:
>> Hi Otavio,
>>
>> On 11/02/2014 11:55, Otavio Salvador wrote:
>>> Hello,
>>>
>>> On Tue, Feb 11, 2014 at 8:13 AM, Stefano Babic <sbabic@denx.de> wrote:
>>>> On 19/01/2014 15:34, Andy Ng wrote:
>>>>> The ENET_REF_CLK has to loopback: the patch was produced from u-boot 2013-10
>>>>
>>>> We agree about your patch, but can you please fix the issues reported by
>>>> Otavio (add your signed-off-by and rebase) and resubmit, please ?
>>>
>>> I have reworked Andy's patch and applied to my internal tree. I can
>>> send it if needed.
>>
>> Thanks, wait on. I would like to know from Andy if it is ok for him to
>> add his Signed-off-by, before applying. If Andy is not available, we
>> will rework the patch.
> 
> In fact Andy's patch was not complete. So I did it:
> 
> --
> MX6: Add SION flag to ENET_REF_CLK PAD
> The ENET_REF_CLK needs to have the SION flag enabled so it can
> 
>                            loopback.
> 
> This patch has been based upon an Andy Ng <andreas2025@gmail.com> one.
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> --
> 

Thanks - if we do not know anything from Andy in a couple of days,
please send it.

Regards,
Stefano

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot] [PATCH imx6dl] Enable SION Bit for GPIO16 when ALT2 mode is selected
       [not found]           ` <CAAVaN8wXYG0MBACg=HT+EdTwy5hS0r_MDwOaYzK6-LUYyLhxjg@mail.gmail.com>
@ 2014-02-12 11:58             ` Stefano Babic
  2014-02-12 12:00               ` Otavio Salvador
  0 siblings, 1 reply; 20+ messages in thread
From: Stefano Babic @ 2014-02-12 11:58 UTC (permalink / raw)
  To: u-boot

Hi Andy,

On 12/02/2014 12:53, Andy Ng wrote:
> HI
> 
> I was away the last few days.
> 
> Shall I produce a patch for the u-boot git main line code with that fix?


Yes, please add your signed-off-by and rebase it on top of u-boot-imx.

Thanks,
Stefano Babic


-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot] [PATCH imx6dl] Enable SION Bit for GPIO16 when ALT2 mode is selected
  2014-02-12 11:58             ` Stefano Babic
@ 2014-02-12 12:00               ` Otavio Salvador
       [not found]                 ` <CAAVaN8wM6O64PAATKqqHks1QnStmQ7R2g4fYHckZLooA=usMQQ@mail.gmail.com>
  0 siblings, 1 reply; 20+ messages in thread
From: Otavio Salvador @ 2014-02-12 12:00 UTC (permalink / raw)
  To: u-boot

On Wed, Feb 12, 2014 at 9:58 AM, Stefano Babic <sbabic@denx.de> wrote:
> Hi Andy,
>
> On 12/02/2014 12:53, Andy Ng wrote:
>> HI
>>
>> I was away the last few days.
>>
>> Shall I produce a patch for the u-boot git main line code with that fix?
>
>
> Yes, please add your signed-off-by and rebase it on top of u-boot-imx.

The fix I am using here is:

diff --git a/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
b/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
index 55cc9ad..3f41787 100644
--- a/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
+++ b/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
@@ -695,7 +695,7 @@ MX6_PAD_DECL(GPIO_1__GPIO1_IO01,    0x05E0,
0x0210, 5, 0x0000, 0, 0)
 MX6_PAD_DECL(GPIO_1__SD1_CD_B, 0x05E0, 0x0210, 6, 0x0000, 0, 0)
 MX6_PAD_DECL(GPIO_16__ESAI_TX3_RX2,    0x05E4, 0x0214, 0, 0x0850, 1, 0)
 MX6_PAD_DECL(GPIO_16__ENET_1588_EVENT2_IN,     0x05E4, 0x0214, 1, 0x0000, 0, 0)
-MX6_PAD_DECL(GPIO_16__ENET_REF_CLK,    0x05E4, 0x0214, 2, 0x080C, 0, 0)
+MX6_PAD_DECL(GPIO_16__ENET_REF_CLK,    0x05E4, 0x0214, 2 |
IOMUX_CONFIG_SION, 0x080C, 0, 0)
 MX6_PAD_DECL(GPIO_16__SD1_LCTL,        0x05E4, 0x0214, 3, 0x0000, 0, 0)
 MX6_PAD_DECL(GPIO_16__SPDIF_IN,        0x05E4, 0x0214, 4, 0x08F0, 2, 0)
 MX6_PAD_DECL(GPIO_16__GPIO7_IO11,      0x05E4, 0x0214, 5, 0x0000, 0, 0)
diff --git a/arch/arm/include/asm/arch-mx6/mx6q_pins.h
b/arch/arm/include/asm/arch-mx6/mx6q_pins.h
index ad31c33..3aae246 100644
--- a/arch/arm/include/asm/arch-mx6/mx6q_pins.h
+++ b/arch/arm/include/asm/arch-mx6/mx6q_pins.h
@@ -703,7 +703,7 @@ MX6_PAD_DECL(GPIO_8__SPDIF_SR_CLK,  0x0614,
0x0244, 6, 0x0000, 0, 0)
 MX6_PAD_DECL(GPIO_8__USB_OTG_PWR_CTL_WAKE,     0x0614, 0x0244, 7, 0x0000, 0, 0)
 MX6_PAD_DECL(GPIO_16__ESAI_TX3_RX2,    0x0618, 0x0248, 0, 0x0880, 1, 0)
 MX6_PAD_DECL(GPIO_16__ENET_1588_EVENT2_IN,     0x0618, 0x0248, 1, 0x0000, 0, 0)
-MX6_PAD_DECL(GPIO_16__ENET_REF_CLK,    0x0618, 0x0248, 2, 0x083C, 1, 0)
+MX6_PAD_DECL(GPIO_16__ENET_REF_CLK,    0x0618, 0x0248, 2 |
IOMUX_CONFIG_SION, 0x083C, 1, 0)
 MX6_PAD_DECL(GPIO_16__SD1_LCTL,        0x0618, 0x0248, 3, 0x0000, 0, 0)
 MX6_PAD_DECL(GPIO_16__SPDIF_IN,        0x0618, 0x0248, 4, 0x0914, 3, 0)
 MX6_PAD_DECL(GPIO_16__GPIO7_IO11,      0x0618, 0x0248, 5, 0x0000, 0, 0)

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750

^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [U-Boot] [PATCH imx6dl] Enable SION Bit for GPIO16 when ALT2 mode is selected
       [not found]                 ` <CAAVaN8wM6O64PAATKqqHks1QnStmQ7R2g4fYHckZLooA=usMQQ@mail.gmail.com>
@ 2014-02-12 12:57                   ` Andy Ng
  2014-02-12 13:16                     ` Otavio Salvador
                                       ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: Andy Ng @ 2014-02-12 12:57 UTC (permalink / raw)
  To: u-boot



^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot] [PATCH imx6dl] Enable SION Bit for GPIO16 when ALT2 mode is selected
  2014-02-12 12:57                   ` Andy Ng
@ 2014-02-12 13:16                     ` Otavio Salvador
  2014-02-12 13:23                     ` Stefano Babic
  2014-02-12 13:23                     ` Andy Ng
  2 siblings, 0 replies; 20+ messages in thread
From: Otavio Salvador @ 2014-02-12 13:16 UTC (permalink / raw)
  To: u-boot

Hello Andy,

On Wed, Feb 12, 2014 at 10:57 AM, Andy Ng <andreas2025@gmail.com> wrote:
> From 45da8256deadb5c5cf38311ed5470e4ba5b20570 Mon Sep 17 00:00:00 2001
> From: Andy Ng <andreas2025@gmail.com>
> Date: Wed, 12 Feb 2014 12:40:47 +0000
> Subject: [PATCH] SION bit has to be on for the pins that are used as
> ENET_REF_CLK
>
> Signed-off-by: Andy Ng <andreas2025@gmail.com>

The commit log is not good. Please check the one I sent in this thread
for reference.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot] [PATCH imx6dl] Enable SION Bit for GPIO16 when ALT2 mode is selected
  2014-02-12 12:57                   ` Andy Ng
  2014-02-12 13:16                     ` Otavio Salvador
@ 2014-02-12 13:23                     ` Stefano Babic
  2014-02-12 13:23                     ` Andy Ng
  2 siblings, 0 replies; 20+ messages in thread
From: Stefano Babic @ 2014-02-12 13:23 UTC (permalink / raw)
  To: u-boot

Hi Andy,

On 12/02/2014 13:57, Andy Ng wrote:
> From 45da8256deadb5c5cf38311ed5470e4ba5b20570 Mon Sep 17 00:00:00 2001
> From: Andy Ng <andreas2025@gmail.com>
> Date: Wed, 12 Feb 2014 12:40:47 +0000
> Subject: [PATCH] SION bit has to be on for the pins that are used as
> ENET_REF_CLK
> 
> Signed-off-by: Andy Ng <andreas2025@gmail.com>
> ---

You use git, just let git make the job for you. Use git format-patch to
create the patch and git send-email to send it to the ML.

Regards,
Stefano Babic

>  arch/arm/include/asm/arch-mx6/mx6dl_pins.h |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
> b/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
> index 55cc9ad..2e414ad 100644
> --- a/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
> +++ b/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
> @@ -647,7 +647,7 @@ MX6_PAD_DECL(ENET_MDIO__ESAI_RX_CLK,    0x05BC,
> 0x01EC, 2, 0x083C, 0, 0)
>  MX6_PAD_DECL(ENET_MDIO__ENET_1588_EVENT1_OUT,    0x05BC, 0x01EC, 4,
> 0x0000, 0, 0)
>  MX6_PAD_DECL(ENET_MDIO__GPIO1_IO22,    0x05BC, 0x01EC, 5, 0x0000, 0, 0)
>  MX6_PAD_DECL(ENET_MDIO__SPDIF_LOCK,    0x05BC, 0x01EC, 6, 0x0000, 0, 0)
> -MX6_PAD_DECL(ENET_REF_CLK__ENET_TX_CLK,    0x05C0, 0x01F0, 1, 0x0000, 0, 0)
> +MX6_PAD_DECL(ENET_REF_CLK__ENET_TX_CLK,    0x05C0, 0x01F0, 1 |
> IOMUX_CONFIG_SION, 0x0000, 0, 0)
>  MX6_PAD_DECL(ENET_REF_CLK__ESAI_RX_FS,    0x05C0, 0x01F0, 2, 0x082C, 0, 0)
>  MX6_PAD_DECL(ENET_REF_CLK__GPIO1_IO23,    0x05C0, 0x01F0, 5, 0x0000, 0, 0)
>  MX6_PAD_DECL(ENET_REF_CLK__SPDIF_SR_CLK,    0x05C0, 0x01F0, 6, 0x0000, 0, 0)
> @@ -695,7 +695,7 @@ MX6_PAD_DECL(GPIO_1__GPIO1_IO01,    0x05E0,
> 0x0210, 5, 0x0000, 0, 0)
>  MX6_PAD_DECL(GPIO_1__SD1_CD_B,    0x05E0, 0x0210, 6, 0x0000, 0, 0)
>  MX6_PAD_DECL(GPIO_16__ESAI_TX3_RX2,    0x05E4, 0x0214, 0, 0x0850, 1, 0)
>  MX6_PAD_DECL(GPIO_16__ENET_1588_EVENT2_IN,    0x05E4, 0x0214, 1, 0x0000, 0, 0)
> -MX6_PAD_DECL(GPIO_16__ENET_REF_CLK,    0x05E4, 0x0214, 2, 0x080C, 0, 0)
> +MX6_PAD_DECL(GPIO_16__ENET_REF_CLK,    0x05E4, 0x0214, 2 |
> IOMUX_CONFIG_SION, 0x080C, 0, 0)
>  MX6_PAD_DECL(GPIO_16__SD1_LCTL,    0x05E4, 0x0214, 3, 0x0000, 0, 0)
>  MX6_PAD_DECL(GPIO_16__SPDIF_IN,    0x05E4, 0x0214, 4, 0x08F0, 2, 0)
>  MX6_PAD_DECL(GPIO_16__GPIO7_IO11,    0x05E4, 0x0214, 5, 0x0000, 0, 0)
> @@ -934,7 +934,7 @@ MX6_PAD_DECL(RGMII_TX_CTL__USBOH3_H2_STROBE,
> 0x06BC, 0x02D4, 0 | IOMUX_CONFIG_SI
>  MX6_PAD_DECL(RGMII_TX_CTL__USB_H2_STROBE,    0x06BC, 0x02D4, 0 |
> IOMUX_CONFIG_SION, 0x0000, 0, PAD_CTL_PUS_47K_UP)
>  MX6_PAD_DECL(RGMII_TX_CTL__RGMII_TX_CTL,    0x06BC, 0x02D4, 1, 0x0000, 0, 0)
>  MX6_PAD_DECL(RGMII_TX_CTL__GPIO6_IO26,    0x06BC, 0x02D4, 5, 0x0000, 0, 0)
> -MX6_PAD_DECL(RGMII_TX_CTL__ENET_REF_CLK,    0x06BC, 0x02D4, 7, 0x080C, 1, 0)
> +MX6_PAD_DECL(RGMII_TX_CTL__ENET_REF_CLK,    0x06BC, 0x02D4, 7 |
> IOMUX_CONFIG_SION, 0x080C, 1, 0)
>  MX6_PAD_DECL(RGMII_TXC__USB_H2_DATA,    0x06C0, 0x02D8, 0 |
> IOMUX_CONFIG_SION, 0x0000, 0, 0)
>  MX6_PAD_DECL(RGMII_TXC__RGMII_TXC,    0x06C0, 0x02D8, 1, 0x0000, 0, 0)
>  MX6_PAD_DECL(RGMII_TXC__SPDIF_EXT_CLK,    0x06C0, 0x02D8, 2, 0x08F4, 1, 0)
> 


-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot] [PATCH imx6dl] Enable SION Bit for GPIO16 when ALT2 mode is selected
  2014-02-12 12:57                   ` Andy Ng
  2014-02-12 13:16                     ` Otavio Salvador
  2014-02-12 13:23                     ` Stefano Babic
@ 2014-02-12 13:23                     ` Andy Ng
  2 siblings, 0 replies; 20+ messages in thread
From: Andy Ng @ 2014-02-12 13:23 UTC (permalink / raw)
  To: u-boot

Shall I apply SION bit on imx6Q files too and bring all the changes
under a single patch? Or there is problem with the existing one?


Best regards
A

On Wed, Feb 12, 2014 at 12:57 PM, Andy Ng <andreas2025@gmail.com> wrote:
> From 45da8256deadb5c5cf38311ed5470e4ba5b20570 Mon Sep 17 00:00:00 2001
> From: Andy Ng <andreas2025@gmail.com>
> Date: Wed, 12 Feb 2014 12:40:47 +0000
> Subject: [PATCH] SION bit has to be on for the pins that are used as
> ENET_REF_CLK
>
> Signed-off-by: Andy Ng <andreas2025@gmail.com>
> ---
>  arch/arm/include/asm/arch-mx6/mx6dl_pins.h |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
> b/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
> index 55cc9ad..2e414ad 100644
> --- a/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
> +++ b/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
> @@ -647,7 +647,7 @@ MX6_PAD_DECL(ENET_MDIO__ESAI_RX_CLK,    0x05BC,
> 0x01EC, 2, 0x083C, 0, 0)
>  MX6_PAD_DECL(ENET_MDIO__ENET_1588_EVENT1_OUT,    0x05BC, 0x01EC, 4,
> 0x0000, 0, 0)
>  MX6_PAD_DECL(ENET_MDIO__GPIO1_IO22,    0x05BC, 0x01EC, 5, 0x0000, 0, 0)
>  MX6_PAD_DECL(ENET_MDIO__SPDIF_LOCK,    0x05BC, 0x01EC, 6, 0x0000, 0, 0)
> -MX6_PAD_DECL(ENET_REF_CLK__ENET_TX_CLK,    0x05C0, 0x01F0, 1, 0x0000, 0, 0)
> +MX6_PAD_DECL(ENET_REF_CLK__ENET_TX_CLK,    0x05C0, 0x01F0, 1 |
> IOMUX_CONFIG_SION, 0x0000, 0, 0)
>  MX6_PAD_DECL(ENET_REF_CLK__ESAI_RX_FS,    0x05C0, 0x01F0, 2, 0x082C, 0, 0)
>  MX6_PAD_DECL(ENET_REF_CLK__GPIO1_IO23,    0x05C0, 0x01F0, 5, 0x0000, 0, 0)
>  MX6_PAD_DECL(ENET_REF_CLK__SPDIF_SR_CLK,    0x05C0, 0x01F0, 6, 0x0000, 0, 0)
> @@ -695,7 +695,7 @@ MX6_PAD_DECL(GPIO_1__GPIO1_IO01,    0x05E0,
> 0x0210, 5, 0x0000, 0, 0)
>  MX6_PAD_DECL(GPIO_1__SD1_CD_B,    0x05E0, 0x0210, 6, 0x0000, 0, 0)
>  MX6_PAD_DECL(GPIO_16__ESAI_TX3_RX2,    0x05E4, 0x0214, 0, 0x0850, 1, 0)
>  MX6_PAD_DECL(GPIO_16__ENET_1588_EVENT2_IN,    0x05E4, 0x0214, 1, 0x0000, 0, 0)
> -MX6_PAD_DECL(GPIO_16__ENET_REF_CLK,    0x05E4, 0x0214, 2, 0x080C, 0, 0)
> +MX6_PAD_DECL(GPIO_16__ENET_REF_CLK,    0x05E4, 0x0214, 2 |
> IOMUX_CONFIG_SION, 0x080C, 0, 0)
>  MX6_PAD_DECL(GPIO_16__SD1_LCTL,    0x05E4, 0x0214, 3, 0x0000, 0, 0)
>  MX6_PAD_DECL(GPIO_16__SPDIF_IN,    0x05E4, 0x0214, 4, 0x08F0, 2, 0)
>  MX6_PAD_DECL(GPIO_16__GPIO7_IO11,    0x05E4, 0x0214, 5, 0x0000, 0, 0)
> @@ -934,7 +934,7 @@ MX6_PAD_DECL(RGMII_TX_CTL__USBOH3_H2_STROBE,
> 0x06BC, 0x02D4, 0 | IOMUX_CONFIG_SI
>  MX6_PAD_DECL(RGMII_TX_CTL__USB_H2_STROBE,    0x06BC, 0x02D4, 0 |
> IOMUX_CONFIG_SION, 0x0000, 0, PAD_CTL_PUS_47K_UP)
>  MX6_PAD_DECL(RGMII_TX_CTL__RGMII_TX_CTL,    0x06BC, 0x02D4, 1, 0x0000, 0, 0)
>  MX6_PAD_DECL(RGMII_TX_CTL__GPIO6_IO26,    0x06BC, 0x02D4, 5, 0x0000, 0, 0)
> -MX6_PAD_DECL(RGMII_TX_CTL__ENET_REF_CLK,    0x06BC, 0x02D4, 7, 0x080C, 1, 0)
> +MX6_PAD_DECL(RGMII_TX_CTL__ENET_REF_CLK,    0x06BC, 0x02D4, 7 |
> IOMUX_CONFIG_SION, 0x080C, 1, 0)
>  MX6_PAD_DECL(RGMII_TXC__USB_H2_DATA,    0x06C0, 0x02D8, 0 |
> IOMUX_CONFIG_SION, 0x0000, 0, 0)
>  MX6_PAD_DECL(RGMII_TXC__RGMII_TXC,    0x06C0, 0x02D8, 1, 0x0000, 0, 0)
>  MX6_PAD_DECL(RGMII_TXC__SPDIF_EXT_CLK,    0x06C0, 0x02D8, 2, 0x08F4, 1, 0)
> --
> 1.7.9.5
>
>
>
>
> On Wed, Feb 12, 2014 at 12:56 PM, Andy Ng <andreas2025@gmail.com> wrote:
>> I have produced a patch from the latest git repository of u-boot-imx:
>> See attached file.
>>
>> Have turned on the SION bit in all the places where the ENET_REF_CLK
>> comes out. Please review and let me know.
>>
>> Best regards,
>> A
>>
>> On Wed, Feb 12, 2014 at 12:00 PM, Otavio Salvador
>> <otavio@ossystems.com.br> wrote:
>>> On Wed, Feb 12, 2014 at 9:58 AM, Stefano Babic <sbabic@denx.de> wrote:
>>>> Hi Andy,
>>>>
>>>> On 12/02/2014 12:53, Andy Ng wrote:
>>>>> HI
>>>>>
>>>>> I was away the last few days.
>>>>>
>>>>> Shall I produce a patch for the u-boot git main line code with that fix?
>>>>
>>>>
>>>> Yes, please add your signed-off-by and rebase it on top of u-boot-imx.
>>>
>>> The fix I am using here is:
>>>
>>> diff --git a/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
>>> b/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
>>> index 55cc9ad..3f41787 100644
>>> --- a/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
>>> +++ b/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
>>> @@ -695,7 +695,7 @@ MX6_PAD_DECL(GPIO_1__GPIO1_IO01,    0x05E0,
>>> 0x0210, 5, 0x0000, 0, 0)
>>>  MX6_PAD_DECL(GPIO_1__SD1_CD_B, 0x05E0, 0x0210, 6, 0x0000, 0, 0)
>>>  MX6_PAD_DECL(GPIO_16__ESAI_TX3_RX2,    0x05E4, 0x0214, 0, 0x0850, 1, 0)
>>>  MX6_PAD_DECL(GPIO_16__ENET_1588_EVENT2_IN,     0x05E4, 0x0214, 1, 0x0000, 0, 0)
>>> -MX6_PAD_DECL(GPIO_16__ENET_REF_CLK,    0x05E4, 0x0214, 2, 0x080C, 0, 0)
>>> +MX6_PAD_DECL(GPIO_16__ENET_REF_CLK,    0x05E4, 0x0214, 2 |
>>> IOMUX_CONFIG_SION, 0x080C, 0, 0)
>>>  MX6_PAD_DECL(GPIO_16__SD1_LCTL,        0x05E4, 0x0214, 3, 0x0000, 0, 0)
>>>  MX6_PAD_DECL(GPIO_16__SPDIF_IN,        0x05E4, 0x0214, 4, 0x08F0, 2, 0)
>>>  MX6_PAD_DECL(GPIO_16__GPIO7_IO11,      0x05E4, 0x0214, 5, 0x0000, 0, 0)
>>> diff --git a/arch/arm/include/asm/arch-mx6/mx6q_pins.h
>>> b/arch/arm/include/asm/arch-mx6/mx6q_pins.h
>>> index ad31c33..3aae246 100644
>>> --- a/arch/arm/include/asm/arch-mx6/mx6q_pins.h
>>> +++ b/arch/arm/include/asm/arch-mx6/mx6q_pins.h
>>> @@ -703,7 +703,7 @@ MX6_PAD_DECL(GPIO_8__SPDIF_SR_CLK,  0x0614,
>>> 0x0244, 6, 0x0000, 0, 0)
>>>  MX6_PAD_DECL(GPIO_8__USB_OTG_PWR_CTL_WAKE,     0x0614, 0x0244, 7, 0x0000, 0, 0)
>>>  MX6_PAD_DECL(GPIO_16__ESAI_TX3_RX2,    0x0618, 0x0248, 0, 0x0880, 1, 0)
>>>  MX6_PAD_DECL(GPIO_16__ENET_1588_EVENT2_IN,     0x0618, 0x0248, 1, 0x0000, 0, 0)
>>> -MX6_PAD_DECL(GPIO_16__ENET_REF_CLK,    0x0618, 0x0248, 2, 0x083C, 1, 0)
>>> +MX6_PAD_DECL(GPIO_16__ENET_REF_CLK,    0x0618, 0x0248, 2 |
>>> IOMUX_CONFIG_SION, 0x083C, 1, 0)
>>>  MX6_PAD_DECL(GPIO_16__SD1_LCTL,        0x0618, 0x0248, 3, 0x0000, 0, 0)
>>>  MX6_PAD_DECL(GPIO_16__SPDIF_IN,        0x0618, 0x0248, 4, 0x0914, 3, 0)
>>>  MX6_PAD_DECL(GPIO_16__GPIO7_IO11,      0x0618, 0x0248, 5, 0x0000, 0, 0)
>>>
>>> --
>>> Otavio Salvador                             O.S. Systems
>>> http://www.ossystems.com.br        http://code.ossystems.com.br
>>> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2014-02-12 13:23 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-19 14:34 [U-Boot] [PATCH imx6dl] Enable SION Bit for GPIO16 when ALT2 mode is selected Andy Ng
2014-01-19 16:58 ` Otavio Salvador
2014-01-19 17:07   ` Otavio Salvador
2014-01-19 17:48     ` Fabio Estevam
2014-01-19 17:55       ` Otavio Salvador
2014-01-19 18:03         ` Fabio Estevam
2014-01-19 18:47           ` Otavio Salvador
2014-01-22  7:19             ` Markus Niebel
2014-01-22 10:57               ` Fabio Estevam
2014-02-11 10:13 ` Stefano Babic
2014-02-11 10:55   ` Otavio Salvador
2014-02-11 11:11     ` Stefano Babic
2014-02-11 13:03       ` Otavio Salvador
2014-02-11 13:12         ` Stefano Babic
     [not found]           ` <CAAVaN8wXYG0MBACg=HT+EdTwy5hS0r_MDwOaYzK6-LUYyLhxjg@mail.gmail.com>
2014-02-12 11:58             ` Stefano Babic
2014-02-12 12:00               ` Otavio Salvador
     [not found]                 ` <CAAVaN8wM6O64PAATKqqHks1QnStmQ7R2g4fYHckZLooA=usMQQ@mail.gmail.com>
2014-02-12 12:57                   ` Andy Ng
2014-02-12 13:16                     ` Otavio Salvador
2014-02-12 13:23                     ` Stefano Babic
2014-02-12 13:23                     ` Andy Ng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).