Re: [RFC][PATCH v2] mmc_block: Allow more than 8 partitions per card

2015-10-22 Thread Ben Hutchings
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 &

Re: [RFC][PATCH v2] mmc_block: Allow more than 8 partitions per card

2015-10-22 Thread 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

[PATCH 2/2] mmc: sdhci-pci: Make sdhci_pci_o2_fujin2_pci_init() static

2015-10-05 Thread Ben Hutchings
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

[PATCH 1/2] mmc: sdhci-pci: Build o2micro support in the same module

2015-10-05 Thread Ben Hutchings
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

Re: [PATCH] mmc:Fix error handling in the function mmc_blk_remove

2015-07-21 Thread Ben Hutchings
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

Re: [PATCH] mmc:Fix error handling in the function mmc_blk_remove

2015-07-21 Thread Ben Hutchings
); + 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

Re: [PATCH v4 2/8] pinctrl: sh-pfc: r8a7790: Implement voltage switching for SDHI

2015-07-09 Thread Ben Hutchings
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

Re: [PATCH v4 2/8] pinctrl: sh-pfc: r8a7790: Implement voltage switching for SDHI

2015-07-02 Thread Ben Hutchings
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

[PATCH v4 0/8] UHS-I support for sh_mobile_sdhi

2015-06-30 Thread Ben Hutchings
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_

[PATCH v4 4/8] mmc: tmio, sh_mobile_sdhi: Add support for variable input clock frequency

2015-06-30 Thread Ben Hutchings
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

[PATCH v4 7/8] ARM: shmobile: r8a7790: Set maximum frequencies for SDHI clocks

2015-06-30 Thread Ben Hutchings
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

[PATCH v4 8/8] ARM: shmobile: lager: Enable UHS-I SDR-50

2015-06-30 Thread 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 | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b

[PATCH v4 5/8] mmc: tmio: Add UHS-I mode support

2015-06-30 Thread Ben Hutchings
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

[PATCH v4 6/8] mmc: sh_mobile_sdhi: Add UHS-I mode support

2015-06-30 Thread 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

[PATCH v4 2/8] pinctrl: sh-pfc: r8a7790: Implement voltage switching for SDHI

2015-06-30 Thread Ben Hutchings
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

[PATCH v4 1/8] pinctrl: sh-pfc: Implement pinconf power-source param for voltage switching

2015-06-30 Thread Ben Hutchings
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

[PATCH v4 3/8] mmc: tmio, sh_mobile_sdhi: Pass tmio_mmc_host ptr to clk_{enable,disable} ops

2015-06-30 Thread Ben Hutchings
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

Re: [PATCH v3 2/6] pinctrl: sh-pfc: Implement pinconf power-source param for voltage switching

2015-06-29 Thread Ben Hutchings
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

Re: [PATCH v3 3/6] pinctrl: sh-pfc: r8a7790: Implement voltage switching for SDHI

2015-06-29 Thread Ben Hutchings
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

Re: [PATCH v3 5/6] ARM: shmobile: lager: Set clock rates for SDHI

2015-06-29 Thread Ben Hutchings
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 +++

Re: [PATCH v3 5/6] ARM: shmobile: lager: Set clock rates for SDHI

2015-06-29 Thread Ben Hutchings
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

Re: [PATCH v3 5/6] ARM: shmobile: lager: Set clock rates for SDHI

2015-06-29 Thread Ben Hutchings
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

Re: [PATCH v3 5/6] ARM: shmobile: lager: Set clock rates for SDHI

2015-06-29 Thread Ben Hutchings
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

Re: [PATCH v3 0/6] UHS-I support for sh_mobile_sdhi

2015-06-26 Thread Ben Hutchings
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

[PATCH v3 3/6] pinctrl: sh-pfc: r8a7790: Implement voltage switching for SDHI

2015-06-26 Thread Ben Hutchings
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

[PATCH v3 4/6] mmc: sh_mobile_sdhi: Add UHS-I mode support

2015-06-26 Thread 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

[PATCH v3 5/6] ARM: shmobile: lager: Set clock rates for SDHI

2015-06-26 Thread Ben Hutchings
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

[PATCH v3 2/6] pinctrl: sh-pfc: Implement pinconf power-source param for voltage switching

2015-06-26 Thread Ben Hutchings
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

[PATCH v3 6/6] ARM: shmobile: lager: Enable UHS-I SDR-50

2015-06-26 Thread 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 | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b

[PATCH v3 0/6] UHS-I support for sh_mobile_sdhi

2015-06-26 Thread Ben Hutchings
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

[PATCH v3 1/6] mmc: tmio: Add UHS-I mode support

2015-06-26 Thread Ben Hutchings
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

