Re: [PATCH 4/5] ARM: dts: imx23-olinuxino: enable Low Resolution ADC

2013-07-15 Thread Alexandre Pereira da Silva
On Mon, Jul 15, 2013 at 11:22 AM, Otavio Salvador wrote: > The i.XM23 has a internal Low Resolution ADC; this enables the support > for this device. > > Signed-off-by: Otavio Salvador Acked-by: Alexandre Pereira da Silva -- To unsubscribe from this list: send the line "unsubsc

Re: IMX23 usb instability on 3.9-rc5

2013-04-07 Thread Alexandre Pereira da Silva
xandre, > > On Sat, Apr 6, 2013 at 4:39 PM, Alexandre Pereira da Silva > wrote: >> Hello, >> >> I am testing a usb key connected on a IMX23-Olinuxino board. The >> kernel panics at heavy usb trafic. This was build with the mxs >> defconfig >> >>

IMX23 usb instability on 3.9-rc5

2013-04-06 Thread Alexandre Pereira da Silva
Hello, I am testing a usb key connected on a IMX23-Olinuxino board. The kernel panics at heavy usb trafic. This was build with the mxs defconfig This happens everytime with "dd if=/dev/sda of=/dev/null bs=4k". The messages of the failure varies a lot from run to run. I tested also on kernel vers

Re: [PATCH] mmc: mxs-mmc: Add broken-cd devicetree property

2013-04-06 Thread Alexandre Pereira da Silva
On Sat, Apr 6, 2013 at 10:58 AM, Marc Kleine-Budde wrote: > According to the documentation broken card detect is something different > than non-removable: > > > - broken-cd: There is no card detection available; polling must be used. > > - non-removable: non-removable slot (like eMMC); assume

[PATCH] ARM: dts: imx23-olinuxino: mark sdcard cd as broken

2013-04-06 Thread Alexandre Pereira da Silva
The imx23-olinuxino sdcard doesn't have card detect. Signed-off-by: Alexandre Pereira da Silva --- arch/arm/boot/dts/imx23-olinuxino.dts |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/imx23-olinuxino.dts b/arch/arm/boot/dts/imx23-olinuxino.dts index a43141a..d4

[PATCH] mmc: mxs-mmc: Add broken-cd devicetree property

2013-04-06 Thread Alexandre Pereira da Silva
In case of broken card detect support, assume the card is non-removable Signed-off-by: Alexandre Pereira da Silva --- This patch depends on Marc Kleine-Budde series adding support for non-removable. drivers/mmc/host/mxs-mmc.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

Re: [PATCH] ARM: dts: imx23-olinuxino: Set the sdcard as non-removable

2013-04-05 Thread Alexandre Pereira da Silva
On Fri, Apr 5, 2013 at 11:11 AM, Marek Vasut wrote: > The CD line is working perfectly well on this board, so I don't get it. In the schematics of this board, the SSP1_DETECT pin is connected to the green led. As I see, there is no way, the hardware can detect card removal. Am I missing something

Re: [PATCH] mmc: mxs-mmc: Add support for non-removable cards

2013-04-05 Thread Alexandre Pereira da Silva
On Fri, Apr 5, 2013 at 6:13 AM, Shawn Guo wrote: > > Marc already sent a similar patch[1] for that. Thanks for pointing it out. I will work on top of that patch. > Shawn > > [1] http://thread.gmane.org/gmane.linux.kernel.mmc/19823/focus=19825 > -- To unsubscribe from this list: send the line "u

[PATCH] mmc: mxs-mmc: Add support for non-removable cards

2013-04-04 Thread Alexandre Pereira da Silva
Some boards and card slots doesn't have card detect feature available. In that case allow to mark the cards as non-removable, via devicetree. Signed-off-by: Alexandre Pereira da Silva --- drivers/mmc/host/mxs-mmc.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/mmc

