Re: [PATCH v2 0/2] mmc: core: Fix Marvell WiFi reset by adding SDIO API to replug card

2019-07-30 Thread Andreas Fenkart
irq(host->gpio_sdio_irq); + /* +* force a polling cycle after resume. +* will issue cmd52, not cmd53 straight away +*/ + omap_hsmmc_enable_sdio_irq(host->mmc, false); + if (host->dbclk) clk_disable_unprepare(host->dbclk); > > Ch

Re: [PATCH 00/17] omap_hsmmc: regulator usage cleanup and fixes

2015-08-03 Thread Andreas Fenkart
Hi Kishon, Thanks for taking a look at the regulator code. Do you have a public git repository so I can pull your patches instead of cherry picking 1-by-1? /Andi 2015-07-29 13:09 GMT+02:00 Kishon Vijay Abraham I : > This patch series does the following > *) Uses devm_regulator_get_optional()

Re: [PATCH 00/17] omap_hsmmc: regulator usage cleanup and fixes

2015-08-03 Thread Andreas Fenkart
Hi Kishon, Thanks for taking a look at the regulator code. Do you have a public git repository so I can pull your patches instead of cherry picking 1-by-1? /Andi 2015-07-29 13:09 GMT+02:00 Kishon Vijay Abraham I kis...@ti.com: This patch series does the following *) Uses

Re: [PATCH 3/3] mmc: host: omap_hsmmc: Add custom card detect irq handler

2015-07-21 Thread Andreas Fenkart
: > > > On Sunday 21 June 2015 04:15 AM, Andreas Fenkart wrote: >> I haven't managed to produce a hang without this patch > > Reproducing this hang is not straight forward. It takes 40-50 card > insertion/removal to see this case (sometimes even 100 tries). > >> >> see als

Re: [PATCH 3/3] mmc: host: omap_hsmmc: Add custom card detect irq handler

2015-07-21 Thread Andreas Fenkart
...@ti.com: On Sunday 21 June 2015 04:15 AM, Andreas Fenkart wrote: I haven't managed to produce a hang without this patch Reproducing this hang is not straight forward. It takes 40-50 card insertion/removal to see this case (sometimes even 100 tries). see also comments below 2015-06-16 12:37

Re: [PATCH 3/3] mmc: host: omap_hsmmc: Add custom card detect irq handler

2015-06-20 Thread Andreas Fenkart
I haven't managed to produce a hang without this patch see also comments below 2015-06-16 12:37 GMT+02:00 Vignesh R : > Usually when there is an error in transfer, DTO/CTO or other error > interrupts are raised. But if the card is unplugged in the middle of a > data transfer, it is observed

Re: [PATCH 2/3] mmc: host: omap_hsmmc: Handle BADA, DEB and CEB interrupts

2015-06-20 Thread Andreas Fenkart
TESTED-BY 2015-06-16 12:37 GMT+02:00 Vignesh R : > Sometimes BADA, DEB or CEB error interrupts occur when sd card is > unplugged during data transfer. These interrupts are currently ignored > by the interrupt handler. But, this results in card not being > recognised on subsequent insertion. This

Re: [PATCH 1/3] mmc: host: omap_hsmmc: Fix DTO and DCRC handling

2015-06-20 Thread Andreas Fenkart
Hi Vignesh, 2015-06-16 12:37 GMT+02:00 Vignesh R : > From: Kishon Vijay Abraham I > > DTO/DCRC errors were not being informed to the mmc core since > commit ae4bf788ee9b ("mmc: omap_hsmmc: consolidate error report handling of > HSMMC IRQ"). This commit made sure 'end_trans' is never set on

Re: [PATCH 2/3] mmc: host: omap_hsmmc: Handle BADA, DEB and CEB interrupts

2015-06-20 Thread Andreas Fenkart
TESTED-BY 2015-06-16 12:37 GMT+02:00 Vignesh R vigne...@ti.com: Sometimes BADA, DEB or CEB error interrupts occur when sd card is unplugged during data transfer. These interrupts are currently ignored by the interrupt handler. But, this results in card not being recognised on subsequent

Re: [PATCH 1/3] mmc: host: omap_hsmmc: Fix DTO and DCRC handling

