89.95$ = Microsoft Windows XP Pro + Microsoft Office XP Pro

2005-02-22 Thread sascha
http://10468.diljcancb.com/?M_OROxgqRkn9yMg80709 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] ARM: eukrea_mbimx27-baseboard - use stock get_pendown_state() in ads7846

2012-11-26 Thread Sascha Hauer
nfig __initdata = { > - .get_pendown_state = ads7846_get_pendown_state, > + .gpio_pendown = (GPIO_PORTD | 25), Please use IMX_GPIO_NR(4, 25) instead. Otherwise this looks ok. Eric, ok with you? Sascha -- Pengutronix e.K. |

Re: [PATCH] imx_drm: ipu_v3: fix invalid free of devm_* allocated data

2013-03-19 Thread Sascha Hauer
Signed-off-by: Silviu-Mihai Popescu Acked-by: Sascha Hauer Sascha > --- > drivers/staging/imx-drm/ipu-v3/ipu-dp.c |1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/staging/imx-drm/ipu-v3/ipu-dp.c > b/drivers/staging/imx-drm/ipu-v3/ipu-dp.c > index 26aecaf..11

Re: [PATCH] clk: divider: Use DIV_ROUND_CLOSEST

2013-03-20 Thread Sascha Hauer
returned frequency he can request a different one. > And he's eventually happy with the return value he calls > clk_set_rate() requesting the frequency clk_round_rate() returned. > Always rounding down seems a bit odd to me. > > Another issue

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

2013-02-11 Thread Sascha Hauer
eliably provide a reference to the clock in the device tree. There is an established way of providing clocks in the devicetree using the clocks/clock-names properties. Wouldn't it be better using this for OMAP aswell? Sascha -- Pengutronix e.K. |

[PATCH] Congatec CGEB base, i2c and watchdog driver support

2013-02-12 Thread Sascha Hauer
d are two users of this interface, a i2c master driver and a watchdog driver. Comments very appreciated. Sascha -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kerne

[PATCH 2/3] i2c: Add Congatec CGEB I2C driver

2013-02-12 Thread Sascha Hauer
This driver provides a I2C bus driver for the CGEB interface found on some Congatec x86 modules. No devices are registered on the bus, the user has to do this via the i2c device /sys interface. Signed-off-by: Sascha Hauer --- drivers/i2c/busses/Kconfig |7 ++ drivers/i2c/busses

[PATCH 3/3] watchdog: Add Congatec CGEB watchdog driver

2013-02-12 Thread Sascha Hauer
This driver provides support for the CGEB watchdog found on some Congatec x86 modules. Signed-off-by: Sascha Hauer --- drivers/watchdog/Kconfig | 10 ++ drivers/watchdog/Makefile |1 + drivers/watchdog/congatec_cgeb_watchdog.c | 161

[PATCH 1/3] x86: Add basic support for the Congatec CGEB BIOS interface

2013-02-12 Thread Sascha Hauer
The Congatec CGEB is a BIOS interface found on some Congatec x86 modules. It provides access to on board peripherals like I2C busses and watchdogs. This driver contains the basic support for accessing the CGEB interface and registers the child devices. Signed-off-by: Sascha Hauer --- arch/x86

Re: [PATCH] cpuimx27 and mbimx27: prepend CONFIG_ to Kconfig macro

2013-04-02 Thread Sascha Hauer
Eric, Any comment to this one? It looks like an obvious bugfix, but since this is quite old and was never noticed I wonder if there's something else wrong aswell? Sascha On Fri, Mar 22, 2013 at 01:15:02AM +0100, Paul Bolle wrote: > Commit 2d66c7803595da0d4bcd949825d598575f5de9e6 ("

Re: [PATCH 1/3] pwm: imx: Remove enabled field from struct imx_chip

2013-04-02 Thread Sascha Hauer
On Sun, Mar 31, 2013 at 10:59:47PM +0800, Axel Lin wrote: > We can test PWMF_ENABLED bit to know if pwm is enabled or not. > Thus remove enabled field from struct imx_chip. > > Signed-off-by: Axel Lin Looks good. Acked-by: Sascha Hauer Sascha > --- > drivers/pw

Re: [PATCH 3/3] watchdog: Add Congatec CGEB watchdog driver

2013-04-03 Thread Sascha Hauer
On Tue, Mar 26, 2013 at 11:16:35AM +0100, Christian Gmeiner wrote: > 2013/2/12 Sascha Hauer : > > -- > > There seems to be a problem: > > Mar 26 16:11:25 OT kernel: [ 80.207514] cgeb-watchdog > cgeb-watchdog.0: registered > Mar 26 16:11:38 OT watchdog[2519]: stoppi

Re: [PATCH 3/3] watchdog: Add Congatec CGEB watchdog driver

2013-04-03 Thread Sascha Hauer
On Tue, Mar 26, 2013 at 07:33:31AM -0700, Guenter Roeck wrote: > On Tue, Mar 26, 2013 at 11:16:35AM +0100, Christian Gmeiner wrote: > > 2013/2/12 Sascha Hauer : > > > This driver provides support for the CGEB watchdog found on some > > > Congatec x86 modules. > &

Re: [PATCH 3/3] watchdog: Add Congatec CGEB watchdog driver

2013-04-03 Thread Sascha Hauer
On Wed, Apr 03, 2013 at 08:30:00AM -0700, Guenter Roeck wrote: > On Wed, Apr 03, 2013 at 05:09:52PM +0200, Sascha Hauer wrote: > [ ... ] > > > > > > > On a side note, if the driver supports devicetree, it might make sense to > > > call > > > wa

Re: [RFC 0/4] Use the Common Display Framework in tegra-drm

2013-01-30 Thread Sascha Hauer
D data to 1) pick display timings 2) pick the right power sequence that fits the panel found in EDID. You can't archieve 2) by hardcoding the panel in the devicetree. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions

