Age | Commit message (Collapse) | Author |
|
Cleaned unnecessary debugging output.
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@gmail.com>
|
|
Re-enable usbmode attribute.
It was disabled by 70b36104ab8c03f5be6d03344214d09447d9d4a8.
Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org>
|
|
Cleanup code of ohci-s3c2410.
Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org>
|
|
Not sure what is the correct naming scheme and if MODULE_ALIAS in
drivers/usb/host/ohci-s3c2410.c is needed at all (if yes, probably it
should be modified too).
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
|
|
No substantial changes, this just tidies up a bunch of coding style
issues that ought to be fixed up before merge (which I'll do when the
GTA02 machine support is queued for merge).
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
|
|
Space transition between sleep-in and sleep-out of at least
120 ms as mentionned in the spec. Also, made sure the LCM
is moved into sleep state before the pixel clock is turned off.
To do so, I've modified glamo-fb to send FB_BLANK_POWERDOWN before
turning off the pixel clock. Also fixed various violation of coding
style. This patch should reduce the risk of white screen.
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@gmail.com>
|
|
A network device is supposed to disable its internals in the "close"
function. Doing so affords us protection against various races,
including the ioctl vs. rfkill conflict reported by Michael.
Signed-off-by: Werner Almesberger <werner@openmoko.org>
Reported-by: Michael Trimarch <michael@panicking.kicks-ass.org>
|
|
According to the PCF50606 manual, the issues resoved by commit
cc1663fc922c03feb0d7bbb8b18d62fbac0128de also exists there.
Signed-off-by: Werner Almesberger <werner@openmoko.org>
Reported-by: Rask Ingemann Lambertsen <rask@sygehus.dk>
|
|
This is loosely based on a patch by Ivan Petrov.
Signed-off-by: Werner Almesberger <werner@openmoko.org>
Reported-by: Ivan Petrov <ivan_p@hotbox.ru>
|
|
"pdata" is NULL on GTA01 and you oops.
Revised patch, this time with if(..) instead of #ifdef
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
|
|
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
|
|
IDs 0 and 1 are AR6002, not AR6001. This is based on a patch by
Ivan Petrov, but it differs in leaving the IDs in
include/linux/mmc/sdio_ids.h
Signed-off-by: Werner Almesberger <werner@openmoko.org>
Reported-by: Ivan Petrov <ivan_p@hotbox.ru>
|
|
e2c0650efa751a6a2220618695fa41a2a5e7d23c introduced a platform-specific
hack to check if the MMC driver and hardware handle busy signaling from
the device properly.
Since this seems to be the case, we can revert this hack now.
Signed-off-by: Werner Almesberger <werner@openmoko.org>
|
|
This patch cleans up a little after Ivan's netif_queue_stop fix.
Signed-off-by: Werner Almesberger <werner@openmoko.org>
|
|
This patch resolves the following issue:
http://lists.openmoko.org/pipermail/openmoko-kernel/2009-March/009643.html
Changed: prevent rescheduling network queue at interface opened/connected.
Removed: wake network queue at transmit complete.
Added: wake network queue at packet queue limit not reached.
Signed-off-by: Ivan Petrov <ivan_p@hotbox.ru>
|
|
... and check the return value in ar6000_activate.
[ Werner: changed ___FUNCTION__ to __func__ ]
Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org>
Signed-off-by: Werner Almesberger <werner@openmoko.org>
|
|
An S3C2442B would be detected as S3C2440 by the cpu_is_s3cxxxx()
macros. This patch fixes it.
Signed-off-by: Rask Ingeman Lambertsen <rask@sygehus.dk>
|
|
This is done in a slightly nasty way. We should perhaps try to come up
with a better way of uniquely identifying the platform device to DRM.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This adds some MMIO initialisation stuff to glamo-drm.c.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This fixes the MMC buffer locations in glamo-mci.c, which were broken by the
reorganisation of Glamo's memory.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This adds a missing statement to let glamo-drm.c know the core Glamo handle, so
it can manipulate registers such as the 2D and 3D clocks.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This just cosmetically tidies up the declarations in glamo-core.h. We have to
be very clear about what lives where in the memory.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This patch removes the platform devices corresponding to Glamo's 2D, 3D, JPEG and MPEG
engines. These will later be handled via DRM.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
|
|
Handle new memory layout.
The "not-needed" memory should not be taken by the framebuffer driver.
Use that for the DRM driver.
Add the cmdq platform device
Set aside 4k for hardware cursor, reject cursors that don't fit.
|
|
Handle correctly the proc/dri/0/name printing
Helper function to check the PLATFORM feature
|
|
|
|
|
|
Signed-off-by: Tim Niemeyer <reddog@mastersword.de>
|
|
Signed-off-by: Werner Almesberger <werner@openmoko.org>
|
|
platform_device_add_data copies the data, so no need for
kmalloc.
Signed-off-by: Tim Niemeyer <reddog@mastersword.de>
|
|
added bus link from neo1973-pm-gps.0 to gta01-pm-gps.0
added pwron attr wich is the same as power_on
also one typo fixed (3V instead of 3V3 in gps_power_3v_set)
[ Werner: Documentation/CodingStyle line 83, don't ignore the error if
sysfs_create_group fails. ]
Signed-off-by: Tim Niemeyer <reddog@mastersword.de>
Signed-off-by: Werner Almesberger <werner@openmoko.org>
|
|
Watchdog and RTC entries were missing.
Signed-off-by: Tim Niemeyer <reddog@mastersword.de>
|
|
Signed-off-by: Tim Niemeyer <reddog@mastersword.de>
|
|
Signed-off-by: Werner Almesberger <werner@openmoko.org>
Reported-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
|
|
Change RTS and TXD pins on UART 0 to be inputs only on GTA02.
On GTA01 the UART 0 maybe used otherwise.
[ Werner: removed unexplained addition of DEBUG, Documentation/CodingStyle
lines 105, 224, and 448. ]
Signed-off-by: Tim Niemeyer <reddog@mastersword.de>
Signed-off-by: Werner Almesberger <werner@openmoko.org>
|
|
[ Werner: Documentation/CodingStyle lines 166 and 448, put blank line after
local variables. ]
Signed-off-by: Tim Niemeyer <reddog@mastersword.de>
Signed-off-by: Werner Almesberger <werner@openmoko.org>
|
|
Signed-off-by: Tim Niemeyer <reddog@mastersword.de>
|
|
Signed-off-by: Tim Niemeyer <reddog@mastersword.de>
|
|
Get resume by AUX to work.
Signed-off-by: Tim Niemeyer <reddog@mastersword.de>
|
|
Signed-off-by: Tim Niemeyer <reddog@mastersword.de>
|
|
The kernel would fail to link because cfb_fillrect, cfb_copyarea and
cfb_imageblit weren't build. This patch fixes it.
Signed-off-by: Rask Ingemann Lambertsen <rask@sygehus.dk>
|
|
This patch fixes the issues of RNDIS on the Openmoko Freerunner (and
subsequently Windows networking with the Freerunner). It arises from the
case where a stall is being issued by the upper level RNDIS driver to
the s3c2410_udc.c in the 2.6.28 series driver and it not being handled
correctly. This patch changes the RNDIS driver to send zero-length
packets instead of a stall, a condition that allowed the udc driver to
function correctly in 2.6.24 series kernels.
Further investigation into the udc driver is recommended. I am currently
looking into it to be able to use the Android ADB gadget driver, which
currently has stability issues using the underlying udc on both Linux
and Windows (although, it's possible that the Android ADB gadget has
problems).
Traces and logs of the USB traffic are available upon request. Thanks to
Aric at SDG Systems for all of his work on this matter.
Regards,
Brian Code
From de386af349bbfe1ad6d45c810185123975888d8d Mon Sep 17 00:00:00 2001
From: Aric D. Blumer <aric@sdgsystems.com>
Date: Mon, 16 Mar 2009 16:04:02 -0600
Subject: [PATCH] Zero packet length detection for RNDIS fix. Migrated from 2.6.24 series kernel
Signed-off-by: Aric D. Blumer <aric@sdgsystems.com>
Signed-off-by: Brian Code <Brian.Code@koolu.com>
|
|
Hello,
this patch adds "force-shutdown" feature for GTA02. When the power button is
held pressed for 8 seconds, the power is turned off. No need to remove the
battery anymore. Patch is against andy-tracking.
Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@gmail.com>
|
|
Add to_irq method to convert gpio to irq
for external interrupt group (GPN).
Signed-off-by: Matt Hsu <matt_hsu@openmoko.org>
|
|
If no battery is connected, we periodically get a burst of HDQ error
messages (at least on 3D7K), interrupting whatever we're doing on
the console.
This patch reduces this to only one message per sequence of errors,
and one more message if communication with HDQ is successful later.
Signed-off-by: Werner Almesberger <werner@openmoko.org>
|
|
The power mode of ROUT1 is always off which results
in the voice only comes from left channel (LOUT1).
This issues is fixed by adding dapm control for ROU1 channel.
Signed-off-by: Matt Hsu <matt_hsu@openmoko.org>
Reported-by: Candy Chou <candy_chou@openmoko.com>
|
|
This patch explicitly enabled to "camif" clock, to make the driver
work again with Qi commit a24b5fcf84d2cf633a3f660edd23fa4c2a3da231.
Note that this is not fully tested since the Qi change also broke
the LCM driver.
Signed-off-by: Werner Almesberger <werner@openmoko.org>
|
|
This patch adds the real "camif" clock (off HCLK.)
Signed-off-by: Werner Almesberger <werner@openmoko.org>
|
|
Identifiers related to the "camera" clock were mis-named as camif.
This patch renames them.
Signed-off-by: Werner Almesberger <werner@openmoko.org>
|