Hi Magnus
On Wed, 3 Jul 2013, Magnus Damm wrote:
Hi Guennadi,
On Wed, Jun 26, 2013 at 11:40 PM, Guennadi Liakhovetski
g.liakhovet...@gmx.de wrote:
This patch adds Device Tree support for the three DMA controller instances
on r8a7740 in a DMA multiplexer node.
Signed-off-by: Guennadi
Hi Simon
On Thu, 27 Jun 2013, Simon Horman wrote:
On Wed, Jun 26, 2013 at 04:40:49PM +0200, Guennadi Liakhovetski wrote:
Recently shdma acquired DT support with a possibility to place multiple
compatible DMAC instances under a common DMA multiplexer DT node. This is
used to provide DMA
The MMCIF driver can use DMA for data transfer, add suitable
Device Tree bindings.
Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com
---
arch/arm/boot/dts/sh73a0-kzm9g-reference.dts |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts
.
Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com
Cc: Vinod Koul vinod.k...@intel.com
---
drivers/dma/sh/shdma-of.c |5 +++--
drivers/dma/sh/shdma.c| 16
include/linux/sh_dma.h|5 +
3 files changed, 24 insertions(+), 2 deletions(-)
diff --git
Add a Device Tree node for the DMA0 controller on sh73a0 and
auxdata to supply platform data to the driver. To enable the
DMA0 controller it also has to be taken out of reset.
Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com
---
arch/arm/boot/dts/sh73a0.dtsi | 36
Add DMA bindings to SDHI and MMCIF DT nodes on armadillo800eva-reference.
Since SDHI and MMCIF devices can use any of the 3 DMAC instances on
r8a7740, we point to the DMA multiplexer node instead of a specific DMAC
DT node.
Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com
This patch adds Device Tree support for the three DMA controller instances
on r8a7740 in a DMA multiplexer node.
Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com
---
arch/arm/boot/dts/r8a7740.dtsi | 62
arch/arm/mach-shmobile/setup
Add DMA channel slave IDs and configuration entries for the r8a7740
MMCIF controller.
Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com
---
arch/arm/mach-shmobile/include/mach/r8a7740.h |2 ++
arch/arm/mach-shmobile/setup-r8a7740.c| 10 ++
2 files
to not add this complexity to the driver and use a dummy DMA
multiplexer instead, patch 1 shall be dropped and patches 2 and 3 would
have to be reworked.
Cc: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com
Cc: Vinod Koul vinod.k...@intel.com
Guennadi Liakhovetski (7):
DMA: shdma: also
Add SDHI0, SDHI1 and MMCIF interfaces to armadillo800eva-reference. With
no pinctrl DT support we cannot use GPIO card-detection and regulator
switching.
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de
---
.../boot/dts/r8a7740-armadillo800eva-reference.dts | 21 +++-
arch
Hi Arnd
On Mon, 17 Jun 2013, Arnd Bergmann wrote:
On Thursday 06 June 2013, Guennadi Liakhovetski wrote:
+Required properties:
+- dmas:a list of [DMA controller phandle] [MID/RID value]
pairs
+- dma-names: a list of DMA channel names, one per dmas entry
Looks ok
Hi Arnd
Thanks for your comments
On Mon, 17 Jun 2013, Arnd Bergmann wrote:
On Thursday 06 June 2013, Guennadi Liakhovetski wrote:
Documentation/devicetree/bindings/dma/dma.txt | 44
+
drivers/dma/of-dma.c | 31 +
2
procedure.
Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com
---
v3: reimplementation without a common DMAC multiplexer support in
dmaengine core, the multiplexer is now SHDMA local.
Documentation/devicetree/bindings/dma/shdma.txt | 75 +
drivers/dma/sh
-by: Guennadi Liakhovetski g.liakhovet...@gmx.de
Acked-by: Magnus Damm d...@opensource.se
---
v2: rebased on top of the current tree, also added Acked-by from Magnus
.../interrupt-controller/renesas,intc-irqpin.txt |2 ++
drivers/irqchip/irq-renesas-intc-irqpin.c |7 +--
2
On Wed, 12 Jun 2013, Vinod Koul wrote:
On Wed, Jun 12, 2013 at 02:53:49PM +0530, Vinod Koul wrote:
On Thu, Jun 06, 2013 at 05:47:22PM +0200, Guennadi Liakhovetski wrote:
Next re-send of an earlier work. This series adds support for multiple
compatible DMAC instances, capable of serving
Hi
On Tue, 30 Apr 2013, Guennadi Liakhovetski wrote:
of_parse_phandle_with_args() and of_count_phandle_with_args() functions
are declared with their first parameter as const. However, their
respective stubs, used when CONFIG_OF isn't defined, don't have the const
modifier. This patch adds
.
Cc: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com
Guennadi Liakhovetski (4):
mmc: sh_mmcif: add support for Device Tree DMA bindings
mmc: sdhi/tmio: make DMA filter implementation specific
mmc: sdhi/tmio: switch to using dmaengine_slave_config()
mmc: sdhi/tmio: add DT DMA support
This removes the deprecated use of the .private member of struct dma_chan
and switches the sdhi / tmio mmc driver to using the
dmaengine_slave_config() channel configuration method.
Cc: Samuel Ortiz sa...@linux.intel.com
Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com
Acked
function can safely be provided by it. Move it into SDHI.
Cc: Samuel Ortiz sa...@linux.intel.com
Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com
Acked-by: Samuel Ortiz sa...@linux.intel.com
---
drivers/mmc/host/sh_mobile_sdhi.c |9 +
drivers/mmc/host/tmio_mmc_dma.c
Add support for initialising DMA from the Device Tree.
Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com
---
drivers/mmc/host/sh_mobile_sdhi.c | 14 +++---
drivers/mmc/host/tmio_mmc_dma.c | 19 ---
2 files changed, 19 insertions(+), 14 deletions
To use DMA in the Device Tree case the driver has to be modified
to use suitable API to obtain DMA channels.
Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com
---
drivers/mmc/host/sh_mmcif.c | 29 ++---
1 files changed, 18 insertions(+), 11 deletions
clutters the Device Tree. Instead we group such DMAC DT nodes
together under a common parent. Then slaves can just reference that parent
in their DMA bindings.
Cc: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com
Guennadi Liakhovetski (3):
OF: add a new phandle parsing function for grouped
#dma-cells number and use the same slave IDs.
Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com
---
Documentation/devicetree/bindings/dma/dma.txt | 44 +
drivers/dma/of-dma.c | 31 +
2 files changed, 67
procedure.
Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com
---
v2: merge DT binding documentation into the patch
Documentation/devicetree/bindings/dma/shdma.txt | 61 +++
drivers/dma/sh/shdma-base.c | 51 +--
drivers
On Wed, 29 May 2013, Wei Yongjun wrote:
Hi
On 05/29/2013 02:58 PM, Guennadi Liakhovetski wrote:
Hi
On Tue, 28 May 2013, Wei Yongjun wrote:
From: Wei Yongjun yongjun_...@trendmicro.com.cn
Fix to return a negative error code instead of 0 when we cannot get
IRQ source
-by: Guennadi Liakhovetski g.liakhovet...@gmx.de
---
These two patches simply split the earlier ARM: shmobile: irqpin: fix
handling of spurious interrupts in DT case patch into two parts.
Otherwise no change.
.../interrupt-controller/renesas,intc-irqpin.txt |2 ++
drivers/irqchip/irq
, spurious interrupts occur unmapped and thus cannot be handled properly.
This patch fixes this by mapping such interrupts as they occur.
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de
---
drivers/irqchip/irq-renesas-intc-irqpin.c |8
1 files changed, 8 insertions(+), 0
Hi Laurent
On Sat, 18 May 2013, Laurent Pinchart wrote:
Hi Guennadi,
On Friday 17 May 2013 14:26:48 Guennadi Liakhovetski wrote:
Hi Laurent
On Wed, 15 May 2013, Laurent Pinchart wrote:
Add GPIO controller nodes to the r8a7790 core device tree.
Signed-off-by: Laurent Pinchart
On Sat, 18 May 2013, Laurent Pinchart wrote:
Hi Guennadi,
On Saturday 18 May 2013 08:57:41 Guennadi Liakhovetski wrote:
On Sat, 18 May 2013, Laurent Pinchart wrote:
On Friday 17 May 2013 14:26:48 Guennadi Liakhovetski wrote:
On Wed, 15 May 2013, Laurent Pinchart wrote:
Add GPIO
)
gpio_chip-owner = THIS_MODULE;
gpio_chip-base = p-config.gpio_base;
gpio_chip-ngpio = p-config.number_of_pins;
+ gpio_chip-dev = pdev-dev;
irq_chip = p-irq_chip;
irq_chip-name = name;
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open
and there are
still some pieces missing, or you weren't aware of this?
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
___
devicetree-discuss mailing list
devicetree-discuss@lists.ozlabs.org
+ if (*num_maps)
+ return 0;
+
+ dev_err(dev, no mapping found in node %s\n, np-full_name);
+ ret = -EINVAL;
+
+done:
+ sh_pfc_dt_free_map(pctldev, *map, *num_maps);
+
+ return ret;
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
);
--
1.7.9.5
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
___
devicetree-discuss mailing list
devicetree-discuss@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/devicetree-discuss
#2, 3,... but WARN_ON(mmc_of_parse() 0); and continue for now.
In 3.12 we could then replace those warnings with real failures. But maybe
I'm just overcautious and we can just go ahead with your patches. You can
add my
Acked-by: Guennadi Liakhovetski g.liakhovet...@gmx.de
for patches 1-3
On Thu, 2 May 2013, Vinod Koul wrote:
On Tue, Apr 30, 2013 at 02:17:13PM +0200, Guennadi Liakhovetski wrote:
(added Russell to CC, sorry for not including initially)
Hi Vinod
On Tue, 30 Apr 2013, Vinod Koul wrote:
On Tue, Apr 30, 2013 at 09:11:19AM +0200, Guennadi Liakhovetski
#dma-cells number and use the same slave IDs.
Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com
---
Documentation/devicetree/bindings/dma/dma.txt | 44 +
drivers/dma/of-dma.c | 39 --
2 files changed, 73
shall add further DMA controller DT nodes under
the same DMA multiplexer DT node.
Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com
---
Applies on top of my earlier ARM: shmobile: r8a7740: add DT node for one
DMAC instance patch still under review.
.../boot/dts/r8a7740
is just a minor
clean up, can be applied independently.
Cc: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com
Guennadi Liakhovetski (4):
OF: add a new phandle parsing function for grouped nodes
dmaengine: add support for DMA multiplexer DT nodes
ARM: shmobile: move r8a7740 DMA
of_parse_phandle_with_args() and of_count_phandle_with_args() functions
are declared with their first parameter as const. However, their
respective stubs, used when CONFIG_OF isn't defined, don't have the const
modifier. This patch adds it to fix the mismatch.
Signed-off-by: Guennadi Liakhovetski
On Tue, 30 Apr 2013, Vinod Koul wrote:
On Fri, Apr 26, 2013 at 08:26:16AM +0200, Guennadi Liakhovetski wrote:
SHDMA uses only standard DMA Device Tree bindings. This patch adds
documentation, exactly describing the use of the bindings and providing
examples.
Signed-off-by: Guennadi
(added Russell to CC, sorry for not including initially)
Hi Vinod
On Tue, 30 Apr 2013, Vinod Koul wrote:
On Tue, Apr 30, 2013 at 09:11:19AM +0200, Guennadi Liakhovetski wrote:
Previously an issue has been discussed, arising on sh-/r-mobile ARM-based
systems. There we typically have
SHDMA uses only standard DMA Device Tree bindings. This patch adds
documentation, exactly describing the use of the bindings and providing
examples.
Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com
---
This patch adds the missing documentation to the patch series DMA: shdma
Hi all
On Tue, 2 Apr 2013, Guennadi Liakhovetski wrote:
On Tue, 2 Apr 2013, Arnd Bergmann wrote:
On Tuesday 02 April 2013, Guennadi Liakhovetski wrote:
Currently modular V4L2 build with enabled OF is broken dur to the
of_get_next_parent() function being unavailable to modules. Export
Hi Barry
On Wed, 10 Apr 2013, Barry Song wrote:
Hi Guennadia,
2012/9/27 Guennadi Liakhovetski g.liakhovet...@gmx.de:
Currently soc-camera doesn't work with independently registered I2C client
devices, it has to register them itself. This patch adds support for such
configurations
On Wed, 10 Apr 2013, Barry Song wrote:
Hi Guennadia,
There's a typo above.
Thanks!
2013/4/10 Guennadi Liakhovetski g.liakhovet...@gmx.de:
Hi Barry
On Wed, 10 Apr 2013, Barry Song wrote:
Hi Guennadia,
2012/9/27 Guennadi Liakhovetski g.liakhovet...@gmx.de:
Currently soc
On Wed, 10 Apr 2013, Barry Song wrote:
2013/4/10 Guennadi Liakhovetski g.liakhovet...@gmx.de:
On Wed, 10 Apr 2013, Barry Song wrote:
[snip]
This cannot work, because some I2C devices, e.g. sensors, need a clock
signal from the camera interface to probe. Before the bridge driver has
Most Renesas irqpin controllers have 4-bit sense fields, however, some
have different widths. This patch adds a DT binding to optionally
specify such non-standard values.
Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com
---
v3: move the code to a common location, where
On Mon, 8 Apr 2013, Laurent Pinchart wrote:
Hi Guennadi,
Thanks for the patch.
On Monday 08 April 2013 10:08:40 Guennadi Liakhovetski wrote:
Most Renesas irqpin controllers have 4-bit sense fields, however, some
have different widths. This patch adds a DT binding to optionally
On Mon, 8 Apr 2013, Laurent Pinchart wrote:
Hi Guennadi,
On Monday 08 April 2013 13:25:46 Guennadi Liakhovetski wrote:
On Mon, 8 Apr 2013, Laurent Pinchart wrote:
On Monday 08 April 2013 10:08:40 Guennadi Liakhovetski wrote:
Most Renesas irqpin controllers have 4-bit sense fields
Most Renesas irqpin controllers have 4-bit sense fields, however, some
have different widths. This patch adds a DT binding to optionally
specify such non-standard values.
Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com
---
v2: is no longer based on an earlier ARM: shmobile
Hi Simon
On Thu, 4 Apr 2013, Simon Horman wrote:
On Wed, Apr 03, 2013 at 11:18:57AM +0200, Guennadi Liakhovetski wrote:
Hi
This 2 patches add DT irqpin support on marzen-reference. Only
compile-tested due to the lack of hardware. The patches can go
independently via
Most Renesas irqpin controllers have 4-bit sense fields, however, some
have different widths. This patch adds a DT binding to optionally
specify such non-standard values.
Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com
---
.../interrupt-controller/renesas,intc-irqpin.txt
Add an irqpin interrupt controller DT node on marzen-reference.
Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com
---
arch/arm/boot/dts/r8a7779.dtsi | 17 +
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7779.dtsi b/arch
interrupts, no breakage will be caused.
Guennadi Liakhovetski (2):
irqchip: renesas-intc-irqpin: DT binding for sense bitfield width
ARM: shmobile: marzen-reference: add irqpin support in DT
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http
Currently modular V4L2 build with enabled OF is broken dur to the
of_get_next_parent() function being unavailable to modules. Export it to
fix the build.
Cc: Sylwester Nawrocki s.nawro...@samsung.com
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de
---
This is for 3.10
drivers
On Mon, 25 Mar 2013, Mark Brown wrote:
On Mon, Mar 25, 2013 at 02:12:21PM +0900, Jingoo Han wrote:
On Saturday, March 23, 2013 1:16 AM, Guennadi Liakhovetski wrote:
But, there is a typo in comment.
+ * At least one su2-auto-curr* must be specified iff
s/iff/if
Are you sure
This is just a split of the previous version of this patch(-set), no code
changes.
Guennadi Liakhovetski (3):
mfd: as3711: add OF support
regulator: as3711: add OF support
backlight: as3711: add OF support
Documentation/devicetree/bindings/mfd/as3711.txt | 73 +
drivers/mfd
Add support for configuring AS3711 backlight driver from DT.
Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com
Reviwed-by: Mark Brown broo...@opensource.wolfsonmicro.com
---
drivers/video/backlight/as3711_bl.c | 118 ++-
1 files changed, 117
Add Flat Device Tree support to the AS3711 MFD driver. This patch just
allows to bind the driver to I2C devices, instantiated from the DT.
DT support for AS3711 cell drivers will be added in separate drivers.
Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com
Reviwed-by: Mark
AS3711 regulator OF support only evaluates standard regulator DT
properties.
Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com
Reviwed-by: Mark Brown broo...@opensource.wolfsonmicro.com
---
drivers/regulator/as3711-regulator.c | 74 -
1 files
On Fri, 22 Mar 2013, Mark Brown wrote:
On Fri, Mar 22, 2013 at 05:15:48PM +0100, Guennadi Liakhovetski wrote:
AS3711 regulator OF support only evaluates standard regulator DT
properties.
It looks like this has no dependencies on the MFD patch, is that
correct?
Yes, that's correct
Hi all
On Sat, 2 Mar 2013, Mark Brown wrote:
On Mon, Feb 18, 2013 at 10:57:44AM +0100, Guennadi Liakhovetski wrote:
Add device-tree bindings to the AS3711 regulator and backlight drivers.
Reviwed-by: Mark Brown broo...@opensource.wolfsonmicro.com
This patch has been submitted more than
to get
it in on time for 3.10. Let me know if you'd like me to do the next couple
of rounds :) Or if you disagree with my comments and prefer your present
state.
On Fri, 8 Mar 2013, Sylwester Nawrocki wrote:
From: Guennadi Liakhovetski g.liakhovet...@gmx.de
Add a V4L2 OF parser
Add device-tree bindings to the AS3711 regulator and backlight drivers.
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de
---
v2:
1. remove a redundant of_device_is_available() check, this also eliminates
a compile breakage
2. add .of_node regulator configuration field
Hi Chris
On Mon, 18 Feb 2013, Chris Ball wrote:
Hi Guennadi,
On Fri, Feb 15 2013, Guennadi Liakhovetski wrote:
This is v4 of a patch-series, extending mmc subsystem device-tree usage
and adding more advanced DT capabilities to sh_mmcif and sh_mobile_sdhi /
tmio_mmc drivers. Changes
On Mon, 18 Feb 2013, Arnd Bergmann wrote:
On Monday 18 February 2013, Guennadi Liakhovetski wrote:
On Mon, 18 Feb 2013, Arnd Bergmann wrote:
Sorry, I'm not sure how best to describe it, and I don't have sufficient
information myself. In any case on a block-diagram of sh73a0 SDHI
Hi Sergei
On Sun, 17 Feb 2013, Sergei Shtylyov wrote:
Hello.
On 02/15/2013 06:14 PM, Guennadi Liakhovetski wrote:
Many MMC capability flags are platform-dependent and are traditionally set
in platform data. With DT often each such capability requires a special
binding. Add bindings
On Sun, 17 Feb 2013, Simon Horman wrote:
On Sun, Feb 17, 2013 at 04:52:16PM +0900, Simon Horman wrote:
On Sat, Feb 16, 2013 at 05:58:25PM +0100, Sascha Hauer wrote:
Hi Guennadi,
On Sat, Feb 16, 2013 at 04:21:16PM +0100, Guennadi Liakhovetski wrote:
MMC defines a number
Add device-tree bindings to the AS3711 regulator and backlight drivers.
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de
---
v2:
1. remove of_device_is_available() - it breaks compilation with CONFIG_OF
disabled and is redundant anyway - I2C devices are only registered for
available
Hi Arnd
On Mon, 18 Feb 2013, Arnd Bergmann wrote:
On Friday 15 February 2013, Guennadi Liakhovetski wrote:
Without barriers SDIO operations fail with runtime PM enabled.
I don't understand how the changeset comment relates to the patch.
diff --git a/drivers/mmc/host/tmio_mmc.h b
On Mon, 18 Feb 2013, Arnd Bergmann wrote:
On Monday 18 February 2013, Guennadi Liakhovetski wrote:
Also, should the barrier not be after the MMIO read, rather than before
it?
Typically the barrier should ensure that any read from memory after an
MMIO read reflects the memory
Guennadi
There was some discussion about removing uninitialized_var() recently after it
was found to hide some real bugs.
Arnd
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
___
devicetree
into mmc_alloc_host().
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de
---
v5:
1. fix an uninitialised variable warning. Note, I don't actually know,
whether this will fix the error, reported by the kbuild test robot. None
of my compilers reports an error there, at most, I've got a warning
Add device-tree bindings to the AS3711 regulator and backlight drivers.
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de
---
As usual - comments to the new bindings are very welcome!
Documentation/devicetree/bindings/mfd/as3711.txt | 73 +
drivers/mfd/as3711.c
This adds support for the framebuffer and an AS3711 PMIC, used for supplying
power to the CPU, some peripherals and the backlight.
not-Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de
---
As is clear from the not-Sob line and the RFC in the subject, this is not
for mainline
Clarify ways to specify write-protect and card-detect MMC lines in FDT.
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de
---
v4: remove Linux-specific references.
Documentation/devicetree/bindings/mmc/mmc.txt | 23 +--
1 files changed, 21 insertions(+), 2
tmio-mmc platform flags can be set by various means, including caller
drivers and device-tree bindings, therefore it is better to only check
them in the tmio-mmc driver proper, not in caller drivers themselves.
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de
---
drivers/mmc/host
Define device-tree bindings for the tmio-mmc driver to be able to specify
parameters, currently provided in platform data.
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de
---
v4: remove the toshiba,mmc-blksz-2bytes property, it can be set directly
by the sh_mobile_sdhi driver, use
Without barriers SDIO operations fail with runtime PM enabled.
Reviewed-by: Paul Mundt let...@linux-sh.org
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de
---
drivers/mmc/host/tmio_mmc.h | 18 ++
1 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/drivers
This is v4 of a patch-series, extending mmc subsystem device-tree usage
and adding more advanced DT capabilities to sh_mmcif and sh_mobile_sdhi /
tmio_mmc drivers. Changes since v3 are described in respective patches.
Thanks to all who commented on v3.
Guennadi Liakhovetski (13):
mmc: sdhi
The struct sh_mobile_sdhi_info::pdata field was only used for platform-
based card detection and isn't used anymore since the migration to GPIO-
based MMC slot functions. Remove it.
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de
---
drivers/mmc/host/sh_mobile_sdhi.c |4
Use mmc_of_parse() to get interface capability flags and used GPIOs from
device-tree bindings.
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de
---
drivers/mmc/host/sh_mmcif.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/mmc/host/sh_mmcif.c b
Add parsing of common and driver-specific DT bindings to the tmio-mmc
MMC host driver and the sh_mobile_sdhi interface layer.
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de
---
v4: add compatible string parsing to sh_mobile_sdhi, remove
toshiba,mmc-blksz-2bytes and toshiba,mmc-has
The extern keyword isn't required in function declarations, remove it.
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de
---
include/linux/mmc/host.h | 22 +++---
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/include/linux/mmc/host.h b/include/linux
is to
turn Vcc first on and last off.
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de
---
drivers/mmc/host/tmio_mmc_pio.c | 56 ---
1 files changed, 46 insertions(+), 10 deletions(-)
diff --git a/drivers/mmc/host/tmio_mmc_pio.c b/drivers/mmc/host
Use managed allocations to get memory, clock and interrupts . This
significantly simplifies clean up paths.
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de
---
drivers/mmc/host/sh_mobile_sdhi.c | 57 +
1 files changed, 14 insertions(+), 43
parser to look up keep-power-in-suspend and enable-sdio-wakeup
bindings and set MMC_PM_KEEP_POWER and MMC_PM_WAKE_SDIO_IRQ respectively,
if found.
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de
---
Documentation/devicetree/bindings/mmc/mmc.txt |4
drivers/mmc/core/host.c
The tmio_mmc_cd_wakeup() inline function has been deprecated since 3.4 and
is unused since 3.4 too. Remove them.
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de
---
include/linux/mfd/tmio.h | 18 --
1 files changed, 0 insertions(+), 18 deletions(-)
diff --git
into mmc_alloc_host().
Cc: Markus Pargmann m...@pengutronix.de
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de
---
v4: make the bus-width property optional to match a recent change to
mmc.txt, use of_property_read_bool() to obtain a boolean value of a DT
property, add comments.
drivers/mmc/core
On Thu, 7 Feb 2013, Simon Horman wrote:
On Wed, Feb 06, 2013 at 10:24:20PM +, Arnd Bergmann wrote:
On Wednesday 06 February 2013, Guennadi Liakhovetski wrote:
+* Toshiba Mobile IO SD/MMC controller
+
+The tmio-mmc driver doesn't probe its devices actively, instead its
binding
Hi Mark
On Wed, 6 Feb 2013, Mark Rutland wrote:
Hi,
On Wed, Jan 23, 2013 at 04:45:11PM +, Guennadi Liakhovetski wrote:
Many MMC capability flags are platform-dependent and are traditionally set
in platform data. With DT often each such capability requires a special
binding. Add
On Thu, 7 Feb 2013, Arnd Bergmann wrote:
On Wednesday 06 February 2013 17:25:42 Guennadi Liakhovetski wrote:
Thank for pointing me out at that thread. However, I don't think
MMC_CAP_POWER_OFF_CARD has anything to do with compatibility or hardware
revisions. At least I haven't yet come
Define device-tree bindings for the tmio-mmc driver to be able to specify
parameters, currently provided in platform data.
Cc: Arnd Bergmann a...@arndb.de
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de
---
v3: make the property to set TMIO_MMC_SDIO_IRQ global
Documentation
tmio-mmc platform flags can be set by various means, including caller
drivers and device-tree bindings, therefore it is better to only check
them in the tmio-mmc driver proper, not in caller drivers themselves.
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de
---
drivers/mmc/host
Use mmc_of_parse() to get interface capability flags and used GPIOs from
device-tree bindings.
Cc: Arnd Bergmann a...@arndb.de
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de
---
v3: updated on top of mmc: sh_mmcif: Avoid unnecessary mmc_delay() at
mmc_card_sleepawake()
drivers
Use managed allocations to get memory, clock and interrupts . This
significantly simplifies clean up paths.
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de
---
drivers/mmc/host/sh_mobile_sdhi.c | 57 +
1 files changed, 14 insertions(+), 43
Clarify ways to specify write-protect and card-detect MMC lines in FDT.
Cc: Arnd Bergmann a...@arndb.de
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de
---
v3: {wp,cd}-inverted properties can now be used together with GPIO
binding flags. A detailed explanation added
Without barriers SDIO operations fail with runtime PM enabled.
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de
Cc: Paul Mundt let...@linux-sh.org
---
v3: use iowrite16_rep() and ioread16_rep() for consistency.
drivers/mmc/host/tmio_mmc.h | 18 ++
1 files changed
into mmc_alloc_host().
Cc: Arnd Bergmann a...@arndb.de
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de
---
v3: updated to match v3 of mmc.txt disambiguation in patch 02/13.
drivers/mmc/core/host.c | 90 ++
include/linux/mmc/host.h |1 +
2 files
This is v3 of my mmc DT patchset with several patches updated and two
patches, previously sent separately, now integrated into the series.
Guennadi Liakhovetski (13):
mmc: sdhi, tmio: only check flags in tmio-mmc driver proper
mmc: detailed definition of CD and WP MMC line polarities in DT
1 - 100 of 212 matches
Mail list logo