development kernel tree: Changes to 'andy'
git at git.openmoko.org
git at git.openmoko.org
Mon Jul 14 14:56:15 CEST 2008
Rebased ref, commits from common ancestor:
commit dbd1ec6e8764e6b8ad397e992d9ba72c5cc3675a
Author: Andy Green <andy at openmoko.com>
Date: Mon Jul 14 13:54:59 2008 +0100
introduce-BANKCON-meddling-sysfs.patch
A few questions have been flying around about how optimal
our waitstates are for various things including Glamo.
This patch introduces new sysfs nodes
/sys/devices/platform/neo1973-memconfig.0/BANKCON0
...
/sys/devices/platform/neo1973-memconfig.0/BANKCON7
If you cat them you get translated info about bus speed on
that chip select, eg,
# cat /sys/devices/platform/neo1973-memconfig.0/BANKCON1
BANKCON1 = 0x00000A40
Type = ROM / SRAM
PMC = normal (1 data)
Tacp = 2 clocks
Tcah = 0 clocks
Tcoh = 1 clock
Tacc = 3 clocks
Tcos = 1 clock
Tacs = 0 clocks
You can write them in hex too
# echo 0x200 > /sys/devices/platform/neo1973-memconfig.0/BANKCON1
The write format for BANKCON0 - 5 looks like this
b1..b0 PMC Page Mode Config
b3..b2 Tacp Page Mode Access Cycle
b5..b4 Tcah Address hold after CS deasserted
b7..b6 Tcoh CS hold after OE deasserted
b10..b8 Tacc Access Cycle Period
b12..b11 Tcos CS setup before OE asserted
b14..b13 Tacs Address setup before CS asserted
BANKCON 6 and 7 have two extra bits
b16..b15 MT Memory type (00=ROM/SRAM, 11=DRAM)
If it's ROM/SRAM, the rest of the bits are as described above.
For DRAM
b1..b0 SCAN Column address number
b3..b2 RAS to CAS delay
The patch is intended to let people experiement on their own. But
of course you will crash things for sure if the timing is wrong, and
you can also trash SD Card data if you make Glamo unstable, so remove
it or remount ro first. Other horrible things are possible, but
because the settings aren't sticky, you should always be able to
recover by either normal reboot usually or at worst NOR boot and then
dfu. Most likely you will just crash your session and have to reboot
if your settings are bad, but consider yourself warned bad things are
possible. :-)
Signed-off-by: Andy Green <andy at openmoko.com>
commit f07ac46c16369de8bdb86f6040e2c568a5af1e50
Author: Andy Green <andy at openmoko.com>
Date: Mon Jul 14 09:14:22 2008 +0100
change-backlight-level-not-forced-up-on-resume.patch
We at least always enabled backlight on resume, this patch
changes us to set backlight back to last requested backlight
brightness level on resume. Note it means that you can
resume with screen blanked, but it should come back if that
happened with touchscreen action as usual.
/sys/class/backlight/pcf50633-bl/actual_brightness
and
/sys/class/backlight/pcf50633-bl/brightness
seem to agree after resume when reportedly they didn't before.
Signed-off-by: Andy Green <andy at openmoko.com>
commit 4c6531ec945dbfd220c703fea0f03148dd7737e0
Author: Andy Green <andy at openmoko.com>
Date: Mon Jul 14 09:14:22 2008 +0100
test-force-gps-voltage-3v6.patch
Allows you to control RF_3V between 3.0V and 3.3V; this increases the
phantom voltage at the internal antenna from 2.63V to 2.85V and may
or may not affect antenna gain and GPS behaviour.
You can read and set the GPS voltage by
# cat /sys/class/i2c-adapter/i2c-0/0-0073/neo1973-pm-gps.0/power_mv
3300
# echo 3100 > /sys/class/i2c-adapter/i2c-0/0-0073/neo1973-pm-gps.0/power_mv
Signed-off-by: Andy Green <andy at openmoko.com>
commit cb343e6ab2a382de5feb692274e7949cf30703a2
Author: Mike Westerhof <mwester at dls.net>
Date: Mon Jul 14 09:14:22 2008 +0100
commit 5f42e24d361cd83178fe8da9d68efbf41a011483
Add missing initialization for the touchscreen driver for the
gta01 platform.
Signed-off-by: Mike Westerhof <mwester at dls.net>
commit e0036dfef488eda22644d3a3346b229905b07a2c
Author: Andy Green <andy at openmoko.com>
Date: Mon Jul 14 09:14:22 2008 +0100
test-touchscreen-median.patch
Signed-off-by: Andy Green <andy at openmoko.com>
commit 01a169c287c004cff5b975b29f2936fa8f1312db
Author: Andy Green <andy at openmoko.com>
Date: Mon Jul 14 09:14:22 2008 +0100
config-touchscreen-filters.patch
Signed-off-by: Andy Green <andy at openmoko.com>
commit 9aee7526ffda6abbebb7ee412db04c7f10695c07
Author: Andy Green <andy at openmoko.com>
Date: Mon Jul 14 09:14:22 2008 +0100
build-also-create-uimage.patch
Test Phone has old U-Boot that insists on uImage not uImage.bin
Just a workaround.
Signed-off-by: Andy Green <andy at openmoko.com>
More information about the commitlog
mailing list