On Tuesday 06 November 2012 10:22 PM, Venkatraman S wrote:
Define the most frequently used bitmasks of the Interrupt Enable /
Interrupt Status register with consistent naming ( with _EN suffix).
Use meaningful concatenation of bitfields for INT_EN_MASK, which shows
which interrupts are enabled b
On Thursday 25 October 2012 06:39 AM, Tony Lindgren wrote:
* Russell King - ARM Linux [121023 03:12]:
On Fri, Oct 12, 2012 at 04:54:34PM +0100, Russell King - ARM Linux wrote:
omap_hsmmc omap_hsmmc.1: Failed to get debounce clk
omap_hsmmc omap_hsmmc.0: Failed to get debounce clk
omap_hsmmc omap
MMC debounce clock is applicable only for omap2430, warning message gets
printed when enable fails for debounce clock. Remove the get debounce clock
failure message as it is noisy for other platforms.
Signed-off-by: Balaji T K
Reported-by: Russell King
---
drivers/mmc/host/omap_hsmmc.c |1
On Friday 12 October 2012 08:44 PM, Daniel Mack wrote:
On 12.10.2012 16:56, Balaji T K wrote:
On Friday 12 October 2012 07:59 PM, Daniel Mack wrote:
On 12.10.2012 12:58, Daniel Mack wrote:
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
index 19ccb59..4b70823 100644
On Friday 12 October 2012 07:59 PM, Daniel Mack wrote:
On 12.10.2012 12:58, Daniel Mack wrote:
When probed from DT, the self-allocated platform data has to be attached
to the actual device. Otherwise a NULL pointer will be dereferenced from
omap_hsmmc_card_detect if a gpio handle for card-detect
dev->platform_data is NULL in case of device tree boot,
instead use the saved version in struct omap_hsmmc_host.
Signed-off-by: Balaji T K
---
drivers/mmc/host/omap_hsmmc.c | 17 +++--
1 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/drivers/mmc/host/omap_hsmmc.
struct omap_hsmmc_host *host should not be accessed after mmc_free_host().
Reorder mmc_free_host() after iounmap(host->base).
Signed-off-by: Balaji T K
---
drivers/mmc/host/omap_hsmmc.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mmc/host/omap_hsmmc.
clock divisor can take a max value of 1023
update code as per TRM so that card init can be handled with
higher IP clock frequencies from which clock to the card is
derived.
Signed-off-by: Balaji T K
---
drivers/mmc/host/omap_hsmmc.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions
Add OMAP MMC related device tree data for OMAP5.
Signed-off-by: Balaji T K
---
arch/arm/boot/dts/omap5-evm.dts | 31 +++
arch/arm/boot/dts/omap5.dtsi| 31 +++
2 files changed, 62 insertions(+), 0 deletions(-)
diff --git a/arch/arm
virtual address 008c
pgd = c0004000
[008c] *pgd=
Internal error: Oops: 5 [#1] SMP ARM
Modules linked in:
CPU: 0Not tainted (3.4.0-rc1-05971-ga4dfa82 #4)
PC is at omap_4430sdp_init+0x184/0x410
LR is at device_add+0x1a0/0x664
Signed-off-by: Balaji T K
Reported-by: Santosh
=
Internal error: Oops: 5 [#1] SMP ARM
Modules linked in:
CPU: 0Not tainted (3.4.0-rc1-05971-ga4dfa82 #4)
PC is at omap_4430sdp_init+0x184/0x410
LR is at device_add+0x1a0/0x664
Signed-off-by: Balaji T K
Reported-by: Santosh Shilimkar
---
arch/arm/mach-omap2/board-4430sdp.c | 44
If of_have_populated_dt is called from module, build fails with "allnodes"
undefined error, so remove inline and export of_have_populated_dt.
Signed-off-by: Balaji T K
---
drivers/of/base.c |6 ++
include/linux/of.h |6 +-
2 files changed, 7 insertions(+), 5 deletion
=
Internal error: Oops: 5 [#1] SMP ARM
Modules linked in:
CPU: 0Not tainted (3.4.0-rc1-05971-ga4dfa82 #4)
PC is at omap_4430sdp_init+0x184/0x410
LR is at device_add+0x1a0/0x664
Signed-off-by: Balaji T K
Reported-by: Santosh Shilimkar
---
arch/arm/mach-omap2/board-4430sdp.c|6
.
Signed-off-by: Balaji T K
---
drivers/mmc/host/omap_hsmmc.c |4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
index e550170..102425c 100644
--- a/drivers/mmc/host/omap_hsmmc.c
+++ b/drivers/mmc/host
add Autocmd12 for multiblock read/write
add DDR support
minor pm runtime fixes
Balaji T K (4):
mmc: omap: Enable Auto CMD12
mmc: omap: add DDR support to omap_hsmmc
mmc: omap: use runtime put sync in probe error patch
mmc: omap: context save after enabling runtime
call context save api after enabling runtime pm
to make sure register access in context save api happens with clk enabled.
Signed-off-by: Balaji T K
---
drivers/mmc/host/omap_hsmmc.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/host/omap_hsmmc.c b
pm_runtime_put_sync instead of autosuspend pm runtime API
because iounmap(host->base) follows immediately.
Reported-by: Rajendra Nayak
Signed-off-by: Balaji T K
---
drivers/mmc/host/omap_hsmmc.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/h
Add Dual data rate support for omap_hsmmc
Signed-off-by: Balaji T K
---
drivers/mmc/host/omap_hsmmc.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
index f4c7f89..c39fb8f 100644
--- a/drivers/mmc/host
Enable Auto-CMD12 for multi block read/write on HSMMC
Tested on OMAP4430, OMAP3430 and OMAP2430 SDP
Signed-off-by: Balaji T K
---
drivers/mmc/host/omap_hsmmc.c | 17 ++---
1 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc
: Per Forlin
Tested-by: Balaji T K
---
Repost with my Tested-by
drivers/mmc/host/omap_hsmmc.c |7 +--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
index 101cd31..d5fe43d 100644
--- a/drivers/mmc/host
Fix the typo, instead it should be SDMMC1
USBC1 is not related to MMC1 I/Os
Signed-off-by: Balaji T K
---
arch/arm/mach-omap2/hsmmc.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-omap2/hsmmc.c b/arch/arm/mach-omap2/hsmmc.c
index 9cc2eb7..1a9bc52 100644
O drive voltage.
Delete incorrect comments which are not applicable for OMAP4.
Signed-off-by: Balaji T K
Signed-off-by: Kishore Kadiyala
Reported-by: Viswanath Puttagunta
---
v2:
update description
arch/arm/mach-omap2/hsmmc.c | 14 ++
1 files changed, 2 insertions(+), 12 deletions(-
omap_init_irq()
Balaji T K (2):
arm: omap4: hsmmc: Fix Pbias configuration on regulator OFF
arm: omap4: hsmmc: configure SDMMC1_DR0 properly
arch/arm/mach-omap2/hsmmc.c | 16 +++-
1 files changed, 3 insertions(+), 13 deletions(-)
--
To unsubscribe from this list: send the line
MMC1 data line IO's are powered down in before set regulator function.
IO's should not be powered ON when regulator is OFF.
Keep the IO's in power pown mode after regulator OFF.
Delete incorrect comments which are not applicable for OMAP4.
Signed-off-by: Balaji T K
Signed-
MMC1 pbias and speed control fix for SDMMC1 extended I/O cell
Balaji T K (2):
arm: omap4: hsmmc: Fix Pbias configuration on regulator OFF
arm: omap4: hsmmc: configure SDMMC1_DR0 properly
arch/arm/mach-omap2/hsmmc.c | 16 +++-
1 files changed, 3 insertions(+), 13 deletions
Fix the typo, instead it should be SDMMC1
USBC1 is not related to MMC1 I/Os
Signed-off-by: Balaji T K
---
arch/arm/mach-omap2/hsmmc.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-omap2/hsmmc.c b/arch/arm/mach-omap2/hsmmc.c
index 9cc2eb7..1a9bc52 100644
pm_runtime_put_sync instead of autosuspend pm runtime API
because iounmap(host->base) follows immediately.
Reported-by: Rajendra Nayak
Signed-off-by: Balaji T K
---
drivers/mmc/host/omap_hsmmc.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/h
add runtime pm support to HSMMC host controller
Use runtime pm API to enable/disable HSMMC clock
Use runtime autosuspend APIs to enable auto suspend delay
Based on OMAP HSMMC runtime implementation by Kevin Hilman, Kishore Kadiyala
Signed-off-by: Balaji T K
---
changes since v3
remove "
After runtime conversion to handle clk,
iclk node is not used
However fclk node is still used to get clock rate.
Signed-off-by: Balaji T K
---
drivers/mmc/host/omap_hsmmc.c | 10 --
1 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers
to allow core layer _only_ to handle card power.
With the removal of lazy disable framework, MMC regulators
are left ON until MMC_POWER_OFF via set_ios.
Signed-off-by: Balaji T K
---
drivers/mmc/host/omap_hsmmc.c | 246 +
1 files changed, 2 insertions
://www.mail-archive.com/linux-omap@vger.kernel.org/msg51457.html
Balaji T K (3):
MMC: OMAP: HSMMC: Remove lazy_disable
MMC: OMAP: HSMMC: add runtime pm support
MMC: OMAP: HSMMC: Remove unused iclk
drivers/mmc/host/omap_hsmmc.c | 365 +++--
1 files changed, 57
to allow core layer _only_ to handle card power.
With the removal of lazy disable framework, MMC regulators
are left ON until MMC_POWER_OFF via set_ios.
Signed-off-by: Balaji T K
---
drivers/mmc/host/omap_hsmmc.c | 246 +
1 files changed, 2 insertions
add runtime pm support to HSMMC host controller
Use runtime pm API to enable/disable HSMMC clock
Use runtime autosuspend APIs to enable auto suspend delay
Based on OMAP HSMMC runtime implementation by Kevin Hilman, Kishore Kadiyala
Signed-off-by: Balaji T K
---
changes since v2
Change
/linux-omap@vger.kernel.org/msg51457.html
Balaji T K (3):
MMC: OMAP: HSMMC: Remove lazy_disable
MMC: OMAP: HSMMC: add runtime pm support
MMC: OMAP: HSMMC: Remove unused iclk
drivers/mmc/host/omap_hsmmc.c | 365 +++--
1 files changed, 57 insertions(+), 308
After runtime conversion to handle clk,
iclk node is not used
However fclk node is still used to get clock rate.
Signed-off-by: Balaji T K
---
drivers/mmc/host/omap_hsmmc.c | 10 --
1 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers
After runtime conversion to handle clk,
iclk node is not used
However fclk node is still used to get clock rate.
Signed-off-by: Balaji T K
---
drivers/mmc/host/omap_hsmmc.c | 10 --
1 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers
add runtime pm support to HSMMC host controller
Use runtime pm API to enable/disable HSMMC clock
Use runtime autosuspend APIs to enable auto suspend delay
Based on OMAP HSMMC runtime implementation by Kevin Hilman, Kishore Kadiyala
Signed-off-by: Balaji T K
---
changes since v1
Removed
to allow core layer _only_ to handle card power.
With the removal of lazy disable framework, MMC regulators
are left ON until MMC_POWER_OFF via set_ios.
Signed-off-by: Balaji T K
---
drivers/mmc/host/omap_hsmmc.c | 246 +
1 files changed, 2 insertions
/linux-omap@vger.kernel.org/msg51457.html
Balaji T K (3):
MMC: OMAP: HSMMC: Remove lazy_disable
MMC: OMAP: HSMMC: add runtime pm support
MMC: OMAP: HSMMC: Remove unused iclk
drivers/mmc/host/omap_hsmmc.c | 365 +++--
1 files changed, 57 insertions(+), 308
After runtime conversion to handle clk,
iclk node is not used
However fclk node is still used to get clock rate.
Signed-off-by: Balaji T K
---
drivers/mmc/host/omap_hsmmc.c | 10 --
1 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers
add runtime pm support to HSMMC host controller
Use runtime pm API to enable/disable HSMMC clock
Use runtime autosuspend APIs to enable auto suspend delay
Based on OMAP HSMMC runtime implementation by Kevin Hilman, Kishore Kadiyala
Signed-off-by: Balaji T K
---
drivers/mmc/host/omap_hsmmc.c
Balaji T K (3):
MMC: OMAP: HSMMC: Remove lazy_disable
MMC: OMAP: HSMMC: add runtime pm support
OMAP2+: HSMMC: Remove unused iclk
drivers/mmc/host/omap_hsmmc.c | 373 +++-
1 files changed, 66 insertions(+), 307 deletions(-)
--
To unsubscribe from this list
allow core layer _only_ to handle card power.
With the removal of lazy disable framework, MMC regulators
are left ON until MMC_POWER_OFF via set_ios.
Signed-off-by: Balaji T K
---
drivers/mmc/host/omap_hsmmc.c | 246 +
1 files changed, 2 insertions
4 micro seconds is not enough for PBIAS if MMC regulator is
enabled from MMC regulator OFF.
Increase the delay for PBIAS to stabilize.
Wait for PBIAS and timeout if not.
Resolves MMC/SD failure on OMAP4
"Pbias Voltage is not same as LDO"
Signed-off-by: Balaji T K
Acked-by: Kishor
Balaji T K (2):
ARM: OMAP4: MMC: increase delay for pbias
ARM: OMAP4: MMC: no regulator off during probe for eMMC
arch/arm/mach-omap2/board-4430sdp.c |1 +
arch/arm/mach-omap2/hsmmc.c | 16 +---
arch/arm/mach-omap2/hsmmc.h |1 +
arch/arm/plat-omap
eMMC does not handle power off when not in sleep state,
Skip regulator disable during probe when eMMC is
not in known state - state left by bootloader.
Resolves eMMC failure on OMAP4
mmc0: error -110 whilst initialising MMC card
Signed-off-by: Balaji T K
Tested-by: Kishore Kadiyala
Acked-by
eMMC does not handle power off when not in sleep state,
Skip regulator disable during probe when eMMC is
not in known state - state left by bootloader.
Resolves eMMC failure on OMAP4
mmc0: error -110 whilst initialising MMC card
Signed-off-by: Balaji T K
---
arch/arm/mach-omap2/board-4430sdp.c
4 micro seconds is not enough for PBIAS if MMC regulator is
enabled from MMC regulator OFF.
Increase the delay for PBIAS to stabilize.
Wait for PBIAS and timeout if not.
Resolves MMC/SD failure on OMAP4
"Pbias Voltage is not same as LDO"
Signed-off-by: Balaji T K
---
arch/arm/
Balaji T K (2):
ARM: OMAP4: MMC: increase delay for pbias
ARM: OMAP4: MMC: no regulator off during probe for eMMC
arch/arm/mach-omap2/board-4430sdp.c |1 +
arch/arm/mach-omap2/hsmmc.c | 16 +---
arch/arm/mach-omap2/hsmmc.h |1 +
arch/arm/plat-omap
TWL6030: regulator is disabled via VREG_STATE
TWL4030: regulator is disabled via VREG_GRP
Since there is nothing common, split twlreg_enable similar to other
regulator_ops
Signed-off-by: Balaji T K
---
drivers/regulator/twl-regulator.c | 47 +---
1 files
TWL6030: regulator is enabled via VREG_STATE
TWL4030: regulator is enabled via VREG_GRP
Since there is nothing common, split twlreg_enable similar to other
regulator_ops
Signed-off-by: Balaji T K
---
drivers/regulator/twl-regulator.c | 39 +++-
1 files changed
TWL6030: regulator is enabled/disabled via VREG_STATE
Resetting VREG_GRP is not needed to disable it.
TWL4030: regulator is enabled/disabled via VREG_GRP
Since there is nothing common, split twlreg_enable similar to other
regulator_ops
Balaji T K (2):
regulator: twl6030: do not write to _GRP
OMAP4 GPMC IRQ is not same as OMAP3 IRQ. Fix it.
Resolve following warning in OMAP4
[0.429290] gpmc: irq-20 could not claim: err -22
Signed-off-by: Balaji T K
---
arch/arm/mach-omap2/gpmc.c | 10 ++
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach
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
Signed-off-by: Balaji T K
---
arch/arm/mach-omap2/gpmc.c |3 ++-
1 files changed, 2
Applies on omap-for-linus branch
Boot tested on OMAP4430 SDP and OMAP3630SDP
Balaji T K (3):
ARM: OMAP2+: correct GPMC IRQ
ARM: OMAP2+: GPMC set dummy irq chip
ARM: OMAP4: correct GPMC IRQ number
arch/arm/mach-omap2/gpmc.c | 13 -
arch/arm/plat-omap/include/plat
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
Signed-off-by: Balaji T K
---
arch/arm/plat-omap/include/plat/irqs.h |2 +-
1 files
Print chip version at bootup
pack product id and version id in a way similar to Triton TWL5030
so that twl_get_si_type and twl_get_si_version can be used for TWL6030
Use this to set flags for errata based on particular chip version.
Signed-off-by: Balaji T K
---
drivers/mfd/twl-core.c | 43
Convert multi byte i2c read to several single byte i2c read as workaround.
Signed-off-by: Balaji T K
---
drivers/mfd/twl-core.c | 31 +--
1 files changed, 29 insertions(+), 2 deletions(-)
diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c
index cd0ce54
Phoenix TWL6030: add version check for errata handling
This patch series has dependency on omap3: pm: TWL5030 version checking
for twl_idcode variable
http://www.mail-archive.com/linux-omap@vger.kernel.org/msg45929.html
Balaji T K (2):
mfd: TWL6030: Add support for version detection
mfd
Signed-off-by: Balaji T K
---
introduced by commit f6f98d72575031b0c03416a28a0d580128114b74
applies on i2c-fixes branch
drivers/i2c/busses/i2c-omap.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c
index 05
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
---
This patch has dependency on :-
regulator: twl: add clk32kg to twl-regulator
v2 changes:
remove CHANGE_MODE settings
-by: Balaji T K
---
v2 changes:
implement TWL6030_FIXED_RESOURCE for clk32kg
drivers/mfd/twl-core.c|4
drivers/regulator/twl-regulator.c | 24 +++-
include/linux/i2c/twl.h |2 ++
3 files changed, 29 insertions(+), 1 deletions(-)
diff --git
add clk32kg to twl-regulator
add clk32kg board data to Blaze and Panda
Balaji T K (2):
regulator: twl: add clk32kg to twl-regulator
OMAP4: add clk32kg data to omap4panda and blaze board file
arch/arm/mach-omap2/board-4430sdp.c|7 +++
arch/arm/mach-omap2/board-omap4panda.c |7
In Blaze and Panda, 32KHz clock - CLK32KG to WLAN is supplied
from Phoenix TWL6030.
Add CLK32KG platform data to blaze and omap4panda board file.
This patch has dependency on :-
[PATCH 1/2] regulator: twl: add clk32kg to twl-regulator
Signed-off-by: Balaji T K
---
arch/arm/mach-omap2/board
-by: Balaji T K
---
drivers/mfd/twl-core.c|4
drivers/regulator/twl-regulator.c |3 ++-
include/linux/i2c/twl.h |2 ++
3 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c
index a35fa7d..7d909cc 100644
add clk32kg to twl-regulator
add clk32kg board data to Blaze and Panda
Balaji T K (2):
regulator: twl: add clk32kg to twl-regulator
OMAP4: add clk32kg data to omap4panda and blaze board file
arch/arm/mach-omap2/board-4430sdp.c| 10 ++
arch/arm/mach-omap2/board-omap4panda.c
Add regulator VMMC1 used by SD/MMC card slot1 in 2430sdp.
Signed-off-by: Balaji T K
---
Tested on OMAP2430 SDP with busybox filesystem mounted on MMC1
arch/arm/mach-omap2/board-2430sdp.c | 21 +
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach
IO, -22
twl_reg: probe of twl_reg.44 failed with error -22
machine_constraints_voltage: VDAC: failed to apply 180uV constraint
twl_reg twl_reg.45: can't register VDAC, -22
twl_reg: probe of twl_reg.45 failed with error -22
Signed-off-by: Balaji T K
---
Boot tested on OMAP4SDP with omap2plus_
301 - 368 of 368 matches
Mail list logo