Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-07-21 Thread Sascha Hauer
On Sat, Jul 20, 2013 at 07:59:10PM -0700, Greg KH wrote: > On Sat, Jul 20, 2013 at 10:32:26PM -0400, Alan Stern wrote: > > On Sat, 20 Jul 2013, Greg KH wrote: > > > > > > >>That should be passed using platform data. > > > > > > > > > >Ick, don't pass strings around, pass pointers. If you have pla

Re: [PATCH v1 05/24] clk: wrap I/O access for improved portability

2013-07-18 Thread Sascha Hauer
On Thu, Jul 18, 2013 at 09:04:02AM +0200, Gerhard Sittig wrote: > On Mon, Jul 15, 2013 at 21:38 +0200, Sascha Hauer wrote: > > > > On Mon, Jul 15, 2013 at 08:47:34PM +0200, Gerhard Sittig wrote: > > > diff --git a/drivers/clk/clk-divider.c b/drivers/clk/clk-divider.c >

Re: [PATCH v1 15/24] serial: mpc512x: OF clock lookup, use the 'mclk' name

2013-07-15 Thread Sascha Hauer
On Mon, Jul 15, 2013 at 11:46:01PM +0200, Gerhard Sittig wrote: > with device tree based clock lookup, the MCLK name no longer > depends on the PSC index > > Signed-off-by: Gerhard Sittig > --- > drivers/tty/serial/mpc52xx_uart.c |8 ++-- > 1 file changed, 2 insertions(+), 6 deletions(-)

Re: DT binding review for Armada display subsystem

2013-07-15 Thread Sascha Hauer
On Mon, Jul 15, 2013 at 02:23:30PM -0600, Daniel Drake wrote: > On Fri, Jul 12, 2013 at 10:44 AM, Daniel Drake wrote: > > Based on the outcomes of the "Best practice device tree design for display > > subsystems" discussion I have drafted a DT binding. Comments much > > appreciated. > > > > At a

Re: [PATCH v1 05/24] clk: wrap I/O access for improved portability

2013-07-15 Thread Sascha Hauer
On Mon, Jul 15, 2013 at 08:47:34PM +0200, Gerhard Sittig wrote: > diff --git a/drivers/clk/clk-divider.c b/drivers/clk/clk-divider.c > index 6d55eb2..2c07061 100644 > --- a/drivers/clk/clk-divider.c > +++ b/drivers/clk/clk-divider.c > @@ -104,7 +104,7 @@ static unsigned long clk_divider_recalc_rate

Re: [PATCH] of: match the compatible in the order set by the dts file

2013-07-09 Thread Sascha Hauer
On Tue, Jul 09, 2013 at 03:46:34PM +0800, Huang Shijie wrote: > 于 2013年07月09日 15:05, Sascha Hauer 写道: > >Why don't you set the matching order in the driver the way you want it > >to be, i.e.: > > > > { .compatible = "fsl,imx6q-uart", ...

Re: [PATCH] of: match the compatible in the order set by the dts file

2013-07-09 Thread Sascha Hauer
On Fri, Jul 05, 2013 at 04:43:38PM +0800, Huang Shijie wrote: > If we set the uart compatible in the dts file like this: >-- > compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; >-- >

Re: Best practice device tree design for display subsystems/DRM

2013-07-05 Thread Sascha Hauer
On Thu, Jul 04, 2013 at 12:58:29PM +0200, Sebastian Hesselbarth wrote: > On 07/04/13 12:09, Sascha Hauer wrote: > >On Thu, Jul 04, 2013 at 11:44:41AM +0200, Sebastian Hesselbarth wrote: > >>On 07/04/13 11:30, Sascha Hauer wrote: > >>>On Thu, Jul 04, 2013 at 10:11:

Re: Best practice device tree design for display subsystems/DRM

2013-07-04 Thread Sascha Hauer
On Thu, Jul 04, 2013 at 11:44:41AM +0200, Sebastian Hesselbarth wrote: > On 07/04/13 11:30, Sascha Hauer wrote: > >On Thu, Jul 04, 2013 at 10:11:31AM +0100, Russell King wrote: > >>On Thu, Jul 04, 2013 at 10:58:17AM +0200, Sascha Hauer wrote: > >>>On Thu, Jul 04, 201

Re: Best practice device tree design for display subsystems/DRM

2013-07-04 Thread Sascha Hauer
On Thu, Jul 04, 2013 at 11:40:17AM +0200, Sebastian Hesselbarth wrote: > On 07/04/13 11:23, Sascha Hauer wrote: > > > >With this you can describe the whole graph of devices you have in the > >devicetree. The examples in this file have a path from a camera sensor > &g

Re: Best practice device tree design for display subsystems/DRM

2013-07-04 Thread Sascha Hauer
On Thu, Jul 04, 2013 at 10:08:29AM +0100, Russell King wrote: > On Thu, Jul 04, 2013 at 10:33:07AM +0200, Sascha Hauer wrote: > > A componentized device never completes and it doesn't have to. A > > componentized device can start once there is a path from an input > > (cr

Re: Best practice device tree design for display subsystems/DRM

2013-07-04 Thread Sascha Hauer
On Thu, Jul 04, 2013 at 10:11:31AM +0100, Russell King wrote: > On Thu, Jul 04, 2013 at 10:58:17AM +0200, Sascha Hauer wrote: > > On Thu, Jul 04, 2013 at 09:40:52AM +0100, Russell King wrote: > > > Wrong. Please read the example with the diagrams I gave. Consider > > &g

Re: Best practice device tree design for display subsystems/DRM

2013-07-04 Thread Sascha Hauer
On Thu, Jul 04, 2013 at 11:10:35AM +0200, Sebastian Hesselbarth wrote: > On 07/04/13 10:53, Sascha Hauer wrote: > >On Thu, Jul 04, 2013 at 10:45:40AM +0200, Sebastian Hesselbarth wrote: > >>On 07/04/13 10:33, Sascha Hauer wrote: > >>> > >>>A componentized

