26 Jul, 2008
8 commits
-
The sm501_gpio_pin2nr() routine returns the wrong values for gpios in the
upper bank.Signed-off-by: Ben Dooks
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Fix the build problems if CONFIG_MFD_SM501_GPIO is not set, which is
generally when there is no gpiolib support available as currently happens
on x86 when building PCI SM501.Signed-off-by: Ben Dooks
Tested-by: Li Zefan
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Fixup the comments from the patch that added the gpiolib support from
Andrew Morton. These include spotting some missing frees on error or
release, and changing a memcpy for a type-safe assingment.Signed-off-by: Ben Dooks
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Add support for adding the GPIO based I2C resources.
Signed-off-by: Ben Dooks
Cc: Arnaud Patard
Cc: David Brownell
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
The SM501 PCI card requires a dyanmic gpio allocation as the number of
cards is not known at compile time. Fixup the platform data and
registration to deal with this.Acked-by: Ben Dooks
Signed-off-by: Arnaud Patard
Cc: David Brownell
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Add support for exporting the GPIOs on the SM501 via gpiolib.
Signed-off-by: Ben Dooks
Cc: Arnaud Patard
Cc: David Brownell
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Add callback to get or set the power control if the device has the sleep
connected to some form of GPIO.Signed-off-by: Ben Dooks
Cc: Arnaud Patard
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Since 43cc71eed1250755986da4c0f9898f9a635cb3bf (platform: prefix MODALIAS
with "platform:"), the platform modalias is prefixed with "platform:".
Add MODULE_ALIAS() to the MFD platform drivers, to re-enable auto loading.[dbrownell@users.sourceforge.net: one was missing]
Signed-off-by: Kay Sievers
Signed-off-by: David Brownell
Cc: Greg KH
Cc: "Rafael J. Wysocki"
Cc: Samuel Ortiz
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
30 Apr, 2008
1 commit
-
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison
Cc: Ben Dooks
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
28 Apr, 2008
1 commit
-
This patch extends the sm501 mfd with 8250 uart support. We're currently
doing this in the board specific r2d-1 code already, but it would be nice to
do move things into the mfd since it's more chip specific than board specific.Signed-off-by: Magnus Damm
Cc: Ben Dooks
Cc: Paul Mundt
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
05 Mar, 2008
2 commits
-
SM502 has a programmable PLL which can provide the panel pixel clock instead
of the 288MHz and 336MHz PLLs.[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Ville Syrjala
Cc: Ben Dooks
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
misc_div is a subset of px_div so eliminate the smaller table.
Signed-off-by: Ville Syrjala
Cc: Ben Dooks
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
30 Nov, 2007
1 commit
-
Remove errnoeous x character from dev_dbg() call that stops the driver
compiling under debug.Signed-off-by: Ben Dooks
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
24 Jun, 2007
5 commits
-
When binding the driver, check the ID register for a valid identity, in case
the SM501 is not functioning correctly.Signed-off-by: Ben Dooks
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Ensure that the M1XCLK and MCLK are sourced from the same PLL (and refuse to
bind the driver if they are not).Update the PCI to safe initialisation values, as 72MHz is the maximum clock
for 33MHz PCI bus mastering.Signed-off-by: Ben Dooks
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
The order of the set and mask operation in sm501_init_reg() was setting and
then masking the bits set. Correct the order so that we do not end up with
288MHz SDRAM clocks on certain systems.Signed-off-by: Ben Dooks
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
This init sequence of setting the SDRAM clock before the bus clock is
recommend by Silicon Motion to stop problems with writes not sticking into
registers.Signed-off-by: Vincent Sanders
Signed-off-by: Ben Dooks
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
This patch adds support for suspending the core (mfd driver) of the SM501.
Signed-off-by: Ben Dooks
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
03 Apr, 2007
1 commit
-
Fix an off-by-one spotted by the Coverity checker.
Signed-off-by: Adrian Bunk
Cc: Ben Dooks
Cc: Vincent Sanders
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
27 Feb, 2007
1 commit
-
Replace pci_module_init with pci_register_driver
Signed-off-by: Richard Knutson
Acked-by: Ben Dooks
Signed-off-by: Linus Torvalds
21 Feb, 2007
1 commit
-
This driver provides the core functionality of the SM501, which is a
multi-function chip including two framebuffers, video acceleration, USB,
and many other peripheral blocks.The driver exports a number of entries for the peripheral drivers to use.
Signed-off-by: Ben Dooks
Signed-off-by: Vincent Sanders
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds