- 14 Nov, 2008 3 commits
-
-
David Brownell authored
Initial twl4030 "regulator framework" support. Costs a bit over 2KB memory at runtime, mostly data. (Plus about 11KB for that framework.) This only exports the LDO regulators for now, not the buck converters. (Two of those buck converters should interact with cpufreq to reduce voltage along with frequencies ...) Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
David Brownell authored
Minor cleanup to twl4030-core: define a helper function to populate a single child node, and use it to replace six inconsistent versions of the same logic. Both object and source code shrink. As part of this, some devices now have more IRQ resources: battery charger, keypad, ADC, and USB transceiver. That will help to remove some irq #defines that prevent this code from compiling on non-OMAP platforms. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
This reverts commit 041d1e14. Use the updated version instead as pointed out by Dave. Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
- 13 Nov, 2008 34 commits
-
-
David Brownell authored
Help OSK work better with root-on-CF, by having one of the LEDs use the "ide-disk" trigger (to kick in during CF I/O). Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Steve Sakoman authored
Turns out that the Makefile for soc/omap and the Kconfig and Makefile for soc/codec also got screwed up in the merge, so those need to be fixed. Signed-off-by:
Steve Sakoman <steve@sakoman.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Grazvydas Ignotas authored
Previous patch removed cpu_is_omap2430() check in mmc-twl4030.c, so update twl4030_hsmmc_info to accommodate that. Signed-off-by:
Grazvydas Ignotas <notasas@gmail.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Grazvydas Ignotas authored
Some boards use input clock from external pin for MMC/SDIO modules in OMAP chips. Make that option selectable instead of forcing loop back clock on everyone. Signed-off-by:
Grazvydas Ignotas <notasas@gmail.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Grazvydas Ignotas authored
Remove the unused devconf_loopback_clock field from twl_mmc_controller. control_devconf_offset only changes for DEVCONF1, so move it out. Signed-off-by:
Grazvydas Ignotas <notasas@gmail.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Grazvydas Ignotas authored
This patch enables McSPI and ADS7846 driver in Pandora's defconfig. Signed-off-by:
Grazvydas Ignotas <notasas@gmail.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Grazvydas Ignotas authored
Clean a line over 80 characters. Signed-off-by:
Grazvydas Ignotas <notasas@gmail.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Grazvydas Ignotas authored
This patch adds ADS7846 compatible touchscreen support for OMAP3 Pandora. Signed-off-by:
Grazvydas Ignotas <notasas@gmail.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Stanley.Miao authored
Add keypad related configs into omap_ldp_defconfig. Signed-off-by:
Stanley.Miao <stanley.miao@windriver.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Stanley.Miao authored
Support twl4030 keypad and gpio keys on ZOOM SDK. Signed-off-by:
Stanley.Miao <stanley.miao@windriver.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Stanley.Miao authored
The n_cols number has beed set to the right value in the board specific file, so in the twl4030 driver, the n_cols doesn't need to plus 1. Signed-off-by:
Stanley.Miao <stanley.miao@windriver.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Stanley.Miao authored
Add network related configs in omap_ldp_defconfig, to make LDP can boot from NFS successfully. Signed-off-by:
Stanley.Miao <stanley.miao@windriver.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Stanley.Miao authored
Add Ethernet device support in board-ldp.c to make ldp can boot and mount nfs successfully. Signed-off-by:
Stanley.Miao <stanley.miao@windriver.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Stanley.Miao authored
OMAP LDP boot crash. This is because w1 subsystem changed the search interface, so update omap_hdq's search interface to follow the change. Signed-off-by:
Stanley.Miao <stanley.miao@windriver.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
David Brownell authored
List the 4 Kbit I2C EEPROM included on the Mistral board. Also add a comment about the hardware workaround needed to properly support the WAKE button. More info at http://elinux.org/OSK_Mistral_wakeup_button_mod Still no support for the (optional) camera sensor. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
David Brownell authored
Minor cleanup to twl4030-core: define a helper function to populate a single child node, and use it to replace six inconsistent versions of the same logic. Both object and source code shrink. As part of this, some devices now have more IRQ resources: battery charger, keypad, ADC, and USB transceiver. That will help to remove some irq #defines that prevent this code from compiling on non-OMAP platforms. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
David Brownell authored
Build fixes for isp1301_omap; no behavior changes: - fix incorrect probe() signature (it changed many months ago) - provide missing functions on H3 and H4 boards - "sparse" fixes (static, NULL-vs-0) The H3 build bits subset some of the stuff that was previously in the OMAP tree but never went to mainline. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
David Brownell authored
Minor GPIO fixes: - If get_gpio_bank() fails, then BUG() out. - In omap_set_gpio_debounce(): * protect the read/modify/write with the relevant spinlock * make the omap3 clock ops pass "sparse" checking Except for the spinlock problem, these were reported through "make". Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
David Brownell authored
Minor change to the TWL4030 utility interface: support reads of all 256 bytes in each register bank (vs just 255). This can help when debugging, but is otherwise a NOP. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Juha Kuikka authored
Change __raw_readsl() to __raw_readsw() Signed-off-by:
Juha Kuikka <juha.kuikka@gmail.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
David Brownell authored
Build fixes for CBUS stuff. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
David Brownell authored
Registering the I2C devices on H4 boards once is enough; remove the extra call. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Jarkko Nikula authored
Clean up OMAP GPIO request/free functions - Rename and declare static OMAP specific GPIO request/free functions - Register them into gpiolib as chip-specific hooks - Add omap_request_gpio/omap_free_gpio wrappers for existing code not converted yet to use gpiolib Signed-off-by:
Jarkko Nikula <jarkko.nikula@nokia.com> [ dbrownell@users.sourceforge.net: remove needless check_gpio() calls ] Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
David Brownell authored
Have most uses of OMAP_GPIO_IRQ() use gpio_to_irq() instead. Calls used for table initialization are left alone, at least this time around. (This patch is for code in both the OMAP tree and mainline.) Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
David Brownell authored
More conversion to the standard GPIO interfaces: stop using omap_set_gpio_direction() entirely, and switch over to the gpio_direction_output() call. Note that because gpio_direction_output() includes the initial value, this change isn't quite transparent. - For the call sites which defined an initial value either before or after setting the direction, that value was used. When that value was previously assigned afterwards, this could eliminate a brief output glitch ... and possibly change behavior. In a few cases (LCDs) several values were assigned together ... those were re-arranged to match the explicit sequence provided. - Some call sites didn't define such a value; so I chose an initial "off/reset" value that seemed to default to "off". In short, files touched by this patch might notice some small changes in startup behavior (with trivial fixes). Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
David Brownell authored
Have most uses of OMAP_GPIO_IRQ() use gpio_to_irq() instead. Calls used for table initialization are left alone, at least this time around. (This patches code that's in the OMAP tree but not yet mainline.) Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
David Brownell authored
More conversion to the standard GPIO interfaces: stop using omap_set_gpio_direction() entirely, and switch over to the gpio_direction_output() call. Note that because gpio_direction_output() includes the initial value, this change isn't quite transparent. - For the call sites which defined an initial value either before or after setting the direction, that value was used. When that value was previously assigned afterwards, this could eliminate a brief output glitch ... and possibly change behavior. In a few cases (LCDs) several values were assigned together ... those were re-arranged to match the explicit sequence provided. - Some call sites didn't define such a value; so I chose an initial "off/reset" value that seemed to default to "off". In short, files touched by this patch might notice some small changes in startup behavior (with trivial fixes). Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
David Brownell authored
More switchover to the cross-platform GPIO interface: use gpio_direction_input(), not an OMAP-specific call. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
David Brownell authored
This patch replaces some legacy OMAP GPIO calls with the "new" (not really, any more!) calls that work on most platforms. The calls addressed by this patch are the simple ones to get and set values ... for code that's in mainline, including the implementations of those calls. Except for the declarations and definitions of those calls, all of these changes were performed by a simple SED script. Plus, a few "if() set() else set()" branches were merged by hand. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
David Brownell authored
More switchover to the cross-platform GPIO interface: use gpio_direction_input(), not an OMAP-specific call, for code that has NOT merged to mainline. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
David Brownell authored
This patch replaces some legacy OMAP GPIO calls with the "new" (not really, any more!) calls that work on most platforms. The calls addressed by this patch are the simple ones to get and set values ... for code that has NOT merged to mainline. Except for the Documentation file, all of these changes were performed by a simple SED script. A few "if() set() else set()" branches were merged by hand. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
David Brownell authored
This patch starts updating the H4 board support to use gpiolib. It switches from the gpio_expander_omap.c code to the mainline pcf8474 driver for its three I2C GPIO expanders. It also adds two minor features: LCD stays powered off when it's not used; and the backlight control is exposed through the LED framework (using the new "backlight" trigger). Plus it fixes a bug that would have affected anyone trying to use the camera sensor: it wouldn't power up, since 0x80 != 0x08. (Though there's no mainline V4L2 driver for that sensor yet...) Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
-
Tony Lindgren authored
In the case of spurious interrupt, the handler for previous interrupt handler needs to flush posted writes with a read back of the interrupt ack register. Warn about handlers that need to flush posted writes. Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
- 12 Nov, 2008 2 commits
-
-
Tony Lindgren authored
Merge branches 'master' and 'linus' Conflicts: drivers/mtd/onenand/omap2.c
-
Felipe Balbi authored
Trivial fix making mmc build for omap1 boards. Signed-off-by:
Felipe Balbi <felipe.balbi@nokia.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
- 10 Nov, 2008 1 commit
-
-
Linus Torvalds authored
-