Re: [PATCH 10/10] drivers: misc: use module_platform_driver_probe()

2013-03-14 Thread Sascha Hauer
I'm worried about this aswell. I think platform_driver_probe shouldn't be used anymore. Even if a driver does not explicitly make use of -EPROBE_DEFER, it leaks in very quickly if a driver for example uses a regulator and just returns the error value from regulator_get. Sascha -- Pengut

Re: [PATCH v2 0/2] imx6q: pwm: Activate stop_mode and configure pinmux

2012-08-27 Thread Sascha Hauer
t the following patch. It makes further changes and cleanups easier. Also, I have a second patch here which consistently switches the pwm to use the ipg clock for its output instead of the per clock. This eliminates the use of another cpu_is_*. The patch is not rea

Re: [PATCH] ARM i.MX: remove duplicated include from clk-imx21.c

2012-08-27 Thread Sascha Hauer
On Sun, Aug 26, 2012 at 09:48:11AM +0800, Wei Yongjun wrote: > From: Wei Yongjun > > From: Wei Yongjun Applied, thanks Sascha > > Remove duplicated include. > > Signed-off-by: Wei Yongjun > --- > arch/arm/mach-imx/clk-imx21.c | 1 - > 1 file changed, 1 dele

Re: [PATCH] pwm-imx: Fix config / enable / disable

2012-08-28 Thread Sascha Hauer
cleanups easier: https://lkml.org/lkml/2012/8/28/24 Simililarly, we should probably introduce a imx_pwm_[en|dis]able_v[12] Then, the pwm core already makes sure that pwm_enable/disable are called only once, so the if (imx->clk_enabled) in pwm_enable/disable is unnecessary. Sascha > &

[PATCH 7/9] pwm i.MX: fix clock lookup

2012-08-28 Thread Sascha Hauer
even when the SoC is in low power modes. This patch requests both clocks and enables the ipg clock for accessing registers and the peripheral clock to actually turn on the pwm. Signed-off-by: Philipp Zabel Signed-off-by: Sascha Hauer --- drivers/pwm/pwm-imx.c | 33

[PATCH 2/9] pwm i.MX: remove unnecessary if in pwm_[en|dis]able

2012-08-28 Thread Sascha Hauer
The pwm core makes sure that pwm_enable/disable are called only once. Still keep the enabled state since we will need it in pwm_config. Signed-off-by: Sascha Hauer --- drivers/pwm/pwm-imx.c | 25 +++-- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/drivers

[PATCH 3/9] pwm i.MX: add functions to enable/disable pwm.

2012-08-28 Thread Sascha Hauer
We used to enable/disable the pwm only by switching the clock on or off. Instead, use the dedicated register bits. These differ on different SoCs, so introduce a SoC specific function for this. Signed-off-by: Sascha Hauer --- drivers/pwm/pwm-imx.c | 48

[PATCH 1/9] pwm i.MX: factor out SoC specific functions

2012-08-28 Thread Sascha Hauer
To make the code more flexible. Signed-off-by: Sascha Hauer --- drivers/pwm/pwm-imx.c | 145 - 1 file changed, 82 insertions(+), 63 deletions(-) diff --git a/drivers/pwm/pwm-imx.c b/drivers/pwm/pwm-imx.c index 2a0b353..38270f4 100644 --- a

i.MX pwm patches

2012-08-28 Thread Sascha Hauer
should be no need to keep compatibility for platform based boards. Hopefully this series fixes the issues mentioned by Benoît. It has been tested on an i.MX53 only. Sascha Philipp Zabel (3): pwm i.MX: add devicetree support

[PATCH 5/9] pwm i.MX: add devicetree support

2012-08-28 Thread Sascha Hauer
From: Philipp Zabel Signed-off-by: Philipp Zabel Signed-off-by: Sascha Hauer --- drivers/pwm/pwm-imx.c | 25 +++-- 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/drivers/pwm/pwm-imx.c b/drivers/pwm/pwm-imx.c index a689144..dfc1bae 100644 --- a/drivers/pwm