[PATCH] ARM: dts: imx23-olinuxino: Set the sdcard as non-removable

2013-04-04 Thread Alexandre Pereira da Silva
The imx23-olinuxino sdcard doesn't support card detect. Signed-off-by: Alexandre Pereira da Silva --- arch/arm/boot/dts/imx23-olinuxino.dts |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/imx23-olinuxino.dts b/arch/arm/boot/dts/imx23-olinuxino.dts index e7

Re: [PATCH 3/3] pwm: lpc32xx - Set the chip base for dynamic allocation

2012-11-23 Thread Alexandre Pereira da Silva
On Wed, Nov 14, 2012 at 9:58 AM, Alban Bedel wrote: > Signed-off-by: Alban Bedel Acked-by: Alexandre Pereira da Silva > --- > drivers/pwm/pwm-lpc32xx.c |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/drivers/pwm/pwm-lpc32xx.c b/drivers/pwm/pwm

Re: [PATCH 1/3] pwm: lpc32xx - Fix the PWM polarity

2012-11-23 Thread Alexandre Pereira da Silva
On Wed, Nov 14, 2012 at 9:58 AM, Alban Bedel wrote: > The duty cycles value goes from 1 (99% HIGH) to 256 (0% HIGH) but it > is stored modulo 256 in the register as it is only 8 bits wide. > > Signed-off-by: Alban Bedel Acked-by: Alexandre Pereira da Silva > --- > drivers

Re: [PATCH] pwm: lpc32xx - Fix the PWM polarity

2012-11-08 Thread Alexandre Pereira da Silva
On Thu, Nov 8, 2012 at 11:12 AM, Roland Stigge wrote: > On 08/11/12 12:23, Alban Bedel wrote: It is intended, the formular for duty value in the register is: duty = (256 - 256*duty_ns/period_ns) % 256 >>> >>> Where does this modulo defined? In the Manual, there is sth. like this >>>

Re: [PATCH] pwm: lpc32xx - Fix the PWM polarity

2012-11-07 Thread Alexandre Pereira da Silva
On Wed, Nov 7, 2012 at 1:25 PM, Alban Bedel wrote: > Signed-off-by: Alban Bedel Acked-by: Alexandre Pereira da Silva > --- > drivers/pwm/pwm-lpc32xx.c |6 +- > 1 files changed, 5 insertions(+), 1 deletions(-) > > diff --git a/drivers/pwm/pwm-lpc32xx.c b/drivers

Re: 3.7-rc3 oops on reboot

2012-10-29 Thread Alexandre Pereira da Silva
On Mon, Oct 29, 2012 at 12:41 PM, Roland Stigge wrote: > On 10/29/2012 02:51 PM, Alexandre Pereira da Silva wrote: >>> I just tried both on a PHY3250 reference machine, and on a custom board >>> and couldn't reproduce sth. like this. Booted the kernel and connected >&

Re: 3.7-rc3 oops on reboot

2012-10-29 Thread Alexandre Pereira da Silva
Roland, thanks for the quick response. > I just tried both on a PHY3250 reference machine, and on a custom board > and couldn't reproduce sth. like this. Booted the kernel and connected > the ethernet cable later on, as well as with cable connected on boot. This is happening on my custom board. I

Re: [PATCH 1/2] drivers/net/ethernet/nxp/lpc_eth.c: Call mdiobus_unregister before mdiobus_free

2012-10-29 Thread Alexandre Pereira da Silva
coccinelle.lip6.fr/): > // > @@ > expression E; > @@ > ... when != mdiobus_unregister(E); > > + mdiobus_unregister(E); > mdiobus_free(E); > // > > Signed-off-by: Peter Senna Tschudin > --- Tested-by: Alexandre Pereira da Silva -- To unsubscribe from this

[PATCH RESEND] usb: gadget: lpc32xx_udc: Disable setup request error

