aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-08-06ARM: shmobile: Use default ->init_time() on KZM9G DT refMagnus Damm1-1/+0
Leave ->init_time() set to NULL to use the default ARM behaviour. Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-08-06ARM: shmobile: Use default ->init_time() on Marzen DT refMagnus Damm1-1/+0
Leave ->init_time() set to NULL to use the default ARM behaviour. Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-08-06ARM: shmobile: Use default ->init_time() on APE6EVM DT refMagnus Damm1-1/+0
Leave ->init_time() set to NULL to use the default ARM behaviour. Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-08-06ARM: shmobile: Use default ->init_time() on APE6EVMMagnus Damm1-1/+0
Leave ->init_time() set to NULL to use the default ARM behaviour. Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-08-06ARM: shmobile: Use default ->init_time() on Armadillo DT refMagnus Damm1-1/+0
Leave ->init_time() set to NULL to use the default ARM behaviour. Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-08-06ARM: shmobile: Use default ->init_time() on Bockw DT refMagnus Damm1-1/+0
Leave ->init_time() set to NULL to use the default ARM behaviour. Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-08-06ARM: shmobile: Use default ->init_time() on BockwMagnus Damm1-1/+0
Leave ->init_time() set to NULL to use the default ARM behaviour. Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-08-06ARM: shmobile: Use default ->init_time() on r8a7779Magnus Damm1-1/+0
Leave ->init_time() set to NULL to use the default ARM behaviour. Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-08-06ARM: shmobile: Use default ->init_time() on r8a7778Magnus Damm1-1/+0
Leave ->init_time() set to NULL to use the default ARM behaviour. Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-08-06ARM: shmobile: Use default ->init_time() on r8a7740Magnus Damm1-1/+0
Leave ->init_time() set to NULL to use the default ARM behaviour. Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-08-06ARM: shmobile: Use default ->init_time() on r8a73a4Magnus Damm1-1/+0
Leave ->init_time() set to NULL to use the default ARM behaviour. Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-08-06ARM: shmobile: r8a7778: cleanup registration of hspiKuninori Morimoto3-3/+4
sh-hspi driver which doesn't need platform data at the time of registration can be registerd on SoC. And, registering these drivers in the SoC code can avoid unwanted device numbering issue. (ex. the hspi2 device number will be spi.0 if hspi2 only registered) This patch registers it on SoC code as cleanup C code Signed-off-by: Kuninori Morimoto <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-08-06ARM: shmobile: r8a7778: cleanup registration of i2cKuninori Morimoto3-3/+5
i2c-rcar driver which doesn't need platform data at the time of registration can be registerd on SoC. And, registering these drivers in the SoC code can avoid unwanted device numbering issue. (ex. the i2c3 device number will be i2c.0 if i2c3 only registered) This patch registers it on SoC code as cleanup C code Signed-off-by: Kuninori Morimoto <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-08-06ARM: shmobile: r8a7778: cleanup registration of sdhiKuninori Morimoto3-27/+10
sdhi driver which needs platform data at the time of registration is used from BockW only. Now, ARM/shmobile aims to support DT, and the C code base board support will be removed if DT support is completed. Current driver registration method which needs platform data and which is not shared complicates codes. This means legacy C code cleanup after DT supporting will be more complicated This patch registers it on board code as cleanup C code Signed-off-by: Kuninori Morimoto <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-08-06ARM: shmobile: r8a7778: cleanup registration of usb phyKuninori Morimoto3-17/+14
usb phy driver which needs platform data at the time of registration is used from BockW only. Now, ARM/shmobile aims to support DT, and the C code base board support will be removed if DT support is completed. Current driver registration method which needs platform data and which is not shared complicates codes. This means legacy C code cleanup after DT supporting will be more complicated This patch registers it on board code as cleanup C code Signed-off-by: Kuninori Morimoto <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-08-06ARM: shmobile: r8a7778: cleanup registration of mmcifKuninori Morimoto3-17/+11
sh_mmcif driver which needs platform data at the time of registration is used from BockW only. Now, ARM/shmobile aims to support DT, and the C code base board support will be removed if DT support is completed. Current driver registration method which needs platform data and which is not shared complicates codes. This means legacy C code cleanup after DT supporting will be more complicated This patch registers it on board code as cleanup C code Signed-off-by: Kuninori Morimoto <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-08-06Merge branch 'dt2' into cleanup3-baseSimon Horman34-70/+461
Conflicts: arch/arm/mach-shmobile/Makefile.boot
2013-08-06ARM: shmobile: r8a7740: Add TPU node to the device treeLaurent Pinchart1-0/+7
Signed-off-by: Laurent Pinchart <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-08-06ARM: shmobile: lager: enable nfsroot in DTSSimon Horman1-1/+1
Now that Ether support has been added to the lager board it is possible to use nfsroot. This configuration is in line with that of other shmobile boards. Acked-by: Kuninori Morimoto <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-08-06ARM: shmobile: marzen: Use DT for GICKuninori Morimoto3-21/+5
Current Marzen is using DT booting, and r8a7779.dtsi already has GIC settings. So, we can remove the C version of the GIC setup code, instead rely on GIC information provided by DT. Signed-off-by: Kuninori Morimoto <[email protected]> Acked-by: Magnus Damm <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-08-06ARM: shmobile: armadillo800eva: Use DT for GICKuninori Morimoto3-19/+4
Current Armadillo800eva is using DT booting, and r8a7740.dtsi already has GIC settings. So, we can remove the C version of the GIC setup code, instead rely on GIC information provided by DT. This patch removes r8a7740_init_irq() which has no user any more Signed-off-by: Kuninori Morimoto <[email protected]> Acked-by: Magnus Damm <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-08-05ARM: shmobile: Mount root file systems in r/w mode for all DT platformsLaurent Pinchart9-9/+9
The shmobile DT files available in the kernel are reference implementations intended to be used as sample code, as well as for development. As such, it makes sense to mount the root file system in read/write mode by default. Signed-off-by: Laurent Pinchart <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-07-31ARM: shmobile: emev2: add PMU information to emev2.dtsiMagnus Damm1-0/+6
Add PMU information to emev2.dtsi. With this included KZM9D DT reference may use the PMU. Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-07-31ARM: shmobile: sh73a0: add PMU information to sh73a0.dtsiMagnus Damm1-0/+6
Add PMU information to sh73a0.dtsi. With this included KZM9G DT reference may use the PMU. Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-07-31ARM: shmobile: r8a7740: add PMU information to r8a7740.dtsiMagnus Damm1-0/+5
Add PMU information to r8a7740.dtsi. With this included Armadillo800eva DT reference may use the PMU. Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-07-30ARM: shmobile: r8a7779: Remove '0x's from R8A7779 DTS fileLee Jones1-4/+4
Signed-off-by: Lee Jones <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-07-30ARM: shmobile: r8a7779: Rely on DT for SMP CPU infoSimon Horman1-9/+3
Remove r8a7779 specific ->smp_init_cpus() callback and instead of relying on shmobile_smp_init_cpus() simply use DT for CPU core information. Based on work for the sh73a0 by Magnus Damm. Acked-by: Magnus Damm <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-07-30ARM: shmobile: marzen: Switch to DT_MACHINE_STARTMagnus Damm2-1/+8
Convert the marzen board to use DT_MACHINE_START. With this in place all mach-shmobile boards use DT_MACHINE_START. Also, this makes it possible for the r8a7779 SMP code to use DT for CPUs. Signed-off-by: Magnus Damm <[email protected]> [[email protected]: Select USE_OF in Kconfig] [[email protected]: Provide dt_compat in DT_MACHINE_START] Signed-off-by: Simon Horman <[email protected]>
2013-07-30ARM: shmobile: marzen: Add r8a7779-marzen.dtbSimon Horman2-0/+28
This is in preparation for converting the marzen board to use DT_MACHINE_START. Acked-by: Magnus Damm <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-07-30ARM: shmobile: r8a7779: cleanup registration of usb phyKuninori Morimoto3-21/+22
usb phy driver which needs platform data at the time of registration is used from Marzen only. Now, ARM/shmobile aims to support DT, and the C code base board support will be removed if DT support is completed. Current driver registration method which needs platform data and which is not shared complicates codes. This means legacy C code cleanup after DT supporting will be more complicated This patch registers it on board code as cleanup C code Signed-off-by: Kuninori Morimoto <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-07-30ARM: shmobile: ape6evm-reference: switch PFC to DTGuennadi Liakhovetski2-9/+10
PFC pinctrl configuration can now be performed via DT. Update ape6evm-reference to use this. Signed-off-by: Guennadi Liakhovetski <[email protected]> Acked-by: Laurent Pinchart <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-07-26ARM: shmobile: sh73a0: Rely on DT for SMP CPU infoMagnus Damm1-9/+2
Remove sh73a0 specific ->smp_init_cpus() callback and instead of relying on shmobile_smp_init_cpus() simply use DT for CPU core information. This assumes that DT_MACHINE_START is used which is the case when AG5EVM and Kota2 are removed. Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-07-26ARM: shmobile: bockw: add DT referenceKuninori Morimoto8-1/+118
This patch adds a sample DT-based Bock-W "reference" implementation. The use of platform-specific C-code should be avoided with this configuration as much as possible. This patch adds new r8a7778_add_dt_devices() which was same stance of r8a7790_add_dt_devices() Acked-by: Magnus Damm <[email protected]> Signed-off-by: Kuninori Morimoto <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-07-25ARM: shmobile: No need to use INTC header on r8a7779Magnus Damm2-2/+0
Now when the intc-irqpin driver is used for external IRQ pins on r8a7779 it possible to get rid of unused INTC headers mach/intc.h and linux/sh_intc.h. Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-07-25ARM: shmobile: No need to use INTC demux on r8a7740Magnus Damm1-1/+0
Now when the r8a7740 code has been converted to make use of GIC instead of INTC for root interrupt controller it is possible to exclude the low level INTC demux function shmobile_handle_irq_intc from linking. Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-07-25ARM: shmobile: Use pm-rmobile on sh7372 and r8a7740 onlyMagnus Damm1-4/+3
The functions in pm-rmobile.c are only used on sh7372 and r8a7740, so adjust the Makefile to only link in that file in case those SoCs are selected. Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-07-24ARM: shmobile: r8a73a4: Remove ->init_machine() special caseMagnus Damm1-6/+0
No need to special case r8a73a4 ->init_machine(), so get rid of undesired cpufreq platform device from the generic long term r8a73a4 DT support code. For short term support on APE6EVM the DT reference implementation already adds a "cpufreq-cpu0" platform device so that can be used for development. Regarding more long term cpufreq support, perhaps it makes sense to adjust the cpufreq driver to check for DT information directly instead of using a platform device for software configuration and DT for hardware parameters. Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-07-24ARM: shmobile: Remove include <mach/hardware.h>Magnus Damm1-4/+0
Now when no one is using this file, remove <mach/hardware.h>. Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-07-24ARM: shmobile: Remove Marzen use of <mach/hardware.h>Magnus Damm1-1/+0
Remove unused <mach/hardware.h> on Marzen. Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-07-24ARM: shmobile: Remove r8a7779 use of <mach/hardware.h>Magnus Damm1-1/+0
Remove unused <mach/hardware.h> on r8a7779. Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-07-24ARM: shmobile: Remove EMEV2 use of <mach/hardware.h>Magnus Damm1-1/+0
Remove unused <mach/hardware.h> on EMEV2. Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-07-24ARM: shmobile: Remove sh7372 use of <mach/hardware.h>Magnus Damm1-1/+0
Remove unused <mach/hardware.h> on sh7372. Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-07-24ARM: shmobile: Remove sh73a0 use of <mach/hardware.h>Magnus Damm1-1/+0
Remove unused <mach/hardware.h> on sh73a0. Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-07-24ARCH: ARM: shmobile: Remove ag5evm board supportSimon Horman5-731/+0
Remove support for the sh73a0 based ag5evm board. The sh73a0 SoC is continued to be supported using the kzm9g board. Acked-by: Magnus Damm <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-07-24ARCH: ARM: shmobile: Remove kota2 board supportSimon Horman5-679/+0
Remove support for the sh73a0 based kota2 board. The sh73a0 SoC is continued to be supported using the kzm9g board. Acked-by: Magnus Damm <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-07-24Merge branches 'tpu-pwm', 'backlight' and 'soc' into cleanup2-baseSimon Horman48-639/+1516
2013-07-23ARM: shmobile: lager-reference: Add LED6-LED8 to the device treeLaurent Pinchart1-0/+14
LED6 to LED8 are GPIO LEDs. Add corresponding DT nodes. Signed-off-by: Laurent Pinchart <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-07-22leds: Remove leds-renesas-tpu driverLaurent Pinchart4-364/+0
The driver is superseded by the generic pwm-renesas-tpu driver used with leds-pwm. Signed-off-by: Laurent Pinchart <[email protected]> Acked-by: Bryan Wu <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-07-19ARM: shmobile: sh73a0: Remove all GPIOsLaurent Pinchart1-372/+1
Function GPIOs are not used anymore, and all code use the GPIO numbers directly. Remove the GPIOs enumeration. Signed-off-by: Laurent Pinchart <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2013-07-19ARM: shmobile: kota2: Use leds-pwm + pwm-rmobLaurent Pinchart2-91/+90
Instead of using the LED-specific TPU PWM driver, switch to the generic TPU PWM driver with leds-pwm. Signed-off-by: Laurent Pinchart <[email protected]> Signed-off-by: Simon Horman <[email protected]>