aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-07-13ARM: S3C24XX: Remove unused GPIO definitions for Openmoko GTA02 boardSylwester Nawrocki1-69/+0
mach-s3c24xx/include/mach/gta02.h header file contains defines which are now not used anywhere, remove them. Cc: Nelson Castillo <[email protected]> Signed-off-by: Sylwester Nawrocki <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
2012-07-13ARM: S3C24XX: Remove unused GPIO definitions for port JSylwester Nawrocki7-77/+15
There is no need now for individual GPIO port J pin control bit definitions, the GPIO0..12 pins can be configured using the gpiolib API. The GPJ* register address offset definitions for S3C2413 are moved to the common mach-s3c24xx/include/mach/regs-gpio.h header. These are still used outside of the gpio-samsung driver by PM code. Switching GPJ port to camera function can be done for example with: s3c_gpio_cfgall_range(S3C2410_GPJ(0), 13, S3C_GPIO_SFN(2), S3C_GPIO_PULL_NONE); Signed-off-by: Sylwester Nawrocki <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
2012-07-13ARM: S3C24XX: Remove unused GPA, GPE, GPH bank GPIO aliasesSylwester Nawrocki1-21/+0
There is now no more users of these compatibility definitions, so remove them. Signed-off-by: Sylwester Nawrocki <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
2012-07-13ARM: S3C24XX: Convert the touchscreen setup code to common GPIO APISylwester Nawrocki1-5/+1
Replace the S3C24XX SoC specific calls with the common gpiolib API. This removes one more user of an obsolete GPIO API. Signed-off-by: Sylwester Nawrocki <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
2012-07-13ARM: S3C24XX: Convert the PM code to gpiolib APISylwester Nawrocki1-4/+8
Replace deprecated functions with the gpiolib ones. Cc: Ben Dooks <[email protected]> Signed-off-by: Sylwester Nawrocki <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
2012-07-13ARM: S3C24XX: Convert QT2410 board file to the gpiolib APISylwester Nawrocki1-3/+3
Replace SoC specific GPIO functions with the gpiolib API. The LED gpio is freed right after it is configured so it can be acquired in the s3c24xx_led driver. This change is required for converting the s3c24xx_led driver to the gpiolib API. Signed-off-by: Sylwester Nawrocki <[email protected]> Acked-by: Harald Welte <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
2012-07-13ARM: S3C24XX: Convert SMDK board file to the gpiolib APISylwester Nawrocki1-9/+11
Replace SoC specific GPIO functions with the gpiolib API. The LED gpios are freed right after they are initially configured so they can be acquired in the s3c24xx_led driver. This change is required for converting the s3c24xx_led driver to the gpiolib API. Signed-off-by: Sylwester Nawrocki <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
2012-07-13ARM: S3C24XX: Free the backlight gpio requested in Mini2440 board codeSylwester Nawrocki1-2/+2
The backlight gpio must not be left requested in the board code, otherwise s3c24xx_led driver can't successfully claim it. So request the backlight gpio, configure it to proper state and gpio_free right away. This change is required for converting the s3c24xx_led driver to the gpiolib API. Signed-off-by: Sylwester Nawrocki <[email protected]> Acked-by: Juergen Beisert <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
2012-07-13ARM: S3C24XX: Correct CAMIF interrupt definitionsSylwester Nawrocki1-1/+2
Properly define the CAMIF interrupt resources. This device have two interrupts - corresponding to the "codec" and "preview" data paths. IRQ_CAM is handled internally by the architecture and demultiplexed to IRQ_S3C2440_CAM_C and IRQ_S3C2440_CAM_P - these interrupts only should be handled in the driver. Signed-off-by: Sylwester Nawrocki <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
2012-07-13ARM: S3C24XX: Correct AC97 clock control bit for S3C2440Sylwester Nawrocki1-1/+1
Use correct gate control bit for AC97 clock which is S3C2440_CLKCON_AC97, not S3C2440_CLKCON_CAMERA. Signed-off-by: Sylwester Nawrocki <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
2012-07-13ARM: ux500: Remove PMU platform registration when booting with DTLee Jones1-2/+1
PMU registration is successfully completed by Device Tree now, so there is no longer a requirement to register it from platform code. This patch removes platform registration during a DT boot. Acked-by: Linus Walleij <[email protected]> Signed-off-by: Lee Jones <[email protected]>
2012-07-13ARM: ux500: Remove temporary snowball_of_platform_devs enablement structureLee Jones1-13/+0
All Device Tree enablement for Snowball's Platform devices; LEDs, Keys, Ethernet and all associated AB8500 Multi-Functional Devices are now complete, so here we remove any trace of adding those devices when Device Tree is enabled. Acked-by: Linus Walleij <[email protected]> Signed-off-by: Lee Jones <[email protected]>
2012-07-13ARM: ux500: Ensure vendor specific properties have the vendor's identifierLee Jones1-9/+9
Any non-standard property should contain the vendor's identifier which should be perpended onto the property name followed by a comma. This aids in name-space collision prevention. Acked-by: Linus Walleij <[email protected]> Signed-off-by: Lee Jones <[email protected]>
2012-07-13pinctrl: pinctrl-nomadik: Append sleepmode property with vendor specific ↵Lee Jones2-2/+2
prefixes Any non-standard property should contain the vendor's identifier which should be perpended onto the property name followed by a comma. This aids in name-space collision prevention. This patch ensures the sleepmode property adheres to the rules. Acked-by: Linus Walleij <[email protected]> Signed-off-by: Lee Jones <[email protected]>
2012-07-13ARM: ux500: Move rtc-pl031 registration to Device Tree when enabledLee Jones2-2/+1
During a Device Tree boot, all probing will now be completed on parse of the Device Tree binary. In the same patch we remove platform registration of the Real Time Clock. Acked-by: Linus Walleij <[email protected]> Signed-off-by: Lee Jones <[email protected]>
2012-07-13ARM: ux500: Enable the AB8500 RTC for all DT:ed DB8500 based devicesLee Jones1-0/+7
Here we add a node for the AB8500 Real Time Clock in all devices supporting the DB8500. The AB8500 RTC driver makes use of named interrupts we provide support for this too. Acked-by: Linus Walleij <[email protected]> Signed-off-by: Lee Jones <[email protected]>
2012-07-13ARM: ux500: Correctly reference IRQs supplied by the AB8500 from Device TreeLee Jones1-11/+13
The AB8500 driver has now been provided with IRQ domain support. This means we can request IRQs from any of it's uses via Device Tree. This patch advertises the AB8500 as an Interrupt Controller and provides the correct calls in the format the driver expects. Acked-by: Linus Walleij <[email protected]> Signed-off-by: Lee Jones <[email protected]>
2012-07-13ARM: ux500: Apply ab8500-debug node do the db8500 DT structureLee Jones1-0/+4
This node has no properties. It merely allows probing of the ab8500-debugfs driver during Device Tree initialisation. Acked-by: Linus Walleij <[email protected]> Signed-off-by: Lee Jones <[email protected]>
2012-07-13ARM: ux500: Add a ab8500-usb Device Tree node for db8500 based devicesLee Jones1-0/+21
Here we specify each of the ab8500 USB driver's seven IRQs, which the driver references by name. We also apply regulator support for the three used by the device. Acked-by: Linus Walleij <[email protected]> Signed-off-by: Lee Jones <[email protected]>
2012-07-13ARM: ux500: Add db8500 Device Tree node for misc/ab8500-pwmLee Jones1-0/+4
This adds the DT node for the misc/ab8500-pwm driver. It will allow probing of the driver during a Device Tree enabled boot. Acked-by: Linus Walleij <[email protected]> Signed-off-by: Lee Jones <[email protected]>
2012-07-13ARM: ux500: Add db8500 Device Tree node for ab8500-sysctrlLee Jones1-0/+4
This adds the DT node for the mfd/ab8500-sysctrl driver. It will allow probing of the driver during a Device Tree enabled boot. Acked-by: Linus Walleij <[email protected]> Signed-off-by: Lee Jones <[email protected]>
2012-07-13ARM: ux500: Enable LED heartbeat functionality on Snowbal via DTLee Jones1-0/+1
This patch configures the user LED on Snowball to double flash every second or so, whilst it's still alive. This can give key indications as to what the board is doing in the case of no console output. Acked-by: Linus Walleij <[email protected]> Signed-off-by: Lee Jones <[email protected]>
2012-07-13ARM: ux500: Enable LED heartbeat functionality on SnowballLee Jones1-1/+1
This patch configures the user LED on Snowball to double flash every second or so, whilst it's still alive. This can give key indications as to what the board is doing in the case of no console output. Acked-by: Linus Walleij <[email protected]> Signed-off-by: Lee Jones <[email protected]>
2012-07-13ARM: ux500: Add support for input/ponkey into the db8500's Device TreeLee Jones1-0/+7
Acked-by: Linus Walleij <[email protected]> Signed-off-by: Lee Jones <[email protected]>
2012-07-13ARM: ux500: Add a ab8500-gpadc node to the db8500 Device TreeLee Jones1-0/+8
This patch provides support for the ab8500-gpadc driver. Acked-by: Linus Walleij <[email protected]> Signed-off-by: Lee Jones <[email protected]>
2012-07-13ARM: ux500: Enable the user LED on Snowball via Device TreeLee Jones2-1/+2
This patch enables and illuminates the user_led on the Snowball low-cost development board using DT. It also removes initialisation carried out from platform code. Acked-by: Linus Walleij <[email protected]> Signed-off-by: Lee Jones <[email protected]>
2012-07-13ARM: ux500: Kconfig: Compile in leds-gpio support for SnowballLee Jones1-0/+1
Code exists in the mop500 board file (used for HREF and Snowball) to initialise Snowball's user LED via the leds-gpio driver. However, the driver isn't currently built when using the current configuration. This patch aims to change that behavior. Acked-by: Linus Walleij <[email protected]> Signed-off-by: Lee Jones <[email protected]>
2012-07-13ARM: ux500: Provide auxdata to be used as name base clock search for nmk-i2cLee Jones1-1/+5
This patch provides a way for find_clk() to complete its name-based searches and still find the nmk-i2c clocks. As Device Tree has a different naming structure to that of more traditional initialisation methods, find_clk() not succeed without these bindings. Acked-by: Linus Walleij <[email protected]> Signed-off-by: Lee Jones <[email protected]>
2012-07-13ARM: ux500: Remove unused i2c platform_data initialisation codeLee Jones2-37/+5
Now that u5500 is obsolete, u8500 is the only user of the Nomadik i2c driver. As such there is no requirement to differentiate between initialisation values. By the time a new SoC is released, almost all of the ux500 platform will be DT:ed, so we can make decisions based on the compatible property instead. Acked-by: Linus Walleij <[email protected]> Signed-off-by: Lee Jones <[email protected]>
2012-07-13ARM: ux500: Enable Device Tree support mmci for SnowballLee Jones4-5/+24
Allow proper initialisation for MMC via the mmci driver for the Snowball low-cost development board using DT. At the moment we continue to use DMA setup from platform code. Once the DMA generic DT bindings have been completed we can then port the remainder over to DT. Acked-by: Linus Walleij <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Signed-off-by: Lee Jones <[email protected]>
2012-07-13powerpc/iommu: Fix iommu pool initializationBenjamin Herrenschmidt1-2/+2
The iommu pool patch has a bug where it would cause a crash when using only one pool (based on the size of the DMA window). Signed-off-by: Benjamin Herrenschmidt <[email protected]>
2012-07-13ALSA: snd-usb: move calls to usb_set_interfaceDaniel Mack2-89/+41
The rework of the snd-usb endpoint logic moved the calls to snd_usb_set_interface() into the snd_usb_endpoint implemenation. This changed the order in which these calls are issued to the device, and thereby caused regressions for some webcams. Fix this by moving the calls back to pcm.c for now to make it work again and use snd_usb_endpoint_activate() to really tear down all remaining URBs in the flight, consequently fixing another regression caused by USB packets on the wire after altsetting 0 has been selected. Signed-off-by: Daniel Mack <[email protected]> Reported-and-tested-by: Philipp Dreimann <[email protected]> Reported-by: Joseph Salisbury <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2012-07-12Input: xpad - add Andamiro Pump It Up padYuri Khan1-0/+1
I couldn't find the vendor ID in any of the online databases, but this mat has a Pump It Up logo on the top side of the controller compartment, and a disclaimer stating that Andamiro will not be liable on the bottom. Signed-off-by: Yuri Khan <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2012-07-13ARM: SAMSUNG: fix race in s3c_adc_start for ADCTodd Poynor1-3/+5
Checking for adc->ts_pend already claimed should be done with the lock held. Signed-off-by: Todd Poynor <[email protected]> Acked-by: Ben Dooks <[email protected]> Cc: Stable <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
2012-07-13ARM: SAMSUNG: Update default rate for xusbxti clockTushar Behera1-0/+1
The rate of xusbxti clock is set in individual machine files. The default value should be defined at the clock definition and individual machine files should modify it if required. Division by zero in kernel. [<c0011849>] (unwind_backtrace+0x1/0x9c) from [<c022c663>] (Ldiv0+0x9/0x12) [<c022c663>] (Ldiv0+0x9/0x12) from [<c001a3c3>] (s3c_setrate_clksrc+0x33/0x78) [<c001a3c3>] (s3c_setrate_clksrc+0x33/0x78) from [<c0019e67>] (clk_set_rate+0x2f/0x78) Signed-off-by: Tushar Behera <[email protected]> Cc: Stable <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
2012-07-13ARM: EXYNOS: Add device tree node for EXYNOS4 interrupt combiner controllerThomas Abraham1-0/+11
Add node for EXYNOS4 interrupt combiner controller. Signed-off-by: Thomas Abraham <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
2012-07-13spi: s3c64xx: add device tree supportThomas Abraham2-39/+377
Add support for device based discovery. Signed-off-by: Thomas Abraham <[email protected]> Acked-by: Jaswinder Singh <[email protected]> Acked-by: Grant Likely <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
2012-07-13spi: s3c64xx: Remove the 'set_level' callback from controller dataThomas Abraham2-7/+26
The set_level callback in the controller data, which is used to configure the slave select line, cannot be supported when migrating the driver to device tree based discovery. Since all the platforms currently use gpio as the slave select line, this callback can be removed from the controller data and replaced with call to gpio_set_value in the driver. Signed-off-by: Thomas Abraham <[email protected]> Acked-by: Jaswinder Singh <[email protected]> Acked-by: Grant Likely <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
2012-07-13ARM: SAMSUNG: Modify s3c64xx_spi{0|1|2}_set_platdata functionThomas Abraham3-45/+31
With the spi controller hardware configuration moved into the driver data, there are no more default hardware configuration data that is passed through platform data. Accordingly, the s3c64xx_spi{0|1|2}_set_platdata functions are adapted to these changes. Signed-off-by: Thomas Abraham <[email protected]> Acked-by: Jaswinder Singh <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
2012-07-13ARM: SAMSUNG: Remove pdev pointer parameter from spi gpio setup functionsThomas Abraham8-29/+19
The platform data pointer that is passed to the spi gpio setup functions is not used. Hence, this parameter is removed from all the spi gpio setup functions. Signed-off-by: Thomas Abraham <[email protected]> Acked-by: Jaswinder Singh <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
2012-07-13spi: s3c64xx: move controller information into driver dataThomas Abraham17-198/+181
Platform data is used to specify controller hardware specific information such as the tx/rx fifo level mask and bit offset of rx fifo level. Such information is not suitable to be supplied from device tree. Instead, it can be moved into the driver data and removed from platform data. Signed-off-by: Thomas Abraham <[email protected]> Acked-by: Jaswinder Singh <[email protected]> Acked-by: Grant Likely <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
2012-07-13spi: s3c64xx: remove unused S3C64XX_SPI_ST_TRLCNTZ macroThomas Abraham1-4/+0
The macro S3C64XX_SPI_ST_TRLCNTZ is not used and hence it is removed. Signed-off-by: Thomas Abraham <[email protected]> Acked-by: Jaswinder Singh <[email protected]> Acked-by: Grant Likely <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
2012-07-13ARM: S3C64XX: Add a new dma request id for device tree based dma channel lookupThomas Abraham1-0/+1
Commit 4972a80e16a2 (ARM: SAMSUNG: Add device tree support for pl330 dma engine wrappers) introduced a new member 'dt_dmach_prop' in the struct samsung_dma_info which is used to specify the dma channel number property as obtained from the device tree. It also introduced a new dma request id 'DMACH_DT_PROP' to indicate that a device tree node property represting the dma channel is available in 'struct samsung_dma_info'. Add dma request id 'DMACH_DT_PROP' in s3c64xx dma channel id list in order to maintain compatibility to the changes in the Samsung dma wrappper operations. Signed-off-by: Thomas Abraham <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
2012-07-13Merge remote-tracking branch 'kumar/next' into nextBenjamin Herrenschmidt58-1680/+1607
Freescale updates for 3.6
2012-07-13powerpc/eeh: Check handle_eeh_events() return valueKleber Sacilotto de Souza1-2/+4
Function eeh_event_handler() dereferences the pointer returned by handle_eeh_events() without checking, causing a crash if NULL was returned, which is expected in some situations. This patch fixes this bug by checking for the value returned by handle_eeh_events() before dereferencing it. Signed-off-by: Kleber Sacilotto de Souza <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]> CC: [email protected] [v3.4+]
2012-07-13Merge branch 'next/devel-dma-ops' into next/dt-samsungKukjin Kim5-81/+105
2012-07-13ARM: SAMSUNG: Introduce Kconfig variable for Samsung custom clk APIMark Brown2-2/+6
Make it easier to switch to the common clock API by making the existing clock API implementation depend on a Kconfig symbol which is enabled when the common clock API is disabled. This means that we can have some SoCs using the common clock API and some using the existing API rather than needing a flag day to convert the entire family of devices over. Signed-off-by: Mark Brown <[email protected]> Acked-by: Heiko Stuebner <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
2012-07-13ARM: EXYNOS: Add missing static storage class specifier in pmu.c fileSachin Kamat1-2/+2
arch/arm/mach-exynos/pmu.c:318:14: warning: symbol 'exynos5_list_both_cnt_feed' was not declared. Should it be static? arch/arm/mach-exynos/pmu.c:332:14: warning: symbol 'exynos5_list_diable_wfi_wfe' was not declared. Should it be static? Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
2012-07-13ARM: EXYNOS: Make combiner_init function staticSachin Kamat1-1/+2
Fixes the following warning: arch/arm/mach-exynos/common.c:543:13: warning: symbol 'combiner_init' was not declared. Should it be static? Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
2012-07-13ARM: EXYNOS: Update HSOTG PHY clock setting for EXYNOS4X12Sachin Kamat3-21/+63
Adds clock setting entries for EXYNOS4212 and EXYNOS4412 platforms. Signed-off-by: Sachin Kamat <[email protected]> [fixed compilation warning which is reported by Arnd Bergmann] Signed-off-by: Kukjin Kim <[email protected]>