Re: [PATCH v2 0/6] UHS-I support for sh_mobile_sdhi

2015-06-14 Thread 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

Re: [PATCH v2 0/6] UHS-I support for sh_mobile_sdhi

2015-06-14 Thread 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

Re: [PATCH v2 3/6] pinctrl: sh-pfc: r8a7790: Add separate functions for SDHI 1.8V operation

2015-06-12 Thread Ben Hutchings
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

Re: [PATCH v2 0/6] UHS-I support for sh_mobile_sdhi

2015-06-11 Thread Ben Hutchings
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

Re: [PATCH v2 0/6] UHS-I support for sh_mobile_sdhi

2015-06-10 Thread Ben Hutchings
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

Re: [PATCH v2 5/6] ARM: shmobile: lager: Set clock rates for SDHI

2015-06-10 Thread Ben Hutchings
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 ---

[PATCH v2 0/6] UHS-I support for sh_mobile_sdhi

2015-06-09 Thread Ben Hutchings
: - 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

[PATCH v2 5/6] ARM: shmobile: lager: Set clock rates for SDHI

2015-06-09 Thread Ben Hutchings
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

[PATCH v2 4/6] mmc: sh_mobile_sdhi: Add UHS-I mode support

2015-06-09 Thread 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

[PATCH v2 3/6] pinctrl: sh-pfc: r8a7790: Add separate functions for SDHI 1.8V operation

2015-06-09 Thread Ben Hutchings
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

[PATCH v2 2/6] pinctrl: sh-pfc: Add set_mux operation to struct sh_pfc_function

2015-06-09 Thread Ben Hutchings
-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

[PATCH v2 1/6] mmc: tmio: Add UHS-I mode support

2015-06-09 Thread Ben Hutchings
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

[PATCH v2 6/6] ARM: shmobile: lager: Enable UHS-I SDR-50

2015-06-09 Thread 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

Re: [PATCH 5/6] ARM: shmobile: lager: Set sdhi and mmcif clock rates

2015-05-26 Thread Ben Hutchings
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

[PATCH 6/6] ARM: shmobile: lager: Enable UHS-I SDR-50

2015-05-16 Thread 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 --- 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

Re: [RFC PATCH 6/7] ARM: shmobile: r8a7790-lager.dts: Set sdhi and mmcif clock rates

2015-05-05 Thread Ben Hutchings
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

Re: [Linux-kernel] [RFC PATCH 5/7] mmc: sh_mobile_sdhi: Add UHS-I mode support

2015-05-05 Thread Ben Hutchings
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

[RFC PATCH 0/7] UHS-I support for sh_mobile_sdhi

2015-04-30 Thread Ben Hutchings
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

[RFC PATCH 7/7] ARM: shmobile: r8a7790-lager.dts: Assert UHS-I SDR-50 capability

2015-04-30 Thread Ben Hutchings
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

[RFC PATCH 4/7] ARM: shmobile: r8a7790: Add nodes for pfc SD voltage regulators

2015-04-30 Thread Ben Hutchings
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

[RFC PATCH 5/7] mmc: sh_mobile_sdhi: Add UHS-I mode support

2015-04-30 Thread Ben Hutchings
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

[PATCH mmc 4/4] MAINTAINERS: Update Ian Molton's address for tmio_mmc driver

2015-04-26 Thread Ben Hutchings
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

[PATCH mmc 2/4] mmc: TMIO: Fix I/O mapping leak on error using devm_ioremap()

2015-04-26 Thread Ben Hutchings
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

[PATCH mmc 1/4] mmc: TMIO: Ensure MFD cell is disabled on probe error path

2015-04-26 Thread Ben Hutchings
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

[PATCH mmc 0/4] Cleanup fixes for tmio_mmc

2015-04-26 Thread Ben Hutchings
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

[PATCH mmc 3/4] mmc: TMIO: Use devm_request_irq()

2015-04-26 Thread Ben Hutchings
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

Re: [Linux-kernel] [PATCH 12/13] mmc: atmel-mci: use endian agnostic IO

2015-03-19 Thread Ben Hutchings
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

Re: [PATCH 01/51] DMA-API: provide a helper to set both DMA and coherent DMA masks

2013-09-19 Thread Ben Hutchings
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

Re: [PATCH V2] MMC: core: cap MMC card timeouts at 2 seconds.

2012-05-28 Thread Ben Hutchings
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

Re: [PATCH] mmc: add module parameter to set whether cards are assumed removable

2009-11-22 Thread Ben Hutchings
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

Re: [PATCH] mmc: add module parameter to set whether cards are assumed removable

2009-11-16 Thread Ben Hutchings
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