Age Message
5 years 4 months mmc: jz4740: prepare next dma transfer in parallel with current transfer

Make use of the MMC asynchronous request capability to prepare the
next DMA transfer request in parallel with the current transfer.
This is done by adding pre-request and post-request callbacks that are
used by the MMC framework during an active data transfer.

It should help reduce the impact of DMA preparation overhead on the SD
card performance.

Signed-off-by: Apelete Seketeli <apelete@seketeli.net>
5 years 10 months mmc: jz4740: add dma infrastructure for data transfers

Until now the MMC driver for JZ4740 SoC was relying on PIO mode only
for data transfers.
This adds a DMA infrastructure for data trasnfers in addition to PIO
mode by relying on DMA Engine.

DMA tranfers performance might be further improved by taking advantage
of the asynchronous request capability of the MMC framework.

Signed-off-by: Apelete Seketeli <apelete@seketeli.net>
5 years 6 months dma: jz4740: complete descriptor before marking it null

In order to call vchan_cookie_complete() on DMA descriptor, we need a
valid address to be dereferenced.
This fixes the sequence where descriptor is marked NULL before being
dereferenced for completion, thus causing a kernel paging request
fault.

Signed-off-by: Apelete Seketeli <apelete@seketeli.net>
5 years 7 months mmc: jz4740: don't wait for PRG_DONE after stop command with R1 response

As of commit bcc3e1726d ("mmc: block: Use R1 responses for stop cmds for
read requests"), stop commands for reads do not have MMC_RSP_BUSY set.
In this case we should not wait for a PRG_DONE IRQ after sending the
stop command: it will not get raised when the busy flag is not set,
causing the request to fail with a timeout.

Signed-off-by: Alex Smith <alex.smith@imgtec.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Ulf Hansson <ulf.hansson@linaro.org>
Cc: Chris Ball <chris@printf.net>
Cc: James Hogan <james.hogan@imgtec.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
5 years 11 months dma: jz4740: Dequeue descriptor from active list before completing it

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
6 years 7 months slcd: Use generic dmaengine interface
6 years 7 months mmc: jz4740: Add devicetree support

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
6 years 7 months mmc: jz4740: Use a regulator for power control
6 years 7 months ASoC: jz4740-codec: Add device tree support

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
6 years 7 months drivers/rtc/rtc-jz4740.c: jz4740: Add device tree support

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
6 years 7 months mmc: jz4740: Use clk_prepare_enable/clk_disable_unprepare

In preparation to switching the jz4740 clk driver to the common clk framework
update the clk enable/disable calls to clk_prepare_enable/clk_disable_unprepare.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
9 years 3 months Add defconfig for the Dingoo A320

This is the config from the jz-3.5 branch brought up to date for 3.6.
8 years 6 months OpenDingux: Add initrd

The initrd contents are specified using initrd/tree.txt. The gen_init_cpio
tool will parse that text file and generate a cpio archive.

splashkill is a simple program that is meant to be launched directly by the
kernel, before mininit. It forks itself and sleeps until the ENTER key is
pressed; when it occurs, it enables the framebuffer console by writting to
a file in /sys. This permits to 'kill' the kernel splash screen, in order
to display the boot log.

The source for the mininit and splashkill binaries can be found here:
https://github.com/Ayla-/mininit
7 years 10 months OpenDingux: Add logo

We have a full-screen logo that is used as a splash screen.
8 years 8 months MIPS: A320: Add Dingoo A320 board support

This is a squashed version of the development done in the jz-3.5 branch.
8 years 4 months MIPS: A320: Add SoC sound support for Dingoo A320
7 years 5 months MIPS: JZ4740: Work around fbcon logo crash with SLCD

The logo data is in the init section. However, when using the SLCD driver,
the fbcon code will try to fetch the logo data after the init section has
already been freed, potentially crashing the kernel.

This is a workaround because we have to release a stable kernel now.
The root cause should be found and fixed later.
8 years 6 months MIPS: JZ4740: SLCD framebufer driver

This driver sends the frame buffer to a smart LCD controller,
that is a controller with its own video memory.
It is a squashed version of development done in the jz-3.5 branch.
8 years 5 months MMC: JZ4740: Added support for CPU frequency changing

The MSC device clock is stopped before the frequency change.
After the change a new divider is computed and the clock is restarted.
Also the frequency change is postponed if an I/O operation is in progress.
8 years 8 months MIPS: JZ4740: Add cpufreq support

This is a squashed version of Uli's driver that was further developed
in the qi-kernel repository.
9 years 3 months MIPS: JZ4740: Added setting of PLL rate and main dividers

This functionality makes a cpufreq driver possible.
Squashed version of the development done in the jz-2.6.39 branch.
9 years 1 month qi_lb60: Don't use 3-wire spi mode for the display for now

The spi_gpio driver does not support 3-wire mode.
9 years 4 months Add ili8960 lcd driver

Includes the following changes from the jz-3.5 branch:
- Use module_spi_driver
- Use devm_kzalloc
- Use kstrtoul

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
7 years 7 months MIPS: Removed declaration of obsolete arch_init_clk_ops()
7 years 7 months MIPS: JZ4740: LCD: Fixed LCD_CMD consts and completed LCD_STATE consts

None of these constants are used so far.


interactive