[PATCH v5 0/2] Move i2c sys_cfg register configuration to i2c driver
Pankaj Dubey
pankaj.dubey at samsung.com
Fri Nov 21 02:22:01 PST 2014
This patch series is moving i2c sys_cfg register configuration settings from
mach-exynos to i2c driver. It will help in removing soc_is_exynos kind of
macro usage from mach-exynos also it will help in removing static mapping of
SYS registers.
This series is based on latest kgene/for-next.
Revision V4 of these patches can related discussion can be found here.
http://www.spinics.net/lists/linux-samsung-soc/msg38342.html
Changes since v4:
- Rebased on latest kgene/for-next (SHA-ID: 7552917ad948acad6c689d49604f93f725145173)
- Addressed Wolfram Sang's review comments.
Change since v3:
- Rebased on latest kgene/for-next (SHA-ID: 2b5fa1d5dabb9af8f2da4f380bea8684f9b96f59)
- This series consist of only two patches from v3 [1] (v3[1/6] and v3[2/6]).
- Addressed Tomasz Figa and Wolfram Sang's comments.
- Updated i2c DT binding information.
Changes since v2:
- Reorganized patches as suggested by Tomasz Figa.
- Addressed review comments of Tomasz Figa in i2c-s3c2410.c file.
Changes since v1:
- Added patch to move i2c interrupt re-configuration code from exynos.c
to i2c driver, as suggested by Arnd.
- After above patch only user of SYS_I2C_CFG register is pm.c so moving
save/restore of this register also into i2c driver.
- Spiltted up exynos4 and exynos5 machine descriptors to get rid from
soc_is_exynos4/exynos5 kind of macros, as suggested by Arnd.
- Changed location of chipid driver to "drivers/soc".
- Added drivers/base/soc.c provided infrastructure to make SoC specific
information avaible to user space via sysfs entry, as suggested by Arnd.
Pankaj Dubey (2):
i2c: s3c2410: Handle i2c sys_cfg register in i2c driver
ARM: EXYNOS: Remove i2c sys configuration related code
.../devicetree/bindings/i2c/i2c-s3c2410.txt | 1 +
arch/arm/boot/dts/exynos5250.dtsi | 4 ++
arch/arm/boot/dts/exynos5420.dtsi | 4 ++
arch/arm/mach-exynos/exynos.c | 39 +-------------------
arch/arm/mach-exynos/include/mach/map.h | 3 --
arch/arm/mach-exynos/pm.c | 3 +-
arch/arm/mach-exynos/regs-sys.h | 22 -----------
arch/arm/mach-exynos/suspend.c | 7 ----
drivers/i2c/busses/i2c-s3c2410.c | 29 +++++++++++++++
9 files changed, 42 insertions(+), 70 deletions(-)
delete mode 100644 arch/arm/mach-exynos/regs-sys.h
--
1.7.9.5
More information about the linux-arm-kernel
mailing list