- 15 Nov, 2012 4 commits
-
-
Arnd Bergmann authored
Needed for the omap timer changes. Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
Arnd Bergmann authored
Merge tag 'omap-for-v3.8/gpmc-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/drivers From Tony Lindgren <tony@atomide.com>: omap GPMC (General Purpose Memory Controller) updates via Afzal Mohammed <afzal@ti.com>: These changes provide a generic gpmc timing calculation method, migrates existing peripherals that makes use of custom gpmc timing calculation method to use the new generic one. The generic timing routine has been tested with onenand, smsc911x, and tusb6010 devices connected to GPMC in addition to simulating other devices support in the mainline kernel. * tag 'omap-for-v3.8/gpmc-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: ARM: OMAP2+: tusb6010: generic timing calculation ARM: OMAP2+: smc91x: generic timing calculation ARM: OMAP2+: onenand: generic timing calculation ARM: OMAP2+: gpmc: generic timing calculation ARM: OMAP2+: gpmc: handle additional timings ARM: OMAP2+: nand: remove redundant rounding Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
Arnd Bergmann authored
This avoids merge conflicts between the omap header changes and the gpmc updates. Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
Linus Walleij authored
Recent pin changes produce this warning: arch/arm/mach-ux500/board-mop500-pins.c:73:22: error: 'out_hi_wkup_pdis' defined but not used [-Werror=unused-variable] Fix this by deleting the offending definition. Reported-by:
Arnd Bergmann <arnd@arndb.de> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
- 12 Nov, 2012 2 commits
-
-
Tony Lindgren authored
Merge tag 'gpmc-generic-timing' of git://gitorious.org/x0148406-public/linux-kernel into omap-for-v3.8/gpmc These changes provide a generic gpmc timing calculation method, migrates existing peripherals that makes use of custom gpmc timing calculation method to use the new generic one. Generic routine has been verified for onenand async timing calculation on omap3evm (with a local change to add onenand support). Generic timing calculation method were verified for other peripherals by simulation. Generic method has to be verified on peripherals supported in mainline.
-
Arnd Bergmann authored
Merge tag 'ux500-pins-for-arm-soc' of http://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson into next/drivers From Linus Walleij <linus.walleij@linaro.org>: Ux500 pinctrl table update for v3.8, basically accumulated updates to pin muxing and biasing from internal deployment and regression testing for power performance. * tag 'ux500-pins-for-arm-soc' of http://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson: ARM: ux500: fixup magnetometer pins ARM: ux500: add STM pin configuration ARM: ux500: 8500: add pinctrl support for uart1 and uart2 ARM: ux500: cosmetic fixups for uart0 ARM: ux500: 8500: define SDI sleep states ARM: ux500: 8500: update SKE keypad pinctrl table ARM: ux500: delete duplicate macro ARM: ux500: 8500: add IDLE pin configuration for SPI ARM: ux500: 8500: register LCD VSI pinctrl table Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
- 09 Nov, 2012 9 commits
-
-
Tony Lindgren authored
-
Tony Lindgren authored
-
Tony Lindgren authored
Conflicts: arch/arm/plat-omap/dmtimer.c Resolved as suggested by Jon Hunter.
-
Tony Lindgren authored
Merge branch 'for_3.8/dts_part2' of git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt into omap-for-v3.8/dt
-
Afzal Mohammed authored
Generic gpmc timing calculation helper is available now, use it instead of custom timing calculation. Signed-off-by:
Afzal Mohammed <afzal@ti.com>
-
Afzal Mohammed authored
Generic gpmc timing calculation helper is available now, use it instead of custom timing calculation. Signed-off-by:
Afzal Mohammed <afzal@ti.com>
-
Afzal Mohammed authored
Generic gpmc timing calculation helper is available now, use it instead of custom timing calculation. Signed-off-by:
Afzal Mohammed <afzal@ti.com>
-
Afzal Mohammed authored
Presently there are three peripherals that gets it timing by runtime calculation. Those peripherals can work with frequency scaling that affects gpmc clock. But timing calculation for them are in different ways. Here a generic runtime calculation method is proposed. Input to this function were selected so that they represent timing variables that are present in peripheral datasheets. Motive behind this was to achieve DT bindings for the inputs as is. Even though a few of the tusb6010 timings could not be made directly related to timings normally found on peripherals, expressions used were translated to those that could be justified. There are possibilities of improving the calculations, like calculating timing for read & write operations in a more similar way. Expressions derived here were tested for async onenand on omap3evm (as vanilla Kernel does not have omap3evm onenand support, local patch was used). Other peripherals, tusb6010, smc91x calculations were validated by simulating on omap3evm. Regarding "we_on" for onenand async, it was found that even for muxed address/data, it need not be greater than "adv_wr_off", but rather could be derived from write setup time for peripheral from start of access time, hence would more be in line with peripheral timings. With this method it was working fine. If it is required in some cases to have "we_on" same as "wr_data_mux_bus" (i.e. greater than "adv_wr_off"), another variable could be added to indicate it. But such a requirement is not expected though. It has been observed that "adv_rd_off" & "adv_wr_off" are currently calculated by adding an offset over "oe_on" and "we_on" respectively in the case of smc91x. But peripheral datasheet does not specify so and so "adv_rd(wr)_off" has been derived (to be specific, made ignorant of "oe_on" and "we_on") observing datasheet rather than adding an offset. Hence this generic routine is expected to work for smc91x (91C96 RX51 board). This was verified on smsc911x (9220 on OMAP3EVM) - a similar ethernet controller. Timings are calculated in ps to prevent rounding errors and converted to ns at final stage so that these values can be directly fed to gpmc_cs_set_timings(). gpmc_cs_set_timings() would be modified to take ps once all custom timing routines are replaced by the generic routine, at the same time generic timing routine would be modified to provide timings in ps. struct gpmc_timings field types are upgraded from u16 => u32 so that it can hold ps values. Whole of this exercise is being done to achieve driver and DT conversion. If timings could not be calculated in a peripheral agnostic way, either gpmc driver would have to be peripheral gnostic or a wrapper arrangement over gpmc driver would be required. Signed-off-by:
Afzal Mohammed <afzal@ti.com>
-
Afzal Mohammed authored
Configure busturnaround, cycle2cycledelay, waitmonitoringtime, clkactivationtime in gpmc_cs_set_timings(). This is done so that boards can configure these parameters of gpmc in Kernel instead of relying on bootloader. Also configure bool type timings like extradelay. This needed change to the existing users that were configuring clk activation time and extra delay by directly writing to registers. Thanks to Tony for making me aware of users of clk activation and being kind enough to test the modified one. Signed-off-by:
Afzal Mohammed <afzal@ti.com>
-
- 08 Nov, 2012 1 commit
-
-
Afzal Mohammed authored
gpmc_cs_set_timings() calculate ticks to be programmed by rounding time in ns to next tick value. Hence remove redundant rounding of nanosecond timing. Signed-off-by:
Afzal Mohammed <afzal@ti.com>
-
- 07 Nov, 2012 6 commits
-
-
Afzal Mohammed authored
OMAP2+ family of devices are now obtaining resources via DT, earlier it was obtained from hwmod. Update binding document accrodingly, while at it add example. Signed-off-by:
Afzal Mohammed <afzal@ti.com> Reviewed-by:
Felipe Balbi <balbi@ti.com> Signed-off-by:
Benoit Cousson <b-cousson@ti.com>
-
Ricardo Neri authored
Add the pinmux configuration for HDMI and TPD12S015A. Configure the gpios for the TPD12S015A and SDA, SCL and CEC for HDMI. Signed-off-by:
Ricardo Neri <ricardo.neri@ti.com> Signed-off-by:
Tomi Valkeinen <tomi.valkeinen@ti.com> Signed-off-by:
Benoit Cousson <b-cousson@ti.com>
-
Ricardo Neri authored
Add the pinmux configuration for HDMI and TPD12S015A. Configure the gpios for the TPD12S015A and SDA, SCL and CEC for HDMI. Signed-off-by:
Ricardo Neri <ricardo.neri@ti.com> Signed-off-by:
Tomi Valkeinen <tomi.valkeinen@ti.com> Signed-off-by:
Benoit Cousson <b-cousson@ti.com>
-
Tony Lindgren authored
-
Tony Lindgren authored
Merge branch 'for_3.8/dts' of git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt into omap-for-v3.8/dt
-
Tomi Valkeinen authored
The only thing omap_init_consistent_dma_size() does is increase the consistent DMA size if CONFIG_FB_OMAP_CONSISTENT_DMA_SIZE is defined. Increasing the consistent DMA size should no longer be needed with CMA in place. This patch removes omap_init_consistent_dma_size() and also arch/arm/mach-omap2/io.c:omap_common_init_early() which becomes an empty function. Signed-off-by:
Tomi Valkeinen <tomi.valkeinen@ti.com> Acked-by:
Santosh Shilimkar <santosh.shilimkar@ti.com> [tony@atomide.com: updated for moved dma.h] Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
- 06 Nov, 2012 13 commits
-
-
Benoit Cousson authored
The EVMSK was not built with the 'make dtbs' command. Add the missing entry in the dts Makefile. Signed-off-by:
Benoit Cousson <b-cousson@ti.com>
-
Ajay Kumar Gupta authored
Device tree node for usbss on AM33XX. There are two musb controllers on am33xx platform so have port0-mode and port1-mode data. Signed-off-by:
Ajay Kumar Gupta <ajay.gupta@ti.com> Signed-off-by:
Santhapuri, Damodar <damodar.santhapuri@ti.com> Signed-off-by:
Ravi Babu <ravibabu@ti.com> [afzal@ti.com: reg & interrupt property addition] Signed-off-by:
Afzal Mohammed <afzal@ti.com> Reviewed-by:
Felipe Balbi <balbi@ti.com> Signed-off-by:
Benoit Cousson <b-cousson@ti.com>
-
AnilKumar Ch authored
Add gpio based push buttons device tree data to am335x-evmsk device by adding all the necessary parameters like key-code, gpios and etc. Signed-off-by:
AnilKumar Ch <anilkumar@ti.com> Signed-off-by:
Benoit Cousson <b-cousson@ti.com>
-
AnilKumar Ch authored
Add pinmux configurations for gpio based keys to am335x-evmsk. In this patch, only single named mode/state is added and these pins are configured during pinctrl driver initialization. Default mode is nothing but the values required for the module during active state. With this configurations module is functional as expected. Signed-off-by:
AnilKumar Ch <anilkumar@ti.com> Signed-off-by:
Benoit Cousson <b-cousson@ti.com>
-
AnilKumar Ch authored
Add gpio-leds device tree data to am335x-evmsk device to enable gpio based user-leds (USR0, USR1, USR2 and USR3) present on am335x starter kit. Signed-off-by:
AnilKumar Ch <anilkumar@ti.com> Signed-off-by:
Benoit Cousson <b-cousson@ti.com>
-
AnilKumar Ch authored
Add pinmux configurations for gpio based volume keys to am335x-evmsk. In this patch, only single named mode/state is added and these pins are configured during pinctrl driver initialization. Default mode is nothing but the values required for the module during active state. With this configurations module is functional as expected. Signed-off-by:
AnilKumar Ch <anilkumar@ti.com> Signed-off-by:
Benoit Cousson <b-cousson@ti.com>
-
AnilKumar Ch authored
Add gpio-leds device tree data to am335x-bone device to enable gpio based user-leds (USR0, USR1, USR2 and USR3) present on BeagleBone. [koen@dominion.thruhere.net: led0, led1 suggested by koen] Signed-off-by:
AnilKumar Ch <anilkumar@ti.com> Signed-off-by:
Benoit Cousson <b-cousson@ti.com>
-
AnilKumar Ch authored
Add pinmux configurations for gpio based user-keys to am335x-bone. In this patch, only single named mode/state is added and these pins are configured during pinctrl driver initialization. Default mode is nothing but the values required for the module during active state. With this configurations module is functional as expected. Signed-off-by:
AnilKumar Ch <anilkumar@ti.com> Signed-off-by:
Benoit Cousson <b-cousson@ti.com>
-
AnilKumar Ch authored
Add gpio based volume keys device tree data to am335x-evm by adding all the required parameters like keycode, gpios and etc. Signed-off-by:
AnilKumar Ch <anilkumar@ti.com> Signed-off-by:
Benoit Cousson <b-cousson@ti.com>
-
AnilKumar Ch authored
Add pinmux configurations for gpio volume keys. In this patch, only single named mode/state is added and these pins are configured during pinctrl driver initialization. Default mode is nothing but the values required for the module during active state. With this configurations module is functional as expected. Signed-off-by:
AnilKumar Ch <anilkumar@ti.com> Signed-off-by:
Benoit Cousson <b-cousson@ti.com>
-
AnilKumar Ch authored
Add matrix keypad device tree data to am335x-evm by adding all the necessary parameters like keymap, row & column gpios and etc. Signed-off-by:
AnilKumar Ch <anilkumar@ti.com> Signed-off-by:
Benoit Cousson <b-cousson@ti.com>
-
AnilKumar Ch authored
Add pinmux configurations for gpio matrix keypad. In this patch, only single named mode/state is added and these pins are configured during pinctrl driver initialization. Default mode is nothing but the values required for the module during active state. With this configurations module is functional as expected. Signed-off-by:
AnilKumar Ch <anilkumar@ti.com> Signed-off-by:
Benoit Cousson <b-cousson@ti.com>
-
Jorgen Jonsson authored
GPIO31 and GPIO32 (CTS/RTS) are handled by the magnetometer and shall not simultaneously be controlled by UART2. Reported-by:
Peter Nessrup <peter.nessrup@stericsson.com> Signed-off-by:
Jorgen Jonsson <jorgen.jonsson@stericsson.com> Reviewed-by:
Patrice Chotard <patrice.chotard@stericsson.com> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
- 05 Nov, 2012 3 commits
-
-
Lokesh Vutla authored
Samsung's K3PE0E000B memory part is used in OMAP5-evm board. Adding timings and geometry details for Samsung's memory part and attaching the same to device-handle of EMIF1/2. Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by:
Benoit Cousson <b-cousson@ti.com>
-
Lokesh Vutla authored
Adding EMIF device tree data for OMAP5 boards. Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by:
Benoit Cousson <b-cousson@ti.com>
-
Lokesh Vutla authored
Memory present for OMAP5-evm is 2GB. But in dts file it is specified as 1GB. Correcting the same. Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by:
Benoit Cousson <b-cousson@ti.com>
-
- 04 Nov, 2012 1 commit
-
-
Linus Torvalds authored
-
- 03 Nov, 2012 1 commit
-
-
git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds authored
Pull NFS client bugfixes from Trond Myklebust: - Fix a bunch of deadlock situations: * State recovery can deadlock if we fail to release sequence ids before scheduling the recovery thread. * Calling deactivate_super() from an RPC workqueue thread can deadlock because of the call to rpc_shutdown_client. - Display the device name correctly in /proc/*/mounts - Fix a number of incorrect error return values: * When NFSv3 mounts fail due to a timeout. * On NFSv4.1 backchannel setup failure * On NFSv4 open access checks - pnfs_find_alloc_layout() must check the layout pointer for NULL - Fix a regression in the legacy DNS resolved * tag 'nfs-for-3.7-4' of git://git.linux-nfs.org/projects/trondmy/linux-nfs: NFS4: nfs4_opendata_access should return errno NFSv4: Initialise the NFSv4.1 slot table highest_used_slotid correctly SUNRPC: return proper errno from backchannel_rqst NFS: add nfs_sb_deactive_async to avoid deadlock nfs: Show original device name verbatim in /proc/*/mount{s,info} nfsv3: Make v3 mounts fail with ETIMEDOUTs instead EIO on mountd timeouts nfs: Check whether a layout pointer is NULL before free it NFS: fix bug in legacy DNS resolver. NFSv4: nfs4_locku_done must release the sequence id NFSv4.1: We must release the sequence id when we fail to get a session slot NFS: Wait for session recovery to finish before returning
-