Age Message
5 years 11 months usb: musb_gadget: use is_otg flag to set gadget peripheral mode on reset

Since jz4740 is not OTG compatible, rely on is_otg flag to set gadget
peripheral mode on reset instead of accessing devct register which
does not exists.

Signed-off-by: Apelete Seketeli <apelete@seketeli.net>
5 years 11 months usb: musb-jz4740: Remove set_vbus callback

The jz4740 is gadget mode only, so there is no vbus signal to control. Set musb
core handles the case where no callback is supplied just fine.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
5 years 11 months usb: musb-jz4740: Mask host mode only IRQ bits

As the device is gadget only the host mode IRQ bits are not implemented by the
device. Make sure the musb core driver never sees any of the host mode IRQ bits
set.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
5 years 11 months usb: musb-jz4740: Move jz4740 specific fifo config to the jz4740 glue

No need to clutter the core with jz4740 specific details. Move the FIFO config
to the jz4740 glue code.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
5 years 11 months usb: musb-jz4740: Move musb_hdrc_config to the glue driver

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
5 years 11 months usb: musb-jz4740: Don't manually free device managed resources

Devices managed resources are freed automatically, no need to do this by hand.
Also give a bit more descriptive names to the error labels.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
5 years 11 months mips: qi_lb60: update defconfig for the Ben NanoNote

Update defconfig for the Ben NanoNote to make use of the new musb glue
layer for the JZ4740 USB device controller instead of the original USB
gadget driver.

Signed-off-by: Apelete Seketeli <apelete@seketeli.net>
6 years 1 day usb: musb: fix setting JZ4740 gadget periphal mode on reset

JZ4740 USB Device Controller is not OTG compatible and does not have DEVCTL
register in silicon.

During ethernet-over-usb transactions, on reset, musb driver tries to
read from DEVCTL and consequently sets device as host (A-Device)
instead of peripheral (B-Device), which makes it a composite device to
the USB gadget driver.
This induces a kernel panic during power down where the USB gadget
driver does a null pointer dereference when trying to access the
composite device configuration.

On reset, do not rely on DEVCTL value for setting gadget peripheral
mode: hardcode it instead to B-Device.

Signed-off-by: Apelete Seketeli <apelete@seketeli.net>
6 years 6 months usb: musb: add support for JZ4740 usb device controller

Add support for Ingenic JZ4740 USB Device Controller through a
specific musb glue layer.

The platform data already available in tree for that USB Device
Controller was previously used by an out-of-tree USB gadget driver
which was not relying on the musb driver and was written by Ingenic
and the Qi-Hardware community.

JZ4740 UDC not being OTG compatible and missing some hardware
registers, this musb glue layer is written from scratch to be used in
gadget mode only and take silicon design specifics into account.

Signed-off-by: Apelete Seketeli <apelete@seketeli.net>
6 years 7 months slcd: Use generic dmaengine interface
6 years 7 months ASoC: jz4740: Use the generic dmaengine PCM driver

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
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 usb: jz4740-udc: Add devicetree 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 drivers/rtc/rtc-jz4740.c: Use managed resources

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>
6 years 7 months video: jz4740-fb: 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>
6 years 7 months pwm: jz4740: Pass device to clk_get

In preparation to switching the jz4740 clk driver to the common clk framework
make sure to pass the device to clk_get().

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.
9 years 1 month Add defconfig for the Ben NanoNote

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.


interactive