Skip to contentSkip to conversation

SAMSUNG How to handle changes in TSADC IP register bits

DISCUSSION NAVEEN KRISHNA CHATRADHI 3 participants 3 messages May 6, 2010 Arm Samsung Exynos

lore
Share & tools
lore
#0 lore raw

Hi Maurus,

------ Original Message -------
Sender : Maurus Cuelenaere<[email protected]>
Date : May 06, 2010 15:28 (GMT+05:00)
Title : Re: SAMSUNG How to handle changes in TSADC IP register bits

Hi Naveen,

Op 06-05-10 12:15, NAVEEN KRISHNA CHATRADHI schreef:

Quoted 35 lines

Hi Ben, Maurus,

------- Original Message -------
Sender : Maurus Cuelenaere<[email protected]>
Date : May 06, 2010 14:52 (GMT+05:00)
Title : Re: SAMSUNG How to handle changes in TSADC IP register bits

Op 06-05-10 07:41, Ben Dooks schreef:

Quoted 18 lines · Ben Dooks
Quoted 17 lines · NAVEEN KRISHNA CHATRADHI
Quoted 14 lines

Hi Ben,

I'm working on Touchscreen driver support for S5PC100, S5PV210, S3C6410 & S5P6440. The TSADC registers bit fields are keep on varying between the different SoCs, though the IP as a whole remains same.

For example:
Some of the ADC CONTROL REGISTER bit fields in S3C6410 are made as seperate register ADC CHANNEL MUX REGISTER
How do we handle this in the driver which should be generic to all the SoCs.

Quoted 8 lines
Quoted 4 lines

I've already merged the first changes for the s3c6410 (see Maurus' previous patches) ready for the next mainline merge.

Maurus, can you send the change to the core driver to support the extended range please.

Quoted 6 lines

I've seen this patch from Maurus a long ago.
Maurus, Do you have any other patches other than, Cause i have already made patches for touchscreen support for S3C6410/6440 S5Pv210/C110/C100 these boards.

I'ill post it in a day or 2.

No, I only added support for the S3C6410 (as that's the only board I have). I've seen your patch earlier and i made a patch set for TSADC on other boards too.

This patch set would take care of the moving of ts.h from plat to mach, moving the GPIOs specific for S3C24XX to seperate file, Adding generic GPIO configuration functions (based on I2C) and Also adds TSADC support for S3c6410, S5PV210,C110 and S5P6440.

but, It might take a day or 2 to get them reviewed internally and post it on mainline.

Signature · 5 lines
Maurus Cuelenaere

Thanks & Best Regards,
Naveen Krishna Ch
SE @ SLG Div, DS LABs, Samsung, India.
#1 lore raw

Op 06-05-10 12:40, NAVEEN KRISHNA CHATRADHI schreef:

Quoted 62 lines

Hi Maurus,

------ Original Message -------
Sender : Maurus Cuelenaere<[email protected]>
Date : May 06, 2010 15:28 (GMT+05:00)
Title : Re: SAMSUNG How to handle changes in TSADC IP register bits

Hi Naveen,

Op 06-05-10 12:15, NAVEEN KRISHNA CHATRADHI schreef:

Quoted 41 lines

Hi Ben, Maurus,

------- Original Message -------
Sender : Maurus Cuelenaere<[email protected]>
Date : May 06, 2010 14:52 (GMT+05:00)
Title : Re: SAMSUNG How to handle changes in TSADC IP register bits

Op 06-05-10 07:41, Ben Dooks schreef:

Quoted 21 lines · Ben Dooks
Quoted 20 lines · NAVEEN KRISHNA CHATRADHI
Quoted 16 lines

Hi Ben,

I'm working on Touchscreen driver support for S5PC100, S5PV210, S3C6410 & S5P6440. The TSADC registers bit fields are keep on varying between the different SoCs, though the IP as a whole remains same.

For example:
Some of the ADC CONTROL REGISTER bit fields in S3C6410 are made as seperate register ADC CHANNEL MUX REGISTER
How do we handle this in the driver which should be generic to all the SoCs.

Quoted 10 lines
Quoted 5 lines

I've already merged the first changes for the s3c6410 (see Maurus' previous patches) ready for the next mainline merge.

