Age Message
11 years 9 months Merge branch 'jz-2.6.38' of projects.qi-hardware.com:qi-kernel into jz-2.6.38
11 years 11 months jz4740: Fix compile error
12 years 2 days OpenDingux: initrd: Removed unnecessary nodes and dirs

This saves a grand sum of 220 bytes on the kernel image size.
But it also makes the initrd manifest easier to read.
12 years 2 days OpenDingux: initrd: Remove initrd cpio archive

It was replaced by the text-based version: initrd/tree.txt
12 years 2 days MIPS: JZ4740: A320: defconfig: Use text-based initrd definition

Use a text file that is processed by gen_init_cpio instead of
a binary cpio archive.
12 years 2 days OpenDingux: initrd: Specify initrd contents using text file instead of cpio archive

The gen_init_cpio tool will parse the text file and generate a cpio archive
after all, but the files in git are more accessible now.

I put in all device nodes and directories that were present in the cpio archive
that we were using. Probably not all of it is actually needed.
12 years 4 days MIPS: JZ4740: A320: Probe all banks for NAND chips.

In practice we have seen the following configurations: {1}, {1,2} and {1,3}.
However, it doesn't hurt to probe all banks.
12 years 4 days MTD: NAND: JZ4740: Finished multi-bank support and added autodetection

The platform data can now specify which external memory banks to probe
for NAND chips, and in which order. Banks that contain a NAND are used
and the other banks are freed.

Thanks to Paul Cercueil <paul@crapouillou.net> for the initial patch that
performed autodetection.

Additionally, the following problems were tackled:
- add_mtd_device returns 0/1 instead of an error code
- the mmio resource should be released if probe fails
- avoid freeing non-existing busy gpio
12 years 1 month MIPS: JZ4740: A320: defconfig: Removed "mem=" parameter.

We have memory autodetection now. By removing the override we can use the
same kernel on the A320 and the A330 and get full memory on both systems,
assuming the A330 uses Stephanie's boot loader with 64MB support.
12 years 1 month MIPS: JZ4740: setup: Autodetect physical memory.

Assume that the boot loader knows the physical memory of the system and
deduce that information from the contents of the SDRAM control register.
It is still possible to override with with the "mem=" parameter, but we
have a sensible default now.
12 years 1 month MIPS: JZ4740: clock: Removed CPHYSADDR.

I think this got introduced as part of the cpufreq support.
12 years 1 month MIPS: JZ4740: SLCD: panels: Add ILI9338 support.

Thanks to ChinaChip for providing the code and thanks to Ignacio for sending a patch to me.
12 years 1 month MIPS: JZ4740: SLCD: panels: Add function to send data without a command.

We already had a function to send a command without data.
This is in preparation for ILI9338 support.
12 years 1 month udc
12 years 1 month gpio-charger: Add gpio_charger_resume

Gpio charger should notify if the gpio state had changed
during suspend. This will send a CHANGED event each time
the system resumes, ensuring a plug/unplug of the charger
is not missed.

Signed-off-by: Benson Leung <bleung@chromium.org>

--
Version history :
v3 : Use SIMPLE_DEV_PM_OPS
v2 : Changed to use dev_ms_ops
v1 : Initial
12 years 2 months Merge branch 'jz-2.6.38' of git://projects.qi-hardware.com/qi-kernel into jz-2.6.38
12 years 2 months MIPS: JZ4740: Set one-shot feature flag for the clockevent

The code for supporting one-shot mode for the clockevent is already there, only
the feature flag was not set.
This patch allows the kernel to run in tickless mode.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
12 years 2 months MIPS: JZ4740: Add one-shot feature flag for main timer.

This is needed for tickless mode.
Thanks to Lars-Peter Clausen for instructing me what to change.
12 years 2 months MIPS: JZ4740: A320: defconfig: Assume SD card is not removed during suspend.

We need this option enabled while our rootfs is on the SD card.
12 years 2 months MIPS: JZ4740: A320: defconfig: Disable unused in-kernel framework.

We don't have module support, so any framework that is not required is useless.
12 years 2 months MIPS: JZ4740: SLCD: Make blanking and TV-out mutually exclusive.

Perhaps this is overkill, but at least it does not crash anymore.
Not tested yet on an actual TV.
12 years 2 months MIPS: JZ4740: A320: Force backlight off when ILI is off.

When TV-out is active, the controller for the internal screen (ILI9325/9331) is off.
This patch ensures that the backlight is turned off for as long as the ILI chip stays off,
even if the user changes the brightness value via sysfs in the mean time.

Thanks to Paul Cercueil <paul@crapouillou.net> for the idea of reading the ILI RESET_N pin
to determine whether TV-out is active.
12 years 2 months MIPS: JZ4740: Corrected clock divider masks.

The wrong masks were introduced in commit 3f7d6a9a3d5c17d1b5fa8f93bdec2fc533f8a2f2.
12 years 3 months MIPS: JZ4740: GPIO: Use common irq chip for all gpios

Currently there is one irq_chip per gpio_chip with the only difference being the
name.
Since the information whether the irq belong to GPIO bank A, B, C or D is not
that important rewrite the code to simply use a single irq_chip for all
gpio_chips.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
12 years 3 months MIPS: JZ4740: Convert to new irq functions

Convert the JZ4740 intc and gpio irq chips to use newstyle irq functions.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>


interactive