2012-10-15 Thread Alexandre Pereira da Silva
This message is an debugging message. It's useful for finding protocol details but it's not necessarily an error. Signed-off-by: Alexandre Pereira da Silva --- drivers/usb/gadget/lpc32xx_udc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/

[PATCH RESEND] usb: gadget: lpc32xx_udc: Fix compatibility with STOTG04

2012-10-15 Thread Alexandre Pereira da Silva
me on both parts and has the needed information. Signed-off-by: Alexandre Pereira da Silva --- This patch is very important to LPC32xx users. IMHO this should go in for 3.7-rc2. drivers/usb/gadget/lpc32xx_udc.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/driver

Re: [PATCH] spi/pl022: Devicetree support w/o platform data

2012-09-18 Thread Alexandre Pereira da Silva
ce tree. Now, > the data must be provided via platform data _or_ device tree completely. > > Only in case of callback specification (dma_filter()), platform data is > necessary. > > Signed-off-by: Roland Stigge > Acked-by: Linus Walleij Acked-by: Alexandre Pereira da Silva

Re: [PATCH 2/2] ARM: LPC32xx: Platform update for devicetree completion of spi-pl022

2012-09-18 Thread Alexandre Pereira da Silva
_DEV_AUXDATA() > are still necessary due to device naming ("dev:ssp0"). > > Signed-off-by: Roland Stigge Acked-by: Alexandre Pereira da Silva > -- > I will do a git pull request for arm-soc.git when the respective change in > spi-pl022.c is merged. > > ---

Re: [PATCH 1/2] ARM: LPC32xx: DTS update for devicetree completion of spi-pl022

2012-09-18 Thread Alexandre Pereira da Silva
cked-by: Alexandre Pereira da Silva > > --- > I will do a git pull request for arm-soc.git when the respective change in > spi-pl022.c is merged. > > arch/arm/boot/dts/lpc32xx.dtsi |2 ++ > 1 file changed, 2 insertions(+) > > --- linux-2.6.orig/arch/arm/boot/dts/l

[PATCH] input: gpio_keys_polled: fix dt pdata->nbuttons

2012-09-12 Thread Alexandre Pereira da Silva
pdata->nbuttons should be updated by the dt code. Signed-off-by: Alexandre Pereira da Silva --- drivers/input/keyboard/gpio_keys_polled.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/keyboard/gpio_keys_polled.c b/drivers/input/keyboard/gpio_keys_polled.c index 7908

[PATCH] usb: gadget: lpc32xx_udc: Disable setup request error message

2012-09-12 Thread Alexandre Pereira da Silva
This message is an debugging message. It's useful for finding protocol details but it's not necessarily an error. Signed-off-by: Alexandre Pereira da Silva --- drivers/usb/gadget/lpc32xx_udc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/

[PATCH] usb: gadget: lpc32xx_udc: Fix compatibility with STOTG04

2012-09-12 Thread Alexandre Pereira da Silva
me on both parts and has the needed information. Signed-off-by: Alexandre Pereira da Silva --- drivers/usb/gadget/lpc32xx_udc.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/lpc32xx_udc.c b/drivers/usb/gadget/lpc32xx_udc.c index f696fb9..21a9861 100644

Re: [PATCH v5 2/2] spi/pl022: Add devicetree support

2012-08-21 Thread Alexandre Pereira da Silva
On Tue, Aug 21, 2012 at 1:01 PM, Roland Stigge wrote: > This patch adds device tree support to the spi-pl022 driver. > > Based on the initial patch by Alexandre Pereira da Silva > > > Signed-off-by: Roland Stigge Acked-By: Alexandre Pereira da Silva > --- > >

Re: [PATCH v5 1/2] spi/pl022: Add chip select handling via GPIO

2012-08-21 Thread Alexandre Pereira da Silva
> Based on the initial patch by Alexandre Pereira da Silva > > > Signed-off-by: Roland Stigge Acked-By: Alexandre Pereira da Silva > --- > Applies to v3.6-rc2 > > Patch set changes since v4: > * Rename DT property: "pl022,num-chipselects" -> "num-cs"

