- 06 Sep, 2007 4 commits
-
-
Tony Lindgren authored
Looks like the die ID can be >= 2 on tusb3.1 chips. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
Change tusb DMA log level to be less verbose Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
It seems tusb has a problem with sync DMA being mixed with async PIO. Wait for the EP XFR_SIZE to clear before re-using the same DMA channel. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
Standardize to use tbase for tusb specific registers. Also use mbase for musb registers and remove async from dma XFR_SIZE corrupt warning. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
- 31 Aug, 2007 36 commits
-
-
Kyungmin Park authored
To enable the main read/write at oob ops Next time we will commit the datbuf read/write support for yaffs2 Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Kyungmin Park authored
Fix scheduling while atomic bug BUG: scheduling while atomic: swapper/0x00000002/1 [<c00281ec>] (dump_stack+0x0/0x14) from [<c0047f9c>] (__schedule_bug+0x34/0x3c) [<c0047f68>] (__schedule_bug+0x0/0x3c) from [<c024d434>] (schedule+0x74/0x384) [<c024d3c0>] (schedule+0x0/0x384) from [<c024d8d0>] (wait_for_completion+0xc8/0) [<c024d808>] (wait_for_completion+0x0/0x148) from [<c005f0ac>] (call_usermodehe) r8:c072bce0 r7:00000000 r6:00000000 r5:c02fd2d4 r4:c07536e0 [<c005f004>] (call_usermodehelper_exec+0x0/0x100) from [<c015b214>] (kobject_ue) r8:00000008 r7:c7c060ad r6:c7cccda0 r5:c074a9e0 r4:00000000 [<c015ade4>] (kobject_uevent_env+0x0/0x498) from [<c015b290>] (kobject_uevent+0) [<c015b27c>] (kobject_uevent+0x0/0x18) from [<c0199fe4>] (device_add+0x374/0x61) [<c0199c70>] (device_add+0x0/0x618) from [<c019e7a0>] (platform_device_add+0xe8) [<c019e6b8>] (platform_device_add+0x0/0x164) from [<c019e840>] (platform_device) r7:c076a800 r6:c0752400 r5:c076a8a4 r4:c02f0958 [<c019e81c>] (platform_device_register+0x0/0x28) from [<c01b367c>] (tsc210x_pro) r4:00000004 [<c01b326c>] (tsc210x_probe+0x0/0x54c) from [<c01b37cc>] (tsc2101_probe+0x14/0x) [<c01b37b8>] (tsc2101_probe+0x0/0x18) from [<c01b0478>] (spi_drv_probe+0x24/0x2) [<c01b0454>] (spi_drv_probe+0x0/0x28) from [<c019c8b0>] (driver_probe_device+0x) [<c019c7d4>] (driver_probe_device+0x0/0x180) from [<c019cabc>] (__driver_attach) r8:c072a000 r7:c02f0648 r6:c02f0648 r5:c076a800 r4:c076a8c0 [<c019ca20>] (__driver_attach+0x0/0xf8) from [<c019b800>] (bus_for_each_dev+0x4) r6:c019ca20 r5:c072bed8 r4:00000000 [<c019b7b4>] (bus_for_each_dev+0x0/0x84) from [<c019cb3c>] (driver_attach+0x24/) r7:c02f01e8 r6:c02f0650 r5:c02f0648 r4:00000000 [<c019cb18>] (driver_attach+0x0/0x2c) from [<c019c02c>] (bus_add_driver+0x7c/0x) [<c019bfb0>] (bus_add_driver+0x0/0x1d4) from [<c019d040>] (driver_register+0x84) [<c019cfbc>] (driver_register+0x0/0x8c) from [<c01b051c>] (spi_register_driver+) r4:00000000 [<c01b04cc>] (spi_register_driver+0x0/0x64) from [<c0017a10>] (tsc210x_init+0x3) [<c00179dc>] (tsc210x_init+0x0/0x74) from [<c0008a5c>] (kernel_init+0xe0/0x290) r5:00000000 r4:00000000 [<c000897c>] (kernel_init+0x0/0x290) from [<c004ff8c>] (do_exit+0x0/0x878) Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Trilok Soni authored
- Update omap1 camera interface to use video_ioctl2 interface. - coding style related updates. Signed-off-by: Trilok Soni <soni.trilok@gmail.com>
-
Trilok Soni authored
Signed-off-by: Trilok Soni <soni.trilok@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Sakari Ailus authored
This patch allows using OMAP 2 camera and TCM825x drivers on Nokia N800. Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com>
-
Sakari Ailus authored
Add a driver for the OMAP 2 camera block. OMAP 2 is used in e.g. Nokia N800 internet tablet. This driver uses the new V4L2 internal ioctl interface. Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com>
-
Sakari Ailus authored
vidioc_int_g_ifparm returns platform-specific information about the interface settings used by the sensor. Support for [gs]_ext_clk has been removed. Fix indentation and remove useless & characters. Remove experiment for typechecking slave callback function arguments. Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com>
-
Sakari Ailus authored
Add a driver for Toshiba TCM825x VGA camera sensor. This sensor is used e.g. in Nokia N800 internet tablet. This driver uses the new V4L2 internal ioctl interface. Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com>
-
Sakari Ailus authored
Remove support for g_ext_clk and s_ext_clk. The same functionality is now handled by g_ifparm. Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com>
-
Sakari Ailus authored
Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com>
-
Sakari Ailus authored
This patch adds BT.656 interface settings for [gs]_ifparm. Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com>
-
Sakari Ailus authored
vidioc_int_g_ifparm can be used to obtain hardware-specific information about the interface used by the slave. Rearrange v4l2-int-device.h as well. Also remove useless & characters. Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com>
-
Sakari Ailus authored
Fix a compile warning on non-32-bit machines in v4l2-int-device.h. Add internal ioctl interface fallback function for ioctls with one argument. Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com>
-
Sakari Ailus authored
This patch adds an internal ioctl-like interface which can be used in situations where a single Video4Linux device is implemented by multiple device drivers. One master device controls one or more slave devices. The slaves provide Video4Linux ioctl-like interface for the use of the master. Only a handful of ioctls are implemented at the moment. More can (and should) be added as more functionality is required. Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com>
-
Syed Mohammed, Khasim authored
This patch is to fix OMAP3430 compilation error. Signed-off-by: Syed Mohammed Khasim <x0khasim@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Syed Mohammed, Khasim authored
This should fix HSI2C, Keypad and T2 failures on 2430SDP Signed-off-by: Syed Mohammed Khasim <x0khasim@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
Add three missing clocks: gpmc_fck, sdma_ick, and sdma_fck. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
The OMAP2 clock framework enables a few clocks by hand upon initialization. OMAP3430 will have a different set of clocks to enable upon init. So, generalize this code by adding a new clock flag, ENABLE_ON_INIT, to mark clocks that should be enabled on init; and add a new framework-wide function, clk_enable_init_clocks(), that can be called from generalized init code. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
Introduce a new data structure, struct dpll_data, that contains DPLL multiplier, divider, and autoidle information. Update existing DPLL code to use struct dpll_data. The goal here is to set up something that will be usable for OMAP3430 clock tree. Note that this does not affect the SRAM DPLL assembly code - the DPLL register addresses are still hard-coded there. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
The OMAP2 clock framework currently uses a nonstandard function to assign the osc_ck and sys_ck rates, omap2_get_crystal_rate(). By using custom recalc code for these clocks, we can get rid of it and rely on the existing clock tree recalculation process. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
Now that we're calling the clock-specific enable & disable code, we can get rid of the special-case code in _omap2_clk_{enable,disable}() for the APLLs. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
Now that we're paying attention to the .enable/.disable fields in struct clk, convert the osc_ck enable and disable code to use this standard mechanism. (osc_ck enable/disable does not technically enable or disable the osc_ck; it actually enables/disables autoidling.) Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
Call clock-specific enable/disable functions if .enable/.disable function pointer fields are present in struct clk. Similar to OMAP1 clock code. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
We no longer need the *_SEL* clock flags with the struct clksel conversion, so we get rid of them. This frees up 10 clock flag bits. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
RATE_CKCTL is no longer meaningful in the OMAP2 clock framework, so, drop it from all clocks. We keep the flag around since it's still used by OMAP1. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
Simplify omap2_clk_set_rate() by separating out the clksel set_rate code into its own function, omap2_clksel_set_rate(). Clksel clocks use this function by placing its function pointer in their .set_rate fields. Convert existing clksel clocks accordingly. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
The OMAP clock framework struct clk contains a field, .round_rate, that is intended to contain a function pointer to rate rounding code. Take advantage of it by converting all clksel clocks' round_rate field to point to omap2_clksel_round_rate(). Rename the existing omap2_clksel_round_rate() to omap2_clksel_round_rate_div(), to signify that it returns divisor information as well, and set up omap2_clksel_round_rate() as a wrapper for the clock framework to use. Simplify omap2_clk_round_rate() accordingly. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
src_offset and rate_offset are no longer used in OMAP2 clock framework after the struct clksel/struct clksel_rate additions. Remove these fields from clock.h and #ifdef out those fields for OMAP24XX compiles. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
This completes the transition to struct clksel/clksel_rate by converting the remaining clksel clocks to call omap2_clksel_recalc() on rate recalculation. Also remove RATE_FIXED from some clocks that can now recalculate their own rates correctly via clksel. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
Get rid of now-obsolete code in omap2_clksel_recalc(). Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
Stop using clk->src_offset in omap2_clk_set_parent(); use what we get from the clksel code instead. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
Stop using clk->rate_offset in omap2_clk_set_rate(); use what we get from the clksel code instead. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
Convert omap2_clksel_get_src_field() to use new struct clksel and struct clksel_rate data. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
Convert omap2_get_clksel to use new struct clksel and struct clksel_rate data. Also fix its parameter order to conform with the rest of the clock framework functions (i.e., struct clk first). Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
Convert omap2_clksel_round_rate() to use the new clksel struct data. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
Convert omap2_clksel_to_divisor() and omap2_divisor_to_clksel() to use the new struct clksel and struct clksel_rate data. Add omap2_get_clksel_by_parent() utility code, called by both functions, to return the appropriate struct clksel for a given (struct clk, parent struct clk) combination. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-