Maurus, can you send the change to the core driver to support the extended range please.

Quoted 7 lines

I've seen this patch from Maurus a long ago.
Maurus, Do you have any other patches other than, Cause i have already made patches for touchscreen support for S3C6410/6440 S5Pv210/C110/C100 these boards.

I'ill post it in a day or 2.

No, I only added support for the S3C6410 (as that's the only board I have). I've seen your patch earlier and i made a patch set for TSADC on other boards too.

Quoted 7 lines

This patch set would take care of the moving of ts.h from plat to mach, moving the GPIOs specific for S3C24XX to seperate file, Adding generic GPIO configuration functions (based on I2C) and Also adds TSADC support for S3c6410, S5PV210,C110 and S5P6440.

but, It might take a day or 2 to get them reviewed internally and post it on mainline.

You probably want to state that too on the patch I sent to linux-input (
ARM: S3C64XX: Add s3c64xx support to touchscreen driver), as your patches seem to supersede mine.

Keep in mind that "ARM: SAMSUNG: Move mach/ts.h to plat/ts.h" and "ARM:
S3C64XX: Add touchscreen platform device definition" have already been merged though.

Signature · 1 line
Maurus Cuelenaere
#2 lore raw
In reply to NAVEEN KRISHNA CHATRADHI
Quoted 52 lines · NAVEEN KRISHNA CHATRADHI

Hi Maurus,

------ Original Message -------
Sender : Maurus Cuelenaere<[email protected]>
Date : May 06, 2010 15:28 (GMT+05:00)
Title : Re: SAMSUNG How to handle changes in TSADC IP register bits

Hi Naveen,

Op 06-05-10 12:15, NAVEEN KRISHNA CHATRADHI schreef:

Quoted 35 lines

Hi Ben, Maurus,

------- Original Message -------
Sender : Maurus Cuelenaere<[email protected]>
Date : May 06, 2010 14:52 (GMT+05:00)
Title : Re: SAMSUNG How to handle changes in TSADC IP register bits

Op 06-05-10 07:41, Ben Dooks schreef:

Quoted 18 lines · Ben Dooks
Quoted 17 lines · NAVEEN KRISHNA CHATRADHI
Quoted 14 lines

Hi Ben,

I'm working on Touchscreen driver support for S5PC100, S5PV210, S3C6410 & S5P6440. The TSADC registers bit fields are keep on varying between the different SoCs, though the IP as a whole remains same.

For example:
Some of the ADC CONTROL REGISTER bit fields in S3C6410 are made as seperate register ADC CHANNEL MUX REGISTER
How do we handle this in the driver which should be generic to all the SoCs.

Quoted 8 lines
Quoted 4 lines

I've already merged the first changes for the s3c6410 (see Maurus' previous patches) ready for the next mainline merge.

Maurus, can you send the change to the core driver to support the extended range please.

Quoted 6 lines

I've seen this patch from Maurus a long ago.
Maurus, Do you have any other patches other than, Cause i have already made patches for touchscreen support for S3C6410/6440 S5Pv210/C110/C100 these boards.

I'ill post it in a day or 2.

Quoted 7 lines

No, I only added support for the S3C6410 (as that's the only board I have). I've seen your patch earlier and i made a patch set for TSADC on other boards too.

This patch set would take care of the moving of ts.h from plat to mach, moving the GPIOs specific for S3C24XX to seperate file, Adding generic GPIO configuration functions (based on I2C) and Also adds TSADC support for S3c6410, S5PV210,C110 and S5P6440.

The ts.h file has already been moved, see the following branch:
http://git.fluff.org/gitweb?p=bjdooks/linux.git;a=shortlog;h=refs/heads/for-2635/s3c64xx-ts

Quoted 7 lines

but, It might take a day or 2 to get them reviewed internally and post it on mainline.

Signature · 5 lines
Maurus Cuelenaere

Thanks & Best Regards,
Naveen Krishna Ch
SE @ SLG Div, DS LABs, Samsung, India.
Signature · 5 lines
-- 
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.