2015-06-20 Thread Andreas Fenkart
Hi Vignesh, 2015-06-16 12:37 GMT+02:00 Vignesh R vigne...@ti.com: From: Kishon Vijay Abraham I kis...@ti.com DTO/DCRC errors were not being informed to the mmc core since commit ae4bf788ee9b (mmc: omap_hsmmc: consolidate error report handling of HSMMC IRQ). This commit made sure 'end_trans'

Re: [PATCH 3/3] mmc: host: omap_hsmmc: Add custom card detect irq handler

2015-06-20 Thread Andreas Fenkart
I haven't managed to produce a hang without this patch see also comments below 2015-06-16 12:37 GMT+02:00 Vignesh R vigne...@ti.com: Usually when there is an error in transfer, DTO/CTO or other error interrupts are raised. But if the card is unplugged in the middle of a data transfer, it is

Re: [RFC PATCH 2/3] mmc: omap_hsmmc: add tuning support

2014-11-14 Thread Andreas Fenkart
2014-11-13 13:56 GMT+01:00 Kishon Vijay Abraham I : > From: Balaji T K > > MMC tuning procedure is required to support SD card > UHS1-SDR104 mode and EMMC HS200 mode. > > The tuning function omap_execute_tuning() will only > be called by the MMC/SD core if the corresponding > speed modes are

Re: [RFC PATCH 2/3] mmc: omap_hsmmc: add tuning support

2014-11-14 Thread Andreas Fenkart
2014-11-13 13:56 GMT+01:00 Kishon Vijay Abraham I kis...@ti.com: From: Balaji T K balaj...@ti.com MMC tuning procedure is required to support SD card UHS1-SDR104 mode and EMMC HS200 mode. The tuning function omap_execute_tuning() will only be called by the MMC/SD core if the corresponding

Re: [PATCH v3 2/4] mmc: omap_hsmmc: Enable SDIO IRQ.

2013-10-29 Thread Andreas Fenkart
Hi 2013/10/8 Felipe Balbi : > Hi, > > On Sat, Oct 05, 2013 at 01:17:08PM +0200, Andreas Fenkart wrote: >> For now, only support SDIO interrupt if we are booted with >> DT. This is because some platforms need special quirks. And >> we don't want to add new le

Re: [PATCH v3 2/4] mmc: omap_hsmmc: Enable SDIO IRQ.

2013-10-29 Thread Andreas Fenkart
Hi 2013/10/8 Felipe Balbi ba...@ti.com: Hi, On Sat, Oct 05, 2013 at 01:17:08PM +0200, Andreas Fenkart wrote: For now, only support SDIO interrupt if we are booted with DT. This is because some platforms need special quirks. And we don't want to add new legacy mux platform init code

[PATCH v3 2/4] mmc: omap_hsmmc: Enable SDIO IRQ.

2013-10-05 Thread Andreas Fenkart
fallback to polling, by setting 'ti,quirk-swakup-missing' in the device tree. Otherwise pending SDIO IRQ are not detected while in suspend. This affects am33xx processors. Signed-off-by: Andreas Fenkart diff --git a/Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt b/Documentation/devicetree

[PATCH v3 3/4] mmc: omap_hsmmc: Remux pins to support SDIO interrupt on AM335x

2013-10-05 Thread Andreas Fenkart
The am335x can't detect pending cirq in PM runtime suspend. This patch reconfigures dat1 as a GPIO before going to suspend. SDIO interrupts are detected with the GPIO, while in runtime suspend, standard detection of the module block otherwise. Signed-off-by: Andreas Fenkart diff --git

[PATCH v3 4/4] mmc: omap_hsmmc: debugfs entries for SDIO IRQ detection and GPIO remuxing.

2013-10-05 Thread Andreas Fenkart
Update the debugfs related code for the SDIO IRQ support. Note that PSTATE shows current state of data lines, incl. SDIO IRQ pending Signed-off-by: Andreas Fenkart diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index a8894ee..f7fe06f 100644 --- a/drivers/mmc/host

[PATCH v3 1/4] mmc: omap_hsmmc: Fix context save and restore for DT

