Laurent Pinchart
45bfd2adab
ARM: shmobile: r8a7740: Remove BSC function GPIOs
...
Those GPIOs have been deprecated by the pinctrl API. They are unused and
unneeded, remove them.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-05 17:17:06 +09:00
Laurent Pinchart
1343000c34
ARM: shmobile: r8a7740: Remove INTC function GPIOs
...
Those GPIOs have been deprecated by the pinctrl API. They are unused and
unneeded, remove them.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-05 17:17:06 +09:00
Laurent Pinchart
ac32d7cbf0
ARM: shmobile: r8a7740: Remove SCIF function GPIOs
...
Those GPIOs have been deprecated by the pinctrl API. They are unused and
unneeded, remove them.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-05 17:17:05 +09:00
Bastian Hecht
7cdfb46ea9
ARM: shmobile: armadillo800eva: Convert SCIFA1 to pinctrl
...
We use the new pinctrl framework now.
Signed-off-by: Bastian Hecht <hechtb+renesas@gmail.com >
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-05 17:16:44 +09:00
Laurent Pinchart
0f7f51d82c
sh-pfc: r8a7740: Remove HDMI function GPIOS
...
All r8a7740 platforms now use the pinctrl API to control the HDMI pins,
the corresponding function GPIOS are unused. Remove them.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:34 +09:00
Laurent Pinchart
592e0c3029
sh-pfc: r8a7740: Remove FSI function GPIOS
...
All r8a7740 platforms now use the pinctrl API to control the FSI pins,
the corresponding function GPIOS are unused. Remove them.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:34 +09:00
Laurent Pinchart
75c57d2c90
sh-pfc: r8a7740: Remove CEU function GPIOS
...
All r8a7740 platforms now use the pinctrl API to control the CEU pins,
the corresponding function GPIOS are unused. Remove them.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:33 +09:00
Laurent Pinchart
3456e2543e
sh-pfc: r8a7740: Remove GETHER function GPIOS
...
All r8a7740 platforms now use the pinctrl API to control the GETHER
pins, the corresponding function GPIOS are unused. Remove them.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:33 +09:00
Laurent Pinchart
0be4e53913
sh-pfc: r8a7740: Remove BSC function GPIOS
...
All r8a7740 platforms now use the pinctrl API to control the BSC pins,
the corresponding function GPIOS are unused. Remove them.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:32 +09:00
Laurent Pinchart
78c3e9b2a1
sh-pfc: r8a7740: Remove INTC function GPIOS
...
All r8a7740 platforms now use the pinctrl API to control the INTC pins,
the corresponding function GPIOS are unused. Remove them.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:32 +09:00
Laurent Pinchart
aae36d71a3
sh-pfc: r8a7740: Remove SCIF function GPIOS
...
All r8a7740 platforms now use the pinctrl API to control the SCIF pins,
the corresponding function GPIOS are unused. Remove them.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:31 +09:00
Laurent Pinchart
8be14c78e7
ARM: shmobile: bonito: Don't configure LCDC routing manually
...
LCDC routing is configured automatically in the PFC driver, don't
configure it manually in board code.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:31 +09:00
Laurent Pinchart
055b246946
ARM: shmobile: bonito: Register pinctrl mapping for BSC
...
Replace the GPIO-based BSC pinmux configuration by a pinctrl mapping.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:30 +09:00
Laurent Pinchart
f569b10f66
ARM: shmobile: bonito: Register pinctrl mapping for INTC
...
Replace the GPIO-based INTC pinmux configuration by a pinctrl mapping.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:30 +09:00
Laurent Pinchart
7cded0c90b
ARM: shmobile: bonito: Register pinctrl mapping for SCIF
...
Replace the GPIO-based SCIF pinmux configuration by a pinctrl mapping.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:29 +09:00
Laurent Pinchart
6c887d2c09
ARM: shmobile: bonito: Remove empty core devices array
...
The core devices array is empty, passing it to platform_add_devices() is
a no-op. Remove it.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:29 +09:00
Laurent Pinchart
f5c02edc51
ARM: shmobile: armadillo800eva: Replace GPIO_PORTx with GPIO port numbers
...
The PFC GPIO API implementation moved to using port numbers. Replace all
GPIO_PORTx enum usage with the corresponding port number. The GPIO_PORTx
enum values are identical to the port number on this platform.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:29 +09:00
Laurent Pinchart
1b5961c31d
ARM: shmobile: armadillo800eva: Don't configure LCDC routing manually
...
LCDC routing is configured automatically in the PFC driver, don't
configure it manually in board code.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:28 +09:00
Laurent Pinchart
f1bb4ab084
ARM: shmobile: armadillo800eva: Register pinctrl mapping for HDMI
...
Replace the GPIO-based HDMI pinmux configuration by a pinctrl mapping.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:28 +09:00
Laurent Pinchart
fed8976e39
ARM: shmobile: armadillo800eva: Register pinctrl mapping for FSI
...
Replace the GPIO-based FSI pinmux configuration by a pinctrl mapping.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:27 +09:00
Laurent Pinchart
babde827f2
ARM: shmobile: armadillo800eva: Register pinctrl mapping for CEU0
...
Replace the GPIO-based CEU0 pinmux configuration by a pinctrl mapping.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:27 +09:00
Laurent Pinchart
613285ce72
ARM: shmobile: armadillo800eva: Register pinctrl mapping for GETHER
...
Replace the GPIO-based GETHER pinmux configuration by a pinctrl mapping.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:26 +09:00
Laurent Pinchart
89ae7b5bbd
ARM: shmobile: armadillo800eva: Register pinctrl mapping for INTC
...
Replace the GPIO-based INTC pinmux configuration by a pinctrl mapping.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:26 +09:00
Laurent Pinchart
b79839024f
sh-pfc: r8a7740: Hardcode the LCDC0 output
...
The r8a7740 has two LCDC units and two sets of LCDC output signals. By
default LCDC0 is routed to the LCD0 signals, and LCDC1 to the LCD1
signals. However, LCDC1 can be routed to the LCD0 signals by setting bit
MSEL6 in MSEL3CR (the LCD0 signals are further pinmuxed the usual way).
This could be configured by duplicating the LCD0 pin groups for LCDC1.
However, this would unnecessarily complicate the LCD pin groups, as no
r8a7740 board supported in mainline use such a configuration. Hardcode
the MSEL3CR MSEL6 bit to 0 for now.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:25 +09:00
Laurent Pinchart
a37d60659f
sh-pfc: r8a7740: Add HDMI pin groups and functions
...
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:25 +09:00
Laurent Pinchart
909dd95f13
sh-pfc: r8a7740: Add FSI pin groups and functions
...
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:24 +09:00
Laurent Pinchart
0ec939bd75
sh-pfc: r8a7740: Add CEU pin groups and functions
...
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:24 +09:00
Laurent Pinchart
bae11d30d0
sh-pfc: r8a7740: Add GETHER pin groups and functions
...
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:23 +09:00
Laurent Pinchart
b7099c498b
sh-pfc: r8a7740: Add BSC pin groups and functions
...
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:23 +09:00
Laurent Pinchart
d031696e02
sh-pfc: r8a7740: Declare missing INTC function
...
When adding the INTC pin groups the INTC function hasn't been added to
the functions list. Fix it.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:22 +09:00
Laurent Pinchart
cdd2c76935
sh-pfc: r8a7740: Add SCIF pin groups and functions
...
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:22 +09:00
Laurent Pinchart
7cacd75559
sh-pfc: sh7372: Add bias (pull-up/down) pinconf support
...
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:21 +09:00
Laurent Pinchart
0d0c8e3669
ARM: shmobile: sh7372: Remove all GPIOs
...
Function GPIOs are not used anymore, and all code use the GPIO numbers
directly. Remove the GPIOs enumeration.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:21 +09:00
Laurent Pinchart
15dba8a454
sh-pfc: sh7372: Remove function GPIOs
...
No sh7372 platform use the function GPIOs API. Remove it.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:21 +09:00
Laurent Pinchart
4e65c958d3
sh-pfc: sh7372: Replace GPIO_PORTx enum with GPIO port numbers
...
The PFC GPIO API implementation moved to using port numbers. Replace all
GPIO_PORTx enum usage with the corresponding port number. The GPIO_PORTx
enum values are identical to the port number on this platform.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:20 +09:00
Laurent Pinchart
025cc6ec8b
ARM: shmobile: ap4evb: Register pinctrl mapping for USBHS
...
Replace the GPIO-based USBHS pinmux configuration by a pinctrl mapping.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:20 +09:00
Laurent Pinchart
119612d2f9
ARM: shmobile: ap4evb: Register pinctrl mapping for TSC2007
...
Replace the GPIO-based TSC2007 pinmux configuration by a pinctrl
mapping.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:19 +09:00
Laurent Pinchart
4a666a783b
ARM: shmobile: ap4evb: Simplify tsc2007 pen state read function
...
The pen state is retrieved by reading the state of a pin used as an IRQ.
There's no need to reconfigure the pin as a pure GPIO, as the IRQ pin
state can be read.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:19 +09:00
Laurent Pinchart
5436c2b9b4
ARM: shmobile: ap4evb: Register pinctrl mapping for SMSC911x
...
Replace the GPIO-based SMSC911x pinmux configuration by a pinctrl
mapping.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:18 +09:00
Laurent Pinchart
09f2780de9
ARM: shmobile: ap4evb: Register pinctrl mapping for SCIF
...
Replace the GPIO-based SCIF pinmux configuration by a pinctrl mapping.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:18 +09:00
Laurent Pinchart
8b53e59552
ARM: shmobile: ap4evb: Register pinctrl mapping for LCD
...
Replace the GPIO-based LCD pinmux configuration by a pinctrl mapping.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:17 +09:00
Laurent Pinchart
6cd49f71a4
ARM: shmobile: ap4evb: Register pinctrl mapping for KEYSC
...
Replace the GPIO-based KEYSC pinmux configuration by a pinctrl mapping.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:17 +09:00
Laurent Pinchart
d9aa3005e5
ARM: shmobile: ap4evb: Register pinctrl mapping for HDMI
...
Replace the GPIO-based HDMI pinmux configuration by a pinctrl mapping.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:16 +09:00
Laurent Pinchart
d2e0ca63a8
ARM: shmobile: ap4evb: Register pinctrl mapping for FSI
...
Replace the GPIO-based FSI pinmux configuration by a pinctrl mapping.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:16 +09:00
Laurent Pinchart
bdf439f187
ARM: shmobile: ap4evb: Register pinctrl mapping for CEU
...
Replace the GPIO-based CEU pinmux configuration by a pinctrl mapping.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:16 +09:00
Laurent Pinchart
c135190ded
ARM: shmobile: mackerel: Register pinctrl mapping for USBHS
...
Replace the GPIO-based USBHS pinmux configuration by a pinctrl mapping.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:15 +09:00
Laurent Pinchart
47f902899f
ARM: shmobile: mackerel: Register pinctrl mapping for TCA6416
...
Replace the GPIO-based TCA6416 pinmux configuration by a pinctrl
mapping.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:15 +09:00
Laurent Pinchart
a4bb48874e
ARM: shmobile: mackerel: Register pinctrl mapping for ST1232
...
Replace the GPIO-based ST1232 pinmux configuration by a pinctrl mapping.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:14 +09:00
Laurent Pinchart
98f2d3645f
ARM: shmobile: mackerel: Register pinctrl mapping for SMSC911x
...
Replace the GPIO-based SMSC911x pinmux configuration by a pinctrl
mapping.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:14 +09:00
Laurent Pinchart
886c5353a8
ARM: shmobile: mackerel: Register IRQ pinctrl mapping for SDHI0
...
Replace the GPIO-based SDHI0 IRQ pinmux configuration by a pinctrl
mapping.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-06-04 21:04:13 +09:00