meta-freescale.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
* Understanding pads setup
@ 2023-03-12 18:50 Mauro Ziliani
  2023-03-13  7:54 ` Marco Cavallini
  2023-03-14  0:39 ` Fabio Estevam
  0 siblings, 2 replies; 6+ messages in thread
From: Mauro Ziliani @ 2023-03-12 18:50 UTC (permalink / raw)
  To: meta-freescale

Hi all

I'm working on and mx51evk babbage board.

I have a lvds display connected ti disp1 pads.

I need to define DI1_DISP_CLK for pad J18 of the BGA (the chip is 19x19mm)


I know the pad definition is made by 5+1 values

<mux_reg conf_reg input_reg mux_mode input_val    CONFIG>


I don't find MX51_PAD_DI1_DISP_CLK__DI1_DISP_CLK or similar in 
imx51-pinfunc.h

I find MX51_PAD_DI2_DISP_CLK__DI2_DISP_CLK defined with this values.


#define MX51_PAD_DI2_DISP_CLK__DI2_DISP_CLK     0x34c 0x754 0x000 0x0 0x0


But I don't know how to use the 5 values.


Where I can find some example o detailed info about?


MZ



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

* Re: Understanding pads setup
  2023-03-12 18:50 Understanding pads setup Mauro Ziliani
@ 2023-03-13  7:54 ` Marco Cavallini
  2023-03-13 16:06   ` [meta-freescale] " Mauro Ziliani
  2023-03-14  0:39 ` Fabio Estevam
  1 sibling, 1 reply; 6+ messages in thread
From: Marco Cavallini @ 2023-03-13  7:54 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 512 bytes --]

Hi Mauro,

you can refer to our IMX6 definitive GPIO guide ( https://wiki.koansoftware.com/index.php/IMX6_definitive_GPIO_guide ) related to iMX6 in our wiki
and adapt it to the required settings that you can see in the kernel documentation for imx53-pinctrl.txt ( https://github.com/Freescale/linux-fslc/blob/5.15-2.2.x-imx/Documentation/devicetree/bindings/pinctrl/fsl%2Cimx53-pinctrl.txt )

Ciao
--
Marco Cavallini | KOAN sas
Bergamo - Italia
embedded software engineering
https://KoanSoftware.com

[-- Attachment #2: Type: text/html, Size: 633 bytes --]

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

* Re: [meta-freescale] Understanding pads setup
  2023-03-13  7:54 ` Marco Cavallini
@ 2023-03-13 16:06   ` Mauro Ziliani
  0 siblings, 0 replies; 6+ messages in thread
From: Mauro Ziliani @ 2023-03-13 16:06 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 1066 bytes --]

Thank you.


Il 13/03/23 08:54, Marco Cavallini ha scritto:
> Hi Mauro,
>
> you can refer to our IMX6 definitive GPIO guide 
> <https://wiki.koansoftware.com/index.php/IMX6_definitive_GPIO_guide> 
> related to iMX6 in our wiki
> and adapt it to the required settings that you can see in the kernel 
> documentation for imx53-pinctrl.txt 
> <https://github.com/Freescale/linux-fslc/blob/5.15-2.2.x-imx/Documentation/devicetree/bindings/pinctrl/fsl%2Cimx53-pinctrl.txt>
>
> Ciao
> --
> Marco Cavallini | KOAN sas
> Bergamo - Italia
> embedded software engineering
> https://KoanSoftware.com
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#24906):https://lists.yoctoproject.org/g/meta-freescale/message/24906
> Mute This Topic:https://lists.yoctoproject.org/mt/97564923/3617482
> Group Owner:meta-freescale+owner@lists.yoctoproject.org
> Unsubscribe:https://lists.yoctoproject.org/g/meta-freescale/unsub  [mauro@faresoftware.it]
> -=-=-=-=-=-=-=-=-=-=-=-
>
-- 
linkedin: https://www.linkedin.com/in/mauroziliani

[-- Attachment #2: Type: text/html, Size: 2522 bytes --]

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

* Re: [meta-freescale] Understanding pads setup
  2023-03-12 18:50 Understanding pads setup Mauro Ziliani
  2023-03-13  7:54 ` Marco Cavallini
