SDHI0 (CN8) needs JP/SW settings
Signed-off-by: Kuninori Morimoto
---
v1 -> v2
- 1/2 patch become 2/2
arch/arm/mach-shmobile/board-lager.c | 66 ++
1 file changed, 66 insertions(+)
diff --git a/arch/arm/mach-shmobile/board-lager.c
b/arch/arm/mach-shmobile/b
Fixed regulator is used for SDHI0/2 Vcc.
We should use da9063 driver for Vccq,
but, it doesn't have regulator support at this point.
This patch uses gpio-regulator for it as quick-hack.
Signed-off-by: Kuninori Morimoto
---
v1 -> v2
- 2/2 become 1/2
- FIXME comment was added
arch/arm/mach-shm
Hi Simon
These are v2 of SDHI support for r8a7790.
Kuninori Morimoto (2):
ARM: shmobile: lager: add gpio/fixed regulator for SDHI
ARM: shmobile: lager: add SDHI0/2 support
arch/arm/mach-shmobile/board-lager.c | 149 +-
1 file changed, 148 insertions
Hi Laurent, Simon
> > These are SDHI support for r8a7790.
> >
> > Kuninori Morimoto (14):
> > ARM: shmobile: lager: add SDHI0/2 support
> > ARM: shmobile: lager: use gpio/fixed regulator for SDHI
>
> As the second patches fixes a problem in the first one, I'd like to split
> them
Hi Laurent
Thank you for your feedback
> > +/* SDHI regulator macro */
> > +#define SDHI_REGULATOR(idx, vdd_pin, vccq_pin)
> > \
> > +static struct regulator_consumer_supply vcc_sdhi##idx##_consumer = \
> > + REGULATOR_SUPPLY("vmmc", "sh_mobile_sdhi." #idx);
Hi Laurent
> > Renesas GPIO is being interlocked with PFC, and GPIO is
> > very basic system for R-Car.
> > GPIO should be initialised in same timing as PFC.
> > The GPIO based system doesn't work correctly without this patch.
>
> Could you please describe the failure in a bit more details ?
Re
Hi
> > One of Renesas SDHI chip needs workaround to use it,
> > and, we can judge it based on chip version.
> > This patch adds very quick-hack workaround method,
> > since we still don't know how many chips
> > need workaround in the future.
>
> > Signed-off-by: Kuninori Morimoto
> > ---
> >
Enable the external clock needed by the host controller during the
probe and disable it during the remove.
Signed-off-by: Tim Kryger
Reviewed-by: Markus Mayer
Reviewed-by: Matt Porter
---
drivers/mmc/host/sdhci-bcm-kona.c | 28 +++-
1 file changed, 27 insertions(+), 1 d
Specify the external clock label in each SDHCI node.
Signed-off-by: Tim Kryger
Reviewed-by: Markus Mayer
Reviewed-by: Matt Porter
---
arch/arm/boot/dts/bcm11351.dtsi | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi
index
Specify the external clock label in the timer node.
Signed-off-by: Tim Kryger
Reviewed-by: Markus Mayer
Reviewed-by: Matt Porter
---
arch/arm/boot/dts/bcm11351.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.
When an clock is specified in the device tree, enable it and use it to
determine the external clock frequency.
Signed-off-by: Tim Kryger
Reviewed-by: Markus Mayer
Reviewed-by: Matt Porter
---
drivers/clocksource/bcm_kona_timer.c | 14 +++---
1 file changed, 11 insertions(+), 3 deletion
Declare clocks that are enabled and configured by bootloaders as fixed
rate clocks in the DTS such that device drivers may use standard clock
function calls.
Signed-off-by: Tim Kryger
Reviewed-by: Markus Mayer
Reviewed-by: Matt Porter
---
arch/arm/boot/dts/bcm11351.dtsi | 97 ++
The frequency property in "snps,dw-apb-uart" entries are no longer
required if the rate of the external clock can be determined using the
clk api (see e302cd9 serial: 8250_dw: add support for clk api).
This patch replaces the frequency property in the UART nodes of
bcm11351.dtsi with references to
The frequency for the Kona timer can either be specified through the
device tree or determined by checking the rate of the clock specified
in the device tree. Update the documentation to reflect both ways.
Signed-off-by: Tim Kryger
Reviewed-by: Matt Porter
---
Documentation/devicetree/bindings
This series declares the clocks present on bcm11351 (aka bcm281xx) SoCs
to be fixed at the rates configured by development bootloaders and then
updates the Kona drivers to make use of clock calls where appropriate.
Changes in v3:
- Updated the commit message for the UART DTS change
- Added a p
The Kona SDHCI block requires a clock that must be specified in the
device tree. Update the documentation to reflect this requirement.
Signed-off-by: Tim Kryger
Reviewed-by: Matt Porter
---
Documentation/devicetree/bindings/mmc/kona-sdhci.txt | 5 +
1 file changed, 5 insertions(+)
diff --
* Mark Rutland [131114 03:06]:
>
> Missing binding document.
Here's this one updated with a minimal binding document. The
ti,hwmods is still needed until we have removed the dependencies
to hwmod code for omaps.
Regards,
Tony
From: Tony Lindgren
Date: Wed, 13 Nov 2013 16:36:37 -0800
Subject:
fixed a condition where device issues a status cmd to sdcard but no response
comes from sdcard. The sdhci irq fires and we hit a timeout case which calls
sdhci_finish_data(). sdhci_finish_data eventually attempt to reset controller
and issues stop cmd. However mmcdq is wait_for_completion(&mrq->com
Hello.
On 14-11-2013 14:31, Kuninori Morimoto wrote:
One of Renesas SDHI chip needs workaround to use it,
and, we can judge it based on chip version.
This patch adds very quick-hack workaround method,
since we still don't know how many chips
need workaround in the future.
Signed-off-by: Kuni
Hi Morimoto-san,
Thank you for the patch.
On Thursday 14 November 2013 02:35:08 Kuninori Morimoto wrote:
> SDHI0/2 Vcc/Vccq can use gpio/fixed regulator driver
>
> Signed-off-by: Kuninori Morimoto
> ---
> arch/arm/mach-shmobile/board-lager.c | 89 ++-
> 1 file cha
Hi Morimoto-san,
Thank you for the patches.
On Thursday 14 November 2013 02:34:03 Kuninori Morimoto wrote:
> Hi Simon
>
> These are SDHI support for r8a7790.
>
> Kuninori Morimoto (14):
> ARM: shmobile: lager: add SDHI0/2 support
> ARM: shmobile: lager: use gpio/fixed regulator for
Hi Morimoto-san,
Thank you for the patch.
On Thursday 14 November 2013 02:19:54 Kuninori Morimoto wrote:
> Renesas GPIO is being interlocked with PFC, and GPIO is
> very basic system for R-Car.
> GPIO should be initialised in same timing as PFC.
> The GPIO based system doesn't work correctly with
Hi Morimoto-san,
Thank you for the patch.
On Thursday 14 November 2013 02:27:50 Kuninori Morimoto wrote:
> sh73a0 != r8a7740
>
> Signed-off-by: Kuninori Morimoto
Acked-by: Laurent Pinchart
> ---
> arch/arm/boot/dts/sh73a0.dtsi |6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Hi Morimoto-san,
Thank you for the patch.
On Thursday 14 November 2013 02:27:32 Kuninori Morimoto wrote:
> WP pin is not implemented on Marzen
>
> Signed-off-by: Kuninori Morimoto
Acked-by: Laurent Pinchart
> ---
> arch/arm/mach-shmobile/board-marzen.c |2 --
> 1 file changed, 2 deletio
Hi Morimoto-san,
Thank you for the patch.
On Thursday 14 November 2013 02:27:16 Kuninori Morimoto wrote:
> WP pin is not implemented on Marzen
>
> Signed-off-by: Kuninori Morimoto
Acked-by: Laurent Pinchart
> ---
> arch/arm/boot/dts/r8a7779-marzen-reference.dts |3 +--
> 1 file changed,
Hi Morimoto-san,
Thank you for the patch.
On Thursday 14 November 2013 02:24:58 Kuninori Morimoto wrote:
> 02cb3221d5bb351ad9f7469453dcca7594a0fabf
> (mmc: tmio: support caps2 flags) added caps2 support
> on tmio, but it overwrites mmc_of_parse() settings.
> This patch fixes it up
>
> Signed-off
Hi Morimoto-san,
Thank you for the patch.
On Thursday 14 November 2013 02:24:37 Kuninori Morimoto wrote:
> From: Shinobu Uehara
>
> After a card is ejected during card access,
> the re-inserted card does not identified.
> It can be identified by clearing error IRQ status.
>
> Signed-off-by: Sh
Hi Morimoto-san,
Thank you for the patch.
On Thursday 14 November 2013 02:23:23 Kuninori Morimoto wrote:
> From: Shinobu Uehara
>
> Current sd_ctrl_read/write16_rep() doesn't care odd size
>
> Signed-off-by: Shinobu Uehara
> Signed-off-by: Ryo Kataoka
> Signed-off-by: Kuninori Morimoto
> --
On Thu, Nov 14, 2013 at 02:35:32AM +, Tony Lindgren wrote:
> Some features can be configured by the companion I2C chips,
> which may not be available at the probe time. Fix the issue
> by returning -EPROBE_DEFER when the MMC controller slots
> are not configured.
>
> While at it, let's also ad
SDHI0/2 Vcc/Vccq can use gpio/fixed regulator driver
Signed-off-by: Kuninori Morimoto
---
arch/arm/mach-shmobile/board-lager.c | 89 +-
1 file changed, 78 insertions(+), 11 deletions(-)
diff --git a/arch/arm/mach-shmobile/board-lager.c
b/arch/arm/mach-shmobile
SDHI0 (CN8) needs JP/SW settings
Signed-off-by: Kuninori Morimoto
---
arch/arm/mach-shmobile/board-lager.c | 75 +-
1 file changed, 74 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-shmobile/board-lager.c
b/arch/arm/mach-shmobile/board-lager.c
index f
Hi Simon
These are SDHI support for r8a7790.
Kuninori Morimoto (14):
ARM: shmobile: lager: add SDHI0/2 support
ARM: shmobile: lager: use gpio/fixed regulator for SDHI
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majord...@vger.ke
This patch updates r8a7779 DT data to have SoC specific settings.
Latest Renesas Chip has some SDHI channels and the WP pin
availability depends on its channel or HW implementation.
Thus, this patch disables it as default,
but we can use wp-gpios property to enable it.
Signed-off-by: Kuninori Mori
This patch updates r8a7790 DT data to have SoC specific settings.
Latest Renesas Chip has some SDHI channels and the WP pin
availability depends on its channel or HW implementation.
Thus, this patch disables it as default,
but we can use wp-gpios property to enable it.
Signed-off-by: Kuninori Mori
it is easy to read if sh_mobile_sdhi_of_cfg and
sh_mobile_sdhi_of_match are closer
Signed-off-by: Kuninori Morimoto
---
drivers/mmc/host/sh_mobile_sdhi.c | 26 +-
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/drivers/mmc/host/sh_mobile_sdhi.c
b/driver
This patch updates r8a7778 DT data to have SoC specific settings.
Latest Renesas Chip has some SDHI channels and the WP pin
availability depends on its channel or HW implementation.
Thus, this patch disables it as default,
but we can use wp-gpios property to enable it.
Signed-off-by: Kuninori Mori
One of Renesas SDHI chip needs workaround to use it,
and, we can judge it based on chip version.
This patch adds very quick-hack workaround method,
since we still don't know how many chips
need workaround in the future.
Signed-off-by: Kuninori Morimoto
---
drivers/mmc/host/sh_mobile_sdhi.c | 1
The accessibility checking method to the
higher register was added by
69d1fe18e92afb4687605a1ab2ec73fbc3bae344
(mmc: tmio: only access registers above 0xff, if available)
But, it doesn't care 32bit register.
it is impossible to calculate it from resource size, since,
there is 16/32 bit register IP
.bus_shift is used to 16/32bit register access
offset calculation on tmio driver.
tmio_mmc_xxx is used from Toshiba/Renesas now,
but this bus_shift value depends on HW IP.
This patch moves .bus_shift to tmio_mmc_data member
and set it on each driver.
Signed-off-by: Kuninori Morimoto
---
drivers/
Hi Chris
These are SDHI new feature
Kuninori Morimoto
mmc: tmio: bus_shift become tmio_mmc_data member
mmc: tmio: add new TMIO_MMC_HAVE_HIGH_REG flags
mmc: SDHI: add SoC specific workaround via HW version
mmc: SDHI: tidyup sh_mobile_sdhi_of_match position
mmc: S
Hi Georgi,
On Wed, 2013-11-06 at 17:56 +0200, Georgi Djakov wrote:
> This patchset adds basic support of the Secure Digital Host Controller
> Interface compliant controller found in Qualcomm MSM chipsets.
>
> Tested with SD card on APQ8074 Dragonboard.
Thanks, Tested with mass-storage gadget :
sh73a0 != r8a7740
Signed-off-by: Kuninori Morimoto
---
arch/arm/boot/dts/sh73a0.dtsi |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/sh73a0.dtsi b/arch/arm/boot/dts/sh73a0.dtsi
index 78f7201a..6e23fb4 100644
--- a/arch/arm/boot/dts/sh73a0.dtsi
+++ b
WP pin is not implemented on Marzen
Signed-off-by: Kuninori Morimoto
---
arch/arm/mach-shmobile/board-marzen.c |2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm/mach-shmobile/board-marzen.c
b/arch/arm/mach-shmobile/board-marzen.c
index fa102f7..2288dc2 100644
--- a/arch/arm/mach-
WP pin is not implemented on Marzen
Signed-off-by: Kuninori Morimoto
---
arch/arm/boot/dts/r8a7779-marzen-reference.dts |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7779-marzen-reference.dts
b/arch/arm/boot/dts/r8a7779-marzen-reference.dts
index
Hi Simon
These are SH-ARM bug fix patches
Kuninori Morimoto (14):
ARM: shmobile: marzen: remove SDHI0 WP pin setting from DTS
ARM: shmobile: marzen: remove SDHI0 WP pin setting
ARM: shmobile: sh73a0: fixup sdhi compatible name
--
To unsubscribe from this list: send the line
02cb3221d5bb351ad9f7469453dcca7594a0fabf
(mmc: tmio: support caps2 flags) added caps2 support
on tmio, but it overwrites mmc_of_parse() settings.
This patch fixes it up
Signed-off-by: Kuninori Morimoto
---
drivers/mmc/host/tmio_mmc_pio.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From: Shinobu Uehara
After a card is ejected during card access,
the re-inserted card does not identified.
It can be identified by clearing error IRQ status.
Signed-off-by: Shinobu Uehara
Signed-off-by: Ryo Kataoka
Signed-off-by: Kuninori Morimoto
---
drivers/mmc/host/tmio_mmc_pio.c |3 +
From: Shinobu Uehara
Current sd_ctrl_read/write16_rep() doesn't care odd size
Signed-off-by: Shinobu Uehara
Signed-off-by: Ryo Kataoka
Signed-off-by: Kuninori Morimoto
---
drivers/mmc/host/tmio_mmc_pio.c |6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc
Hi Chris
These are mmc bugfix patches
Kuninori Morimoto
mmc: tmio: don't overwrite caps2
Shinobu Uehara (2):
mmc: tmio: Fix odd size access
mmc: tmio: Add error IRQ status clear
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a messag
Renesas GPIO is being interlocked with PFC, and GPIO is
very basic system for R-Car.
GPIO should be initialised in same timing as PFC.
The GPIO based system doesn't work correctly without this patch.
Signed-off-by: Kuninori Morimoto
---
drivers/gpio/gpio-rcar.c | 12 +++-
1 file change
Hi Laurent
This is fixup patch for R-Car GPIO driver
Kuninori Morimoto:
gpio: rcar: use postcore_init()
Best regards
---
Kuninori Morimoto
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at
Hi Simon, Chris, Laurent
These are SDHI support for r8a7790.
But, these are
1. bug fix patchset for mmc/sdhi
2. bug fix for SH-ARM
3. new feature for mmc
4. new feature for SH-ARM
all these patches are needed, but, to different maintainer.
I send these with separate set
Kuninori Morimoto (14):
2013/11/12 Balaji T K :
> On Tuesday 12 November 2013 01:36 AM, 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
>> callbacks any longer as
Signed-off-by: Alexander Shiyan
---
drivers/mmc/core/host.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/core/host.c b/drivers/mmc/core/host.c
index 49bc403..114f6bd 100644
--- a/drivers/mmc/core/host.c
+++ b/drivers/mmc/core/host.c
@@ -337,7 +337,7 @@ int mmc_
The driver has a timer with a 10 second
timeout to catch devices that stop responding.
However it is possible for commands to take
even longer than that. Change the timer
timeout to reflect the command timeout.
Signed-off-by: Adrian Hunter
---
drivers/mmc/host/sdhci.c | 7 ++-
1 file change
55 matches
Mail list logo