NORS, however that solution caps the
> system to 256 minors total, which limits the number of
> mmc cards the system can support.
[...]
This commit was intended to allow support for 256 cards with any number
of partitions:
commit a26eba614afff0e39594101bcb73014a9a22fb33
Author: Ben Hutchings &
On Thu, 2015-10-22 at 19:07 +0100, Ben Hutchings wrote:
> On Thu, 2015-10-22 at 10:00 -0700, John Stultz wrote:
> > From: Colin Cross <ccr...@android.com>
> >
> > It is quite common for Android devices to utilize more
> > then 8 partitions on internal eMMC storage
It has no external callers.
Signed-off-by: Ben Hutchings <b...@decadent.org.uk>
---
drivers/mmc/host/sdhci-pci-o2micro.c | 2 +-
drivers/mmc/host/sdhci-pci-o2micro.h | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/mmc/host/sdhci-pci-o2micro.c
b/drivers/mm
source files
- Add sdhci-pci-o2micro.c to it
- Remove redundant exports
Signed-off-by: Ben Hutchings <b...@decadent.org.uk>
---
drivers/mmc/host/Makefile | 2 +-
drivers/mmc/host/{sdhci-pci.c => sdhci-pci-core.c} | 0
drivers/mmc/host/sdhci-pci-o2micro.c
mmc_blk_part_switch call\n, card-part[MMC_NUM_PHY_PARTITION].name);
+return;
+ }
mmc_release_host(card-host);
if (card-type != MMC_TYPE_SD_COMBO)
pm_runtime_disable(card-dev);
--
Ben Hutchings
No political challenge can be met by shopping. - George Monbiot
);
+ if (mmc_blk_part_switch(card, md))
+dev_crit(card-dev, Unable to successfully remove due to
failed mmc_blk_part_switch call\n);
mmc_release_host(card-host);
if (card-type != MMC_TYPE_SD_COMBO)
pm_runtime_disable(card-dev);
--
Ben Hutchings
No political challenge can be met
On Fri, 2015-07-03 at 00:21 +0100, Ben Hutchings wrote:
On Wed, 2015-07-01 at 10:37 +0300, Laurent Pinchart wrote:
[...]
+#define PIN_IO_VOLTAGE(bank, _pin, _name, sfx) \
+ [RCAR_GP_PIN(bank, _pin)].configs = SH_PFC_PIN_CFG_IO_VOLTAGE
+
static const struct sh_pfc_pin
On Wed, 2015-07-01 at 10:37 +0300, Laurent Pinchart wrote:
[...]
+#define PIN_IO_VOLTAGE(bank, _pin, _name, sfx) \
+ [RCAR_GP_PIN(bank, _pin)].configs = SH_PFC_PIN_CFG_IO_VOLTAGE
+
static const struct sh_pfc_pin pinmux_pins[] = {
PINMUX_GPIO_GP_ALL(),
- /* Pins
in sh_mobile_sdhi_start_signal_voltage_switch()
- Fix subject prefix for the DT changes
Ben.
Ben Hutchings (8):
pinctrl: sh-pfc: Implement pinconf power-source param for voltage
switching
pinctrl: sh-pfc: r8a7790: Implement voltage switching for SDHI
mmc: tmio, sh_mobile_sdhi: Pass tmio_mmc_host ptr to
clk_
sh_mobile_sdhi_clk_update() is loosely based on Kuninori Morimoto's work
in sh_mmcif.
Signed-off-by: Ben Hutchings ben.hutchi...@codethink.co.uk
---
drivers/mmc/host/sh_mobile_sdhi.c | 56 +--
drivers/mmc/host/tmio_mmc.h | 2 ++
drivers/mmc/host/tmio_mmc_pio.c | 23
Taken from the datasheet.
Signed-off-by: Ben Hutchings ben.hutchi...@codethink.co.uk
---
arch/arm/boot/dts/r8a7790.dtsi | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index 4bb2f4c17321..618b38938b24 100644
--- a/arch/arm
Add the 1v8 pinctrl state and sd-uhs-sdr50 property to SDHI{0,2}.
Signed-off-by: Ben Hutchings ben.hutchi...@codethink.co.uk
---
arch/arm/boot/dts/r8a7790-lager.dts | 22 --
1 file changed, 20 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts
b
Based on work by Shinobu Uehara and Ben Dooks. This adds the voltage
switch operation needed for all UHS-I modes, but not the tuning needed
for SDR-104 which will come later.
The card_busy implementation is a bit of a guess, but works for me on
an R8A7790 chip.
Signed-off-by: Ben Hutchings
Implement voltage switch, supporting modes up to SDR-50.
Based on work by Shinobu Uehara, Rob Taylor, William Towle and Ian Molton.
Signed-off-by: Ben Hutchings ben.hutchi...@codethink.co.uk
---
drivers/mmc/host/sh_mobile_sdhi.c | 60 +++
1 file changed, 60
All the SHDIs can operate with either 3.3V or 1.8V signals, depending
on negotiation with the card.
Implement the {get,set}_io_voltage operations and set the related
capability flag for the associated pins.
Signed-off-by: Ben Hutchings ben.hutchi...@codethink.co.uk
---
drivers/pinctrl/sh-pfc
and set the nominal voltage. Implement the pinconf
power-source parameter using these operations.
Signed-off-by: Ben Hutchings ben.hutchi...@codethink.co.uk
---
.../bindings/pinctrl/renesas,pfc-pinctrl.txt | 4 +-
drivers/pinctrl/sh-pfc/pinctrl.c | 44
Change the clk_enable operation to take a pointer to the struct
tmio_mmc_host and have it set f_max. For consistency, also change the
clk_disable operation to take a pointer to struct tmio_mmc_host.
Signed-off-by: Ben Hutchings ben.hutchi...@codethink.co.uk
---
drivers/mmc/host/sh_mobile_sdhi.c
On Mon, 2015-06-29 at 11:32 +0300, Laurent Pinchart wrote:
Hi Ben,
Thank you for the patch.
On Friday 26 June 2015 16:23:24 Ben Hutchings wrote:
The pfc in the R8A7790 (and probably others in the R-Car gen 2 family)
supports switching SDHI signals between 3.3V and 1.8V voltage
On Mon, 2015-06-29 at 11:50 +0300, Laurent Pinchart wrote:
Hi Ben,
Thank you for the patch.
On Friday 26 June 2015 16:23:30 Ben Hutchings wrote:
All the SHDIs can operate with either 3.3V or 1.8V signals, depending
on negotiation with the card.
Implement the {get,set}_low_voltage
On Mon, 2015-06-29 at 06:23 +, Kuninori Morimoto wrote:
Hi Ben
Cc Laurent, Geert, Magnus
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts
b/arch/arm/boot/dts/r8a7790-lager.dts
index aaa4f258e279..5f68e53c58ae 100644
--- a/arch/arm/boot/dts/r8a7790-lager.dts
+++
On Tue, 2015-06-30 at 01:45 +, Kuninori Morimoto wrote:
Hi Ben
SH-MMC is using this style. and I think it is flexible for every
speed.
Please check sh_mmcif_clock_control(), sh_mmcif_clk_setup()
on ${LINUX}/drivers/mmc/host/sh_mmcif.c
That's certainly a nicer
On Tue, 2015-06-30 at 02:29 +0100, Ben Hutchings wrote:
On Tue, 2015-06-30 at 01:02 +0100, Ben Hutchings wrote:
On Mon, 2015-06-29 at 06:23 +, Kuninori Morimoto wrote:
[...]
If so, why we can't use max-frequency ?
We can calculate/set SDHI IP clocks via
max-frequency
On Tue, 2015-06-30 at 01:02 +0100, Ben Hutchings wrote:
On Mon, 2015-06-29 at 06:23 +, Kuninori Morimoto wrote:
[...]
If so, why we can't use max-frequency ?
We can calculate/set SDHI IP clocks via
max-frequency / clk_round_rate() / clk_set_rate()
since we know SDHI's divider
I accidentally used an older shortlog and diffstat in that cover mail;
here are the correct ones.
Ben.
Ben Hutchings (5):
mmc: tmio: Add UHS-I mode support
pinctrl: sh-pfc: Implement pinconf power-source param for voltage
switching
pinctrl: sh-pfc: r8a7790: Implement voltage switching
All the SHDIs can operate with either 3.3V or 1.8V signals, depending
on negotiation with the card.
Implement the {get,set}_low_voltage operations and set the low-voltage
capability flag for the associated pins.
Signed-off-by: Ben Hutchings ben.hutchi...@codethink.co.uk
---
drivers/pinctrl/sh
Implement voltage switch, supporting modes up to SDR-50.
Based on work by Shinobu Uehara, Rob Taylor, William Towle and Ian Molton.
Signed-off-by: Ben Hutchings ben.hutchi...@codethink.co.uk
---
drivers/mmc/host/sh_mobile_sdhi.c | 60 +++
1 file changed, 60
Set the input clocks to the highest supported speeds.
Signed-off-by: Ben Hutchings ben.hutchi...@codethink.co.uk
---
arch/arm/boot/dts/r8a7790-lager.dts | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts
b/arch/arm/boot/dts/r8a7790-lager.dts
index
it. Implement the pinconf power-source parameter using these
operations.
Signed-off-by: Ben Hutchings ben.hutchi...@codethink.co.uk
---
.../bindings/pinctrl/renesas,pfc-pinctrl.txt | 4 ++-
drivers/pinctrl/sh-pfc/pinctrl.c | 34 --
drivers/pinctrl/sh-pfc
Add the 1v8 pinctrl state and sd-uhs-sdr50 property to SDHI{0,2}.
Signed-off-by: Ben Hutchings ben.hutchi...@codethink.co.uk
---
arch/arm/boot/dts/r8a7790-lager.dts | 22 --
1 file changed, 20 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts
b
and states
- Drop 'mmc: sh_mobile_sdhi: Add actual clock rate support' as it's
redundant
- Use a switch statement in sh_mobile_sdhi_start_signal_voltage_switch()
- Fix subject prefix for the DT changes
Ben.
Ben Hutchings (5):
mmc: tmio: Add UHS-I mode support
pinctrl: sh-pfc: Add low-voltage
Based on work by Shinobu Uehara and Ben Dooks. This adds the voltage
switch operation needed for all UHS-I modes, but not the tuning needed
for SDR-104 which will come later.
The card_busy implementation is a bit of a guess, but works for me on
an R8A7790 chip.
Signed-off-by: Ben Hutchings
On Sun, 2015-06-14 at 09:36 +0200, Geert Uytterhoeven wrote:
On Thu, Jun 11, 2015 at 5:02 PM, Ben Hutchings
ben.hutchi...@codethink.co.uk wrote:
I may be misunderstanding the above, if so I apologise, but I would
strongly prefer to avoid an arrangement where the kernel and device tree
blob
On Sun, 2015-06-14 at 09:36 +0200, Geert Uytterhoeven wrote:
On Thu, Jun 11, 2015 at 5:02 PM, Ben Hutchings
ben.hutchi...@codethink.co.uk wrote:
I may be misunderstanding the above, if so I apologise, but I would
strongly prefer to avoid an arrangement where the kernel and device tree
blob
On Fri, 2015-06-12 at 10:18 +0300, Laurent Pinchart wrote:
Hi Ben,
(CC'ing Linus Walleij)
Thank you for the patch.
On Wednesday 10 June 2015 00:23:31 Ben Hutchings wrote:
All the SHDIs can operate with either 3.3V or 1.8V signals, depending
on negotiation with the card.
Add
On Thu, 2015-06-11 at 11:49 +0900, Simon Horman wrote:
On Thu, Jun 11, 2015 at 12:57:57AM +0100, Ben Hutchings wrote:
On Wed, 2015-06-10 at 11:16 +0200, Ulf Hansson wrote:
On 10 June 2015 at 01:21, Ben Hutchings ben.hutchi...@codethink.co.uk
wrote:
This series adds support for UHS-I
On Wed, 2015-06-10 at 11:16 +0200, Ulf Hansson wrote:
On 10 June 2015 at 01:21, Ben Hutchings ben.hutchi...@codethink.co.uk wrote:
This series adds support for UHS-I in sh_mobile_sdhi, partly implemented
in tmio_mmc. This does not yet include tuning for SDR-104, but SDR-50 now
works
On Thu, 2015-06-11 at 01:20 +, Kuninori Morimoto wrote:
Hi Ben
Sorry for my small amount of question, but I would like to ask 1 thing
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts
b/arch/arm/boot/dts/r8a7790-lager.dts
index aaa4f258e279..5f68e53c58ae 100644
---
:
- Replace the 'regulator' devices for signal voltage switching with
pinctrl functions and states
- Drop 'mmc: sh_mobile_sdhi: Add actual clock rate support' as it's
redundant
- Use a switch statement in sh_mobile_sdhi_start_signal_voltage_switch()
- Fix subject prefix for the DT changes
Ben.
Ben
From: Ian Molton ian.mol...@codethink.co.uk
Set the input clocks to the highest supported speeds.
Signed-off-by: Ben Hutchings ben.hutchi...@codethink.co.uk
---
arch/arm/boot/dts/r8a7790-lager.dts | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts
b
Implement voltage switch, supporting modes up to SDR-50.
Based on work by Shinobu Uehara, Rob Taylor, William Towle and Ian Molton.
Signed-off-by: Ben Hutchings ben.hutchi...@codethink.co.uk
---
drivers/mmc/host/sh_mobile_sdhi.c | 60 +++
1 file changed, 60
All the SHDIs can operate with either 3.3V or 1.8V signals, depending
on negotiation with the card.
Add separate functions for the 1.8V mode, and implement the set_mux
operation on all SDHI functions to configure the voltage for each
group of pins.
Signed-off-by: Ben Hutchings ben.hutchi
-by: Ben Hutchings ben.hutchi...@codethink.co.uk
---
drivers/pinctrl/sh-pfc/pinctrl.c | 4
drivers/pinctrl/sh-pfc/sh_pfc.h | 10 +-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/drivers/pinctrl/sh-pfc/pinctrl.c b/drivers/pinctrl/sh-pfc/pinctrl.c
index 072e7c62cab7
Based on work by Shinobu Uehara and Ben Dooks. This adds the voltage
switch operation needed for all UHS-I modes, but not the tuning needed
for SDR-104 which will come later.
The card_busy implementation is a bit of a guess, but works for me on
an R8A7790 chip.
Signed-off-by: Ben Hutchings
Add the 1v8 pinctrl state and sd-uhs-sdr50 property to SDHI{0,2}.
Signed-off-by: Ben Hutchings ben.hutchi...@codethink.co.uk
---
arch/arm/boot/dts/r8a7790-lager.dts | 18 --
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts
b/arch
On Mon, 2015-05-18 at 20:48 +0100, Ben Hutchings wrote:
On Sun, 2015-05-17 at 10:13 +0200, Geert Uytterhoeven wrote:
On Sun, May 17, 2015 at 2:29 AM, Ben Hutchings
ben.hutchi...@codethink.co.uk wrote:
From: Ben Dooks ben.do...@codethink.co.uk
[bwh: Fold in fix from Ian Molton
Add the 1v8 pinctrl state and sd-uhs-sdr50 property to SDHI{0,2}.
Signed-off-by: Ben Hutchings ben.hutchi...@codethink.co.uk
---
None of the states includes the CD pins, as they can't be allocated both
through pinctrl and as GPIOs. But the Lager manual shows these signals
being pulled up
On Thu, 2015-04-30 at 19:06 +0300, Sergei Shtylyov wrote:
On 04/30/2015 03:32 PM, Ben Hutchings wrote:
From: Ben Dooks ben.do...@codethink.co.uk
[bwh: Fold in fix from Ian Molton]
Signed-off-by: Ben Hutchings ben.hutchi...@codethink.co.uk
Not signed off by Ben Dooks?
I'm quite
On Tue, 2015-05-05 at 10:47 +0200, Ulf Hansson wrote:
On 5 May 2015 at 10:35, Ben Dooks ben.do...@codethink.co.uk wrote:
On 05/05/15 10:56, Ulf Hansson wrote:
On 30 April 2015 at 14:32, Ben Hutchings ben.hutchi...@codethink.co.uk
wrote:
Implement voltage switch, supporting modes up
this
as an additional regulator that sh_mobile_sdhi has to adjust, but I'm
not entirely happy with this or the way it's represented in the DT. I
would appreciate advice on how to improve that.
Ben.
Ben Dooks (1):
ARM: shmobile: r8a7790-lager.dts: Set sdhi and mmcif clock rates
Ben Hutchings (4
From: William Towle william.to...@codethink.co.uk
[bwh: Also enable the 'regulators' on the pfc that we need]
Signed-off-by: Ben Hutchings ben.hutchi...@codethink.co.uk
---
arch/arm/boot/dts/r8a7790-lager.dts | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts
Signed-off-by: Ben Hutchings ben.hutchi...@codethink.co.uk
---
arch/arm/boot/dts/r8a7790.dtsi | 21 +
1 file changed, 21 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index 4bb2f4c17321..23e826153a9d 100644
--- a/arch/arm/boot
Implement voltage switch, supporting modes up to SDR-50.
Based on work by Shinobu Uehara, Rob Taylor, William Towle and Ian Molton.
This uses two voltage regulators, one external and one on the pfc.
Signed-off-by: Ben Hutchings ben.hutchi...@codethink.co.uk
---
drivers/mmc/host
Ian no longer works for Codethink so the current address doesn't work.
Signed-off-by: Ben Hutchings ben.hutchi...@codethink.co.uk
---
MAINTAINERS |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index ea0001760035..b52939f32bb1 100644
From: Ian Molton ian.mol...@codethink.co.uk
Signed-off-by: Ian Molton ian.mol...@codethink.co.uk
[bwh: Forward-ported to 4.0]
Signed-off-by: Ben Hutchings ben.hutchi...@codethink.co.uk
---
drivers/mmc/host/tmio_mmc_pio.c |5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git
From: Ian Molton ian.mol...@codethink.co.uk
Signed-off-by: Ian Molton ian.mol...@codethink.co.uk
Signed-off-by: Ben Hutchings ben.hutchi...@codethink.co.uk
---
drivers/mmc/host/tmio_mmc.c |6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/host/tmio_mmc.c b
Ian, these are some of your fixes for tmio_mmc that didn't make it
upstream yet, plus an update to MAINTAINERS. Assuming you're still
intending to maintain it, please can you ack these?
Ben.
Ben Hutchings (1):
MAINTAINERS: Update Ian Molton's address for tmio_mmc driver
Ian Molton (3):
mmc
From: Ian Molton ian.mol...@codethink.co.uk
Clean up resource allocation and freeing.
Signed-off-by: Ian Molton ian.mol...@codethink.co.uk
Signed-off-by: Ben Hutchings ben.hutchi...@codethink.co.uk
---
drivers/mmc/host/tmio_mmc.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions
On Wed, 2015-03-18 at 15:53 +, Ben Dooks wrote:
Change the __raw IO functions to endian agnostic relaxed ones to allow
the driver to function on big endian ARM systems.
Signed-off-by: Ben Dooks ben.do...@codethink.co.uk
--
CC: Ludovic Desroches ludovic.desroc...@atmel.com
CC: Chris
to the same or a smaller mask than
the streaming mask.
Ben.
--
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
To unsubscribe from this list: send the line unsubscribe
as to whether 2 seconds
is the right limit.
Ben.
data-timeout_clks = card-csd.tacc_clks * mult;
/*
--
Ben Hutchings
Teamwork is essential - it allows you to blame someone else.
signature.asc
Description: This is a digitally signed message part
On Sun, 2009-11-22 at 12:42 +0100, Wouter van Heyst wrote:
On Mon, Nov 16, 2009 at 10:31:49PM +, Ben Hutchings wrote:
[...]
In general, it is not possible to tell whether a card present in an MMC
slot after resume is the same that was there before suspend. So there
are two possible
On Mon, 2009-11-16 at 12:23 -0800, Andrew Morton wrote:
On Wed, 11 Nov 2009 04:44:36 +
Ben Hutchings b...@decadent.org.uk wrote:
Some people run general-purpose distribution kernels on netbooks with
a card that is physically non-removable or logically non-removable
(e.g. used
62 matches
Mail list logo