[PATCH 6/9] pwm i.MX: use per clock unconditionally

2012-08-28 Thread Sascha Hauer
in low power modes. Use the always running clock also on i.MX25. Signed-off-by: Sascha Hauer --- drivers/pwm/pwm-imx.c |7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/pwm/pwm-imx.c b/drivers/pwm/pwm-imx.c index dfc1bae..3834f475 100644 --- a/drivers/pwm/pwm

[PATCH 4/9] pwm i.MX: Use module_platform_driver

2012-08-28 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- drivers/pwm/pwm-imx.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/pwm/pwm-imx.c b/drivers/pwm/pwm-imx.c index 3fc4ae8..a689144 100644 --- a/drivers/pwm/pwm-imx.c +++ b/drivers/pwm/pwm-imx.c @@ -270,17 +270,7 @@ static

[PATCH 8/9] ARM i.MX53: Add pwms to dtsi

2012-08-28 Thread Sascha Hauer
Signed-off-by: Sascha Hauer Conflicts: arch/arm/mach-imx/clk-imx51-imx53.c --- arch/arm/boot/dts/imx53.dtsi| 14 ++ arch/arm/mach-imx/clk-imx51-imx53.c |4 2 files changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts

[PATCH 9/9] pwm i.MX: add devicetree support

2012-08-28 Thread Sascha Hauer
From: Philipp Zabel Signed-off-by: Philipp Zabel Signed-off-by: Sascha Hauer --- drivers/pwm/pwm-imx.c | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/drivers/pwm/pwm-imx.c b/drivers/pwm/pwm-imx.c index 308ab51..dce2acb 100644 --- a/drivers/pwm

Re: mxc_nand.c on mach-imx/imx53

2012-08-29 Thread Sascha Hauer
nes the clock "mxc_nand". The driver generally works on i.MX53, only some pieces are missing. I just resent the corresponding series and put you on Cc. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http:

Re: i.MX pwm patches

2012-08-31 Thread Sascha Hauer
On Fri, Aug 31, 2012 at 05:45:49AM +0800, Shawn Guo wrote: > On Tue, Aug 28, 2012 at 01:48:15PM +0200, Sascha Hauer wrote: > > Hi All, > > > > The following patches are an overdue work on the i.MX pwm driver. > > > > - introduce SoC specific functions to m

Re: [PATCH 8/9] ARM i.MX53: Add pwms to dtsi

2012-08-31 Thread Sascha Hauer
On Fri, Aug 31, 2012 at 06:32:20AM +0800, Shawn Guo wrote: > On Tue, Aug 28, 2012 at 01:48:23PM +0200, Sascha Hauer wrote: > > Signed-off-by: Sascha Hauer > > > > Conflicts: > > arch/arm/mach-imx/clk-imx51-imx53.c > > Yeah, I know you have sorted out confl

Re: mxc_nand.c on mach-imx/imx53

2012-09-03 Thread Sascha Hauer
e NAND_CMD_PARAM: > host->devtype_data->send_cmd(host, command, true); > mxc_do_addr_cycle(mtd, column, page_addr); > host->devtype_data->send_read_param(host); > - host->buf_start = column; > +

Re: [PATCH 06/16] ARM: netx: move platform_data definitions

2012-09-11 Thread Sascha Hauer
; > Signed-off-by: Arnd Bergmann > Cc: "David S. Miller" > Cc: net...@vger.kernel.org > Cc: Sascha Hauer Acked-by: Sascha Hauer > --- > arch/arm/mach-netx/nxdb500.c |2 > +- > arch/arm/mach-netx/nxdkn.c

Re: [PATCH 04/16] ARM: imx: move platform_data definitions

2012-09-11 Thread Sascha Hauer
; > Signed-off-by: Arnd Bergmann > Cc: Sascha Hauer > Cc: Russell King > Cc: Vinod Koul > Cc: Dan Williams > Cc: "Ben Dooks (embedded platforms)" > Cc: "Wolfram Sang (embedded platforms)" > Cc: Mauro Carvalho Chehab > Cc: Chris Ball > Cc: D

Re: [PATCH 5/7] pwm: i.MX: add devicetree support

2012-09-12 Thread Sascha Hauer
On Tue, Sep 11, 2012 at 04:40:43PM +0200, Thierry Reding wrote: > On Mon, Sep 10, 2012 at 10:59:35AM +0200, Sascha Hauer wrote: > > From: Philipp Zabel > > > > At the same time remove platform based support. No user for > > this driver has made it into mainline so far,

Re: [PATCH v6 1/4] Runtime Interpreted Power Sequences

2012-09-13 Thread Sascha Hauer
t; drivers with the DT data? =) I have this concern aswell, that's why I'm sceptical about this patch set. But what are the alternatives? Adding power code to the drivers and thus adding board specific code to them is backwards. Sascha -- Pengutronix e.K. |

