aboutsummaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2009-04-25Merge branch 'andy-tracking' into drm-trackingThomas White
Conflicts: drivers/mfd/glamo/Kconfig
2009-04-23Update status batteryMichael Trimarchi
This patch adds the call to the worker in bq27000_battery_external_power_changed. Now (un)plugging the USB cable effects the battery status soon. I don't know if it is possible call the status change directly. Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org> Signed-off-by: Daniel Willmann <daniel@totalueberwachung.de>
2009-04-21This patch take the min platform data array size and keys array size.Michael Trimarchi
Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org>
2009-04-21glamo_fb: make Xglamo workaround conditionalNelson Castillo
Distributions that use Xorg will not need the workaround at all and now they can disable it. Updated configurations to enable it by default. Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
2009-04-21glamo_fb: Small cleanupNelson Castillo
~ Cleanup of a redundant call I introduced before. ~ Removed useless assignation. Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
2009-04-20Make Xglamo workaround opt-out. Fixes #2255.Nelson Castillo
To disable the workaround at run-time run: echo 0 > /sys/class/i2c-adapter/i2c-0/0-0073/pcf50633-regltr.9/glamo3362.0/glamo-fb.0/xglamo_hack I guess I should add a compile option now to completely disable the workaround but let's call this an enhancement and let's close the bug now. By default the workaround is enabled. Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net> Reported-by: Timo Juhani Lindfors <timo.lindfors@iki.fi>
2009-04-21Fix ioctl definitionThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-04-19Start to define ioctlsThomas White
This is the beginnings of the definition of our GEM interface Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-04-19Revert "Revert "Fixed the LCM driver state transition delay and pixel clock ↵Nelson Castillo
issue"" This reverts commit aa2dbc74bed8cf60e591c654ba1882011b9a8ece. Reverting the revert. Sorry for the noise. Check: http://lists.openmoko.org/pipermail/openmoko-kernel/2009-April/010023.html
2009-04-19Revert "Fixed the LCM driver state transition delay and pixel clock issue"Nelson Castillo
This reverts commit bd4b7e8e84ab43a13a4620b001d52d373c2122b3 which brought WSOD back for some devices. It was reported that the problem does not happen with Qi and it seem it is good news. See: https://docs.openmoko.org/trac/ticket/2274 Conflicts: drivers/video/display/jbt6k74.c
2009-04-15OHCI: Disabled additional debuggingPaul Fertser
Disabled additional debugging introduced in 70b36104ab8c03f5be6d03344214d09447d9d4a8
2009-04-14Too many info messages for apm battery supportTim Niemeyer
Changing dev_info => dev_dbg. Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2009-04-14Fix kernel oops when starting wpa_supplicant.Mike Westerhof
This closes bug #2267. Signed-off-by: Mike Westerhof <mwester@dls.net>
2009-04-13fbcon: Cleaned unnecessary debugging output (fix bug 2265)Nicolas Dufresne
Cleaned unnecessary debugging output. Signed-off-by: Nicolas Dufresne <nicolas.dufresne@gmail.com>
2009-04-08Re-enable USBHOST attributeMichael Trimarchi
Re-enable usbmode attribute. It was disabled by 70b36104ab8c03f5be6d03344214d09447d9d4a8. Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org>
2009-04-08Cleanup USB host code of s3c2410Michael Trimarchi
Cleanup code of ohci-s3c2410. Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org>
2009-04-05Fixed the LCM driver state transition delay and pixel clock issueNicolas Dufresne
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>
2009-04-02AR6000: move low-level cleanup from ar6000_destroy to ar6000_closeWerner Almesberger
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>
2009-03-31rtc-pcf50606: Fix month off-by-one errorWerner Almesberger
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>
2009-03-31AR6000: support GTA02-specific rfkill only if building for GTA02Werner Almesberger
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>
2009-03-31This patch brings suspend/resume back to GTA01Tim Niemeyer
"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>
2009-03-31AR6000: Corrected 'vendor/device IDs'.Werner Almesberger
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>
2009-03-31AR6000: revert MMC busy status checkWerner Almesberger
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>
2009-03-31Minor AR6000 cleanupWerner Almesberger
This patch cleans up a little after Ivan's netif_queue_stop fix. Signed-off-by: Werner Almesberger <werner@openmoko.org>
2009-03-31AR6000 netif_queue_stop non stop, Bug?ivan_p@hotbox.ru
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>
2009-03-30Fix ar6000_do_activate return valueWerner Almesberger
... 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>
2009-03-26Take account of platform devices in drm_setunique() and drm_set_busid()Thomas White
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>
2009-03-26Add to Glamo-DRM initialisation routineThomas White
This adds some MMIO initialisation stuff to glamo-drm.c. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-03-26Fix MMC buffer locationsThomas White
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>
2009-03-26Pass core Glamo device to DRM moduleThomas White
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>
2009-03-26Tidy up Glamo memory map declarationsThomas White
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>
2009-03-26Remove Glamo's 2D, 3D, JPEG and MPEG devicesThomas White
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>
2009-03-26Initial DRM driver for GlamoJorge Zapata
2009-03-26Import part of Thomas White DRM tree:Jorge Zapata
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.
2009-03-26Avoid the high_memory check on arm platformsJorge Zapata
Handle correctly the proc/dri/0/name printing Helper function to check the PLATFORM feature
2009-03-26Platform's DRM driver loading, unloading and sysfs interface support.Jorge Zapata
2009-03-26Kconfig/Makefile DRM platform supportJorge Zapata
2009-03-26Fix trivial whitespace slippage.Werner Almesberger
Signed-off-by: Werner Almesberger <werner@openmoko.org>
2009-03-26Clean up pcf50606_client_dev_registertim.niemeyer@mastersword.de
platform_device_add_data copies the data, so no need for kmalloc. Signed-off-by: Tim Niemeyer <reddog@mastersword.de>
2009-03-26Add forgotten PCF50606 Kconfig/Makefile entriestim.niemeyer@mastersword.de
Watchdog and RTC entries were missing. Signed-off-by: Tim Niemeyer <reddog@mastersword.de>
2009-03-26Remove double INPUT_PCF6333_PMU in Kconfig/Makefiletim.niemeyer@mastersword.de
Signed-off-by: Tim Niemeyer <reddog@mastersword.de>
2009-03-26Really clean up, as promised in 1350d5dfaac7dadf6cab9e812f0acfabcce60e58Werner Almesberger
Signed-off-by: Werner Almesberger <werner@openmoko.org> Reported-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2009-03-26extend work around boot-time ordering on GTA01Tim Niemeyer
[ 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>
2009-03-26little debug msg copied from gta02tim.niemeyer@mastersword.de
Signed-off-by: Tim Niemeyer <reddog@mastersword.de>
2009-03-26Remove debug-aux-key-probe-resume-death.patchtim.niemeyer@mastersword.de
Get resume by AUX to work. Signed-off-by: Tim Niemeyer <reddog@mastersword.de>
2009-03-26Glamo fb: needs cfb_{fillrect,copyarea,imageblit} to linkRask Ingemann Lambertsen
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>
2009-03-26Zero packet length detection for RNDIS fix. Migrated from 2.6.24 series kernelAric D. Blumer
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>
2009-03-25Fewer HDQ errors on 3D7KWerner Almesberger
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>
2009-03-11Enable camera interface clockWerner Almesberger
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>
2009-03-11fix-hdq-suspend-level.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>