Re: Best practice device tree design for display subsystems/DRM

2013-07-04 Thread Sascha Hauer
On Thu, Jul 04, 2013 at 09:40:52AM +0100, Russell King wrote: > On Thu, Jul 04, 2013 at 10:33:07AM +0200, Sascha Hauer wrote: > > On Wed, Jul 03, 2013 at 10:52:49AM +0100, Russell King wrote: > > > > > Sorry but I'd like to say that this cannot be used commo

Re: Best practice device tree design for display subsystems/DRM

2013-07-04 Thread Sascha Hauer
On Thu, Jul 04, 2013 at 10:45:40AM +0200, Sebastian Hesselbarth wrote: > On 07/04/13 10:33, Sascha Hauer wrote: > > > >A componentized device never completes and it doesn't have to. A > >componentized device can start once there is a path from an input > >(crtc, i

Re: Best practice device tree design for display subsystems/DRM

2013-07-04 Thread Sascha Hauer
On Wed, Jul 03, 2013 at 10:52:49AM +0100, Russell King wrote: > > > Sorry but I'd like to say that this cannot be used commonly. Shouldn't you > > > really consider Linux framebuffer or other subsystems? The above dtsi file > > > is specific to DRM subsystem. And I think the dtsi file has no any >

Re: Best practice device tree design for display subsystems/DRM

2013-07-03 Thread Sascha Hauer
On Wed, Jul 03, 2013 at 10:52:49AM +0100, Russell King wrote: > On Wed, Jul 03, 2013 at 11:02:42AM +0200, Sascha Hauer wrote: > > > > +1 for not encoding the projected usecase of the graphics subsystem into > > the devicetree. Whether the two LCD controllers shall be

Re: Best practice device tree design for display subsystems/DRM