2013-10-05 Thread Andreas Fenkart
From: Tony Lindgren We want to get rid of the omap specific platform init code callbacks as they don't play nice with device tree. Let's convert the context loss check to be based on a register state detection instead. Cc: Andreas Fenkart Cc: Balaji T K Signed-off-by: Tony Lindgren diff

[PATCH v3 0/4] mmc: omap_hsmmc: SDIO irq

2013-10-05 Thread Andreas Fenkart
Changes: - split the subject patch into normal handling and workaround for am335x - rebase Andreas Fenkart (3): mmc: omap_hsmmc: Enable SDIO IRQ. mmc: omap_hsmmc: Remux pins to support SDIO interrupt on AM335x mmc: omap_hsmmc: debugfs for SDIO IRQ and GPIO remux Tony Lindgren (1): mmc

[PATCH v3 0/4] mmc: omap_hsmmc: SDIO irq

2013-10-05 Thread Andreas Fenkart
Changes: - split the subject patch into normal handling and workaround for am335x - rebase Andreas Fenkart (3): mmc: omap_hsmmc: Enable SDIO IRQ. mmc: omap_hsmmc: Remux pins to support SDIO interrupt on AM335x mmc: omap_hsmmc: debugfs for SDIO IRQ and GPIO remux Tony Lindgren (1): mmc

[PATCH v3 1/4] mmc: omap_hsmmc: Fix context save and restore for DT

2013-10-05 Thread Andreas Fenkart
From: Tony Lindgren t...@atomide.com We want to get rid of the omap specific platform init code callbacks as they don't play nice with device tree. Let's convert the context loss check to be based on a register state detection instead. Cc: Andreas Fenkart afenk...@gmail.com Cc: Balaji T K balaj

[PATCH v3 2/4] mmc: omap_hsmmc: Enable SDIO IRQ.

2013-10-05 Thread Andreas Fenkart
fallback to polling, by setting 'ti,quirk-swakup-missing' in the device tree. Otherwise pending SDIO IRQ are not detected while in suspend. This affects am33xx processors. Signed-off-by: Andreas Fenkart afenk...@gmail.com diff --git a/Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt b

[PATCH v3 3/4] mmc: omap_hsmmc: Remux pins to support SDIO interrupt on AM335x

2013-10-05 Thread Andreas Fenkart
The am335x can't detect pending cirq in PM runtime suspend. This patch reconfigures dat1 as a GPIO before going to suspend. SDIO interrupts are detected with the GPIO, while in runtime suspend, standard detection of the module block otherwise. Signed-off-by: Andreas Fenkart afenk...@gmail.com

[PATCH v3 4/4] mmc: omap_hsmmc: debugfs entries for SDIO IRQ detection and GPIO remuxing.

2013-10-05 Thread Andreas Fenkart
Update the debugfs related code for the SDIO IRQ support. Note that PSTATE shows current state of data lines, incl. SDIO IRQ pending Signed-off-by: Andreas Fenkart afenk...@gmail.com diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index a8894ee..f7fe06f 100644

[tip:irq/core] genirq: Add kerneldoc for irq_disable.

2013-05-29 Thread tip-bot for Andreas Fenkart
Commit-ID: d671a605580d2caafc77f1a25bcf8435795df6fe Gitweb: http://git.kernel.org/tip/d671a605580d2caafc77f1a25bcf8435795df6fe Author: Andreas Fenkart AuthorDate: Fri, 10 May 2013 12:21:30 +0200 Committer: Thomas Gleixner CommitDate: Wed, 29 May 2013 11:09:10 +0200 genirq: Add

[tip:irq/core] genirq: Add kerneldoc for irq_disable.

2013-05-29 Thread tip-bot for Andreas Fenkart
Commit-ID: d671a605580d2caafc77f1a25bcf8435795df6fe Gitweb: http://git.kernel.org/tip/d671a605580d2caafc77f1a25bcf8435795df6fe Author: Andreas Fenkart andreas.fenk...@streamunlimited.com AuthorDate: Fri, 10 May 2013 12:21:30 +0200 Committer: Thomas Gleixner t...@linutronix.de CommitDate

[RESEND][PATCH 1/1] genirq: outline lazy disable in kerneldoc of irq_disable function.