[PATCH RESEND v4] spi/pl022: add devicetree support

2012-08-20 Thread Alexandre Pereira da Silva
spi devices and register them At pl022 setup, fill chip_data structure from dt nodes, if not provided by platform. Signed-off-by: Alexandre Pereira da Silva Acked-by: Roland Stigge --- Applies to v3.6-rc1 Changes since v3: * Proper use of IS_ENABLED Changes since v2: * Use IS_ENABLED instead

Re: [PATCH v2] usb: gadget: composite: parse dt values

2012-08-09 Thread Alexandre Pereira da Silva
On Thu, Aug 9, 2012 at 8:49 AM, Felipe Balbi wrote: > Hi, > > On Thu, Aug 09, 2012 at 01:42:42PM +0200, Sebastian Andrzej Siewior wrote: >> On Tue, Jul 24, 2012 at 10:15:20AM -0300, Alexandre Pereira da Silva wrote: >> > --- /dev/null >> > +++ b/Documentation/d

Re: [GIT PULL] PWM subsystem for v3.6

2012-07-27 Thread Alexandre Pereira da Silva
original work, and Arnd Bergmann who was involved in > the review process. Other people such as Shawn Guo and Mark Brown have > also been reviewing these patches and new patches have been contributed > by Eric BĂ©nard, Axel Lin, Sachin Kamat, Alexandre Courbot, Alexandre > Pereira da Silv

[PATCH v2] usb: gadget: composite: parse dt values

2012-07-24 Thread Alexandre Pereira da Silva
Grab the devicetree node properties to set VendorId, ProductId, bcdDevice, Manucacturer, Product and SerialNumber Signed-off-by: Alexandre Pereira da Silva Acked-by: Michal Nazarewicz Acked-by: Rob Herring --- Applies to v3.5 Changes since V1: * Minor patch description and code comments

Re: [PATCH RESEND V2] input: gpio_keys_polled: convert to dt

