aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-03-18ARM: shmobile: kzm9g: Reference DT implementationSimon Horman5-0/+140
Provide alternate board code for the kzm9g to demonstrate how DT may be used given the current state of driver device tree support. This is intended to act as a reference for mach-shmobile developers. Some notes: * Brings up the GIC interrupt handler using device tree * Brings up the following device using device tree: - MMCIF (MMC) * Does not bring up the INTC interrupt controller at all, thus external devices may not be used. In particular, the SMSC ethernet device may not be used and thus NFS root may not be used. * Uses existing C code and not device tree to initialise the following, which are needed for a working board: - SCIF (Serial) - CMT (Clock) - PFC (GPIO) To use this alternate board code instead of the normal board code, CONFIG_MACH_KZM9G_REFERENCE should be selected in the kernel config. And the sh73a0-kzm9g-reference.dtb flattened device tree blob should be used. Includes fix by Thierry Reding to no longer use gic_handle_irq() Includes fixes by Guennadi Liakhovetski for recent pinmux changes. Cc: Guennadi Liakhovetski <[email protected]> Cc: Thierry Reding <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-03-18ARM: shmobile: marzen: Reference DT implementationSimon Horman5-0/+137
Provide alternate board code for the marzen to demonstrate how DT may be used given the current state of driver device tree support. This is intended to act as a reference for mach-shmobile developers. Signed-off-by: Simon Horman <[email protected]>
2013-03-18ARM: shmobile: mark mackerel sh_mmcif_device __maybe_unusedArnd Bergmann1-1/+1
Patch eac036ef9e "ARM: shmobile: streamline mackerel SD and MMC devices" made the use of the sh_mmcif_device variable for mackarel optional, but the definition is always provided, causing a build warning. arch/arm/mach-shmobile/board-mackerel.c:1120:31: warning: 'sh_mmcif_device' defined but not used [-Wunused-variable] Marking the variable as __maybe_unused will do the right thing here. Signed-off-by: Arnd Bergmann <[email protected]> Cc: Guennadi Liakhovetski <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-03-18ARM: shmobile: streamline mackerel SD and MMC devicesGuennadi Liakhovetski1-56/+57
This patch fixes the following issues with SD and MMC interfaces on mackerel: 1. replace custom card-detection functions with standard GPIO CD API 2. resources don't have to be numbered 3. add SDHI interrupt names 4. remove OCR masks, where regulators are used 5. only specify SDHI CD interrupts on interfaces where a CD pin is present - SDHI0 6. don't instantiate an MMCIF device and initialise MMCIF pins if SDHI1 is selected Signed-off-by: Guennadi Liakhovetski <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-03-18ARM: shmobile: switch SDHI0 to GPIO regulator on armadillo800evaGuennadi Liakhovetski1-15/+86
When regulators are used with MMC devices, explicitly provided OCR masks are ignored, they can be removed from platform data. Also switch SDHI0 from fixed regulator with hard-wired GPIO levels to a proper GPIO regulator instance to enable dynamic voltage switching. Signed-off-by: Guennadi Liakhovetski <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-03-18ARM: shmobile: use GPIO SD-card detection on armadillo800evaGuennadi Liakhovetski1-4/+6
Switch SDHI0 and SDHI1 SD-card interfaces on armadillo800eva to using GPIO card detection, which provides maximum power saving and automatically selects IRQ or polling mode, depending on the CD GPIO capability. Signed-off-by: Guennadi Liakhovetski <[email protected]> Acked-by: Laurent Pinchart <[email protected]> Acked-by: Linus Walleij <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-03-18Merge branches 'soc' and 'pinmux' into boards-baseSimon Horman79-5714/+9922
2013-03-18r8a7779: Add Display Unit clock supportPhil Edworthy1-1/+3
Signed-off-by: Phil Edworthy <[email protected]> [Rename device from to rcarfb to rcar-du] Signed-off-by: Laurent Pinchart <[email protected]> [Manual conflict resolution] Signed-off-by: Simon Horman <[email protected]>
2013-03-15ARM: shmobile: r8a7779: Remove INTC function GPIOsLaurent Pinchart1-8/+8
Those GPIOs have been deprecated by the pinctrl API. They are unused and unneeded, remove them. Signed-off-by: Laurent Pinchart <[email protected]>
2013-03-15ARM: shmobile: r8a7779: Remove LBSC function GPIOsLaurent Pinchart1-8/+6
Those GPIOs have been deprecated by the pinctrl API. They are unused and unneeded, remove them. Signed-off-by: Laurent Pinchart <[email protected]>
2013-03-15ARM: shmobile: r8a7779: Remove USB function GPIOsLaurent Pinchart1-4/+4
Those GPIOs have been deprecated by the pinctrl API. They are unused and unneeded, remove them. Signed-off-by: Laurent Pinchart <[email protected]>
2013-03-15ARM: shmobile: r8a7779: Remove HSPI function GPIOsLaurent Pinchart1-26/+26
Those GPIOs have been deprecated by the pinctrl API. They are unused and unneeded, remove them. Signed-off-by: Laurent Pinchart <[email protected]>
2013-03-15ARM: shmobile: r8a7779: Remove SCIF function GPIOsLaurent Pinchart1-73/+71
Those GPIOs have been deprecated by the pinctrl API. They are unused and unneeded, remove them. Signed-off-by: Laurent Pinchart <[email protected]>
2013-03-15ARM: shmobile: r8a7779: Remove SDHI and MMCIF function GPIOsLaurent Pinchart1-52/+52
Those GPIOs have been deprecated by the pinctrl API. They are unused and unneeded, remove them. Signed-off-by: Laurent Pinchart <[email protected]>
2013-03-15ARM: shmobile: r8a7779: Remove DU function GPIOsLaurent Pinchart1-44/+44
Those GPIOs have been deprecated by the pinctrl API. They are unused and unneeded, remove them. Signed-off-by: Laurent Pinchart <[email protected]>
2013-03-15ARM: shmobile: r8a7779: Remove DU1_DOTCLKOUT1 GPIOLaurent Pinchart1-1/+1
The function is not documented in the r8a7779 datasheet. Remove it. Signed-off-by: Laurent Pinchart <[email protected]>
2013-03-15ARM: shmobile: r8a7740: Remove SDHI and MMCIF function GPIOsLaurent Pinchart1-35/+0
Those GPIOs have been deprecated by the pinctrl API. They are unused and unneeded, remove them. Signed-off-by: Laurent Pinchart <[email protected]>
2013-03-15ARM: shmobile: r8a7740: Remove LCD0 and LCD1 function GPIOsLaurent Pinchart1-39/+0
Those GPIOs have been deprecated by the pinctrl API. They are unused and unneeded, remove them. Signed-off-by: Laurent Pinchart <[email protected]>
2013-03-15ARM: shmobile: sh73a0: Remove IrDA function GPIOsLaurent Pinchart1-6/+6
Those GPIOs have been deprecated by the pinctrl API. They are unused and unneeded, remove them. Signed-off-by: Laurent Pinchart <[email protected]>
2013-03-15ARM: shmobile: sh73a0: Remove USB function GPIOsLaurent Pinchart1-2/+1
Those GPIOs have been deprecated by the pinctrl API. They are unused and unneeded, remove them. Signed-off-by: Laurent Pinchart <[email protected]>
2013-03-15ARM: shmobile: sh73a0: Remove BSC function GPIOsLaurent Pinchart1-25/+4
Those GPIOs have been deprecated by the pinctrl API. They are unused and unneeded, remove them. Signed-off-by: Laurent Pinchart <[email protected]>
2013-03-15ARM: shmobile: sh73a0: Remove KEYSC function GPIOsLaurent Pinchart1-29/+24
Those GPIOs have been deprecated by the pinctrl API. They are unused and unneeded, remove them. Signed-off-by: Laurent Pinchart <[email protected]>
2013-03-15ARM: shmobile: sh73a0: Remove pull-up function GPIOSLaurent Pinchart1-41/+0
Those GPIOs have been deprecated by the pinconf API. They are unused and unneeded, remove them. Signed-off-by: Laurent Pinchart <[email protected]>
2013-03-15ARM: shmobile: sh73a0: Remove FSI function GPIOsLaurent Pinchart1-22/+9
Those GPIOs have been deprecated by the pinctrl API. They are unused and unneeded, remove them. Signed-off-by: Laurent Pinchart <[email protected]>
2013-03-15ARM: shmobile: sh73a0: Remove I2C function GPIOsLaurent Pinchart1-10/+8
Those GPIOs have been deprecated by the pinctrl API. They are unused and unneeded, remove them. Signed-off-by: Laurent Pinchart <[email protected]>
2013-03-15ARM: shmobile: sh73a0: Remove SCIFA and SCIFB function GPIOsLaurent Pinchart1-53/+37
Those GPIOs have been deprecated by the pinctrl API. They are unused and unneeded, remove them. Signed-off-by: Laurent Pinchart <[email protected]>
2013-03-15ARM: shmobile: sh73a0: Remove LCDC and LCDC2 function GPIOsLaurent Pinchart1-63/+49
Those GPIOs have been deprecated by the pinctrl API. They are unused and unneeded, remove them. Signed-off-by: Laurent Pinchart <[email protected]>
2013-03-15ARM: shmobile: sh7372: Remove SDHI and MMCIF function GPIOsLaurent Pinchart1-29/+0
Those GPIOs have been deprecated by the pinctrl API. They are unused and unneeded, remove them. Signed-off-by: Laurent Pinchart <[email protected]>
2013-03-15sh-pfc: r8a7779: Remove INTC function GPIOSLaurent Pinchart1-8/+7
All r8a7779 platforms now use the pinctrl API to control the INTC pins, the corresponding function GPIOS are unused. Remove them. Signed-off-by: Laurent Pinchart <[email protected]> Acked-by: Linus Walleij <[email protected]>
2013-03-15sh-pfc: r8a7779: Remove LBSC function GPIOSLaurent Pinchart1-8/+6
All r8a7779 platforms now use the pinctrl API to control the LBSC pins, the corresponding function GPIOS are unused. Remove them. Signed-off-by: Laurent Pinchart <[email protected]> Acked-by: Linus Walleij <[email protected]>
2013-03-15sh-pfc: r8a7779: Remove USB function GPIOSLaurent Pinchart1-4/+4
All r8a7779 platforms now use the pinctrl API to control the USB pins, the corresponding function GPIOS are unused. Remove them. Signed-off-by: Laurent Pinchart <[email protected]> Acked-by: Linus Walleij <[email protected]>
2013-03-15sh-pfc: r8a7779: Remove HSPI function GPIOSLaurent Pinchart1-27/+27
All r8a7779 platforms now use the pinctrl API to control the HSPI pins, the corresponding function GPIOS are unused. Remove them. Signed-off-by: Laurent Pinchart <[email protected]> Acked-by: Linus Walleij <[email protected]>
2013-03-15sh-pfc: r8a7779: Remove SCIF function GPIOSLaurent Pinchart1-72/+69
All r8a7779 platforms now use the pinctrl API to control the SCIF pins, the corresponding function GPIOS are unused. Remove them. Signed-off-by: Laurent Pinchart <[email protected]> Acked-by: Linus Walleij <[email protected]>
2013-03-15sh-pfc: r8a7779: Remove SDHI and MMCIF function GPIOSLaurent Pinchart1-56/+56
All r8a7779 platforms now use the pinctrl API to control the SDHI and MMCIF pins, the corresponding function GPIOS are unused. Remove them. Signed-off-by: Laurent Pinchart <[email protected]> Acked-by: Linus Walleij <[email protected]>
2013-03-15sh-pfc: r8a7779: Remove DU1_DOTCLKOUT1 GPIOLaurent Pinchart1-5/+4
The function is not documented in the r8a7779 datasheet. Remove it. Signed-off-by: Laurent Pinchart <[email protected]> Acked-by: Linus Walleij <[email protected]>
2013-03-15sh-pfc: r8a7740: Remove SDHI and MMCIF function GPIOSLaurent Pinchart1-35/+0
All r8a7740 platforms now use the pinctrl API to control the SDHI and MMCIF pins, the corresponding function GPIOS are unused. Remove them. Signed-off-by: Laurent Pinchart <[email protected]> Acked-by: Linus Walleij <[email protected]>
2013-03-15sh-pfc: r8a7740: Remove LCD0 and LCD1 function GPIOSLaurent Pinchart1-37/+0
All r8a7740 platforms now use the pinctrl API to control the LCD0 and LCD1 pins, the corresponding function GPIOS are unused. Remove them. Signed-off-by: Laurent Pinchart <[email protected]> Acked-by: Linus Walleij <[email protected]>
2013-03-15sh-pfc: sh73a0: Remove IrDA function GPIOSLaurent Pinchart1-6/+0
All sh73a0 platforms now use the pinctrl API to control the IrDA pins, the corresponding function GPIOS are unused. Remove them. Signed-off-by: Laurent Pinchart <[email protected]> Acked-by: Linus Walleij <[email protected]>
2013-03-15sh-pfc: sh73a0: Remove USB function GPIOSLaurent Pinchart1-2/+1
All sh73a0 platforms now use the pinctrl API to control the USB pins, the corresponding function GPIOS are unused. Remove them. Signed-off-by: Laurent Pinchart <[email protected]> Acked-by: Linus Walleij <[email protected]>
2013-03-15sh-pfc: sh73a0: Remove BSC function GPIOSLaurent Pinchart1-27/+0
All sh73a0 platforms now use the pinctrl API to control the BSC pins, the corresponding function GPIOS are unused. Remove them. Signed-off-by: Laurent Pinchart <[email protected]> Acked-by: Linus Walleij <[email protected]>
2013-03-15sh-pfc: sh73a0: Remove KEYSC function GPIOSLaurent Pinchart1-30/+0
All sh73a0 platforms now use the pinctrl API to control the KEYSC pins, the corresponding function GPIOS are unused. Remove them. Signed-off-by: Laurent Pinchart <[email protected]> Acked-by: Linus Walleij <[email protected]>
2013-03-15sh-pfc: sh73a0: Remove pull-up function GPIOSLaurent Pinchart1-442/+23
All sh73a0 platforms now use the pinconf API to control pull-ups, the corresponding function GPIOS are unused. Remove them. Signed-off-by: Laurent Pinchart <[email protected]> Acked-by: Linus Walleij <[email protected]>
2013-03-15sh-pfc: sh73a0: Remove FSI function GPIOSLaurent Pinchart1-36/+0
All sh73a0 platforms now use the pinctrl API to control the FSI pins, the corresponding function GPIOS are unused. Remove them. Signed-off-by: Laurent Pinchart <[email protected]> Acked-by: Linus Walleij <[email protected]>
2013-03-15sh-pfc: sh73a0: Remove I2C function GPIOSLaurent Pinchart1-12/+0
All sh73a0 platforms now use the pinctrl API to control the I2C pins, the corresponding function GPIOS are unused. Remove them. Signed-off-by: Laurent Pinchart <[email protected]> Acked-by: Linus Walleij <[email protected]>
2013-03-15sh-pfc: sh73a0: Remove SCIFA and SCIFB function GPIOSLaurent Pinchart1-58/+0
All sh73a0 platforms now use the pinctrl API to control the SCIFA and SCIFB pins, the corresponding function GPIOS are unused. Remove them. Signed-off-by: Laurent Pinchart <[email protected]> Acked-by: Linus Walleij <[email protected]>
2013-03-15sh-pfc: sh73a0: Remove LCD and LCD2 function GPIOSLaurent Pinchart1-76/+0
All sh73a0 platforms now use the pinctrl API to control the LCD and LCD2 pins, the corresponding function GPIOS are unused. Remove them. Signed-off-by: Laurent Pinchart <[email protected]> Acked-by: Linus Walleij <[email protected]>
2013-03-15sh-pfc: sh7372: Remove SDHI and MMCIF function GPIOSLaurent Pinchart1-25/+0
All sh7372 platforms now use the pinctrl API to control the SDHI and MMCIF pins, the corresponding function GPIOS are unused. Remove them. Signed-off-by: Laurent Pinchart <[email protected]> Acked-by: Linus Walleij <[email protected]>
2013-03-15ARM: shmobile: marzen: Register pinctrl mappings for INTCLaurent Pinchart1-4/+2
Replace the GPIO-based INTC pinmux configuration by pinctrl mappings. Signed-off-by: Laurent Pinchart <[email protected]>
2013-03-15ARM: shmobile: marzen: Register pinctrl mappings for LBSCLaurent Pinchart1-1/+3
Replace the GPIO-based LBSC pinmux configuration by pinctrl mappings. Signed-off-by: Laurent Pinchart <[email protected]>
2013-03-15ARM: shmobile: marzen: Register pinctrl mappings for USBLaurent Pinchart1-8/+9
Replace the GPIO-based USB pinmux configuration by pinctrl mappings. Signed-off-by: Laurent Pinchart <[email protected]>