2013-05-14 Thread Andreas Fenkart
comment taken from changelog of d209a699a0b975ad Signed-off-by: Andreas Fenkart --- kernel/irq/chip.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index cbd97ce..ba1f076 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c @@ -213,6

[RESEND][PATCH 1/1] genirq: outline lazy disable in kerneldoc of irq_disable function.

2013-05-14 Thread Andreas Fenkart
comment taken from changelog of d209a699a0b975ad Signed-off-by: Andreas Fenkart andreas.fenk...@streamunlimited.com --- kernel/irq/chip.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index cbd97ce..ba1f076 100644 --- a/kernel/irq/chip.c

[PATCH 1/1] genirq: outline lazy disable in kerneldoc of irq_disable function.

2013-05-10 Thread Andreas Fenkart
comment based on changelog of d209a699a0b975ad Signed-off-by: Andreas Fenkart --- kernel/irq/chip.c | 13 + 1 file changed, 13 insertions(+) diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index cbd97ce..4e3c439 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c @@ -213,6

[PATCH 1/1] genirq: outline lazy disable in kerneldoc of irq_disable function.

2013-05-10 Thread Andreas Fenkart
comment based on changelog of d209a699a0b975ad Signed-off-by: Andreas Fenkart andreas.fenk...@streamunlimited.com --- kernel/irq/chip.c | 13 + 1 file changed, 13 insertions(+) diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index cbd97ce..4e3c439 100644 --- a/kernel/irq/chip.c

[PATCH] genirq: use irq_mask as fallback for irq_disable.

2013-04-19 Thread Andreas Fenkart
This is in line with irq_enable that uses the same fallback. When masked, interrupts are still latched into the status register so when unmasked there is an interrupt straight away. Signed-off-by: Andreas Fenkart --- kernel/irq/chip.c |7 --- 1 file changed, 4 insertions(+), 3 deletions

[PATCH] genirq: use irq_mask as fallback for irq_disable.

2013-04-19 Thread Andreas Fenkart
This is in line with irq_enable that uses the same fallback. When masked, interrupts are still latched into the status register so when unmasked there is an interrupt straight away. Signed-off-by: Andreas Fenkart andreas.fenk...@streamunlimited.com --- kernel/irq/chip.c |7 --- 1 file

[PATCH 1/1] irq: get_irq_disable_depth.

2013-03-25 Thread Andreas Fenkart
states. Signed-off-by: Andreas Fenkart --- include/linux/interrupt.h |1 + kernel/irq/manage.c | 17 + 2 files changed, 18 insertions(+) diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h index 5fa5afe..d02816b 100644 --- a/include/linux/interrupt.h +++ b

[PATCH 1/1] irq: get_irq_disable_depth.

2013-03-25 Thread Andreas Fenkart
states. Signed-off-by: Andreas Fenkart andreas.fenk...@streamunlimited.com --- include/linux/interrupt.h |1 + kernel/irq/manage.c | 17 + 2 files changed, 18 insertions(+) diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h index 5fa5afe..d02816b 100644

[PATCH] ARM: OMAP2+: am33xx: preserve JTAG clock aka debugss_ick.

2013-03-07 Thread Andreas Fenkart
This fixes JTAG support on am33xx. Signed-off-by: Andreas Fenkart --- arch/arm/Kconfig.debug|6 ++ arch/arm/mach-omap2/cclock33xx_data.c | 11 --- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug

[PATCH] ARM: OMAP2+: am33xx: preserve JTAG clock aka debugss_ick.

2013-03-07 Thread Andreas Fenkart
This fixes JTAG support on am33xx. Signed-off-by: Andreas Fenkart andreas.fenk...@streamunlimited.com --- arch/arm/Kconfig.debug|6 ++ arch/arm/mach-omap2/cclock33xx_data.c | 11 --- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/arch/arm

dmesg macro in Documentation/kdump/gdbmacros.txt outdated

2013-02-28 Thread Andreas Fenkart
Is there an updated version matching the changed printk structure? thanks, -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

dmesg macro in Documentation/kdump/gdbmacros.txt outdated

2013-02-28 Thread Andreas Fenkart
Is there an updated version matching the changed printk structure? thanks, -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at