summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPadmavathi Venna <padma.v@samsung.com>2013-03-31 18:42:24 +0000
committerMinkyu Kang <mk7.kang@samsung.com>2013-04-01 14:02:08 +0900
commit394d64e45b5a889a670ee83bfda3ff4358cdaaee (patch)
treefb46f36b2526b200186bf14179c11319beb75914 /arch
parent92809eeed22e264a770fcfc34721d986fedcbfa2 (diff)
downloadtalos-obmc-uboot-394d64e45b5a889a670ee83bfda3ff4358cdaaee.tar.gz
talos-obmc-uboot-394d64e45b5a889a670ee83bfda3ff4358cdaaee.zip
Exynos: Add peripherial id for pwm
Add peripherial id for pwm inorder to support generic api to get the clk frequency Test with command "sf probe 1:0; time sf read 40008000 0 1000". Try with different numbers of bytes and see that sane values are obtained Build and boot U-boot with this patch, backlight works properly. Signed-off-by: Padmavathi Venna <padma.v@samsung.com> Signed-off-by: Akshay Saraswat <akshay.s@samsung.com> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/arch-exynos/periph.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-exynos/periph.h b/arch/arm/include/asm/arch-exynos/periph.h
index 89bcdfc0cc..e5aed4b959 100644
--- a/arch/arm/include/asm/arch-exynos/periph.h
+++ b/arch/arm/include/asm/arch-exynos/periph.h
@@ -61,6 +61,11 @@ enum periph_id {
PERIPH_ID_SPI3,
PERIPH_ID_SPI4,
PERIPH_ID_SDMMC4,
+ PERIPH_ID_PWM0,
+ PERIPH_ID_PWM1,
+ PERIPH_ID_PWM2,
+ PERIPH_ID_PWM3,
+ PERIPH_ID_PWM4,
PERIPH_ID_COUNT,
PERIPH_ID_NONE = -1,
OpenPOWER on IntegriCloud