…m-on-Chip. The platform changes are included now as well.
…40 System-on-Chip." This reverts commit 25b5850. The commit was incomplete. The complete version will be added as one commit to make it easier to cherry-pick into future branches.
Enabled the new watchdog driver. This allows us to let the Dingoo be automatically reset when the system hangs, for example because the user overclocked it too far. Which is very useful if you don't have a paperclip or other object near to press the reset button.
This is the config from the jz-2.6.35 branch brought up to date for 2.6.36.
The Dingux dual boot loader seems to require a fixed load address.
For some unspecified reason the time argument changed from a long to an int in 2.6.36.
Original patch by Lars-Peter Clausen with some bug fixes from me. Squashed version of development done in jz-2.6.35 branch.
This is required to support 4K pages: 8*9 byte ECC for 8*512 byte data.
Tested on Dingoo A320: the FAT partition on the NAND is mounted successfully. Read-only for now. Not robust against bad FTL admin data yet: the driver won't crash, but it might return unnecessary I/O errors. Squashed version of development done in jz-2.6.35 branch.
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-2.6.35 branch.
Squashed commit based on the jz-2.6.35 branch.
This functionality makes a cpufreq driver possible. Squashed version of the development done in the jz-2.6.35 branch.
This is a squashed version of the development done in the jz-2.6.35 branch.
Omitting this device prevents software from accessing the hardware directly, which can cause trouble if the kernel accesses the same hardware. It also saves some space on embedded systems.
This is just a quick fix: a real fix would implement flush_kernel_vmap_range() and invalidate_kernel_vmap_range() as well, but those are only used in XFS for which we have no need on the Dingoo.
This is a squashed version of Uli's driver that was further developed in the opendingux-kernel repository.
Thanks to Ayla for preparing this image.
We can not handle more then one ADC request at a time to the battery. The patch adds a mutex around the ADC read code to ensure this. Signed-off-by: Lars-Peter Clausen <firstname.lastname@example.org>
Signed-off-by: Axel Lin <email@example.com> Acked-By: Lars-Peter Clausen <firstname.lastname@example.org> Signed-off-by: Anton Vorontsov <email@example.com>
When enabled is false, clear BIT(engine) of JZ_REG_ADC_ENABLE register. Signed-off-by: Axel Lin <firstname.lastname@example.org> Acked-by: Lars-Peter Clausen <email@example.com> Signed-off-by: Samuel Ortiz <firstname.lastname@example.org>
This reverts commit be6724d.
The spi_gpio driver does not support 3-wire mode.
This patch adds a touchscreen driver for the Ingenic JZ4740 SoC. The touchscreen controller is part of the ADC unit and thus this driver is a mfd cell from the jz4740-adc driver. Signed-off-by: Lars-Peter Clausen <email@example.com>