S3C2443/S3C2416: Implement support for ADC
From: Heiko Stuebner <heiko@...> Date: Mon, 10 Oct 2011 21:03:34 +0200
The adc blocks of S3C2443 and S3C2416/2450 differ in some regards from previous (S3C2410, etc) and later (S3C64XX, S5P) SoCs. This patch series adds support for these ADC implementations. Each patch was compile tested. But as I have only access to S3C2416 hardware, real life testing happened only there. Changes since v2: Drop the quirks and follow the proposal of Kukjin Kim introducing additional cpu types for S3C2443 and S3C2416. S3C2443 becomes TYPE_ADCV11, as it's older than the S3C2416 implementation S3C2416/2450 becomes TYPE_ADCV12. Changes since v1: added a wrap for a line over 80 and moved the adc_setname call to the s3c24XX.c files where all the other names are set. Heiko Stuebner (5): S3C2443/S3C2416: Add adc registers s3c-adc: Fix mux bit modification in s3c_adc_select S3C24XX: Allow overriding of adc device name s3c-adc: Add support for S3C2443 s3c-adc: Add support for S3C2416/S3C2450 arch/arm/mach-s3c2416/s3c2416.c | 3 ++ arch/arm/mach-s3c2443/s3c2443.c | 3 ++ arch/arm/plat-samsung/adc.c | 43 ++++++++++++++++++------ arch/arm/plat-samsung/include/plat/adc-core.h | 2 +- arch/arm/plat-samsung/include/plat/regs-adc.h | 3 ++ 5 files changed, 42 insertions(+), 12 deletions(-) -- 1.7.2.3
Patches in this set
- [0001] S3C2443/S3C2416: Add adc registers (raw)
- [0002] s3c-adc: Fix mux bit modification in s3c_adc_select (raw)
- [0003] S3C24XX: Allow overriding of adc device name (raw)
- [0004] s3c-adc: Add support for S3C2443 (raw)
- [0005] s3c-adc: Add support for S3C2416/S3C2450 (raw)
Statistics
- 5 individual patches
- 43 lines added
- 13 lines removed