Suspend/resume/wakeup capabilities are supported only in
OMAP16xx and OMAP2PLUS SoCs. Handle this by using a flag
suspend_resume_support in pdata.
This requires calling omap_gpio_sysinit() as part of probe
instead of having this function as an arch_initcall
Signed-off-by: Charulatha V ch
Avoid the usage of cpu_is* checks and CONFIG_ARCH_OMAP* checks
from _set_gpio_wakeup and gpio suspend/resume functions.
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/plat-omap/gpio.c | 109 ++---
1 files changed, 33 insertions(+), 76 deletions
gpio_get_index() uses cpu_is* checks. Move this function from
plat-omap/gpio.c to SoC specific GPIO files in mach-omap*/ and
use pdata to pass the function pointer.
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/mach-omap1/gpio15xx.c | 14 ++
arch/arm/mach-omap1
remove all the unsused register offset macros.
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/mach-omap1/gpio15xx.c |7 ++
arch/arm/mach-omap1/gpio16xx.c | 24 +
arch/arm/mach-omap1/gpio7xx.c |7 ++
arch/arm/mach-omap2/gpio.c | 31
-off-by: Charulatha V ch...@ti.com
---
arch/arm/mach-omap1/gpio15xx.c | 17 ++
arch/arm/mach-omap1/gpio16xx.c | 37 +
arch/arm/mach-omap1/gpio7xx.c | 19 +++
arch/arm/mach-omap2/gpio.c | 31
arch/arm/plat-omap/gpio.c | 264
be removed in one of the
patches in this series
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/mach-omap1/gpio15xx.c |1 -
arch/arm/mach-omap1/gpio16xx.c |2 -
arch/arm/mach-omap1/gpio7xx.c |2 -
arch/arm/mach-omap2/gpio.c |1 +
arch/arm
Use dev_info()/dev_err() instead of printk in OMAP GPIO driver
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/plat-omap/gpio.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c
index 9c3e865..7ae9f6f 100644
use chip info to get the pointer to the struct gpio_bank for a
given GPIO bank and remove get_gpio_bank().
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/plat-omap/gpio.c | 29 ++---
1 files changed, 2 insertions(+), 27 deletions(-)
diff --git a/arch/arm/plat
Remove usage of bank-method to identify CPU specific OMAP GPIO bank.
Instead identify specific features using flags and accordingly manage.
bank-type MPUIO is common for all OMAP1 SoCs. Use bank-stride to
identify the MPUIO type bank
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/mach
Remove cpu_is* checks from omap_gpio_show_rev.
Also display GPIO IP version only once as it is not
required to print the IP version of all the banks as
they are the same.
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/plat-omap/gpio.c | 17 ++---
1 files changed, 10
the OMAP GPIO driver.
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/mach-omap2/gpio.c | 201 -
arch/arm/plat-omap/gpio.c | 223 +++-
arch/arm/plat-omap/include/plat/gpio.h |6 +
3 files changed, 222 insertions
Move GPIO save/restore context to SoC specific file.
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/mach-omap2/gpio.c | 78 +++
arch/arm/plat-omap/gpio.c | 91 ---
arch/arm/plat-omap/include/plat/gpio.h
Remove the usage of register offset macros from
gpio_request/free() APIs.
Instead use the enum omap_gpio_reg_offsets and SoC specific
gpio_read/write functions to access the GPIO registers.
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/plat-omap/gpio.c | 65
Remove CONFIG_ARCH_OMAP* checks from gpio_irq_handler.
Also correct the multi-line comment style in the
gpio_irq_handler.
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/plat-omap/gpio.c | 70 +---
1 files changed, 27 insertions(+), 43 deletions
/platform/omap/omap_uart.3/sleep_timeout
echo '5' /debug/pm_debug/wakeup_timer_seconds
echo 1 /debug/pm_debug/sleep_while_idle
echo 1 /debug/pm_debug/enable_off_mode
Charulatha V (18):
OMAP1: GPIO: Fix mpuio_init() call
OMAP: GPIO: remove get_gpio_bank
gpio_valid() implementation is different for different SoCs.
Hence handle them in SoC specific gpio files.
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/mach-omap1/gpio15xx.c | 26 -
arch/arm/mach-omap1/gpio16xx.c | 32
.html
https://patchwork.kernel.org/patch/189832/
Charulatha V (5):
OMAP: GPIO: Make gpio_context part of gpio_bank structure
OMAP: GPIO: Use pwrdmn name to find wkup dmn GPIO
OMAP4: GPIO: Save/restore context
OMAP: GPIO: handle save/restore ctxt in GPIO driver
OMAP: GPIO: Use PM runtime
gpio_context array, which is used to save gpio bank's context,
is used only for OMAP3 architecture.
Move gpio_context as part of gpio_bank structure so that
it can be specific to each gpio bank and can be used for
any OMAP architecture
Signed-off-by: Charulatha V ch...@ti.com
Tested-by: Tarun
Modify the omap_gpio_save/restore_context to support OMAP4
architecture so that the GPIO driver need not be modified
when OMAP4 off mode support is available.
Signed-off-by: Charulatha V ch...@ti.com
Tested-by: Tarun Kanti DebBarma tarun.ka...@ti.com
(2430-SDP testing)
---
arch/arm/plat-omap
information needs to be filled
in pdata. But omap_device_get_pwrdm() can be used only after
omap_device_build() call.
Signed-off-by: Charulatha V ch...@ti.com
Tested-by: Tarun Kanti DebBarma tarun.ka...@ti.com
(2430-SDP testing)
---
arch/arm/mach-omap2/gpio.c |6 ++
arch/arm/plat-omap
.html
http://www.spinics.net/lists/linux-omap/msg34673.html
Version v1:
Initial series
Some of the v1 links:
http://www.spinics.net/lists/linux-omap/msg30628.html
http://www.spinics.net/lists/linux-omap/msg30625.html
Benoit Cousson (1):
OMAP4 HWMOD: Add watchdog hwmods.
Charulatha V (4):
OMAP3
Add hwmod structures for Watchdog module on OMAP2420
HWMOD database
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/mach-omap2/omap_hwmod_2420_data.c | 59
1 files changed, 59 insertions(+), 0 deletions(-)
diff
Add hwmod structures for Watchdog module on OMAP3 HWMOD database
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 61
arch/arm/mach-omap2/prcm-common.h |4 ++
2 files
This patch converts the OMAP Watchdog timer driver to
get adapted to HWMOD FW and to use the runtime PM APIs.
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/plat-omap/devices.c | 64 -
drivers/watchdog
Add hwmod structures for Watchdog module on OMAP2430
HWMOD Databse
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/mach-omap2/omap_hwmod_2430_data.c | 59
1 files changed, 59 insertions(+), 0 deletions(-)
diff
Signed-off-by: Charulatha V ch...@ti.com
Cc: Paul Walmsley p...@pwsan.com
Cc: Kevin Hilman khil...@deeprootsystems.com
Cc: Rajendra Nayak rna...@ti.com
---
arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 68
1 files changed, 68 insertions(+), 0 deletions(-)
diff --git a/arch
: Add mcspi hwmods.
Charulatha V (3):
OMAP2420: McSPI: Add mcspi hwmod
OMAP2430 : McSPI: Add mcspi hwmod data
OMAP3 HWMOD: Add mcspi hwmods.
Govindraj.R (1):
OMAP McSPI: Adapt McSPI driver to use omap hwmod
arch/arm/mach-omap2/clock3xxx_data.c |4 +
arch/arm/mach-omap2
This patch updates the omap2420 hwmod data with the
McSPI info.
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Partha Basak p-bas...@ti.com
Signed-off-by: Govindraj.R govindraj.r...@ti.com
---
arch/arm/mach-omap2/omap_hwmod_2420_data.c | 138
1 files
Update the 2430 hwmod dat file with McSPI info.
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Partha Basak p-bas...@ti.com
Signed-off-by: Govindraj.R govindraj.r...@ti.com
---
arch/arm/mach-omap2/omap_hwmod_2430_data.c | 196
1 files changed, 196
Update omap3 hwmod file with mcspi info.
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Partha Basak p-bas...@ti.com
Signed-off-by: Govindraj.R govindraj.r...@ti.com
---
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 252
1 files changed, 252 insertions(+), 0
From: Govindraj.R govindraj.r...@ti.com
This patch converts the McSPI driver to use pm_runtime apis while
implementing it in HWMOD FW way.
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Partha Basak p-bas...@ti.com
Signed-off-by: Govindraj.R govindraj.r...@ti.com
---
arch/arm/mach
-off-by: Charulatha V ch...@ti.com
Cc: Paul Walmsley p...@pwsan.com
Cc: Kevin Hilman khil...@deeprootsystems.com
Cc: Rajendra Nayak rna...@ti.com
---
arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 244
1 files changed, 244 insertions(+), 0 deletions(-)
diff --git a/arch
be of great help if someone could test the same on
OMAP1 and OMAP2 boards.
Version History:
---
Version v2:
Rebase to latest kernel
Version v1:
Some of the v1 links:
http://www.spinics.net/lists/linux-omap/msg30628.html
http://www.spinics.net/lists/linux-omap/msg30625.html
Charulatha V
This patch adds the CM_FCLKEN_WKUP, CM_ICLKEN_WKUP, PM_WKEN_WKUP
shared bits for OMAP2PLUS watchdog timer module
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/mach-omap2/prcm-common.h |4
1 files changed, 4 insertions(+), 0 deletions
This patch enables the watchdog timer2 hwmod structure
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/mach-omap2/omap_hwmod_44xx_data.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-omap2
Add hwmod structures for Watchdog module on OMAP2420
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/mach-omap2/omap_hwmod_2420_data.c | 59
1 files changed, 59 insertions(+), 0 deletions(-)
diff --git a/arch/arm
Add hwmod structures for Watchdog module on OMAP2430
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/mach-omap2/omap_hwmod_2430_data.c | 59
1 files changed, 59 insertions(+), 0 deletions(-)
diff --git a/arch/arm
Add hwmod structures for Watchdog module on OMAP3
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 61
1 files changed, 61 insertions(+), 0 deletions(-)
diff --git a/arch/arm
This patch converts the OMAP Watchdog timer driver to
get adapted to HWMOD FW and to use the runtime PM APIs.
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/plat-omap/devices.c | 52 ++---
drivers/watchdog
This patch includes cpu_is check for omap44xx cpu inorder to do
omap_hwmod_late_init() without which hwmods initialization does not
happen for omap4.
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/mach-omap2/io.c |2 +-
1 files changed, 1
This patch introduces platform_data structure for GPIO
so that GPIO module can be implemented in platform device model.
This patch also adds support for handling OMAP15xx specific gpio_init
by providing platform device data and doing device registration.
Signed-off-by: Charulatha V ch...@ti.com
:
- Introduces SoC specific functions at mach-omap layer
- Implements GPIO as a platform device
- Make gpio an early device and make it implemented in
HWMOD FW adapted way for OMAP2PLUS
Charulatha V (13):
OMAP: GPIO: Modify init() in preparation for platform device
implementation
OMAP
This patch adds gpio_dev_attr to OMAP4 gpio hwmod structure. This patch
also corrects the gpio .main_clk and .clk fields in gpio hwmod structures.
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 40
gpio_context array, which is used to save gpio bank's context,
is used only for OMAP3 architecture.
This patch moves gpio_context as part of gpio_bank structure
so that it can be specific to each gpio bank and can be
used for any OMAP architecture
Signed-off-by: Charulatha V ch...@ti.com
Signed
This patch adds support for handling GPIO as a HWMOD FW adapted
platform device for OMAP2PLUS chips.
gpio_init needs to be done before machine_init functions access
gpio APIs.Hence gpio_init is made as a postcore_initcall.
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Basak, Partha p
of gpio_bank array so that only
instance specific information is used in driver code
4. Rename 'method'/ avoid it's usage
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Rajendra Nayak rna...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/mach-omap1/Makefile
in the omap_hwmod_for_each* function
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/mach-omap2/pm24xx.c |4 +-
arch/arm/mach-omap2/pm34xx.c | 23 +-
arch/arm/plat-omap/gpio.c | 561
This patch removes the usage of omap_gpio_init() from all
omap board files since omap_gpio_init() does nothing, after gpio
is implemented as a platform device.
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/mach-omap1/board-ams-delta.c
This patch adds support for handling OMAP7xx specific gpio_init
by providing platform device data and doing device registration.
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/mach-omap1/gpio7xx.c | 274
Add hwmod structures for GPIO module on OMAP3
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Rajendra Nayak rna...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 382
1 files changed, 382 insertions
Add hwmod structures for GPIO module on OMAP243X
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/mach-omap2/omap_hwmod_2430_data.c | 290
1 files changed, 290 insertions(+), 0 deletions(-)
diff --git a/arch/arm
Add hwmod structures for GPIO module on OMAP242X
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/mach-omap2/omap_hwmod_2420_data.c | 234
1 files changed, 234 insertions(+), 0 deletions(-)
diff --git a/arch/arm
This patch adds support for handling OMAP16xx specific gpio_init
by providing platform device data and doing device registration.
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/mach-omap1/gpio16xx.c | 208
This patch introduces platform_data structure for GPIO
so that GPIO module can be implemented in platform device model.
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/plat-omap/include/plat/gpio.h | 20
1 files changed
This patch populates omap24xx.h, omap34xx.h and omap44xx.h files
with SoC specific GPIO base addresses. This would be later used
while creating GPIO hwmod structures.
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/plat-omap/include/plat
This patch adds support for handling OMAP15xx specific gpio_init
by providing platform device data and doing device registration.
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/mach-omap1/gpio15xx.c | 105
the status register and initializing the
GPIO control register. omap_gpio_chip_init() initializes the chip request,
free, get, set and other function pointers and sets the gpio irq handler.
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/plat-omap/gpio.c
This patch adds support for handling OMAP7xx specific gpio_init
by providing platform device data and doing device registration.
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/mach-omap1/gpio7xx.c | 278
Add hwmod structures for GPIO module on OMAP243X
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/mach-omap2/omap_hwmod_2430_data.c | 279
1 files changed, 279 insertions(+), 0 deletions(-)
diff --git a/arch/arm
This patch adds support for handling GPIO as a HWMOD FW adapted
platform device for OMAP2PLUS chips.
gpio_init needs to be done before machine_init functions access gpio APIs.
Hence gpio_init is made as a postcore_initcall.
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Basak, Partha p
-by: Charulatha V ch...@ti.com
Signed-off-by: Rajendra Nayak rna...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/mach-omap1/Makefile |6 +
arch/arm/mach-omap1/clock_data.c |4 +-
arch/arm/mach-omap2/Makefile |2 +-
arch/arm/plat-omap/gpio.c
This patch removes the usage of omap_gpio_init() from all
omap board files since omap_gpio_init() does nothing, after gpio
is implemented as a platform device.
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/mach-omap1/board-ams-delta.c
This patch adds support for handling OMAP16xx specific gpio_init
by providing platform device data and doing device registration.
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/mach-omap1/gpio16xx.c | 212
This patch adds gpio_dev_attr to OMAP4 gpio hwmod structure. This patch
also corrects the gpio .main_clk and .clk fields in gpio hwmod structures.
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 31
Add hwmod structures for GPIO module on OMAP242X
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/mach-omap2/omap_hwmod_2420_data.c | 228
1 files changed, 228 insertions(+), 0 deletions(-)
diff --git a/arch/arm
Add hwmod structures for GPIO module on OMAP3
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Rajendra Nayak rna...@ti.com
Signed-off-by: Basak, Partha p-bas...@ti.com
---
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 366
1 files changed, 366 insertions
Add hwmod structures for Watchdog module on OMAP3
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 61
1 files changed, 61 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
b/arch/arm
.
It would be of great help if someone could test the same on
OMAP1 and OMAP2 boards.
The same patchset is also tested on origin/pm-wip/runtime.
Please note that patch 5/6 OMAP4: WDT: Enable watchdog timer2
hwmod structure is not valid in origin/pm-wip/runtime branch.
Charulatha V (6):
OMAP2PLUS
Add hwmod structures for Watchdog module on OMAP2420
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/mach-omap2/omap_hwmod_2420_data.c | 56
1 files changed, 56 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/omap_hwmod_2420_data.c
b/arch/arm
This patch adds the CM_FCLKEN_WKUP, CM_ICLKEN_WKUP, PM_WKEN_WKUP
shared bits for OMAP2PLUS watchdog timer module
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/mach-omap2/prcm-common.h |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/prcm
This patch enables the watchdog timer2 hwmod structure
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/mach-omap2/omap_hwmod_44xx_data.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
b/arch/arm/mach-omap2
This patch adds support for handling GPIO as a HWMOD FW adapted
platform device for OMAP2PLUS chips.
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/mach-omap2/gpio.c | 113
1 files changed, 113 insertions(+), 0 deletions(-)
create mode 100644
Add hwmod structures for GPIO module on OMAP3
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Rajendra Nayak rna...@ti.com
---
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 357 +++-
1 files changed, 356 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach
Add hwmod structures for GPIO module on OMAP242X
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/mach-omap2/omap_hwmod_2420_data.c | 222
1 files changed, 222 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/omap_hwmod_2420_data.c
b/arch/arm
This patch introduces platform_data structure for GPIO
so that GPIO module can be implemented in platform device model.
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/plat-omap/include/plat/gpio.h | 15 +++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/arch
on OMAP1 and OMAP2 boards.
Charulatha V (11):
OMAP: GPIO: Modify init() in preparation for platform device
implementation
OMAP: GPIO: Include platform_data structure for GPIO
OMAP: GPIO: Introduce support for OMAP15xx chip GPIO init
OMAP: GPIO: Introduce support for OMAP16xx chip GPIO
This patch adds support for handling OMAP15xx specific gpio_init
by providing platform device data and doing device registration.
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/mach-omap1/gpio15xx.c | 99
1 files changed, 104 insertions(+), 0
CONFIG_PM_RUNTIME is not defined.
omap_gpio_init() does nothing now and this function would be
removed in the next patch as it's usage is spread across most of
the board files.
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Rajendra Nayak rna...@ti.com
---
arch/arm/mach-omap1/Makefile
This patch adds support for handling OMAP7xx specific gpio_init
by providing platform device data and doing device registration.
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/mach-omap1/gpio7xx.c | 266 +
1 files changed, 266 insertions(+), 0
Add hwmod structures for GPIO module on OMAP243X
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/mach-omap2/omap_hwmod_2430_data.c | 270
1 files changed, 270 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/omap_hwmod_2430_data.c
b/arch/arm
This patch removes the usage of omap_gpio_init() in from all
omap board files since omap_gpio_init() does nothing, after gpio
is implemented as a platform device.
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/mach-omap1/board-ams-delta.c |1 -
arch/arm/mach-omap1/board-fsample.c
the status register and initializing the
GPIO control register. omap_gpio_chip_init() initializes the chip request,
free, get, set and other function pointers and sets the gpio irq handler.
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/plat-omap/gpio.c | 277
This patch adds support for handling OMAP16xx specific gpio_init
by providing platform device data and doing device registration.
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/mach-omap1/gpio16xx.c | 202
1 files changed, 202 insertions(+), 0
In origin/pm-wip/runtime branch, compilation errors are
observed for OMAP2430. The compilation errors are due to
usage of clkdev_dev_id, clkdev_con_id and sysconfig fields
in mmc hwmod structures. This patch fixes the same.
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/mach-omap2
This patch adds support for handling OMAP15xx specific gpio_init
by providing platform device data and doing device registration.
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/mach-omap1/gpio15xx.c | 102
1 files changed, 102 insertions(+), 0
Add hwmod structures for GPIO module on OMAP2420.
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/mach-omap2/omap_hwmod_2420_data.c | 215
1 files changed, 215 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/omap_hwmod_2420_data.c
b/arch/arm
This patch adds support for handling GPIO as a HWMOD adapted
platform device for OMAP2PLUS chips.
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/mach-omap2/gpio.c | 101
1 files changed, 101 insertions(+), 0 deletions(-)
create mode 100644
Add hwmod structures for GPIO module on OMAP3
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Rajendra Nayak rna...@ti.com
---
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 346 +++-
1 files changed, 345 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach
This patch adds support for handling OMAP16xx specific gpio_init
by providing platform device data and doing device registration.
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/mach-omap1/gpio16xx.c | 196
1 files changed, 196 insertions(+), 0
() does
the module init by clearing the status register and initializing the
GPIO control register. omap_gpio_chip_init() initializes the chip request,
free, get, set and other function pointers and sets the gpio irq handler.
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/plat-omap/gpio.c
This patch adds support for handling OMAP7xx specific gpio_init
by providing platform device data and doing device registration.
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/mach-omap1/gpio7xx.c | 258 +
1 files changed, 258 insertions(+), 0
compilation and
boottime errors:
1. i2c-omap: Fix reg_shift init (by Tony Lindgren)
2. OMAP:GPIO:hwmod: Fix mmc compile errors (by Charulatha V)
3. OMAP: DSS2: VRAM: Fix early_param for vram (by Thomas Weber)
This patch series is tested on OMAP3430 SDP board. It would be of
great help if someone
by name/NULL ptr.
Currently early platform device register does not do device_pm_init.
Hence pm_runtime functions are not used to enable the GPIO device
since gpio is early platform device.
Signed-off-by: Charulatha V ch...@ti.com
Signed-off-by: Rajendra Nayak rna...@ti.com
---
arch/arm/mach
Add hwmod structures for GPIO module on OMAP2430.
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/mach-omap2/omap_hwmod_2430_data.c | 262
1 files changed, 262 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/omap_hwmod_2430_data.c
b/arch/arm
Access to some of the OMAP4 GPIO registers are not properly handled.
This patch fixes it.
This patch is tested on 3430SDP and 4430SDP boards
Signed-off-by: Charulatha V ch...@ti.com
cc: Kevin Hilman khil...@deeprootsystems.com
---
arch/arm/plat-omap/gpio.c | 61
as they will be removed at the end
of this patch series when plat-omap/gpio.c handles
only common APIs.
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/mach-omap1/include/mach/gpio.h | 88
arch/arm/mach-omap2/include/mach/gpio.h | 99 +
arch/arm/plat-omap/gpio.c
once the driver gets adapted to HWMOD way.
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/mach-omap2/gpio3xxx.c | 351 +++
arch/arm/mach-omap2/include/mach/gpio.h | 13 +-
2 files changed, 363 insertions(+), 1 deletions(-)
create mode 100644 arch/arm
once the driver gets adapted to HWMOD way.
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/mach-omap2/gpio44xx.c | 350 +++
arch/arm/mach-omap2/include/mach/gpio.h |3 +-
2 files changed, 352 insertions(+), 1 deletions(-)
create mode 100644 arch/arm
This patch adds support for handling code common to OMAP2PLUS
architecture.
OMAP2PLUS gpio is one of the early platform devices and this patch
adds support to implement the initialization of OMAP2PLUS architecture
GPIO as early platform device.
Signed-off-by: Charulatha V ch...@ti.com
---
arch
This patch adds support for handling OMAP1 specific GPIO operations
including gpio_init
Signed-off-by: Charulatha V ch...@ti.com
---
arch/arm/mach-omap1/gpio.c | 404
1 files changed, 404 insertions(+), 0 deletions(-)
create mode 100644 arch/arm
1 - 100 of 105 matches
Mail list logo