03 Oct, 2012
1 commit
-
Pull spi updates from Mark Brown:
"No framework work here, only a bunch of driver updates of varying
sizes:- Factoring out of the core hardware support from the MXS MMC driver
by Marek Vasut to allow the hardware to also be used for SPI.
- Lots of error handling cleanups from Guenter Roeck
- Removal of the existing Tegra driver which is quite comprehensively
broken as detailed in the changelog for the removal.
- DT suppport for the PL022 and GPIO drivers.
- pinctrl support for OMAP and PL022."Pulling from Mark Brown as Grant Likely is still busy moving.
* tag 'spi-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc: (53 commits)
spi: remove completely broken Tegra driver
spi/imx: set the inactive state of the clock according to the clock polarity
spi/pl022: get/put resources on suspend/resume
spi/pl022: use more managed resources
spi/pl022: Devicetree support w/o platform data
spi/s3c64xx: Don't free controller_data on non-dt platforms
spi: omap2-mcspi: add pinctrl support
spi/pl022: adopt pinctrl support
spi: omap2-mcspi: Cleanup the omap2_mcspi_txrx_dma function
spi/gpio: Fix stub for spi_gpio_probe_dt()
spi/mxs: Make the SPI block clock speed configurable via DT
spi: spi-sh-hspi: drop frees of devm_ alloc'd data
spi/pl022: Fix chipselects pointer computation
spi: spi-tle62x0: Use module_spi_driver macro
mxs/spi: Rework the mxs_ssp_timeout to be more readable
mxs/spi: Decrement the DMA/PIO border
mxs/spi: Increment the transfer length only if transfer succeeded
mxs/spi: Fix issues when doing long continuous transfer
spi: spi-gpio: Add DT bindings
spi: spi-gpio: store chipselect information in private structure
...
02 Oct, 2012
1 commit
-
Pull ARM soc-specific updates, take 2 from Olof Johansson:
"This branch converts the MXS Freescale platform to use irqdomains and
sparse IRQ, in preparation for DT probing and multiplatform kernels."* tag 'soc2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
ARM: mxs: remove mach/irqs.h
ARM: mxs: select SPARSE_IRQ
ARM: mxs: adopt irq_domain support for icoll driver
ARM: mxs: select MULTI_IRQ_HANDLER
ARM: mxs: retrieve timer irq from device tree
gpio/mxs: adopt irq_domain support for mxs gpio driver
11 Sep, 2012
2 commits
-
It really becomes a maintenance issue that every time a device needs
to look up (clk_get) a clock we have to patch kernel clock file to call
clk_register_clkdev for that clock.Since clock DT support which is meant to resolve clock lookup in device
tree is in place, the patch moves imx23 client devices' clock lookup
over to device tree, so that any new lookup to be added at later time
can just get done in DT instead of kernel.Signed-off-by: Shawn Guo
-
It really becomes a maintenance issue that every time a device needs
to look up (clk_get) a clock we have to patch kernel clock file to call
clk_register_clkdev for that clock.Since clock DT support which is meant to resolve clock lookup in device
tree is in place, the patch moves imx28 client devices' clock lookup
over to device tree, so that any new lookup to be added at later time
can just get done in DT instead of kernel.Signed-off-by: Shawn Guo
03 Sep, 2012
1 commit
-
Rather than using the static timer irq definition, we should retrieve
timer irq from device tree for better.Signed-off-by: Shawn Guo
18 Aug, 2012
1 commit
-
Pull out the MMC clock configuration function and make it
into SSP clock configuration function, so it can be used by
the SPI driver too.Signed-off-by: Marek Vasut
Acked-by: Chris Ball
Acked-by: Shawn Guo
Signed-off-by: Mark Brown
13 Jul, 2012
1 commit
12 Jul, 2012
2 commits
-
Signed-off-by: Richard Zhao
Tested-by: Subodh Nijsure
Signed-off-by: Shawn Guo
05 Jul, 2012
1 commit
-
SSP0 and SSP1 use ref_io0 which has decreased frequency. Expand
the frequency fix for ref_io1 to get SSP2 and SSP3 to work.Signed-off-by: Lauri Hintsala
Signed-off-by: Shawn Guo
27 Jun, 2012
3 commits
-
Add pwm clock lookup for imx23 and imx28 booting from device tree.
Signed-off-by: Shawn Guo
-
The correct name for the GPMI clock is 'gpmi-nand'.
Signed-off-by: Fabio Estevam
Acked-by: Marek Vasut
Signed-off-by: Shawn Guo -
rename the clock name from `8000c000.gpmi` to `8000c000.gpmi-nand`.
Signed-off-by: Huang Shijie
Signed-off-by: Shawn Guo
26 Jun, 2012
2 commits
-
The struct clk_lookup are marked as __initdata, resulting in being
removed from memory after the kernel finished booting. However this
leads to a NULL pointer de-ref if loading a module which uses clk_get.This patch removes the __initdata from the struct clk_lookup.
Signed-off-by: Marc Kleine-Budde
Signed-off-by: Shawn Guo
Signed-off-by: Mike Turquette -
The definition of clocks ref_io0 and ref_io1 were inverted. It causes
a mmc regression on some boards right away. Fix the regression by
correcting the ref_io clock definition.Reported-by: Maxime Ripard
Signed-off-by: Shawn Guo
Signed-off-by: Mike Turquette
13 May, 2012
1 commit
-
The register HW_SSP_VERSION is broken for ssp version detection,
as the address of the register is different between imx23 and imx28.
Let's use platform_device_id to detect the device, so that the use
of cpu_is_xxx can be removed.Signed-off-by: Shawn Guo
Acked-by: Chris Ball
12 May, 2012
3 commits
-
Rewrite mxs_dma_is_apbh and mxs_dma_is_apbx in order to support
other SoCs like imx6q and reform the platform_device_id for the
better further dt support.Cc: Dan Williams
Cc: Sascha Hauer
Cc: Huang Shijie
Signed-off-by: Dong Aisheng
Signed-off-by: Shawn Guo
Acked-by: Marek Vasut
Acked-by: Vinod Koul -
It adds initial device tree support for imx23-evk board, and only
serial console is enabled.Signed-off-by: Shawn Guo
Acked-by: Marek Vasut -
This patch includes basic dt support which can boot via nfs rootfs.
Signed-off-by: Dong Aisheng
Signed-off-by: Shawn Guo
Acked-by: Marek Vasut
09 May, 2012
4 commits
-
With old mxs clock support removed, the timer_clk argument of
mxs_timer_init is unused now, so remove it.Signed-off-by: Shawn Guo
-
Add imx28 clock support based on common clk framework.
Signed-off-by: Shawn Guo
-
Add imx23 clock support based on common clk framework.
Signed-off-by: Shawn Guo
-
Add mxs specific clocks, pll, reference clock (PFD), integer divider
and fractional divider.Signed-off-by: Shawn Guo