2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 20:23:57 +08:00
linux-next/drivers/pinctrl/sh-pfc
Kuninori Morimoto 3d8c120be3 pinctrl: sh-pfc: sh7734: use PINMUX_IPSR_MSEL()
Now, PINMUX_IPSR_MSEL() and PINMUX_IPSR_MODSEL_DATA() are same.

Current PFC driver is very difficult to read, because macro names are
using different length.

	PINMUX_IPSR_NOGP(ispr, ...)
	PINMUX_IPSR_DATA(ipsr, ...)
	PINMUX_IPSR_NOGM(ispr, ...)
	PINMUX_IPSR_NOFN(ipsr, ...)
	PINMUX_IPSR_MSEL(ipsr, ...)
	PINMUX_IPSR_MODSEL_DATA(ipsr, ...)

It can be readable if we can use PINMUX_IPSR_MSEL() instead
of PINMUX_IPSR_MODSEL_DATA()

	PINMUX_IPSR_NOGP(ispr, ...)
	PINMUX_IPSR_DATA(ipsr, ...)
	PINMUX_IPSR_NOGM(ispr, ...)
	PINMUX_IPSR_NOFN(ipsr, ...)
	PINMUX_IPSR_MSEL(ipsr, ...)

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2015-10-02 09:54:36 +02:00
..
core.c pinctrl: sh-pfc: Remove obsolete r8a7740 platform_device_id entry 2015-07-16 11:40:10 +02:00
core.h pinctrl: sh-pfc: Confine legacy function GPIOs to SH 2015-10-02 09:54:33 +02:00
gpio.c pinctrl: sh-pfc: Remove hardcoded IRQ numbers 2015-10-02 09:54:35 +02:00
Kconfig pinctrl: sh-pfc: add R8A7794 PFC support 2015-06-16 10:53:20 +02:00
Makefile pinctrl: sh-pfc: add R8A7794 PFC support 2015-06-16 10:53:20 +02:00
pfc-emev2.c sh-pfc: emev2 - Fix mangled author name 2015-02-05 14:51:34 +01:00
pfc-r8a73a4.c pinctrl: sh-pfc: Remove hardcoded IRQ numbers 2015-10-02 09:54:35 +02:00
pfc-r8a7740.c pinctrl: sh-pfc: Remove hardcoded IRQ numbers 2015-10-02 09:54:35 +02:00
pfc-r8a7778.c pinctrl: sh-pfc: ARM: Constify pins and cfg_regs arrays 2013-12-20 12:28:40 +01:00
pfc-r8a7779.c pinctrl: sh-pfc: ARM: Constify pins and cfg_regs arrays 2013-12-20 12:28:40 +01:00
pfc-r8a7790.c sh-pfc: r8a7790: remove non-existing GPIO pins 2015-07-16 09:39:01 +02:00
pfc-r8a7791.c pinctrl: sh-pfc: r8a7791/r8a7793: Correct SCIFB1_B SCK MOD_SEL value 2015-10-02 09:54:34 +02:00
pfc-r8a7794.c pinctrl: sh-pfc: r8a7794: Remove bogus SCIF0 SCK pin data 2015-10-02 09:54:33 +02:00
pfc-sh73a0.c pinctrl: sh-pfc: Remove hardcoded IRQ numbers 2015-10-02 09:54:35 +02:00
pfc-sh7203.c pinctrl: sh-pfc: sh: Constify pins and cfg_regs arrays 2013-12-20 12:27:43 +01:00
pfc-sh7264.c pinctrl: sh-pfc: sh: Constify pins and cfg_regs arrays 2013-12-20 12:27:43 +01:00
pfc-sh7269.c pinctrl: sh-pfc: sh: Constify pins and cfg_regs arrays 2013-12-20 12:27:43 +01:00
pfc-sh7720.c pinctrl: sh-pfc: sh: Constify pins and cfg_regs arrays 2013-12-20 12:27:43 +01:00
pfc-sh7722.c pinctrl: sh-pfc: sh: Constify pins and cfg_regs arrays 2013-12-20 12:27:43 +01:00
pfc-sh7723.c pinctrl: sh-pfc: sh: Constify pins and cfg_regs arrays 2013-12-20 12:27:43 +01:00
pfc-sh7724.c pinctrl: sh-pfc: sh: Constify pins and cfg_regs arrays 2013-12-20 12:27:43 +01:00
pfc-sh7734.c pinctrl: sh-pfc: sh7734: use PINMUX_IPSR_MSEL() 2015-10-02 09:54:36 +02:00
pfc-sh7757.c pinctrl: sh-pfc: sh: Constify pins and cfg_regs arrays 2013-12-20 12:27:43 +01:00
pfc-sh7785.c pinctrl: sh-pfc: sh: Constify pins and cfg_regs arrays 2013-12-20 12:27:43 +01:00
pfc-sh7786.c pinctrl: sh-pfc: sh: Constify pins and cfg_regs arrays 2013-12-20 12:27:43 +01:00
pfc-shx3.c pinctrl: sh-pfc: sh: Constify pins and cfg_regs arrays 2013-12-20 12:27:43 +01:00
pinctrl.c pinctrl: sh-pfc: Implement pinconf power-source param for voltage switching 2015-08-24 10:44:54 +02:00
sh_pfc.h pinctrl: sh-pfc: modify PINMUX_IPSR_MSEL() macro order 2015-10-02 09:54:35 +02:00