@ 2023-03-14  0:39 ` Fabio Estevam
  2023-03-28  9:50   ` Mauro Ziliani
  1 sibling, 1 reply; 6+ messages in thread
From: Fabio Estevam @ 2023-03-14  0:39 UTC (permalink / raw)
  To: Mauro Ziliani; +Cc: meta-freescale

Hi Mauro,

On Sun, Mar 12, 2023 at 3:50 PM Mauro Ziliani <mauro@faresoftware.it> wrote:
>
> Hi all
>
> I'm working on and mx51evk babbage board.
>
> I have a lvds display connected ti disp1 pads.
>
> I need to define DI1_DISP_CLK for pad J18 of the BGA (the chip is 19x19mm)

Why? There is no mux option for the DI1_DISP_CLK pin.


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

* Re: [meta-freescale] Understanding pads setup
  2023-03-14  0:39 ` Fabio Estevam
@ 2023-03-28  9:50   ` Mauro Ziliani
  2023-03-29  3:13     ` Fabio Estevam
  0 siblings, 1 reply; 6+ messages in thread
From: Mauro Ziliani @ 2023-03-28  9:50 UTC (permalink / raw)
  To: meta-freescale; +Cc: Fabio Estevam

[-- Attachment #1: Type: text/plain, Size: 1139 bytes --]

Hi Fabio.

In the schematic of the board, the pin J18 is connected to lvds 
transceiver as DI1_DISP_CLK.

I compared the size of the chip and I see there 2 versions: 13x13 mm 
where J18 is DI1_PIN2, while in the 19x19 J18 is DI1_DISP_CLK.




Il 14/03/23 01:39, Fabio Estevam ha scritto:
> Hi Mauro,
>
> On Sun, Mar 12, 2023 at 3:50 PM Mauro Ziliani<mauro@faresoftware.it>  wrote:
>> Hi all
>>
>> I'm working on and mx51evk babbage board.
>>
>> I have a lvds display connected ti disp1 pads.
>>
>> I need to define DI1_DISP_CLK for pad J18 of the BGA (the chip is 19x19mm)
> Why? There is no mux option for the DI1_DISP_CLK pin.
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#24908):https://lists.yoctoproject.org/g/meta-freescale/message/24908
> Mute This Topic:https://lists.yoctoproject.org/mt/97564923/3617482
> Group Owner:meta-freescale+owner@lists.yoctoproject.org
> Unsubscribe:https://lists.yoctoproject.org/g/meta-freescale/unsub  [mauro@faresoftware.it]
> -=-=-=-=-=-=-=-=-=-=-=-
>
-- 
linkedin: https://www.linkedin.com/in/mauroziliani

[-- Attachment #2: Type: text/html, Size: 2556 bytes --]

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

* Re: [meta-freescale] Understanding pads setup
  2023-03-28  9:50   ` Mauro Ziliani
@ 2023-03-29  3:13     ` Fabio Estevam
  0 siblings, 0 replies; 6+ messages in thread
From: Fabio Estevam @ 2023-03-29  3:13 UTC (permalink / raw)
  To: Mauro Ziliani; +Cc: meta-freescale

Hi Mauro,

On Tue, Mar 28, 2023 at 6:51 AM Mauro Ziliani <mauro@faresoftware.it> wrote:
>
> Hi Fabio.
>
> In the schematic of the board, the pin J18 is connected to lvds transceiver as DI1_DISP_CLK.

DI1_DISP_CLK is also used on the imx51-evk.

I don't understand why you want to include DI1_DISP_CLK into imx51-pinfunc.h.

The i.MX51 Reference Manual states that the DI1_DISP_CLK has no mux
option. It can only work as DI1_DISP_CLK functionality, so you don't
need to include it in imx51-pinfunc.h.


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

end of thread, other threads:[~2023-03-29  3:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-12 18:50 Understanding pads setup Mauro Ziliani
2023-03-13  7:54 ` Marco Cavallini
2023-03-13 16:06   ` [meta-freescale] " Mauro Ziliani
2023-03-14  0:39 ` Fabio Estevam
2023-03-28  9:50   ` Mauro Ziliani
2023-03-29  3:13     ` Fabio Estevam

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).