- May 03, 2011
-
-
Mike Rapoport authored
and reduce amount of copy/paste Signed-off-by:
Mike Rapoport <mike@compulab.co.il> CC: Oleg Drokin <green@linuxhacker.ru> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Mike Rapoport authored
Introduce omap_pmic_init that registers i2c bus and PMIC device on that bus and add omap2/3/4 wrappers for common cases. Signed-off-by:
Mike Rapoport <mike@compulab.co.il> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Mike Rapoport authored
Add common-board-devices.c that will contain the code for peripheral devices initializatoin shared between multiple boards. Start small with touchscreen initialization. Signed-off-by:
Mike Rapoport <mike@compulab.co.il> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Nishanth Menon authored
cat of debugfs entry for vp_volt provides voltage. The additional pr_notice is just spam on console and provides no additional information. Signed-off-by:
Nishanth Menon <nm@ti.com> Signed-off-by:
Kevin Hilman <khilman@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Nishanth Menon authored
pm44xx.c is built only when CONFIG_PM is setup, remove redundant CONFIG_PM check. This also fixes: https://bugzilla.kernel.org/show_bug.cgi?id=25022 Reported-by:
Martin Etti <ettl.martin@gmx.de> Signed-off-by:
Nishanth Menon <nm@ti.com> Signed-off-by:
Kevin Hilman <khilman@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Aaro Koskinen authored
Delete created debugfs entries if probe fails. Signed-off-by:
Aaro Koskinen <aaro.koskinen@nokia.com> Signed-off-by:
Kevin Hilman <khilman@ti.com>
-
Aaro Koskinen authored
If the probe fails, the node should be deleted from sr_list. Signed-off-by:
Aaro Koskinen <aaro.koskinen@nokia.com> Signed-off-by:
Kevin Hilman <khilman@ti.com>
-
Aaro Koskinen authored
Add missing iounmap() to error paths. Signed-off-by:
Aaro Koskinen <aaro.koskinen@nokia.com> Signed-off-by:
Kevin Hilman <khilman@ti.com>
-
Aaro Koskinen authored
We are releasing the memory region, but never actually request it. Signed-off-by:
Aaro Koskinen <aaro.koskinen@nokia.com> Signed-off-by:
Kevin Hilman <khilman@ti.com>
-
Aaro Koskinen authored
sr_late_init() will take care of freeing the resources. Signed-off-by:
Aaro Koskinen <aaro.koskinen@nokia.com> Signed-off-by:
Kevin Hilman <khilman@ti.com>
-
omar ramirez authored
Removing extra lines, spaces and unneeded parenthesis. Collapsing an if statement to detect the type of error. l3_smx: - Fixing the message printed on error. So now: looks like: "No Error Error seen..." "No Error seen..." "In-Band Error Error seen..." "In-Band Error seen..." Other messages are self explanatory, no "Error" added to them. (E.g.: "Address Hole seen...") Signed-off-by:
Omar Ramirez Luna <omar.ramirez@ti.com> Acked-by:
Santosh Shilimkar <santosh.shilimkar@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
omar ramirez authored
l3_smx: - Add missing free_irq and remove an empty goto label. l3_noc: - If kzalloc fails driver shouldn't continue with a NULL pointer. - Add missing free_irq and remove empty goto labels. - Safe to assume that if we reached the end point of execution without errors, then return value is 0, so replacing instead another goto. Signed-off-by:
Omar Ramirez Luna <omar.ramirez@ti.com> Acked-by:
Santosh Shilimkar <santosh.shilimkar@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Igor Grinberg authored
replace "printk(KERN_ERR" by "pr_err(" and fix needlessly multi-lined #ifdef Signed-off-by:
Igor Grinberg <grinberg@compulab.co.il> Acked-by:
Nishanth Menon <nm@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
- Apr 20, 2011
-
-
Mike Rapoport authored
Convert boards that use SMSC911x to use gpmc-smsc911x. Also allocate struct platform_device dynamically. Signed-off-by:
Mike Rapoport <mike@compulab.co.il> Signed-off-by:
Igor Grinberg <grinberg@compulab.co.il> [tony@atomide.com: folded in a fix from Igor Grindberg] Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Mike Rapoport authored
SMSC911x devices attached to OMAP GPMC always use low level irqs. Setting the appropriate flag in the irq resourse strucure allows using .flags field in the omap_smsc911x_platform_data for driver specific flags Signed-off-by:
Mike Rapoport <mike@compulab.co.il> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
- Mar 31, 2011
-
-
Lucas De Marchi authored
Fixes generated by 'codespell' and manually reviewed. Signed-off-by:
Lucas De Marchi <lucas.demarchi@profusion.mobi>
-
- Mar 29, 2011
-
-
Thomas Gleixner authored
Use irq_set_chip_and_handler() instead. Converted with coccinelle. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
Convert to the new function names. Automated with coccinelle. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
-
- Mar 23, 2011
-
-
Balaji T K authored
In Blaze and Panda, 32KHz clock - CLK32KG to WLAN is supplied from Phoenix TWL6030. Add CLK32KG platform data to blaze and omap4panda board file. Signed-off-by:
Balaji T K <balajitk@ti.com> Acked-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by:
Tony Lindgren <tony@atomide.com> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
- Mar 22, 2011
-
-
Sergio Aguirre authored
Make sure the kernel can be compiled with both OMAP2 and OMAP3 camera support linked in, and give public symbols proper omap2/omap3 prefixes. Signed-off-by:
Sergio Aguirre <saaguirre@ti.com> Acked-by:
Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by:
Tony Lindgren <tony@atomide.com> Acked-by:
Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
-
Laurent Pinchart authored
The omap3isp platform device requires platform data. Instead of registering the device in omap2_init_devices(), export an omap3_init_camera() function to fill the device structure with the platform data pointer and register the device. Signed-off-by:
Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by:
Tony Lindgren <tony@atomide.com> Acked-by:
Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
-
Sergio Aguirre authored
The ISP CBUFF module isn't use, its resource isn't needed. Signed-off-by:
Sergio Aguirre <saaguirre@ti.com> Acked-by:
Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by:
Tony Lindgren <tony@atomide.com> Acked-by:
Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
-
Tuukka Toivonen authored
Add new/changed base address definitions and resources for OMAP3630 ISP. The OMAP3430 CSI2PHY block is same as the OMAP3630 CSIPHY2 block. But the later name is chosen as it gives more symmetry to the names. Signed-off-by:
Tuukka Toivonen <tuukkat76@gmail.com> Signed-off-by:
Vimarsh Zutshi <vimarsh.zutshi@gmail.com> Acked-by:
Tony Lindgren <tony@atomide.com> Acked-by:
Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
-
- Mar 19, 2011
-
-
Balaji T K authored
Commit db97eb7d (omap: gpmc: enable irq mode in gpmc) enabled interrupts for GPMC (General Purpose Memory Controller). However, looks like this patch only works on omap3. Fix the issues to avoid warnings on omap4 during the boot. GPMC: number of chip select is 8, CS0 to CS7. One less IRQ allocated throws below warning at boot: [ 0.429290] Trying to install type control for IRQ409 [ 0.429290] Trying to set irq flags for IRQ409 Resolve following warning messages in boot when irq chip is not set: [ 0.429229] Trying to install interrupt handler for IRQ402 [ 0.429229] Trying to install interrupt handler for IRQ403 [ 0.429229] Trying to install interrupt handler for IRQ404 [ 0.429260] Trying to install interrupt handler for IRQ405 [ 0.429260] Trying to install interrupt handler for IRQ406 [ 0.429260] Trying to install interrupt handler for IRQ407 [ 0.429290] Trying to install interrupt handler for IRQ408 Resolve following warning in OMAP4: [ 0.429290] gpmc: irq-20 could not claim: err -22 Signed-off-by:
Balaji T K <balajitk@ti.com> [tony@atomide.com: combined patches into one, updated comments] Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
- Mar 18, 2011
-
-
David Anders authored
the pandaboard does not use the VUSIM or VAUX1 power regulators on the TWL6030 and are left floating. if the VUSIM and VAUX1 power regulators are initilized, noise on the unloaded regulators generates an overcurrent interrupt causing the system to power down. this patch removes the initialization of the unused power regulators of VUSIM and VAUX1. Signed-off-by:
David Anders <x0132446@ti.com> Acked-by:
Andy Green <andy.green@linaro.org> Acked-by:
Anand Gadiyar <gadiyar@ti.com> Tested-by:
Kevin Hilman <khilman@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Aaro Koskinen authored
The handler function may be called from the point it is registered. Since the handler inspects IRQ numbers, we must set them up before registration. Signed-off-by:
Aaro Koskinen <aaro.koskinen@nokia.com> Acked-by:
Santosh Shilimkar <santosh.shilimkar@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Aaro Koskinen authored
Fix the return value for the successful case. Signed-off-by:
Aaro Koskinen <aaro.koskinen@nokia.com> Acked-by:
Santosh Shilimkar <santosh.shilimkar@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Murthy, Raghuveer authored
Adding DVI support to OMAP4 PandaBoard. PandaBoard uses TFP410 DVI Framer chip http://focus.ti.com/lit/ds/symlink/tfp410.pdf The TFP410 gets its power enable and display data over GPIO lines muxed in from OMAP4430. PandaBoard supports other LCD displays through expansion connectors, following board rework. This will disable the DVI interface. However, the existing mux settings remain the same PandaBoard additionally supports display over HDMI interface. It is mutually exclusive to display over DVI. Hence the mux settings need to be configured seperately, as and when HDMI is enabled Also, I2C3 bus used for reading EDID data from DVI Monitors is registered here. Since the design is similar to BeagleBoard, the code for the same is taken from the kernel.org commit e3333f48 (omap: Adding beagle i2c eeprom driver to read EDID) Reviewed-by:
Manjunath G Kondaiah <manjugk@ti.com> Reviewed-by:
Anand Gadiyar <gadiyar@ti.com> Reviewed-by:
Nishanth Menon <nm@ti.com> Reviewed-by:
Sumit Semwal <sumit.semwal@ti.com> Signed-off-by:
Raghuveer Murthy <raghuveer.murthy@ti.com> [tomi.valkeinen@ti.com: fixed conflicts with HDMI] Signed-off-by:
Tomi Valkeinen <tomi.valkeinen@ti.com>
-
- Mar 16, 2011
-
-
Mythri P K authored
Adding board file structure for display which adds the display structure with HDMI as the default driver when the display init is called. HDMI GPIO configurations are also done in this file. Signed-off-by:
Mythri P K <mythripk@ti.com> Signed-off-by:
Tomi Valkeinen <tomi.valkeinen@ti.com>
-
Mythri P K authored
Adding board file structure for display which adds the display structure with HDMI as the default driver when the display init is called. HDMI GPIO configurations are also done in this file. Signed-off-by:
Mythri P K <mythripk@ti.com> Signed-off-by:
Tomi Valkeinen <tomi.valkeinen@ti.com>
-
- Mar 14, 2011
-
-
Ohad Ben-Cohen authored
The wl1271's irq line is completely controlled by the 1271 device, and the host does not not need to pull it up. While there's no functional effect, letting the host pull this line up is just redundant, and wastes power. Signed-off-by:
Ohad Ben-Cohen <ohad@wizery.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Andy Green authored
This adapts the register offsets used to read the CPU DIE ID registers when run on 44XX so they match what is in the OMAP4430 Reference Manual page 269 Signed-off-by:
Andy Green <andy.green@linaro.org> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
Remove duplicate mux modes to make the binary smaller: text data bss dec hex filename 9378 24472 0 33850 843a mux44xx.o 9378 19104 0 28482 6f42 mux44xx.o Cc: Benoit Cousson <b-cousson@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
- Mar 11, 2011
-
-
Tony Lindgren authored
Fix compile when CONFIG_OMAP_MUX is not selected Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
R Sricharan authored
Use the mux framework to initialise the serial pads. Signed-off-by:
sricharan <r.sricharan@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
R Sricharan authored
Use the mux framework to initialise the serial pads. Signed-off-by:
sricharan <r.sricharan@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
R Sricharan authored
Use the mux framework to initialise the serial pads. Signed-off-by:
sricharan <r.sricharan@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
Add macro for defining static pins in the board file. We can now start implementing pin multiplexing in the platform init code for devices that call omap_hwmod_mux_init. Currently that is only implemented for serial.c. Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
R Sricharan authored
Currently OMAP_DEVICE_PAD_IDLE flag is used to mux pins dynamically. This can be simplified by using the enabled state variable of each pad. This also fixes the issue of the static pads not getting muxed after idling and disable/enable state transitions. Signed-off-by:
sricharan <r.sricharan@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
This avoids going through the list unnecessarily when idling devices for runtime PM. Based on an earlier patch by sricharan <r.sricharan@ti.com>. Signed-off-by:
sricharan <r.sricharan@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-