2012-07-19 Thread Alexandre Pereira da Silva
Hi, Dmitry On Thu, Jul 19, 2012 at 4:27 AM, Dmitry Torokhov wrote: > Hi Alexandre, > > On Mon, Jul 09, 2012 at 03:31:43PM -0300, Alexandre Pereira da Silva wrote: >> @@ -38,7 +40,7 @@ struct gpio_keys_button_data { >> struct gpio_keys_polled_dev { >> struct

Re: [PATCH RESEND] gpio: of_get_named_gpio_flags() return -EPROBE_DEFER if GPIO not yet available

2012-07-17 Thread Alexandre Pereira da Silva
e of an optional/intentionally missing GPIO is >> handled >> appropriately. >> >> Signed-off-by: Roland Stigge > > Patch applied, if all gpio stuff shall defer properly in v3.6 we need this > so let's do some testing in -next! > > Would be nice to get some ACK b

Re: [PATCH] clk: fix compile for OF && !COMMON_CLK

2012-07-16 Thread Alexandre Pereira da Silva
On Mon, Jul 16, 2012 at 6:46 PM, Rob Herring wrote: > From: Rob Herring > > With commit 766e6a4ec602d0c107 (clk: add DT clock binding support), > compiling with OF && !COMMON_CLK is broken. Thanks, Rob. This fixed the issue for me, but Mike's comments applies. > Re

linux-next: Tree for July 16 - Build failure

2012-07-16 Thread Alexandre Pereira da Silva
Hi, I am getting errors building lpc32xx defconfig on linux-next tree for next-20120716 tag. Here are the errors: drivers/built-in.o: In function `of_clk_get': drivers/clk/clkdev.c:42: undefined reference to `of_clk_get_from_provider' make[1]: ** [vmlinux] Erro 1 Any suggestions? Thanks. -- To

Re: [PATCH 1/2] mtd: lpc32xx_slc: Adjust to pl08x DMA interface changes

2012-07-13 Thread Alexandre Pereira da Silva
On Thu, Jul 12, 2012 at 9:22 AM, Roland Stigge wrote: > This patch adjusts the LPC32xx SLC NAND driver to the new pl08x DMA interface, > fixing the compile error resulting from changed pl08x structures. > > Signed-off-by: Roland Stigge Acked-By: Alexandre Pereira da Silva > ---

Re: [PATCH] ARM: LPC32xx: Adjust to pl08x DMA interface changes

2012-07-13 Thread Alexandre Pereira da Silva
On Thu, Jul 12, 2012 at 9:22 AM, Roland Stigge wrote: > This patch adjusts the LPC32xx platform support to the new pl08x DMA > interface, > fixing the compile error resulting from changed pl08x structures. > > Signed-off-by: Roland Stigge Acked-By: Alexandre P

Re: [PATCH 2/2] mtd: lpc32xx_mlc: Adjust to pl08x DMA interface changes

2012-07-13 Thread Alexandre Pereira da Silva
On Thu, Jul 12, 2012 at 9:22 AM, Roland Stigge wrote: > This patch adjusts the LPC32xx MLC NAND driver to the new pl08x DMA interface, > fixing the compile error resulting from changed pl08x structures. > > Signed-off-by: Roland Stigge Acked-By: Alexandre Pereira da Silva > ---

Re: [PATCH v2] pwm: add lpc32xx pwm support

2012-07-10 Thread Alexandre Pereira da Silva
On Tue, Jul 10, 2012 at 9:43 AM, Roland Stigge wrote: > Hi! > > On 07/10/2012 01:53 PM, Alexandre Pereira da Silva wrote: >> Add lpc32xx soc pwm driver. >> >> Signed-off-by: Alexandre Pereira da Silva >> --- >> +++ b/drivers/pwm/pwm-lpc32xx.c >> @

Re: [PATCH v2] pwm: add lpc32xx pwm support

2012-07-10 Thread Alexandre Pereira da Silva
On Tue, Jul 10, 2012 at 9:19 AM, Thierry Reding wrote: > On Tue, Jul 10, 2012 at 08:53:32AM -0300, Alexandre Pereira da Silva wrote: >> Add lpc32xx soc pwm driver. > > The subject and this still need fixing (soc -> SOC, pwm -> PWM). > >> Signed-off-

Re: [PATCH] pwm: add lpc32xx pwm support

2012-07-10 Thread Alexandre Pereira da Silva
On Tue, Jul 10, 2012 at 3:48 AM, Thierry Reding wrote: > On Mon, Jul 09, 2012 at 04:27:54PM -0300, Alexandre Pereira da Silva wrote: >> Add lpc32xx soc pwm driver. >> >> Signed-off-by: Alexandre Pereira da Silva >> --- >> .../devicetree/bindings/pwm/lpc32xx-pwm

[PATCH] pwm: add lpc32xx pwm support

2012-07-09 Thread Alexandre Pereira da Silva
Add lpc32xx soc pwm driver. Signed-off-by: Alexandre Pereira da Silva --- .../devicetree/bindings/pwm/lpc32xx-pwm.txt| 12 ++ drivers/pwm/Kconfig| 11 ++ drivers/pwm/Makefile |1 + drivers/pwm/pwm-lpc32xx.c

[PATCH RESEND] usb: gadget: composite: parse dt values

2012-07-09 Thread Alexandre Pereira da Silva
Grab the devicetree node properties to override VendorId, ProductId, bcdDevice, Manucacturer, Product and SerialNumber Signed-off-by: Alexandre Pereira da Silva Acked-by: Michal Nazarewicz Acked-by: Rob Herring --- Documentation/devicetree/bindings/usb/gadget.txt | 20 +++ drivers