i.MX233 - How to enable LRADC driver?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.MX233 - How to enable LRADC driver?

2,982件の閲覧回数
sujathap_m_
Contributor I

Hello,

I am using i.MX233 EVK from FSL ,and the Linux 2.6.31.

TO enable ADC driver we need to configure these things:

Device Drivers --->

    <M> Staging drivers  --->

         IIO staging drivers

            Analog to digital converters

           <M>   Freescale i.MX23 LRADC         

But  I didn't find IIO staging drivers, ADC, Freescale i.MX23 LRADC options under Staging drivers list. Then how can I enable LRADC driver?

I need to add the patch to my ADC driver, But I'm not finding the following Link- drivers/staging/iio/adc/mxs-lradc.c , where I made to change on this source code. Using this LRADC driver I need to read battery charge values. Can anyone help me to fix this problem?

Thanks in advance.

Regards,

Sujatha

ラベル(1)
0 件の賞賛
返信
6 返答(返信)

2,208件の閲覧回数
OtavioSalvador
Senior Contributor II

For mxs-lradc I'd use 3.10 kernel. It works out of box.

0 件の賞賛
返信

2,208件の閲覧回数
sujathap_m_
Contributor I

Hello,

I have downloaded L2.6.31_10.05.00_SDK_SOURCE from freescale which is using Linux 2.6.31

Are you talking about the same?

If yes, it supports Touch screen, however, it doesn't support reading the channel RAW value.

Which module we need to enable to get LRADC registered as a device node?

0 件の賞賛
返信

2,208件の閲覧回数
OtavioSalvador
Senior Contributor II

Yes; it does support touchscreen and it does has the channels exported.

I am using it in 3.10.

The driver is mxs-lradc.

Regards,    

0 件の賞賛
返信

2,208件の閲覧回数
sujathap_m_
Contributor I

Hello,

Kernel 3.10 source code is not available from Freescale. Let me know from which module we need to enable to get LRADC registered as a device node in same Linux 2.6.31.

Regards,

Sujatha

0 件の賞賛
返信

2,208件の閲覧回数
OtavioSalvador
Senior Contributor II

For i.MX23 I use 3.10; 2.6.31 is way too old. I didn't check the official kernel.

2,208件の閲覧回数
sujathap_m_
Contributor I

Let me know from where I can get the kernel 3.10.

0 件の賞賛
返信