ARM: uniphier: add sg_set_iectrl_range()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 21 Apr 2016 05:43:15 +0000 (14:43 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 24 Apr 2016 00:53:57 +0000 (09:53 +0900)
commit612ccd90012d7c77bbe67ec65f770b9e82fe4a35
treef95e04d454f99db06ec891ec2db2ca8d14fa9fb5
parent6c64d50e47cbb9f68f53cc67f178d1a09f63b369
ARM: uniphier: add sg_set_iectrl_range()

For PH1-LD20 or later, per-pin input-enable control is supported,
that is, we need to set-up IECTRL registers for a group of pins.
This helper function will be useful for a bunch of register settings.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/sg-regs.h