Re: [PATCH v6 1/4] Runtime Interpreted Power Sequences

2012-09-13 Thread Sascha Hauer
On Thu, Sep 13, 2012 at 10:03:27AM +0300, Tomi Valkeinen wrote: > On Thu, 2012-09-13 at 09:00 +0200, Sascha Hauer wrote: > > On Thu, Sep 13, 2012 at 09:54:09AM +0300, Tomi Valkeinen wrote: > > > On Thu, 2012-09-13 at 15:36 +0900, Alex Courbot wrote: > > > > On Thurs

Re: [PATCH v6 1/4] Runtime Interpreted Power Sequences

2012-09-13 Thread Sascha Hauer
On Thu, Sep 13, 2012 at 09:29:20AM +0200, Thierry Reding wrote: > On Thu, Sep 13, 2012 at 10:03:27AM +0300, Tomi Valkeinen wrote: > > On Thu, 2012-09-13 at 09:00 +0200, Sascha Hauer wrote: > > > On Thu, Sep 13, 2012 at 09:54:09AM +0300, Tomi Valkeinen wrote: > > > &g

Re: [PATCH v2 1/3] w1: mxc_w1: Adapt the clock name to the new clock framework

2012-10-03 Thread Sascha Hauer
ead. > > While at it, also fix the clock error handling code. > > Signed-off-by: Fabio Estevam Acked-by: Sascha Hauer > - > Changes since v1: > - Fix clock error handling > drivers/w1/masters/mxc_w1.c | 10 +- > 1 file changed, 5 insertions(+), 5 deleti

[PATCH] serial: i.MX: evaluate linux,stdout-path property

2012-10-04 Thread Sascha Hauer
devicetrees may have the linux,stdout-path property to specify the console. This patch adds support to the i.MX serial driver for this. Signed-off-by: Sascha Hauer --- I was originally looking for a more generic way to handle this, but since a struct console has no device associated to it, it&#

Re: [PATCH] serial: i.MX: evaluate linux,stdout-path property

2012-10-04 Thread Sascha Hauer
On Thu, Oct 04, 2012 at 07:44:45AM -0500, Rob Herring wrote: > On 10/04/2012 05:39 AM, Sascha Hauer wrote: > > devicetrees may have the linux,stdout-path property to specify the > > console. This patch adds support to the i.MX serial driver for this. > > > >

Re: [PATCH] pwm: dt: Fix description of second PWM cell

2012-10-05 Thread Sascha Hauer
off-by: Thierry Reding > Cc: Shawn Guo > Cc: Sascha Hauer > Cc: Philipp Zabel > Cc: "Benoît Thébaudeau" > Cc: Stephen Warren Acked-by: Sascha Hauer > --- > Documentation/devicetree/bindings/pwm/imx-pwm.txt| 2 +- > Documentation/d

[PATCH v2] Add of helper for linux,stdout-path

2012-10-05 Thread Sascha Hauer
This adds a helper function to match the linux,stdout-path property against a struct device and adds support for this property to the i.MX serial driver. Sascha Sascha Hauer (3): serial_core: Add helper for matching against

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

2012-10-05 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/tty/serial

[PATCH 3/3] serial: i.MX: evaluate linux,stdout-path property

2012-10-05 Thread Sascha Hauer
devicetrees may have the linux,stdout-path property to specify the console. This patch adds support to the i.MX serial driver for this. Signed-off-by: Sascha Hauer --- drivers/tty/serial/imx.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/tty/serial/imx.c b/drivers/tty

[PATCH 2/3] serial: i.MX: Make console support non optional

2012-10-05 Thread Sascha Hauer
Traditionally console support is optional for serial drivers. This makes it non optional for the i.MX driver since it's not worth asking questions for a feature virtually every user of this driver wants to have. Signed-off-by: Sascha Hauer --- drivers/tty/serial/Kconfig |

Re: [PATCH] ARM i.MX: fix error-valued pointer dereference in clk_register_gate2()

2012-10-25 Thread Sascha Hauer
ps://github.com/weiyj/dpatch) > > Signed-off-by: Wei Yongjun Applied, thanks Sascha > --- > arch/arm/mach-imx/clk-gate2.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/mach-imx/clk-gate2.c b/arch/arm/mach-imx/clk-gate2.c > index 3c1b8ff.

Re: [PATCH 2/2] ARM: mach-imx: CAN clock fix for i.MX53

2012-10-26 Thread Sascha Hauer
t;, "ipg", > MXC_CCM_CCGR4, 8); > + clk[can2_serial_gate] = imx_clk_gate2("can2_serial_gate", "can_sel", > MXC_CCM_CCGR4, 6); > + clk[can2_ipg_gate] = imx_clk_gate2("can2_ipg_gate", "ipg", > MXC_CCM_CCGR4, 8); This doesn&#x

[PATCH v3] linux,stdout-path helper

