summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* ARM: shmobile: armadillo800eva: Replace GPIO_PORTx with GPIO port numbersLaurent Pinchart2013-06-041-6/+6
| | | | | | | | | 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>
* ARM: shmobile: armadillo800eva: Don't configure LCDC routing manuallyLaurent Pinchart2013-06-041-2/+0
| | | | | | | | 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>
* ARM: shmobile: armadillo800eva: Register pinctrl mapping for HDMILaurent Pinchart2013-06-041-4/+3
| | | | | | | 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>
* ARM: shmobile: armadillo800eva: Register pinctrl mapping for FSILaurent Pinchart2013-06-041-9/+12
| | | | | | | 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>
* ARM: shmobile: armadillo800eva: Register pinctrl mapping for CEU0Laurent Pinchart2013-06-041-15/+9
| | | | | | | 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>
* ARM: shmobile: armadillo800eva: Register pinctrl mapping for GETHERLaurent Pinchart2013-06-041-20/+5
| | | | | | | 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>
* ARM: shmobile: armadillo800eva: Register pinctrl mapping for INTCLaurent Pinchart2013-06-041-7/+11
| | | | | | | 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>
* sh-pfc: r8a7740: Hardcode the LCDC0 outputLaurent Pinchart2013-06-041-13/+1
| | | | | | | | | | | | | | | 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>
* sh-pfc: r8a7740: Add HDMI pin groups and functionsLaurent Pinchart2013-06-041-0/+14
| | | | | Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
* sh-pfc: r8a7740: Add FSI pin groups and functionsLaurent Pinchart2013-06-041-0/+118
| | | | | Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
* sh-pfc: r8a7740: Add CEU pin groups and functionsLaurent Pinchart2013-06-041-0/+124
| | | | | Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
* sh-pfc: r8a7740: Add GETHER pin groups and functionsLaurent Pinchart2013-06-041-0/+82
| | | | | Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
* sh-pfc: r8a7740: Add BSC pin groups and functionsLaurent Pinchart2013-06-041-0/+155
| | | | | Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
* sh-pfc: r8a7740: Declare missing INTC functionLaurent Pinchart2013-06-041-0/+1
| | | | | | | | 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>
* sh-pfc: r8a7740: Add SCIF pin groups and functionsLaurent Pinchart2013-06-041-0/+346
| | | | | Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
* sh-pfc: sh7372: Add bias (pull-up/down) pinconf supportLaurent Pinchart2013-06-041-130/+211
| | | | | Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
* ARM: shmobile: sh7372: Remove all GPIOsLaurent Pinchart2013-06-041-391/+0
| | | | | | | | 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>
* sh-pfc: sh7372: Remove function GPIOsLaurent Pinchart2013-06-041-247/+0
| | | | | | | 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>
* sh-pfc: sh7372: Replace GPIO_PORTx enum with GPIO port numbersLaurent Pinchart2013-06-041-32/+39
| | | | | | | | | 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>
* ARM: shmobile: ap4evb: Register pinctrl mapping for USBHSLaurent Pinchart2013-06-041-8/+7
| | | | | | | 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>
* ARM: shmobile: ap4evb: Register pinctrl mapping for TSC2007Laurent Pinchart2013-06-041-3/+8
| | | | | | | | 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>
* ARM: shmobile: ap4evb: Simplify tsc2007 pen state read functionLaurent Pinchart2013-06-041-11/+2
| | | | | | | | | 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>
* ARM: shmobile: ap4evb: Register pinctrl mapping for SMSC911xLaurent Pinchart2013-06-041-4/+5
| | | | | | | | 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>
* ARM: shmobile: ap4evb: Register pinctrl mapping for SCIFLaurent Pinchart2013-06-041-4/+3
| | | | | | | 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>
* ARM: shmobile: ap4evb: Register pinctrl mapping for LCDLaurent Pinchart2013-06-041-22/+7
| | | | | | | 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>
* ARM: shmobile: ap4evb: Register pinctrl mapping for KEYSCLaurent Pinchart2013-06-041-12/+5
| | | | | | | 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>
* ARM: shmobile: ap4evb: Register pinctrl mapping for HDMILaurent Pinchart2013-06-041-4/+3
| | | | | | | 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>
* ARM: shmobile: ap4evb: Register pinctrl mapping for FSILaurent Pinchart2013-06-041-7/+12
| | | | | | | 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>
* ARM: shmobile: ap4evb: Register pinctrl mapping for CEULaurent Pinchart2013-06-041-2/+3
| | | | | | | 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>
* ARM: shmobile: mackerel: Register pinctrl mapping for USBHSLaurent Pinchart2013-06-041-3/+8
| | | | | | | 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>
* ARM: shmobile: mackerel: Register pinctrl mapping for TCA6416Laurent Pinchart2013-06-041-2/+4
| | | | | | | | 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>
* ARM: shmobile: mackerel: Register pinctrl mapping for ST1232Laurent Pinchart2013-06-041-2/+4
| | | | | | | 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>
* ARM: shmobile: mackerel: Register pinctrl mapping for SMSC911xLaurent Pinchart2013-06-041-4/+5
| | | | | | | | 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>
* ARM: shmobile: mackerel: Register IRQ pinctrl mapping for SDHI0Laurent Pinchart2013-06-041-3/+2
| | | | | | | | 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>
* ARM: shmobile: mackerel: Register pinctrl mapping for SCIFLaurent Pinchart2013-06-041-8/+6
| | | | | | | 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>
* ARM: shmobile: mackerel: Register pinctrl mapping for LCDLaurent Pinchart2013-06-041-28/+5
| | | | | | | 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>
* ARM: shmobile: mackerel: Register pinctrl mapping for HDMILaurent Pinchart2013-06-041-4/+3
| | | | | | | 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>
* ARM: shmobile: mackerel: Register pinctrl mapping for FSILaurent Pinchart2013-06-041-7/+12
| | | | | | | 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>
* ARM: shmobile: mackerel: Register pinctrl mapping for FLCTLLaurent Pinchart2013-06-041-24/+7
| | | | | | | Replace the GPIO-based FLCTL 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>
* ARM: shmobile: mackerel: Register pinctrl mapping for CEULaurent Pinchart2013-06-041-15/+9
| | | | | | | 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>
* ARM: shmobile: mackerel: Register pinctrl mapping for the ADXL34XLaurent Pinchart2013-06-041-2/+4
| | | | | | | | Replace the GPIO-based ADXL34X 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>
* sh-pfc: sh7372: Add USB pin groups and functionsLaurent Pinchart2013-06-041-0/+82
| | | | | Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
* sh-pfc: sh7372: Add SCIF pin groups and functionsLaurent Pinchart2013-06-041-0/+197
| | | | | Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
* sh-pfc: sh7372: Add LCDC pin groups and functionsLaurent Pinchart2013-06-041-0/+121
| | | | | Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
* sh-pfc: sh7372: Add KEYSC pin groups and functionsLaurent Pinchart2013-06-041-0/+91
| | | | | Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
* sh-pfc: sh7372: Add INTC pin groups and functionsLaurent Pinchart2013-06-041-0/+161
| | | | | Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
* sh-pfc: sh7372: Add HDMI pin groups and functionsLaurent Pinchart2013-06-041-0/+14
| | | | | Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
* sh-pfc: sh7372: Add FSI pin groups and functionsLaurent Pinchart2013-06-041-0/+91
| | | | | Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
* sh-pfc: sh7372: Add FLCTL pin groups and functionsLaurent Pinchart2013-06-041-0/+44
| | | | | Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
* sh-pfc: sh7372: Add CEU pin groups and functionsLaurent Pinchart2013-06-041-0/+70
| | | | | Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>