2013-07-03 Thread Sascha Hauer
On Wed, Jul 03, 2013 at 05:57:18PM +0900, Inki Dae wrote: > > video { > > /* Single video card w/ multiple lcd controllers */ > > card0 { > > compatible = "marvell,armada-510-display"; > > reg = <0 0x3f00 0x100>; /* video-mem hole */ > > /* later:

Re: Best practice device tree design for display subsystems/DRM

2013-07-03 Thread Sascha Hauer
On Tue, Jul 02, 2013 at 11:14:45PM +0100, Russell King wrote: > On Wed, Jul 03, 2013 at 08:02:05AM +1000, Dave Airlie wrote: > > Have you also considered how suspend/resume works in such a place, > > where every driver is independent? The ChromeOS guys have bitched > > before about the exynos drive

Re: Best practice device tree design for display subsystems/DRM

2013-07-02 Thread Sascha Hauer
On Wed, Jul 03, 2013 at 08:02:05AM +1000, Dave Airlie wrote: > On Wed, Jul 3, 2013 at 7:50 AM, Sascha Hauer wrote: > > On Tue, Jul 02, 2013 at 09:25:48PM +0100, Russell King wrote: > >> On Tue, Jul 02, 2013 at 09:57:32PM +0200, Sebastian Hesselbarth wrote: > >> > I

Re: Best practice device tree design for display subsystems/DRM

2013-07-02 Thread Sascha Hauer
On Tue, Jul 02, 2013 at 09:25:48PM +0100, Russell King wrote: > On Tue, Jul 02, 2013 at 09:57:32PM +0200, Sebastian Hesselbarth wrote: > > I am against a super node which contains lcd and dcon/ire nodes. You can > > enable those devices on a per board basis. We add them to dove.dtsi but > > disable

Re: [PATCH 3/4] PCI: Add driver for i.MX6 PCI Express

2013-07-02 Thread Sascha Hauer
On Mon, Jul 01, 2013 at 07:15:46AM +, Sean Cross wrote: > This adds a PCI Express port driver for the on-chip PCI Express port > present on the i.MX6 SoC. It is based on the PCI Express driver available > in the Freescale BSP. > > Signed-off-by: Sean Cross > --- > .../devicetree/bindings/pc

Re: [PATCH v3 0/5] ARM: dts: imx27 Phytec phyCARD-S

2013-06-29 Thread Sascha Hauer
On Fri, Jun 28, 2013 at 04:50:32PM +0200, Markus Pargmann wrote: > Hi, > > This series adds some device nodes for imx27 and board files for Phytec > phyCARD-S SOM and RDK. It is based on shawn's branch "imx/dt". Looks good to me. Acked-by: Sascha Hauer

Re: [PATCH 6/7] usb: chipidea: udc: add force-full-speed option

2013-06-01 Thread Sascha Hauer
On Sat, Jun 01, 2013 at 10:19:32AM +0200, Michael Grzeschik wrote: > On Sat, Jun 01, 2013 at 09:39:33AM +0200, Sascha Hauer wrote: > > On Fri, May 31, 2013 at 08:38:48PM +0200, Michael Grzeschik wrote: > > > From: Michael Grzeschik > > > > > > This patch makes

Re: [PATCH 6/7] usb: chipidea: udc: add force-full-speed option

2013-06-01 Thread Sascha Hauer
On Fri, May 31, 2013 at 08:38:48PM +0200, Michael Grzeschik wrote: > From: Michael Grzeschik > > This patch makes it possible to set the chipidea udc > into full-speed only mode. It can be set by the oftree > property "force-full-speed". [...] > +/* force full-speed operation */ > +static bool

Re: [PATCH v4 1/6] drivers: bus: add a new driver for WEIM

2013-05-27 Thread Sascha Hauer
atch also adds the devicetree binding document. > The driver only works when the devicetree is enabled. > > Signed-off-by: Huang Shijie Looks good to me now. Thanks for working on this. Acked-by: Sascha Hauer Sascha -- Pengutronix e.K. |

Re: [PATCH v6] video: imxfb: Add DT support

2013-05-27 Thread Sascha Hauer
n-Christophe PLAGNIOL-VILLARD Acked-by: Sascha Hauer Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| Amtsge

Re: [PATCH] media: i2c: mt9p031: add OF support

2013-05-27 Thread Sascha Hauer
nt Pinchart > Cc: Mauro Carvalho Chehab > Cc: Guennadi Liakhovetski > Cc: Sylwester Nawrocki > Cc: Sakari Ailus > Cc: Grant Likely > Cc: Sascha Hauer > Cc: Rob Herring > Cc: Rob Landley > Cc: Arnd Bergmann > Cc: devicetree-discuss@lists.ozlabs.org > Cc: d

Re: [PATCH v7 1/2] dma: imx-dma: Add oftree support

2013-05-27 Thread Sascha Hauer
s Pargmann > Reviewed-by: Arnd Bergmann > Reviewed-by: Shawn Guo I haven't followed the DMA bindings discussion closely, so I can't say much to this, but from my POV: Acked-by: Sascha Hauer Sascha -- Pengutronix e.K. |

Re: [PATCH v3 6/6] ARM: dts: imx6qdl: enable the WEIM NOR

2013-05-27 Thread Sascha Hauer
In the subject: s/imx6qdl/imx6qdl-sabreauto/ Sascha On Fri, May 24, 2013 at 05:59:24PM +0800, Huang Shijie wrote: > Enable the WEIM NOR for imx6q{dl} boards. > > For the pin conflict with SPI NOR, its status is set to "disabled". > > Signed-off-by: Huang Shijie > --- > arch/arm/boot/dts/imx6q

Re: [PATCH v3 1/6] drivers: bus: add a new driver for WEIM

2013-05-27 Thread Sascha Hauer
On Fri, May 24, 2013 at 05:59:19PM +0800, Huang Shijie wrote: > The WEIM(Wireless External Interface Module) works like a bus. > You can attach many different devices on it, such as NOR, onenand. > > In the case of i.MX6q-sabreauto, the NOR is connected to WEIM. > > This patch also adds the devic

Re: [PATCH V2 1/6] drivers: bus: add a new driver for WEIM

2013-05-24 Thread Sascha Hauer
On Fri, May 24, 2013 at 03:16:53PM +0800, Huang Shijie wrote: > 于 2013年05月23日 21:09, Arnd Bergmann 写道: > >OTOH, I agree that it would be nicer if the clk could remain turned > >off as long as no children are active. Can we do a clk_disable() > >after setting up the timings for the children and then

Re: [PATCH V2 1/6] drivers: bus: add a new driver for WEIM

2013-05-23 Thread Sascha Hauer
On Thu, May 23, 2013 at 11:53:37AM +0200, Arnd Bergmann wrote: > On Thursday 23 May 2013, Huang Shijie wrote: > > 于 2013年05月23日 17:23, Sascha Hauer 写道: > > > On Thu, May 23, 2013 at 04:16:13PM +0800, Huang Shijie wrote: > > >> + 0 > >

Re: [PATCH V2 1/6] drivers: bus: add a new driver for WEIM

2013-05-23 Thread Sascha Hauer
On Thu, May 23, 2013 at 04:16:13PM +0800, Huang Shijie wrote: > The WEIM(Wireless External Interface Module) works like a bus. > You can attach many different devices on it, such as NOR, onenand. > > In the case of i.MX6q-sabreauto, the NOR is connected to WEIM. > > This patch also adds the devic

Re: [PATCH v3] net: dm9000: Allow instantiation using device tree

2013-05-20 Thread Sascha Hauer
On Mon, May 20, 2013 at 09:16:58PM +0200, Tomasz Figa wrote: > This patch adds Device Tree support to dm9000 driver. > > Signed-off-by: Tomasz Figa Looks good for me aswell, thanks. Reviewed-by: Sascha Hauer Sascha -- Pengut

Re: [PATCH 1/6] drivers: bus: add a new driver for WEIM

2013-05-20 Thread Sascha Hauer
On Mon, May 20, 2013 at 04:48:57PM +0800, Huang Shijie wrote: > The WEIM(Wireless External Interface Module) works like a bus. > You can attach many different devices on it, such as NOR, onenand. > > In the case of i.MX6q-sabreauto, the NOR is connected to WEIM. > > This patch also adds the devic

Re: [PATCH] net: dm9000: Allow instantiation using device tree

2013-05-19 Thread Sascha Hauer
On Sun, May 19, 2013 at 10:54:53AM +0200, Tomasz Figa wrote: > Hi Sascha, > > On Sunday 19 of May 2013 09:05:38 Sascha Hauer wrote: > > Hi Tomasz, > > > > On Sun, May 19, 2013 at 01:03:14AM +0200, Tomasz Figa wrote: > > > This patch adds Device Tree support t

Re: [PATCH] net: dm9000: Allow instantiation using device tree

2013-05-19 Thread Sascha Hauer
Hi Tomasz, On Sun, May 19, 2013 at 01:03:14AM +0200, Tomasz Figa wrote: > This patch adds Device Tree support to dm9000 driver. > > Signed-off-by: Tomasz Figa > --- > .../devicetree/bindings/net/davicom-dm9000.txt | 27 ++ > .../devicetree/bindings/vendor-prefixes.txt| 1 +

Re: [PATCH RFC v3] media: i2c: mt9p031: add OF support

2013-05-13 Thread Sascha Hauer
On Tue, May 14, 2013 at 12:59:27AM +0200, Laurent Pinchart wrote: > Hi Sascha, > > On Monday 13 May 2013 12:46:04 Sascha Hauer wrote: > > On Wed, May 08, 2013 at 12:37:29PM +0200, Laurent Pinchart wrote: > > > Hi Prabhakar, > > > > > > On Wednesda

Re: [PATCH RFC v3] media: i2c: mt9p031: add OF support

2013-05-13 Thread Sascha Hauer
On Wed, May 08, 2013 at 12:37:29PM +0200, Laurent Pinchart wrote: > Hi Prabhakar, > > On Wednesday 08 May 2013 10:19:57 Prabhakar Lad wrote: > > On Wed, May 8, 2013 at 7:32 AM, Laurent Pinchart wrote: > > > On Tuesday 07 May 2013 15:10:36 Prabhakar Lad wrote: > > >> On Mon, May 6, 2013 at 8:29 PM,

Re: [PATCH] i2c: core: make it possible to match a pure device tree driver

2013-05-13 Thread Sascha Hauer
Hi Linus, On Mon, May 13, 2013 at 12:26:23AM +0200, Linus Walleij wrote: > Cc: Rob Herring > Cc: Grant Likely > Signed-off-by: Linus Walleij > --- > I would need some device tree core people to confirm that I am > on the right track with this. I was s confused when I found > that .of_match_

Re: [PATCH] ARM: dts: Correct the base address of pinctrl_3

2013-05-06 Thread Sascha Hauer
Hi, On Tue, May 07, 2013 at 09:07:33AM +0530, Padmavathi Venna wrote: > This patch corrects the base address of pinctrl_3 on Exynos5250 > platform. Exynos5250 should be part of the subject so that other people can know whether this patch is interesting for them or not. Sascha -- Pengutronix e.

Re: [PATCH RFC v2] media: i2c: mt9p031: add OF support

2013-05-01 Thread Sascha Hauer
nt Pinchart > Cc: Mauro Carvalho Chehab > Cc: Guennadi Liakhovetski > Cc: Sylwester Nawrocki > Cc: Sakari Ailus > Cc: Grant Likely > Cc: Sascha Hauer > Cc: Rob Herring > Cc: Rob Landley > Cc: devicetree-discuss@lists.ozlabs.org > Cc: davinci-linux-open-sou...@lin

Re: [PATCH RFC] media: i2c: mt9p031: add OF support

2013-04-29 Thread Sascha Hauer
Hi, One more point for your devicetree conversions, On Mon, Apr 29, 2013 at 01:30:01PM +0530, Prabhakar Lad wrote: > From: Lad, Prabhakar > > add OF support for the mt9p031 sensor driver. > > +static struct mt9p031_platform_data > + *mt9p031_get_pdata(struct i2c_client *client) > + > +{ >

Re: [PATCH RFC] media: i2c: mt9p031: add OF support

2013-04-29 Thread Sascha Hauer
On Mon, Apr 29, 2013 at 01:30:01PM +0530, Prabhakar Lad wrote: > From: Lad, Prabhakar > > add OF support for the mt9p031 sensor driver. > > Signed-off-by: Lad, Prabhakar > Cc: Hans Verkuil > Cc: Laurent Pinchart > Cc: Mauro Carvalho Chehab > Cc: Guennadi Liakhovetski > Cc: Sylwester Nawrock

Re: [PATCH v5 01/10] ASoC: phycore-ac97: Add DT support

2013-04-24 Thread Sascha Hauer
Hi Markus, On Wed, Apr 24, 2013 at 04:36:30PM +0200, Markus Pargmann wrote: > Add devicetree support for this audio soc fabric driver. > > @@ -32,8 +35,12 @@ static struct snd_soc_dai_link imx_phycore_dai_ac97[] = { > .stream_name= "HiFi", > .codec_dai_name

Re: [net-next PATCH 0/3] Adding phy register fixup in DT

2013-04-23 Thread Sascha Hauer
On Mon, Apr 22, 2013 at 11:50:35PM +0530, Mugunthan V N wrote: > In earlier days phy fixup was added to phy frame work in board files. > As there won't be any board files here after the same has to be done in DT > This patch series adds the following features > * support for adding phy resigter fix

Re: Call for testing: device nodes as kobjects

2013-04-17 Thread Sascha Hauer
/linux devicetree/experimental I gave it a quick test on i.MX53 (qsb) and i.MX27 (phycore i.MX27). Both seem to work just normally. I also made a diff -urN /proc/device-tree /sys/firmware/ofw/device-tree with CONFIG_PROC_DEVICETREE enabled (so no symlink). Indeed both trees are identi

Re: [PATCH v3 2/2] video: imxfb: Add DT support

2013-04-15 Thread Sascha Hauer
On Mon, Apr 15, 2013 at 03:13:16PM +0200, Eric Bénard wrote: > Hi, > > > I didn't follow the thread but dmacr is not specific to our boards : > $ grep -rn dmacr arch/arm/mach-imx/ > arch/arm/mach-imx/mach-mx27_3ds.c:446:.dmacr = 0x00020010, > arch/arm/mach-imx/mach-mx21ads.c:231:

[PATCH] staging: drm/imx: update TODO file

2013-04-11 Thread Sascha Hauer
One of the main things to do to the driver is to support the common display famework (CDF) to hit mainline. As this will make some changes to the devicetree bindings necessary it makes sense to do it before we move out of staging. Signed-off-by: Sascha Hauer --- drivers/staging/imx-drm/TODO | 3

Re: [RFC PATCH] CLK: Allow parent clock and rate to be configured in DT.

2013-04-08 Thread Sascha Hauer
On Mon, Apr 08, 2013 at 11:35:29AM +0200, Martin Fuzzey wrote: > On 07/04/13 15:26, Sascha Hauer wrote: > > > >Honestly I'm annoyed by this aswell. The devicetree contains a nice and > >complete hardware description and it seems convenient to put hardware > >related

Re: [RFC PATCH] CLK: Allow parent clock and rate to be configured in DT.

2013-04-07 Thread Sascha Hauer
On Sat, Apr 06, 2013 at 03:21:19PM +0200, Tomasz Figa wrote: > Hi, > > [RANT] > > I tend to disagree about this whole hype about device tree usage for other > things than pure hardware description. I don't think device tree should be > a way to force some kind of new world order, but rather a

Re: [PATCH v2 4/5] mmc: mxcmmc: enable DMA support on mpc512x

2013-04-02 Thread Sascha Hauer
On Tue, Apr 02, 2013 at 09:29:44AM +0200, Anatolij Gustschin wrote: > On Tue, 2 Apr 2013 08:56:54 +0200 > Sascha Hauer wrote: > ... > > > @@ -336,6 +359,8 @@ static int mxcmci_setup_data(struct mxcmci_host > > > *host, struct mmc_data *data) > > > }

Re: [PATCH v2 0/5] mmc: mxcmmc: add mpc512x support

2013-04-02 Thread Sascha Hauer
based on the following v3 mxcmmc DT > support patch: > >https://patchwork.kernel.org/patch/2368631 > > Changes in v2 series are mentioned in each patch With the two comments I made fixed you can add my: Acked-by: Sascha Hauer

Re: [PATCH v2 5/5] mmc: mxcmmc: fix race conditions for host->req and host->data access

2013-04-01 Thread Sascha Hauer
On Mon, Apr 01, 2013 at 12:23:05AM +0200, Anatolij Gustschin wrote: > mxcmci_dma_callback() is invoked by DMA drivers in soft-irq > context and can be interrupted by the mxcmci_irq() interrupt > which can finish the mmc request or data transfer and set > host->req or host->data pointers to NULL. Th

Re: [PATCH v2 4/5] mmc: mxcmmc: enable DMA support on mpc512x

2013-04-01 Thread Sascha Hauer
On Mon, Apr 01, 2013 at 12:23:04AM +0200, Anatolij Gustschin wrote: > Add SDHC DMA channel description to the mpc512x device > tree to enable slave channel requesting in the mxcmmc > driver. > > mpc512x DMA engine doesn't support endianness conversion > when reading/writing data from peripheral's

Re: [RFC PATCH] CLK: Allow parent clock and rate to be configured in DT.

2013-03-27 Thread Sascha Hauer
On Tue, Mar 26, 2013 at 12:12:22PM +0100, Martin Fuzzey wrote: > On 25/03/13 14:29, Sascha Hauer wrote: > >Put it differently. OpenBSD might have much better clock support. > >Imagine it can dynamically figure out the correct esdhc > >frequencies for different usecase

Re: [RFC PATCH] CLK: Allow parent clock and rate to be configured in DT.

2013-03-25 Thread Sascha Hauer
On Mon, Mar 25, 2013 at 12:07:51PM +0100, Martin Fuzzey wrote: > Hi Sascha, > > thanks for the comments. > > [corrected Mike's email address - I originally sent it to the old one] > > On 25/03/13 11:17, Sascha Hauer wrote: > >On Tue, Mar 19, 2013 at 06:09

Re: [RFC PATCH] CLK: Allow parent clock and rate to be configured in DT.

2013-03-25 Thread Sascha Hauer
On Tue, Mar 19, 2013 at 06:09:33PM +0100, Martin Fuzzey wrote: > Even on platforms where the entire clock tree is not represented in the DT > it can still be useful to allow parents and rates to be set from the DT. > > An example of such a case is when a multiplexable clock output from a SOC > is

Re: [PATCH 4/5] mmc: mxcmmc: enable DMA support on mpc512x

2013-03-14 Thread Sascha Hauer
On Thu, Mar 14, 2013 at 05:40:53PM +0100, Anatolij Gustschin wrote: > Add SDHC DMA channel description to the mpc512x device > tree to enable slave channel requesting in the mxcmmc > driver. > > mpc512x DMA engine doesn't support endianness conversion > when reading/writing data from peripheral's

Re: [PATCH 1/5] mmc: mxcmmc: add mpc512x SDHC support

2013-03-14 Thread Sascha Hauer
On Thu, Mar 14, 2013 at 07:13:32PM +0100, Anatolij Gustschin wrote: > On Thu, 14 Mar 2013 17:50:08 +0100 > Arnd Bergmann wrote: > > > On Thursday 14 March 2013 17:40:49 Anatolij Gustschin wrote: > > > > > + > > > +struct mxcmci_reg_ops mxcmci_reg_ops = { > > > + .read_l = mpcmci_readl, > > > + .

Re: [PATCH v3 1/2] i.MX27: Add clock support for SAHARA2.

2013-03-11 Thread Sascha Hauer
On Mon, Mar 11, 2013 at 09:19:26AM +0800, Herbert Xu wrote: > On Mon, Mar 11, 2013 at 12:08:56AM +0100, Sascha Hauer wrote: > > On Sun, Mar 10, 2013 at 04:34:01PM +0800, Herbert Xu wrote: > > > > > > > > > > https://patchwork.kernel.org/patch/1817741/

Re: [PATCH v3 1/2] i.MX27: Add clock support for SAHARA2.

2013-03-10 Thread Sascha Hauer
On Sun, Mar 10, 2013 at 04:34:01PM +0800, Herbert Xu wrote: > > > > > > https://patchwork.kernel.org/patch/1817741/ > > > > > > So the change above becomes unnecessary > > > > Very good. Then this patch can be safely dropped. > > So should I take this patch or not? This clk patch, no. The sahara

Re: [PATCH v3 1/2] i.MX27: Add clock support for SAHARA2.

2013-03-03 Thread Sascha Hauer
On Fri, Mar 01, 2013 at 12:37:52PM +0100, Javier Martin wrote: > > Signed-off-by: Javier Martin > --- > arch/arm/mach-imx/clk-imx27.c |2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm/mach-imx/clk-imx27.c b/arch/arm/mach-imx/clk-imx27.c > index 4c1d1e4..0b9664a 100644 > ---

Re: [PATCH v2 3/3] crypto: sahara: Add device tree binding for SAHARA2.

2013-02-27 Thread Sascha Hauer
Hi Javier, On Wed, Feb 27, 2013 at 11:41:51AM +0100, Javier Martin wrote: > > Signed-off-by: Javier Martin > --- > .../devicetree/bindings/crypto/fsl-imx-sahara.txt | 14 ++ > 1 file changed, 14 insertions(+) > create mode 100644 > Documentation/devicetree/bindings/crypto/fsl-i

Re: [PATCH 2/3] ARM: dts: imx: replace magic number with pin function name

2013-02-27 Thread Sascha Hauer
On Wed, Feb 27, 2013 at 12:16:20PM -0600, Matt Sealey wrote: > On Wed, Feb 27, 2013 at 1:44 AM, Sascha Hauer wrote: > > On Wed, Feb 27, 2013 at 12:51:56AM -0600, Matt Sealey wrote: > > I do notice that, what I'm a little perturbed by is that it doesn't > seem to impro

Re: [PATCH 2/3] ARM: dts: imx: replace magic number with pin function name

2013-02-26 Thread Sascha Hauer
On Wed, Feb 27, 2013 at 12:51:56AM -0600, Matt Sealey wrote: > On Thu, Feb 21, 2013 at 11:52 PM, Shawn Guo wrote: > > On Thu, Feb 21, 2013 at 11:36:36AM -0600, Matt Sealey wrote: > >> On Wed, Feb 20, 2013 at 11:02 PM, Shawn Guo wrote: > >> > On Wed, Feb 20, 2013 at 06:03:39PM -0600, Matt Sealey w

Re: [PATCH 2/3] ARM: dts: imx: replace magic number with pin function name

2013-02-22 Thread Sascha Hauer
On Fri, Feb 22, 2013 at 03:36:32PM +0800, Shawn Guo wrote: > On Fri, Feb 22, 2013 at 08:27:43AM +0100, Sascha Hauer wrote: > > On Fri, Feb 22, 2013 at 01:52:04PM +0800, Shawn Guo wrote: > > > On Thu, Feb 21, 2013 at 11:36:36AM -0600, Matt Sealey wrote: > > > > On

Re: [PATCH 2/3] ARM: dts: imx: replace magic number with pin function name

2013-02-21 Thread Sascha Hauer
On Fri, Feb 22, 2013 at 01:52:04PM +0800, Shawn Guo wrote: > On Thu, Feb 21, 2013 at 11:36:36AM -0600, Matt Sealey wrote: > > On Wed, Feb 20, 2013 at 11:02 PM, Shawn Guo wrote: > > > On Wed, Feb 20, 2013 at 06:03:39PM -0600, Matt Sealey wrote: > > >> I am not sure I am getting this point across, b

Re: [PATCH 2/3] ARM: dts: imx: replace magic number with pin function name

2013-02-21 Thread Sascha Hauer
On Thu, Feb 21, 2013 at 11:36:36AM -0600, Matt Sealey wrote: > On Wed, Feb 20, 2013 at 11:02 PM, Shawn Guo wrote: > > On Wed, Feb 20, 2013 at 06:03:39PM -0600, Matt Sealey wrote: > >> I am not sure I am getting this point across, but.. damn it.. nack nack > >> nack :D > >> > > Do you see any down

Re: [PATCH 3/3] pinctrl: imx: move hard-coding data into device tree

2013-02-20 Thread Sascha Hauer
On Thu, Feb 21, 2013 at 01:30:22PM +0800, Shawn Guo wrote: > On Wed, Feb 20, 2013 at 12:04:58PM -0700, Stephen Warren wrote: > > There are a couple of potential issues with this patch, which I'm in two > > minds about: > > > > 1) > > > > This is an incompatible change to the DT binding definition

Re: [PATCH v5 03/13] mmc: provide a standard MMC device-tree binding parser centrally

2013-02-16 Thread Sascha Hauer
Hi Guennadi, On Sat, Feb 16, 2013 at 04:21:16PM +0100, Guennadi Liakhovetski wrote: > MMC defines a number of standard DT bindings. Having each driver parse > them individually adds code redundancy and is error prone. Provide a > standard function to unify the parsing. After all drivers are conver

Re: [PATCH 0/2] Device Tree support for CMA (Contiguous Memory Allocator)

2013-02-15 Thread Sascha Hauer
On Thu, Feb 14, 2013 at 11:08:54PM +0100, Sylwester Nawrocki wrote: > Hi, > > On 02/14/2013 10:30 PM, Sascha Hauer wrote: > >On Thu, Feb 14, 2013 at 01:45:26PM +0100, Marek Szyprowski wrote: > ... > >>Here is my initial proposal for device tree integration for Contiguou

Re: [PATCH 0/2] Device Tree support for CMA (Contiguous Memory Allocator)

2013-02-14 Thread Sascha Hauer
Hi Marek, On Thu, Feb 14, 2013 at 01:45:26PM +0100, Marek Szyprowski wrote: > Hello, > > Here is my initial proposal for device tree integration for Contiguous > Memory Allocator. The code is quite straightforward, however I expect > that the memory bindings require some discussion. > > The prop

Re: [PATCH 1/2] ARM: OMAP2+: Allow clock alias provision from device tree

2013-02-11 Thread Sascha Hauer
On Mon, Feb 11, 2013 at 05:44:23PM +0200, Roger Quadros wrote: > Currently on OMAP, it is not possible to specify a clock consumer > to any of the OMAP generated clocks using the device tree. This can pose > a problem for external devices that run off an OMAP clock as we > can't reliably provide a

Re: [PATCH RFC 1/7] platform: add a device node

2013-02-11 Thread Sascha Hauer
On Mon, Feb 11, 2013 at 11:33:19AM +0100, Javier Martinez Canillas wrote: > On Mon, Feb 11, 2013 at 9:16 AM, Sascha Hauer wrote: > > On Sun, Feb 10, 2013 at 12:35:43PM +0100, Javier Martinez Canillas wrote: > >> On Sun, Feb 10, 2013 at 10:37 AM, Russell King - ARM Linux > >

Re: [PATCH RFC 1/7] platform: add a device node

2013-02-11 Thread Sascha Hauer
On Sun, Feb 10, 2013 at 12:35:43PM +0100, Javier Martinez Canillas wrote: > On Sun, Feb 10, 2013 at 10:37 AM, Russell King - ARM Linux > wrote: > > On Sun, Feb 10, 2013 at 02:49:21AM +0100, Javier Martinez Canillas wrote: > >> I knew this would be controversial and that's why I didn't mean it to b

Re: [PATCH,RFC] usb: add devicetree helpers for determining dr_mode and phy_type

2013-01-31 Thread Sascha Hauer
On Fri, Feb 01, 2013 at 09:11:54AM +0800, Peter Chen wrote: > On Thu, Jan 31, 2013 at 11:29:13AM +0100, Sascha Hauer wrote: > > On Thu, Jan 31, 2013 at 10:05:44AM +0800, Peter Chen wrote: > > > On Wed, Jan 30, 2013 at 03:00:15PM +0100, Sascha Hauer wrote: > > > > On W

Re: [PATCH,RFC] usb: add devicetree helpers for determining dr_mode and phy_type

2013-01-31 Thread Sascha Hauer
On Thu, Jan 31, 2013 at 10:05:44AM +0800, Peter Chen wrote: > On Wed, Jan 30, 2013 at 03:00:15PM +0100, Sascha Hauer wrote: > > On Wed, Jan 30, 2013 at 10:06:28AM +0800, Peter Chen wrote: > > > On Tue, Jan 29, 2013 at 01:55:04PM +0200, Alexander Shishkin wrote: > >

Re: [PATCH,RFC] usb: add devicetree helpers for determining dr_mode and phy_type

2013-01-30 Thread Sascha Hauer
On Wed, Jan 30, 2013 at 10:06:28AM +0800, Peter Chen wrote: > On Tue, Jan 29, 2013 at 01:55:04PM +0200, Alexander Shishkin wrote: > > Sascha Hauer writes: > > > > > From: Michael Grzeschik > > > > > > This adds two little devicetree helper functio

Re: [PATCH,RFC] usb: add devicetree helpers for determining dr_mode and phy_type

2013-01-30 Thread Sascha Hauer
On Wed, Jan 30, 2013 at 11:21:35AM +0530, kishon wrote: > On Wednesday 30 January 2013 02:00 AM, Sascha Hauer wrote: > >On Tue, Jan 29, 2013 at 07:14:51PM +0530, kishon wrote: > >>Hi, > >> > >>On Tuesday 29 January 2013 04:52 PM, Sascha Hauer wrote: > >

Re: [PATCH,RFC] usb: add devicetree helpers for determining dr_mode and phy_type

2013-01-29 Thread Sascha Hauer
On Tue, Jan 29, 2013 at 07:14:51PM +0530, kishon wrote: > Hi, > > On Tuesday 29 January 2013 04:52 PM, Sascha Hauer wrote: > >From: Michael Grzeschik > > > >This adds two little devicetree helper functions for determining the > >dr_mode (host, peripheral, otg) a

[PATCH, RFC] usb: add devicetree helpers for determining dr_mode and phy_type

2013-01-29 Thread Sascha Hauer
From: Michael Grzeschik This adds two little devicetree helper functions for determining the dr_mode (host, peripheral, otg) and phy_type (utmi, ulpi,...) from the devicetree. Signed-off-by: Michael Grzeschik Signed-off-by: Marc Kleine-Budde --- The properties and their values have been taken

Re: ARM: Voipac i.MX25: Support with device tree on v3.8-rc1 or later

2013-01-21 Thread Sascha Hauer
On Sun, Jan 20, 2013 at 12:51:57PM +, David Linares wrote: > > Hi guys, > > I have just signed up to this distribution list to try to get some > support/understanding of an issue I am having when switching from > kernel v3.7.3 to v3.8-rc1. I am using a Voipac i.MX25 and on v3.7.3, > barebox

Re: [PATCH 2/7] reset: Add reset controller API

2013-01-16 Thread Sascha Hauer
On Wed, Jan 16, 2013 at 05:13:02PM +0100, Philipp Zabel wrote: > This adds a simple API for devices to request being reset > by separate reset controller hardware and implements the > reset signal device tree binding. > > Signed-off-by: Philipp Zabel > --- > drivers/Kconfig|2 + > dr

Re: Early kernel hang with big DTB appended

2013-01-15 Thread Sascha Hauer
On Mon, Jan 14, 2013 at 05:13:09PM -0500, Nicolas Pitre wrote: > On Fri, 11 Jan 2013, Sascha Hauer wrote: > > > On Thu, Jan 03, 2013 at 04:55:00PM +0100, Tomasz Figa wrote: > > > Hi, > > > > > > I'm observing strange behavior when booting 3.8-rc1 a

Re: Early kernel hang with big DTB appended

2013-01-11 Thread Sascha Hauer
On Thu, Jan 03, 2013 at 04:55:00PM +0100, Tomasz Figa wrote: > Hi, > > I'm observing strange behavior when booting 3.8-rc1 and -rc2 with appended > DTB. The kernel hangs very early when the DTB is bigger than some > threshold somewhere around 24 KiB. With fullest possible low level UART > debug

Re: [PATCH 1/5] capemgr: Beaglebone DT overlay based cape manager

2013-01-08 Thread Sascha Hauer
On Mon, Jan 07, 2013 at 09:35:04PM +, Arnd Bergmann wrote: > (Adding Sascha Hauer, Linus Walleij, Lee Jones to Cc) > > On Monday 07 January 2013, Tony Lindgren wrote: > > > > > > At the end of the line, some kind of hardware glue is going to be needed. > >

Re: [PATCH 2/2] ARM i.MX53: add dts for the TQ tqma53 module

2013-01-07 Thread Sascha Hauer
Please Cc linux arm kernel list next time. On Mon, Jan 07, 2013 at 04:16:00PM +0100, Steffen Trumtrar wrote: > From: Sascha Hauer > > The tqma53 is an embedded module that has some features on board (e.g. emmc), > but mostly just provides access to them on its interface. > Going

Re: [PATCH] clk: imx25: Fix the examples

2012-12-17 Thread Sascha Hauer
On Wed, Nov 28, 2012 at 01:50:57PM -0200, Fabio Estevam wrote: > From: Fabio Estevam > > Fix the examples so that they are consistent with the dtsi file. > > Signed-off-by: Fabio Estevam Applied, thanks Sascha > --- > .../devicetree/bindings/clock/imx25-clock.txt |3 ++- > 1 file c

Re: [PATCH 2/9] usb: chipidea: ci13xxx_imx: add 2nd and 3rd clock to support imx5x and newer

2012-11-26 Thread Sascha Hauer
On Tue, Nov 27, 2012 at 02:50:26PM +0800, Peter Chen wrote: > On Mon, Nov 26, 2012 at 11:22:32AM +0100, Sascha Hauer wrote: > > On Mon, Nov 26, 2012 at 05:29:31PM +0800, Peter Chen wrote: > > > On Wed, Nov 14, 2012 at 05:19:03PM +0100, Michael Grzeschik wrote: > > > >

Re: [PATCH 2/9] usb: chipidea: ci13xxx_imx: add 2nd and 3rd clock to support imx5x and newer

2012-11-26 Thread Sascha Hauer
On Mon, Nov 26, 2012 at 05:29:31PM +0800, Peter Chen wrote: > On Wed, Nov 14, 2012 at 05:19:03PM +0100, Michael Grzeschik wrote: > > This patch adds support for a second and third clock to the chipidea > > driver. On > > modern freescale ARM cores like the imx51, imx53 and imx6q three clocks > >

Re: [PATCH v3 6/7] usb: chipidea: usbmisc: add mx53 support

2012-11-22 Thread Sascha Hauer
On Fri, Nov 23, 2012 at 02:53:41PM +0800, Peter Chen wrote: > On Wed, Nov 21, 2012 at 03:06:32PM +0100, Michael Grzeschik wrote: > > This adds mx53 as the next user of the usbmisc driver and makes it > > possible to disable the overcurrent-detection of the internal phy. > > > > Signed-off-by: Mich

Re: [PATCH v3 3/7] usb: chipidea: usbmisc: fix a potential race condition

2012-11-22 Thread Sascha Hauer
On Fri, Nov 23, 2012 at 01:36:36PM +0800, Peter Chen wrote: > On Wed, Nov 21, 2012 at 03:06:29PM +0100, Michael Grzeschik wrote: > > From: Marc Kleine-Budde > > > > This fixes a potential race condition where the ci13xxx_imx glue code > > could be fast enough to call one of the usbmisc_ops before

Re: [PATCH v12 3/6] fbmon: add videomode helpers

2012-11-22 Thread Sascha Hauer
On Thu, Nov 22, 2012 at 09:50:10AM +0100, Laurent Pinchart wrote: > Hi Sascha, > > On Thursday 22 November 2012 07:20:00 Sascha Hauer wrote: > > On Wed, Nov 21, 2012 at 11:02:44PM +0100, Laurent Pinchart wrote: > > > Hi Steffen, > > > > > > >

Re: [PATCH v12 3/6] fbmon: add videomode helpers

2012-11-21 Thread Sascha Hauer
Hi Laurent, On Wed, Nov 21, 2012 at 11:02:44PM +0100, Laurent Pinchart wrote: > Hi Steffen, > > > + > > + htotal = vm->hactive + vm->hfront_porch + vm->hback_porch + > > +vm->hsync_len; > > + vtotal = vm->vactive + vm->vfront_porch + vm->vback_porch + > > +vm->vsync_le

Re: [PATCH 1/4] OF: Add helper for matching against linux, stdout-path

2012-11-21 Thread Sascha Hauer
On Wed, Nov 21, 2012 at 04:57:05PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > From: Sascha Hauer > > devicetrees may have a linux,stdout-path or stdout-path property > in the chosen node describing the console device. This adds a helper > function to match a device agains

Re: [PATCH v2 5/7] usb: chipidea: usbmisc: add support for ahb, ipg and per clock

2012-11-20 Thread Sascha Hauer
On Fri, Nov 16, 2012 at 03:17:47PM +0200, Alexander Shishkin wrote: > Michael Grzeschik writes: > > > From: Marc Kleine-Budde > > > > This patch adds support for a second and third clock to the usbmisc driver. > > On > > modern freescale ARM cores like the imx51, imx53 and imx6q three clocks >

[PATCH 1/3] OF: Add helper for matching against linux,stdout-path

2012-11-15 Thread Sascha Hauer
devicetrees may have a linux,stdout-path property in the chosen node describing the console device. This adds a helper function to match a device against this property so a driver can call add_preferred_console for a matching device. Signed-off-by: Sascha Hauer --- drivers/of/base.c | 28

[PATCH v4] linux,stdout-path helper

2012-11-15 Thread Sascha Hauer
The following adds a helper for matching the linux,stdout-path property in the chosen node and makes use of it in the i.MX serial driver. changes since v3: - move code from separate files to drivers/of/base.c and include/linux/of.h changes since v2: - move helper to OF core and make it independ

  1   2   3   >