]> git.dujemihanovic.xyz Git - u-boot.git/commit
s5p: gpio: change gpio coding method for s5p gpio.
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Wed, 22 Jan 2014 10:24:10 +0000 (11:24 +0100)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 3 Feb 2014 06:36:14 +0000 (15:36 +0900)
commit8475c869c30cbeef1695396b43bc240cc0d35f5a
tree8f31f7df5b8bec2a11a73f88cefd1a687ef12827
parent047eada42a776468426be1f05d3203f90ce3a8d8
s5p: gpio: change gpio coding method for s5p gpio.

Old s5p gpio coding method was not clean and was not working properly
for all parts and banks. New method is clean and easy to extend.

Gpio coding mask:
0x000000ff - pin number
0x00ffff00 - bank offset
0xff000000 - part number

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
arch/arm/include/asm/arch-exynos/gpio.h
arch/arm/include/asm/arch-s5pc1xx/gpio.h
board/samsung/trats2/trats2.c
drivers/gpio/s5p_gpio.c
include/configs/s5p_goni.h
include/configs/s5pc210_universal.h
include/configs/trats.h