2012-11-02 Thread Sascha Hauer
generic for serial devices. Sascha Hauer (3): OF: Add helper for matching against linux,stdout-path serial: i.MX: Make console support non optional serial: i.MX: evaluate linux,stdout-path property drivers/of

[PATCH 3/3] serial: i.MX: evaluate linux,stdout-path property

2012-11-02 Thread Sascha Hauer
devicetrees may have the linux,stdout-path property to specify the console. This patch adds support to the i.MX serial driver for this. Signed-off-by: Sascha Hauer --- drivers/tty/serial/imx.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/tty/serial/imx.c b/drivers/tty

[PATCH 2/3] serial: i.MX: Make console support non optional

2012-11-02 Thread Sascha Hauer
Traditionally console support is optional for serial drivers. This makes it non optional for the i.MX driver since it's not worth asking questions for a feature virtually every user of this driver wants to have. Signed-off-by: Sascha Hauer --- drivers/tty/serial/Kconfig |

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

2012-11-02 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/Kconfig

Re: [PATCH v2 1/2] hw_random: mxc-rnga: Adapt clocks to new i.mx clock framework

2012-07-30 Thread Sascha Hauer
On Fri, Jul 27, 2012 at 01:47:51PM -0300, Fabio Estevam wrote: > Adapt clocks to the new i.mx clock framework and fix the following warning: > > Cc: Theodore Ts'o > Cc: Herbert Xu > Cc: > Signed-off-by: Fabio Estevam Both: Acked-by: Sascha Hauer Sascha &

Re: [PATCH 1/2] rtc-imxdi: Support for i.MX53

2012-10-29 Thread Sascha Hauer
On Thu, Oct 18, 2012 at 06:06:08PM +0200, Roland Stigge wrote: > This patch enables support for i.MX53 in addition to i.MX25 by enabling the > driver on ARCH_MXC generally. > > Signed-off-by: Roland Stigge Acked-by: Sascha Hauer > --- > drivers/rtc/Kconfig |2 +- &g

Re: [PATCH 2/2] rtc-imxdi: Add devicetree support

2012-10-29 Thread Sascha Hauer
On Thu, Oct 18, 2012 at 06:06:09PM +0200, Roland Stigge wrote: > This patch adds device tree support to the rtc-imxdi driver. > > Signed-off-by: Roland Stigge Acked-by: Sascha Hauer > --- > Documentation/devicetree/bindings/rtc/imxdi-rtc.txt | 17 + >

Re: [PATCH] ARM: mach-imx: Support for DryIce RTC in i.MX53

2012-10-29 Thread Sascha Hauer
d-off-by: Roland Stigge Applied, thanks Sascha > --- > arch/arm/mach-imx/clk-imx51-imx53.c |1 + > 1 file changed, 1 insertion(+) > > --- linux-2.6.orig/arch/arm/mach-imx/clk-imx51-imx53.c > +++ linux-2.6/arch/arm/mach-imx/clk-imx51-imx53.c > @@ -467,6 +467,7

Re: [PATCH] Add device tree file for the armadeus apf27

2012-10-29 Thread Sascha Hauer
@@ > +/* > + * Copyright 2012 Philippe Reynes > + * Copyright 2012 Armadeus Systems > + * > + * Based on code which is: Copyright 2012 Sascha Hauer, Pengutronix > + * > + * The code contained herein is licensed under the GNU General Public > + * License. You may obtain a copy of the

Re: [PATCH] watchdog: Support imx watchdog on SOC_IMX53

2012-10-29 Thread Sascha Hauer
On Thu, Oct 25, 2012 at 01:28:33PM +0200, Roland Stigge wrote: > This patch fixes watchdog support after devicetree switch for imx53 > > Signed-off-by: Roland Stigge Applied, thanks Sascha > > --- > arch/arm/mach-imx/Kconfig |1 + > 1 file changed, 1 insertion(+) &g

Re: [PATCH 1/2] ARM: mach-imx: imx53.dtsi: pinctl update

2012-10-29 Thread Sascha Hauer
On Thu, Oct 25, 2012 at 01:26:39PM +0200, Roland Stigge wrote: > This patch supplements pinctl support on i.MX53. > > Signed-off-by: Roland Stigge Acked-by: Sascha Hauer Shawn, probably better when you take this patch as it's quite likely that you collect other patches to this

Re: [PATCH 2/2] ARM: mach-imx: CAN clock fix for i.MX53

2012-10-29 Thread Sascha Hauer
Roland, Do you have updates on this one? I think this patch is wrong, specifying the clock rate in the devicetree is only for PowerPC, so I think this needs further investigation. Sascha On Thu, Oct 25, 2012 at 01:26:40PM +0200, Roland Stigge wrote: > This patch fixes CAN clocking on i.M

Re: [PATCH] Add device tree file for the armadeus apf27

2012-10-31 Thread Sascha Hauer
On Tue, Oct 30, 2012 at 07:55:44PM +, Philippe Reynes wrote: > > > Hi Sascha, > >> +        osc26m { > > >> +            compatible = "fsl,imx-osc26m", "fixed-clock"; > >> +            clock-frequency = <33554432>; > >

Re: [PATCH] imx-drm: Fix probe failure

2013-08-27 Thread Sascha Hauer
gt; @@ -41,7 +41,6 @@ struct imx_drm_device { > struct list_headencoder_list; > struct list_headconnector_list; > struct mutexmutex; > - int references; Nack. We need the

Re: [PATCH] imx-drm: Fix probe failure

2013-08-28 Thread Sascha Hauer
On Wed, Aug 28, 2013 at 11:39:11AM -0300, Fabio Estevam wrote: > On Wed, Aug 28, 2013 at 2:27 AM, Sascha Hauer wrote: > > > Nack. We need the references to prevent that encoders/connectors are > > (de)registered while the device is active. Simply dropping this code is > &g

Re: [PATCH] imx-drm: Fix probe failure

2013-08-28 Thread Sascha Hauer
On Wed, Aug 28, 2013 at 05:10:16PM -0300, Fabio Estevam wrote: > On Wed, Aug 28, 2013 at 3:54 PM, Sascha Hauer wrote: > > > Do the open/close callbacks work? > > The 'open' callback maps to the generic 'drm_open', so we cannot use it. We could replace t

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

2013-07-09 Thread Sascha Hauer
quot;fsl,imx6q-uart". > > This patch rewrites the match code, and make it to check the compatible > in the order set by the DTS file. Why don't you set the matching order in the driver the way you want it to be, i.e.: { .compatible = "fsl,imx6q-uar

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] pwm-backlight: allow for non-increasing brightness levels

2013-09-17 Thread Sascha Hauer
y cycle. Note there's also support for inverted PWMs in the PWM framework provided your hardware supports this. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137

Re: [PATCHv4 4/4] Documentation: Add device tree bindings for Freescale FTM PWM.

2013-09-17 Thread Sascha Hauer
iguring the iomux before the PWM driver takes over, then the pinctrl should be done from the client drivers (pwm_backlight, pwm_led), not from the pwm driver and not from the pinctrl framework before initializing the clients. So NACK to this complex pinctrl setup in this pwm driver. Sascha -- P

Re: [PATCHv3 1/4] pwm: Add Freescale FTM PWM driver support

2013-09-09 Thread Sascha Hauer
ers/pwm/pwm-fsl-ftm.c > > This looks pretty good to me. I noticed that you didn't Cc Sascha who > commented on this a lot. Can you please resend with him Cc'ed to make > sure he sees this version of the series? I'm alr

Re: [PATCHv3 2/4] ARM: dts: Add Freescale FTM PWM node for VF610.

2013-09-09 Thread Sascha Hauer
pinctrl-9 = <&pinctrl_pwm0_ch4_idle>; > + pinctrl-10 = <&pinctrl_pwm0_ch5_active>; > + pinctrl-11 = <&pinctrl_pwm0_ch5_idle>; > + pinctrl-12 = <&pinctrl_pwm0_ch6_a

Re: [PATCHv3 1/4] pwm: Add Freescale FTM PWM driver support

2013-09-09 Thread Sascha Hauer
+ struct resource *res; > + > + fpc = devm_kzalloc(&pdev->dev, sizeof(*fpc), GFP_KERNEL); You don't have to output a message when kzalloc fails, but still you should check for the result and return an error if necessary. With this fixed: Reviewed-by: Sascha Hauer Sasch

Re: [PATCH][RESEND] ARM: imx: remove IRQF_DISABLED

2013-09-09 Thread Sascha Hauer
On Wed, Sep 04, 2013 at 07:04:39AM +0200, Michael Opdenacker wrote: > This flag is a NOOP since 2.6.35 and can be removed. > > This is an update for 3.11 of a patch already sent for 3.10 > > Signed-off-by: Michael Opdenacker (added shawn to Cc) Acked-by: Sascha Hauer Sascha

Re: [PATCH v2] imx-drm: Fix probe failure

2013-08-29 Thread Sascha Hauer
imx_drm_add_encoder(struct drm_encoder *encoder, > > mutex_lock(&imxdrm->mutex); > > - if (imxdrm->references) { > - ret = -EBUSY; > - goto err_busy; > - } ...here... > mutex_lock(&imxdrm->mutex); > &g

Re: [PATCH v2] imx-drm: Fix probe failure

2013-08-29 Thread Sascha Hauer
sure all submodules for > encoders/crtcs > + are fully loaded before the drm driver is registered. We can't know when all submodules are registered and really I think this is not necessary. The driver will use the components available during open time. When being opened no components wi

Re: [PATCH v2] imx-drm: Fix probe failure

2013-08-29 Thread Sascha Hauer
device which is in use you better do not add/remove components. Again: The imx-drm driver does *not* do hotplugging. It will *not* add or remove components when the device is opened. The code you remove exactly makes (or made before Daniels patch) that sure. Sascha -- Pengutronix e.K.

Re: [PATCH v2] imx-drm: Fix probe failure

2013-08-30 Thread Sascha Hauer
On Fri, Aug 30, 2013 at 01:08:14PM -0300, Fabio Estevam wrote: > Hi Sascha, > > On Thu, Aug 29, 2013 at 3:37 PM, Sascha Hauer wrote: > > It's not about the module refcount. It's only that a on a drm device > > which is in use you better do not add/remove compone

Re: [PATCHv2 4/4] Documentation: Add device tree bindings for Freescale FTM PWM.

2013-08-30 Thread Sascha Hauer
; > + pinctrl-0 = <&pinctrl_pwm0_ch0_active>; > + pinctrl-1 = <&pinctrl_pwm0_ch0_idle>; > + pinctrl-2 = <&pinctrl_pwm0_ch1_active>; > + pinctrl-3 = <&pinctrl_pwm0_ch1_idle>; > +

Re: [PATCHv2 1/4] pwm: Add Freescale FTM PWM driver support

2013-08-30 Thread Sascha Hauer
oose memory here and in fsl_pwm_disable aswell. > + pins_state = pinctrl_lookup_state(fpc->pinctrl, > + statename); > + /* enable pins to be muxed in and configured */ > + if (!IS_ERR(pins_state)) { > + ret = pinctrl_select_state(fpc->p

Re: [PATCH 1/1] dma: imx-dma: Remove redundant NULL check

2013-09-02 Thread Sascha Hauer
On Mon, Sep 02, 2013 at 01:21:18PM +0530, Sachin Kamat wrote: > kfree on a NULL pointer is a no-op. Null pointer check is > not necessary. > > Signed-off-by: Sachin Kamat > Cc: Sascha Hauer Acked-by: Sascha Hauer Sascha > --- > drivers/dma/imx-dma.c |6 ++

Re: [PATCH v3] imx-drm: Fix probe failure

2013-09-02 Thread Sascha Hauer
. > > Instead of manually keeping the references in the imx-drm driver, let's use > drm->open_count. > > After this patch, lvds panel is functional on a mx6qsabrelite board. > > Signed-off-by: Fabio Estevam > --- > This one s

Re: [PATCHv2 4/4] Documentation: Add device tree bindings for Freescale FTM PWM.

2013-09-02 Thread Sascha Hauer
; > this was mentioned before. > > > Yes. > Actully this property is located in board level dts file. > I have added and requested all the channels in SoC level dtsi file, > and in board level dts file to tell the customer the limitation, I > think is much safter and better. W

Re: [PATCHv2 1/4] pwm: Add Freescale FTM PWM driver support

2013-09-02 Thread Sascha Hauer
; > I think I may move the 'available' field to the PWM driver data struct. You simply don't need the available field. You don't need to track whether they are available. If a user enables a pwm which is not routed out of the SoC (disabled in the iomux) simply nothin

Re: [PATCH] imx-drm: imx-ldb: Staticize of_get_data_mapping()

2013-09-02 Thread Sascha Hauer
eclared. Should it be static? > > Signed-off-by: Fabio Estevam Acked-by: Sascha Hauer Sascha > --- > drivers/staging/imx-drm/imx-ldb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/imx-drm/imx-ldb.c > b/drivers/staging/imx-d

Re: [PATCHv2 1/4] pwm: Add Freescale FTM PWM driver support

2013-09-02 Thread Sascha Hauer
ses like this. If you misconfigure your iomux then usually unexptected things happen. That is not the problem of the PWM driver, but the problem of the one writing the devicetree. The kernel will print a message for conflicting iomux settings. That should be hint enough to fix it. Sascha --

Re: [PATCH 16/27] mmc: mxcmmc: Move away from using deprecated APIs

2013-09-27 Thread Sascha Hauer
> use of the deprecated APIs. > > Cc: Sascha Hauer > Cc: Anatolij Gustschin > Signed-off-by: Ulf Hansson Acked-by: Sascha Hauer Sascha > --- > drivers/mmc/host/mxcmmc.c | 12 ++-- > 1 file changed, 2 insertions(+), 10 deletions(-) > > diff --git a/dr

Re: [PATCH 22/27] mmc: sdricoh_cs: Move away from using deprecated APIs

2013-09-29 Thread Sascha Sommer
the use of the deprecated APIs. > > Cc: Sascha Sommer > Signed-off-by: Ulf Hansson > --- > drivers/mmc/host/sdricoh_cs.c |3 --- > 1 file changed, 3 deletions(-) > > diff --git a/drivers/mmc/host/sdricoh_cs.c > b/drivers/mmc/host/sdricoh_cs.c index 50adbd1..b7e3057 10

Re: [PATCHv5 0/4] Add Freescale FTM PWM driver.

2013-09-30 Thread Sascha Hauer
ch series is based on linux-next and has been tested on Vybrid VF610 > Tower board using device tree. Looks good to me now. Thanks for fixing. For the series: Reviewed-by: Sascha Hauer Sascha -- Pengutronix e.K. | | In

Re: [PATCH 0/7] driver core: prevent deferred probe with platform_driver_probe

2013-09-23 Thread Sascha Hauer
of later. Now you remove the __init annotations from these probe functions. Wouldn't it be better to convert the drivers to regular platform_driver_register instead? Sascha -- Pengutronix e.K. | | Industrial Linux Solutions

Re: [PATCH 0/7] driver core: prevent deferred probe with platform_driver_probe

2013-09-23 Thread Sascha Hauer
On Mon, Sep 23, 2013 at 05:20:18PM +0200, Johan Hovold wrote: > On Mon, Sep 23, 2013 at 04:50:29PM +0200, Sascha Hauer wrote: > > On Mon, Sep 23, 2013 at 04:27:25PM +0200, Johan Hovold wrote: > > > Deferred probing cannot be used with platform_driver_probe as by the > > &

[PATCH 7/8] pwm i.MX: fix clock lookup

2012-09-05 Thread Sascha Hauer
even when the SoC is in low power modes. This patch requests both clocks and enables the ipg clock for accessing registers and the peripheral clock to actually turn on the pwm. Signed-off-by: Philipp Zabel Signed-off-by: Sascha Hauer --- drivers/pwm/pwm-imx.c | 33

[PATCH 3/8] pwm i.MX: add functions to enable/disable pwm.

2012-09-05 Thread Sascha Hauer
We used to enable/disable the pwm only by switching the clock on or off. Instead, use the dedicated register bits. These differ on different SoCs, so introduce a SoC specific function for this. Signed-off-by: Sascha Hauer --- drivers/pwm/pwm-imx.c | 48

[PATCH 2/8] pwm i.MX: remove unnecessary if in pwm_[en|dis]able

2012-09-05 Thread Sascha Hauer
The pwm core makes sure that pwm_enable/disable are called only once. Still keep the enabled state since we will need it in pwm_config. Signed-off-by: Sascha Hauer --- drivers/pwm/pwm-imx.c | 25 +++-- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/drivers

[PATCH 5/8] pwm i.MX: add devicetree support

2012-09-05 Thread Sascha Hauer
From: Philipp Zabel At the same time remove platform based support. No user for this driver has made it into mainline so far, so all we break is out of tree stuff. Signed-off-by: Philipp Zabel Signed-off-by: Sascha Hauer --- Documentation/devicetree/bindings/pwm/imx-pwm.txt | 17

[PATCH 8/8] ARM i.MX53: Add pwm support

2012-09-05 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- arch/arm/boot/dts/imx53.dtsi| 14 ++ arch/arm/mach-imx/clk-imx51-imx53.c |4 2 files changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi index cd37165..18b9fc3 100644 --- a/arch/arm

[PATCH 1/8] pwm i.MX: factor out SoC specific functions

2012-09-05 Thread Sascha Hauer
To make the code more flexible. Signed-off-by: Sascha Hauer --- drivers/pwm/pwm-imx.c | 145 - 1 file changed, 82 insertions(+), 63 deletions(-) diff --git a/drivers/pwm/pwm-imx.c b/drivers/pwm/pwm-imx.c index 2a0b353..38270f4 100644 --- a

[PATCH 6/8] pwm i.MX: use per clock unconditionally

2012-09-05 Thread Sascha Hauer
in low power modes. Use the always running clock also on i.MX25. Signed-off-by: Sascha Hauer --- drivers/pwm/pwm-imx.c |7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/pwm/pwm-imx.c b/drivers/pwm/pwm-imx.c index af77045..b234288 100644 --- a/drivers/pwm/pwm

[PATCH v2] pwm i.MX: add devicetree support

2012-09-05 Thread Sascha Hauer
Philipp Zabel (2): pwm i.MX: add devicetree support pwm i.MX: fix clock lookup Sascha Hauer (6): pwm i.MX: factor out SoC specific functions pwm i.MX: remove unnecessary if in pwm_[en|dis]able pwm i.MX: add functions to enable/disable pwm. pwm i.MX: Use

[PATCH 4/8] pwm i.MX: Use module_platform_driver

2012-09-05 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- drivers/pwm/pwm-imx.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/pwm/pwm-imx.c b/drivers/pwm/pwm-imx.c index 3fc4ae8..a689144 100644 --- a/drivers/pwm/pwm-imx.c +++ b/drivers/pwm/pwm-imx.c @@ -270,17 +270,7 @@ static

Re: [PATCH 5/8] pwm i.MX: add devicetree support

2012-09-05 Thread Sascha Hauer
ill include it in the next round. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| Amtsgericht Hil

  1   2   3   4   5   6   7   8   9   10   >