Re: [PATCH for 3.7] mtd: nand: fix Samsung SLC NAND identification regression

2012-10-31 Thread Marek Vasut
). Is this an obstacle to merging? No. I already pushed it. This is a bump for a 3.7-rc pull request. This regression has been noticed by others. [whine] my nand doesn't work ;-) Thanks for keeping eye on this, Brian. Best regards, Marek Vasut -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] mfd: da9052-core: Fix request_threaded_irq() parameter

2012-09-27 Thread Marek Vasut
. Also define 'DA9052_IRQF' for improving readability. Signed-off-by: Fabio Estevam fabio.este...@freescale.com Reviewed-by: Marek Vasut ma...@denx.de --- drivers/mfd/da9052-core.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/mfd/da9052-core.c b

Re: [PATCH 04/17] ARM: pxa: define palmte2_pxa_keys conditionally

2012-10-03 Thread Marek Vasut
in: /home/arnd/linux-arm/arch/arm/mach-pxa/palmte2.c:128:31: warning: 'palmte2_pxa_keys' defined but not used [-Wunused-variable] Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Marek Vasut marek.va...@gmail.com Cc: Carlos Eduardo Medaglia Dyonisio c...@nerdfeliz.com Cc: Haojian Zhuang

Re: [PATCH 2/4] backlight: lms283gf05: add missing const

2012-10-23 Thread Marek Vasut
Dear Jingoo Han, Add 'const' to static array that was missing it in its definition. Did you get compiler warning? Still, this is a good pick Acked-by: Marek Vasut ma...@denx.de Signed-off-by: Jingoo Han jg1@samsung.com Cc: Marek Vasut marek.va...@gmail.com Cc: Richard Purdie rpur

Re: [PATCH for 3.7] mtd: nand: fix Samsung SLC NAND identification regression

2012-10-10 Thread Marek Vasut
Dear David Woodhouse, On Tue, 2012-10-09 at 23:39 -0700, Brian Norris wrote: I can see if that's possible, but I think it's unlikely. They don't even bother following standards (ONFI). Is this an obstacle to merging? No. I already pushed it. Thanks guys! Best regards, Marek Vasut

Re: [PATCH 1/2] backlight: lms283gf05: use devm_gpio_request_one

2012-10-17 Thread Marek Vasut
Dear Jingoo Han, By using devm_gpio_request_one it is possible to set the direction and initial value in one shot. Thus, using devm_gpio_request_one can make the code simpler. Signed-off-by: Jingoo Han jg1@samsung.com Cc: Richard Purdie rpur...@rpsys.net Cc: Marek Vasut marek.va

Re: [PATCH] dma: add new DMA control commands

2012-10-18 Thread Marek Vasut
when doing too long chains -- so you might need to fix that part of the mxs DMA driver. thanks Huang Shijie Best regards, Marek Vasut -- 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

Re: [PATCH] dma: add new DMA control commands

2012-10-18 Thread Marek Vasut
Dear Huang Shijie, 于 2012年10月18日 15:14, Marek Vasut 写道: Dear Huang Shijie, Why such massive CC ? 于 2012年10月18日 14:18, Vinod Koul 写道: Why cant you do start (prepare clock etc) when you submit the descriptor to dmaengine. Can be done in tx_submit callback. Similarly remove

Re: [PATCH] dma: add new DMA control commands

2012-10-18 Thread Marek Vasut
Dear Huang Shijie, 于 2012年10月18日 16:16, Marek Vasut 写道: So we can't stream data from the chip? About time to adjust the MTD framework to allow that. Maybe implement a command queue? IMHO, it's not possible. Because the READ-PAGE(00h-30h) command needs to check the busy status which

Re: [PATCH] dma: add new DMA control commands

2012-10-18 Thread Marek Vasut
Dear Huang Shijie, 于 2012年10月18日 16:49, Marek Vasut 写道: Dear Huang Shijie, 于 2012年10月18日 16:16, Marek Vasut 写道: So we can't stream data from the chip? About time to adjust the MTD framework to allow that. Maybe implement a command queue? IMHO, it's not possible. Because the READ

[PATCH V2] [SCSI] async: Fixup arguments of async_synchronize_full_domain in alsa-soc

2012-07-16 Thread Marek Vasut
] (worker_thread+0x164/0x36c) from [c00335d8] (kthread+0x84/0x90) [3.97] [c00335d8] (kthread+0x84/0x90) from [c000fb70] (kernel_thread_exit+0x0/0x8) [3.97] Code: e59a200c e28a0008 e58a900c e9080005 (e5829000) [3.97] ---[ end trace 7e75d80e67ab9651 ]--- Signed-off-by: Marek

Re: [PATCH V2] [SCSI] async: Fixup arguments of async_synchronize_full_domain in alsa-soc

2012-07-17 Thread Marek Vasut
Dear James Bottomley, On Mon, 2012-07-16 at 15:56 -0700, Dan Williams wrote: On Mon, Jul 16, 2012 at 3:17 PM, Marek Vasut ma...@denx.de wrote: [..] sound/soc/soc-dapm.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) V2: CC proper people, hopefully proper mailing

Re: [PATCH] gpio: ucb1400: Can be built as a module

2013-04-17 Thread Marek Vasut
Dear Jean Delvare, With the recent code cleanup from Marek Vasut, driver gpio-ucb1400 can be built as a module, so change symbol GPIO_UCB1400 from bool to tristate. Signed-off-by: Jean Delvare jdelv...@suse.de Cc: Marek Vasut ma...@denx.de Cc: Grant Likely grant.lik...@secretlab.ca Cc

Re: [PATCH] video: mxsfb: Fix colors display on lower color depth

2013-04-18 Thread Marek Vasut
data lines routed to the LCD. Best regards, Marek Vasut -- 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.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

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

2013-04-05 Thread Marek Vasut
Dear 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 aletes@gmail.com Looks good, Reviewed-by: Marek Vasut ma...@denx.de

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

2013-04-05 Thread Marek Vasut
too ;-) Best regards, Marek Vasut -- 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.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

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

2013-04-05 Thread Marek Vasut
regards, Marek Vasut -- 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.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

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

2013-04-05 Thread Marek Vasut
Dear Mark Brown, On Fri, Apr 05, 2013 at 08:37:39AM +0200, Marek Vasut wrote: btw. did you know you can let git send-email automatically handle CC for you so you don't have to type it into the command line by simply sticking Cc: Us Er e...@ma.il in the commit message? Preferably

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

2013-04-05 Thread Marek Vasut
Dear Alexandre Pereira da Silva, On Fri, Apr 5, 2013 at 11:11 AM, Marek Vasut ma...@denx.de 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

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

2013-04-06 Thread Marek Vasut
. - non-removable: non-removable slot (like eMMC); assume always present. But mxs-mmc set MMC_CAP_NEEDS_POLL unconditionally. I will work on a better way to fix this. NEEDS_POLL looks nice and seems to fit this case. Best regards, Marek Vasut -- To unsubscribe from this list: send

Re: [PATCH RFC] ARM: dts: mxs: leave card detect out of common mmc pins config

2013-04-08 Thread Marek Vasut
just the CD line that's missing. Best regards, Marek Vasut -- 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.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org

Re: [PATCH RFC] ARM: dts: mxs: leave card detect out of common mmc pins config

2013-04-09 Thread Marek Vasut
Dear Hector Palacios, Dear Marek Vasut, On 04/08/2013 06:28 PM, Marek Vasut wrote: Dear Shawn Guo, On Mon, Apr 08, 2013 at 03:58:05PM +0200, Hector Palacios wrote: On 04/08/2013 02:48 PM, Shawn Guo wrote: On Mon, Apr 08, 2013 at 12:12:20PM +0200, Hector Palacios wrote: MicroSD

Re: [PATCH RFC] ARM: dts: mxs: leave card detect out of common mmc pins config

2013-04-09 Thread Marek Vasut
Hi Hector, Dear Marek Vasut, On 04/09/2013 10:15 AM, Marek Vasut wrote: Dear Hector Palacios, Dear Marek Vasut, On 04/08/2013 06:28 PM, Marek Vasut wrote: Dear Shawn Guo, On Mon, Apr 08, 2013 at 03:58:05PM +0200, Hector Palacios wrote: On 04/08/2013 02:48 PM, Shawn Guo

[PATCH v2] UCB1400: Pass ucb1400-gpio data through ac97 bus

2013-04-14 Thread Marek Vasut
Signed-off-by: Marek Vasut ma...@denx.de --- drivers/gpio/gpio-ucb1400.c | 19 ++- drivers/mfd/ucb1400_core.c |5 + include/linux/ucb1400.h | 18 ++ 3 files changed, 17 insertions(+), 25 deletions(-) v2: Rebase patch from: http://lists.infradead.org

Re: [PATCH v2] UCB1400: Pass ucb1400-gpio data through ac97 bus

2013-04-14 Thread Marek Vasut
Dear Marek Vasut, Cc: Linus Walleij linus.wall...@linaro.org Cc: Jean Delvare jdelv...@suse.de Cc: Samuel Ortiz sa...@linux.intel.com Cc: Mark Brown broo...@opensource.wolfsonmicro.com Cc: Guenter Roeck li...@roeck-us.net Cc: linux-kernel linux-kernel@vger.kernel.org Cc: Grant Likely

Re: gpio-ucb1400

2013-03-30 Thread Marek Vasut
don't find any information about the reason. It's been a while. Guenter, thanks for finding that link, but I suspect the patch is heavily obsolete by now. Best regards, Marek Vasut -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: gpio-ucb1400

2013-03-31 Thread Marek Vasut
Dear Guenter Roeck, On Sat, Mar 30, 2013 at 08:20:44PM +0100, Marek Vasut wrote: Dear Guenter Roeck, On Fri, Mar 29, 2013 at 08:46:39PM +0100, Jean Delvare wrote: Hi all, In September 2009, a driver for the GPIO function of the UCB1400 chip was added to the kernel tree

Re: BUG: soft lockup when recording audio on MX28EVK with ASoC sgtl5000

2013-03-25 Thread Marek Vasut
checked that the mxs-saif interrupt (184) counter suddenly increased very quickly (from 288 to 45427 in one second, 94471 the next second, and so on). I was wondering if this happens in other platforms using this codec or if it is an MXS issue only. Best regards, Best regards, Marek Vasut

Re: [PATCH 1/2] phy/micrel: Add support for KSZ8031

2013-03-11 Thread Marek Vasut
any board with this one, yet I think this change is correct, so: Reviewed-by: Marek Vasut ma...@denx.de Best regards, Marek Vasut -- 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

Re: linux-next: manual merge of the hid tree with Linus' tree

2012-09-09 Thread Marek Vasut
) from the hid tree. Just context changes. I fixed it up (see below) and can carry the fix as necessary (no action is required). Looks obviously correct, thank you Stephen! Best regards, Marek Vasut -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH 4/4] drivers/mmc/host/mxs-mmc.c: fix error return code

2012-09-17 Thread Marek Vasut
Dear Peter Senna Tschudin, From: Peter Senna Tschudin peter.se...@gmail.com The patch description is a bit crap, but otherwise Acked-by: Marek Vasut ma...@denx.de Convert a nonnegative error return code to a negative one, as returned elsewhere in the function. A simplified version

Re: linux-next: manual merge of the spi-mb tree with the mmc tree

2012-09-04 Thread Marek Vasut
and SPI) from the spi-mb tree. I fixed it up (see below) and can carry the fix as necessary (no action is required). On a quick glance, it seems correct. Thank you! Best regards, Marek Vasut -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: [PATCH 1/1] [RFC] uartclk from serial_core exposed to sysfs

2012-08-14 Thread Marek Vasut
Dear Tomas Hlavacek, Support for read/modify of uartclk via sysfs added. It may prove useful with some no-name cards that has different oscillator speeds and no distinguishing PCI IDs to allow autodetection. It allows better integration with udev and/or init scripts. Signed-off-by: Tomas

Re: [PATCH] mtd: kill MTD_NAND_VERIFY_WRITE

2012-08-15 Thread Marek Vasut
should submit an accompanying patch that removes CONFIG_MTD_NAND_VERIFY_WRITE from all defconfig files. thanks a lot. I will send out a separate patch to fix it. I'd still prefer for this to be rather fixed. It seems to be able to find some obvious mistakes etc. [...] Best regards, Marek

Re: [PATCH] mtd: kill MTD_NAND_VERIFY_WRITE

2012-08-16 Thread Marek Vasut
Dear Huang Shijie, 于 2012年08月15日 20:09, Marek Vasut 写道: I'd still prefer for this to be rather fixed. It seems to be able to find some obvious mistakes etc. could you please point out the mistakes? Usual stuff -- flaws in drivers, misbehavior of the chip etc Best regards, Marek Vasut

Re: SLAVE Side SPI kernel driver development

2012-08-24 Thread Marek Vasut
because of the SPI IP in the mx28 is nice. Regards, Fabio Estevam Best regards, Marek Vasut -- 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.kernel.org/majordomo-info.html Please read

Re: SLAVE Side SPI kernel driver development

2012-08-25 Thread Marek Vasut
:) Good luck with that. Thanks to all of you who provided suggestions. Carlo Bastelli - Original Message - From: Ned Forrester nforres...@whoi.edu To: Marek Vasut ma...@denx.de Cc: Fabio Estevam feste...@gmail.com; spi-devel-gene...@lists.sourceforge.net; Bastelli Carlo (yahoo

Re: [PATCHv3 1/1] [RFC] uartclk from serial_core exposed to sysfs

2012-08-17 Thread Marek Vasut
to it. (hint, DEVICE_ATTR), right ? Does that make sense? greg k-h Best regards, Marek Vasut -- 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.kernel.org/majordomo-info.html Please read

Re: [PATCH 3/3] IIO: arm: Add LRADC to i.MX28 dts

2012-08-19 Thread Marek Vasut
Dear Shawn Guo, On 17 August 2012 10:57, Marek Vasut ma...@denx.de wrote: Thanks ... still, is there some key for those tags? Or do you invent them at random and then let people guess what's right? Some git grep on Documentation directory gets me nothing. There is no official document

Re: [PATCH 3/3] IIO: arm: Add LRADC to i.MX28 dts

2012-08-20 Thread Marek Vasut
in there...) That might just be it ;-) Thanks Best regards, Marek Vasut -- 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.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: Improve timer Resolution on imx28

2012-12-21 Thread Marek Vasut
increase the clock freqeuncy driving the timers here. Thanks for the set. Just a really quick question -- won't this under no circumstance cause interrupt storm? Best regards, Marek Vasut -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: [PATCH 04/12] drivers/mmc/host: don't use devm_pinctrl_get_select_default() in probe

2013-07-10 Thread Marek Vasut
...@the-dreams.de Something like that is already in -next: mmc: mxs-mmc: Let device core handle pinctrl Otherwise Tested-by: Marek Vasut ma...@denx.de Best regards, Marek Vasut -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org

Re: [PATCH 2/5] ARM: mxs-lradc: Simplify mxs_lradc_trigger_init error handle

2013-07-15 Thread Marek Vasut
; } static void mxs_lradc_trigger_remove(struct iio_dev *iio) Best regards, Marek Vasut -- 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.kernel.org/majordomo-info.html Please read

Re: [PATCH 2/5] ARM: mxs-lradc: Simplify mxs_lradc_trigger_init error handle

2013-07-15 Thread Marek Vasut
Dear Otavio Salvador, On Mon, Jul 15, 2013 at 11:24 AM, Marek Vasut marek.va...@gmail.com wrote: Dear Otavio Salvador, As we have a 'ret' variable with the iio_trigger_register return, this can be used as result. Signed-off-by: Otavio Salvador ota...@ossystems.com.br

Re: [PATCH V3 5/5] input: pxa27x-keypad: add device tree support

2013-06-19 Thread Marek Vasut
time the key will be Is there no generic prop name for this debounce interval? Best regards, Marek Vasut -- 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.kernel.org/majordomo-info.html

Re: [PATCH v2 1/5] iio: mxs-lradc: change the realbits to 12

2013-07-19 Thread Marek Vasut
bits). Signed-off-by: Hector Palacios hector.palac...@digi.com Acked-by: Marek Vasut ma...@denx.de Best regards, Marek Vasut -- 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

Re: [PATCH v2 2/5] ARM: dts: add reference voltage property for MXS LRADC

2013-07-19 Thread Marek Vasut
the whole patchset because of it. Acked-by: Marek Vasut ma...@denx.de Best regards, Marek Vasut -- 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.kernel.org/majordomo-info.html Please read

Re: [PATCH v2 5/5] iio: mxs-lradc: add write_raw function to modify scale

2013-07-19 Thread Marek Vasut
= mxs_lradc_write_raw_get_fmt, Is this needed here ? .attrs = mxs_lradc_attribute_group, }; Best regards, Marek Vasut -- 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

Re: [PATCH v2 3/5] iio: mxs-lradc: add scale attribute to channels

2013-07-19 Thread Marek Vasut
*/ + ret = of_property_read_u32_array(node, fsl,vref, lradc-vref_mv, + LRADC_MAX_TOTAL_CHANS); + if (ret) + goto err_addr; + platform_set_drvdata(pdev, iio); init_completion(lradc-completion); Otherwise: Acked-by: Marek Vasut ma

Re: [PATCH] ARM: pxa/colibri: fix build with CONFIG_USB_OHCI_HCD=y

2013-11-07 Thread Marek Vasut
declaration of function 'IOMEM' make[1]: *** [arch/arm/mach-pxa/colibri-evalboard.o] Error 1 make: *** [arch/arm/mach-pxa] Error 2 Signed-off-by: Dmitry Artamonow mad_s...@inbox.lv Acked-by: Marek Vasut ma...@denx.de Best regards, Marek Vasut -- To unsubscribe from this list: send the line

Re: KSZ8051 breakage

2013-09-18 Thread Marek Vasut
this the same way as the 50MHZ flag, that is being set by board code. I wouldn't mind, but we should use something generic the other PHYs can use as well. Best regards, Marek Vasut -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Possible bug in firmware/Makefile

2013-11-26 Thread Marek Vasut
on the kernel build command line please? Thank you very much! Best regards, Marek Vasut -- 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.kernel.org/majordomo-info.html Please read the FAQ

Re: [PATCH] I2C: busses: Do not print error message in syslog if no ACK received

2013-11-12 Thread Marek Vasut
so we can grep for the error messages. Such text arg should never be split in multiple lines in kernel. Best regards, Marek Vasut -- 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

Re: [PATCH] I2C: busses: Do not print error message in syslog if no ACK received

2013-11-12 Thread Marek Vasut
Dear Andreas Werner, On Tue, Nov 12, 2013 at 07:00:59PM +0100, Marek Vasut wrote: Dear Andreas Werner, Using the i2c-eg20t driver and call i2cdetect or probe on the bus, the driver will print a lot of error messages if there was no ACK received. i2cdetect normally print

Re: [PATCH] I2C: busses: Do not print error message in syslog if no ACK received

2013-11-13 Thread Marek Vasut
Dear Andreas Werner, On Tue, Nov 12, 2013 at 07:33:40PM +0100, Marek Vasut wrote: Dear Andreas Werner, On Tue, Nov 12, 2013 at 07:00:59PM +0100, Marek Vasut wrote: Dear Andreas Werner, Using the i2c-eg20t driver and call i2cdetect or probe on the bus, the driver

Re: [PATCH v8 2/2] iio: Add AS3935 lightning sensor support

2014-03-12 Thread Marek Vasut
On Wednesday, March 12, 2014 at 01:53:14 PM, Matt Ranostay wrote: AS3935 chipset can detect lightning strikes and reports those back as events and the estimated distance to the storm. Signed-off-by: Matt Ranostay mranos...@gmail.com Reviewed-by: Marek Vasut ma...@denx.de Best regards, Marek

Re: [PATCH 1/3] i2c: add DMA support for freescale i2c driver

2014-02-27 Thread Marek Vasut
On Thursday, February 27, 2014 at 07:05:14 AM, Yuan Yao wrote: [...] */ @@ -63,6 +68,9 @@ /* Default value */ #define IMX_I2C_BIT_RATE 10 /* 100kHz */ +/* enable DMA if transfer size is bigger than this threshold */ +#define IMX_I2C_DMA_THRESHOLD16 So what's the

Re: [PATCH 1/3] i2c: add DMA support for freescale i2c driver

2014-02-28 Thread Marek Vasut
On Friday, February 28, 2014 at 06:19:18 AM, Yao Yuan wrote: [...] @@ -213,6 +238,7 @@ static struct imx_i2c_hwdata vf610_i2c_hwdata = { .ndivs = ARRAY_SIZE(vf610_i2c_clk_div), .i2sr_clr_opcode= I2SR_CLR_OPCODE_W1C, .i2cr_ien_opcode=

Re: [PATCH 1/3] i2c: add DMA support for freescale i2c driver

2014-02-28 Thread Marek Vasut
On Friday, February 28, 2014 at 03:23:52 AM, Shawn Guo wrote: On Fri, Feb 28, 2014 at 10:13:02AM +0800, Shawn Guo wrote: On Thu, Feb 27, 2014 at 09:39:35PM +0100, Marek Vasut wrote: @@ -193,6 +216,7 @@ static const struct imx_i2c_hwdata imx1_i2c_hwdata = { .ndivs

Re: [PATCH 1/3] i2c: add DMA support for freescale i2c driver

2014-02-28 Thread Marek Vasut
, There are also hard for me. I don't understand what is full-duplex for dma? Sorry, nevermind. I was confused by this and some SPI patches review. Like Lothar (thanks!) pointed out, using only half-duplex operation is OK. Best regards, Marek Vasut -- To unsubscribe from this list: send the line

Re: [PATCH 1/3] i2c: add DMA support for freescale i2c driver

2014-02-28 Thread Marek Vasut
On Friday, February 28, 2014 at 11:59:25 AM, Lothar Waßmann wrote: Hi, Marek Vasut wrote: On Friday, February 28, 2014 at 06:19:18 AM, Yao Yuan wrote: [...] Yes, here have two dma channels, one for RX and the other one for TX. When we request the channel we should determine

Re: [PATCH 1/3] i2c: add DMA support for freescale i2c driver

2014-03-03 Thread Marek Vasut
On Monday, March 03, 2014 at 11:23:33 AM, Yao Yuan wrote: Hi, Marek Marek Vasut wrote: On Thursday, February 27, 2014 at 07:05:14 AM, Yuan Yao wrote: [...] +static void i2c_imx_dma_free(struct imx_i2c_struct *i2c_imx) { + struct imx_i2c_dma *dma = i2c_imx-dma; + struct

Re: [PATCH v2 1/2] i2c: add DMA support for freescale i2c driver

2014-03-05 Thread Marek Vasut
On Wednesday, March 05, 2014 at 07:52:31 AM, Yuan Yao wrote: Add dma support for i2c. This function depend on DMA driver. You can turn on it by write both the dmas and dma-name properties in dts node. Signed-off-by: Yuan Yao yao.y...@freescale.com --- [...] struct imx_i2c_struct {

Re: [PATCH v2 1/2] i2c: add DMA support for freescale i2c driver

2014-03-05 Thread Marek Vasut
On Thursday, March 06, 2014 at 05:36:14 AM, Yao Yuan wrote: On Thu, March 06, 2014 at 11:23:50 AM, Marek Vasut wrote: On Wednesday, March 05, 2014 at 07:52:31 AM, Yuan Yao wrote: Add dma support for i2c. This function depend on DMA driver. You can turn on it by write both the dmas and dma

Re: [PATCH v2 1/2] i2c: add DMA support for freescale i2c driver

2014-03-06 Thread Marek Vasut
On Thursday, March 06, 2014 at 06:02:03 AM, Yao Yuan wrote: On Thu, March 06, 2014 at 12:44:14 PM, Marek Vasut wrote: On Thursday, March 06, 2014 at 05:36:14 AM, Yao Yuan wrote: On Thu, March 06, 2014 at 11:23:50 AM, Marek Vasut wrote: On Wednesday, March 05, 2014 at 07:52:31 AM, Yuan

Re: [PATCH] reset: Add optional resets and stubs

2014-03-08 Thread Marek Vasut
be compiled with CONFIG_RESET_CONTROLLER disabled. Also, device_reset is annotated with __must_check. Drivers ignoring the return value should use device_reset_optional instead. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Nice. Reviewed-by: Marek Vasut ma...@denx.de Best regards, Marek

Re: [PATCH v2 1/2] i2c: add DMA support for freescale i2c driver

2014-03-11 Thread Marek Vasut
On Tuesday, March 11, 2014 at 06:27:39 AM, Yao Yuan wrote: On Thu, Mar 10, 2014 at 10:01:42 AM, Marek Vasut wrote: On Thu, Mar 06, 2014 at 12:57:42PM +0100, Marek Vasut wrote: On Thursday, March 06, 2014 at 06:02:03 AM, Yao Yuan wrote: On Thu, March 06, 2014 at 12:44:14 PM, Marek Vasut

Re: [PATCH] imx-drm: parallel-display: honor 'native-mode' property when selecting video mode from DT

2014-01-13 Thread Marek Vasut
, the patch does not change the behaviour of this driver on the affected platforms. Signed-off-by: Lothar Waßmann l...@karo-electronics.de Looks OK to me, thanks. Reviewed-by: Marek Vasut ma...@denx.de Best regards, Marek Vasut -- To unsubscribe from this list: send the line unsubscribe linux

Re: [PATCH 2/3] iio: mxs-lradc: fix invalid channel number detection

2014-01-13 Thread Marek Vasut
-by: Alexandre Belloni alexandre.bell...@free-electrons.com Why don't you remove the check entirely then ? Best regards, Marek Vasut -- 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.kernel.org

Re: [PATCH 4/7] drivers/pci/host: don't check resource with devm_ioremap_resource

2014-01-14 Thread Marek Vasut
On Tuesday, January 14, 2014 at 12:58:55 PM, Wolfram Sang wrote: devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de True that, Acked-by: Marek Vasut ma...@denx.de --- Should go via

Re: [PATCH v3 1/2] i2c: add DMA support for freescale i2c driver

2014-03-22 Thread Marek Vasut
On Thursday, March 13, 2014 at 02:47:56 AM, Yuan Yao wrote: Add dma support for i2c. This function depend on DMA driver. You can turn on it by write both the dmas and dma-name properties in dts node. Signed-off-by: Yuan Yao yao.y...@freescale.com --- drivers/i2c/busses/i2c-imx.c | 354

Re: [PATCH RESEND] video: mxsfb: Fix colors display on lower color depth

2013-04-22 Thread Marek Vasut
, to fix the colors display, just get back to the default controller behaviour. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com Did you receive my latest email? Check M28EVK (imx28-m28evk.dts), it uses 18bit LCD and works without this patch I think. Best regards, Marek Vasut

Re: [PATCH RESEND] video: mxsfb: Fix colors display on lower color depth

2013-04-22 Thread Marek Vasut
Dear Maxime Ripard, Hi Marek, Le 22/04/2013 11:16, Marek Vasut a écrit : Dear Maxime Ripard, The current code always registers as a 32 bits display, and uses the hardware to drop the MSB of each color to abjust to the interface width used by the panel. This results on 18 bits

Re: How usable is spi-mxs driver?

2013-04-22 Thread Marek Vasut
-directional communication. It can't do full duplex. I tested it with master-slave communication (half- duplex) and various SPI flashes. Best regards, Marek Vasut -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo

Re: MXS USB otg device support

2013-05-28 Thread Marek Vasut
chipidea usb otg support for i.mx. I gave up on tracking that mayhem. Please post this question in the linux-usb list and add Peter Chen, the folks from Pengutronix and Alexander Shishkin in Cc. Good idea. Also please keep us in loop. Best regards, Marek Vasut -- To unsubscribe from this list

Re: [PATCH -next] staging/iio/adc: MXS_LRADC depends on INPUT

2013-10-21 Thread Marek Vasut
-in.o:include/linux/input.h:389: more undefined references to `input_event' follow Signed-off-by: Randy Dunlap rdun...@infradead.org Acked-by: Marek Vasut ma...@denx.de Thanks! Best regards, Marek Vasut -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH 3/9] i2c: i2c-mxs: replace platform_driver_probe to support deferred probing

2013-10-08 Thread Marek Vasut
in a deferred probe. Signed-off-by: Wolfram Sang w...@the-dreams.de Cc: Marek Vasut ma...@denx.de Certainly makes sense, Acked-by: Marek Vasut ma...@denx.de Thanks! Best regards, Marek Vasut -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: [PATCH 5/7] regulator: palmas: Use devm_regulator_register

2013-09-04 Thread Marek Vasut
this regulator_unregister() above here? [...] Best regards, Marek Vasut -- 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.kernel.org/majordomo-info.html Please read the FAQ at http

Re: [PATCH 6/7] regulator: rc5t583: Use devm_regulator_register

2013-09-04 Thread Marek Vasut
= rc5t583_regulator_remove, }; static int __init rc5t583_regulator_init(void) Next up, you might want to start flipping the regulator drivers to module_platform_driver ;-) Acked-by: Marek Vasut ma...@denx.de Best regards, Marek Vasut -- To unsubscribe from this list: send the line unsubscribe linux

Re: [PATCH 1/7] regulator: anatop-regulator: Use devm_regulator_register

2013-09-04 Thread Marek Vasut
Dear Sachin Kamat, devm_* simplifies the code. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Makes sense Acked-by: Marek Vasut ma...@denx.de --- This series is compile tested. --- drivers/regulator/anatop-regulator.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions

Re: [PATCH 3/7] regulator: mc13783: Use devm_regulator_register

2013-09-04 Thread Marek Vasut
Dear Sachin Kamat, devm_* simplifies the code. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Acked-by: Marek Vasut ma...@denx.de Best regards, Marek Vasut -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org

Re: [PATCH 4/7] regulator: mc13892: Use devm_regulator_register

2013-09-04 Thread Marek Vasut
Dear Sachin Kamat, devm_* simplifies the code. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Acked-by: Marek Vasut ma...@denx.de Best regards, Marek Vasut -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org

Re: [PATCH 2/7] regulator: isl6271a-regulator: Use devm_regulator_register

2013-09-04 Thread Marek Vasut
Dear Sachin Kamat, devm_* simplifies the code. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Acked-by: Marek Vasut ma...@denx.de Best regards, Marek Vasut -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org

Re: [PATCH v2 5/5] iio: mxs-lradc: add write_raw function to modify scale

2013-07-19 Thread Marek Vasut
Dear Hector Palacios, Dear Marek, On 07/19/2013 04:39 PM, Marek Vasut wrote: Dear Hector Palacios, Added write_raw function to manipulate the optional divider_by_two through the scaling attribute out of the available scales. Signed-off-by: Hector Palacios hector.palac

Re: [PATCH v2 3/5] iio: mxs-lradc: add scale attribute to channels

2013-07-19 Thread Marek Vasut
Dear Hector Palacios, Dear Marek, On 07/19/2013 04:30 PM, Marek Vasut wrote: @@ -228,39 +230,12 @@ struct mxs_lradc { #define LRADC_RESOLUTION 12 #define LRADC_SINGLE_SAMPLE_MASK ((1 LRADC_RESOLUTION) - 1) -/* - * Raw I/O operations

Re: [PATCH v2 5/5] iio: mxs-lradc: add write_raw function to modify scale

2013-07-20 Thread Marek Vasut
Dear Jonathan Cameron, On 07/19/2013 05:22 PM, Hector Palacios wrote: Dear Marek, On 07/19/2013 06:17 PM, Marek Vasut wrote: Here you have three entries per channel: in_voltageX_raw- the sample raw value in_voltageX_scale- the scale to multiply the raw value to get

Re: [PATCH v2 3/5] iio: mxs-lradc: add scale attribute to channels

2013-07-22 Thread Marek Vasut
Dear Hector Palacios, Hi Marek, On 07/19/2013 06:14 PM, Marek Vasut wrote: Dear Hector Palacios, Dear Marek, On 07/19/2013 04:30 PM, Marek Vasut wrote: @@ -228,39 +230,12 @@ struct mxs_lradc { #define LRADC_RESOLUTION 12 #define

Re: [PATCH v2 3/5] iio: mxs-lradc: add scale attribute to channels

2013-07-22 Thread Marek Vasut
Hi Hector, Hi Marek, On 07/22/2013 09:42 AM, Marek Vasut wrote: Dear Hector Palacios, Hi Marek, On 07/19/2013 06:14 PM, Marek Vasut wrote: Dear Hector Palacios, Dear Marek, On 07/19/2013 04:30 PM, Marek Vasut wrote: @@ -228,39 +230,12 @@ struct mxs_lradc

Re: [PATCH v3 5/5] iio: mxs-lradc: add write_raw function to modify scale

2013-07-22 Thread Marek Vasut
Dear Hector Palacios, Added write_raw function to manipulate the optional divider_by_two through the scaling attribute out of the available scales. Signed-off-by: Hector Palacios hector.palac...@digi.com --- Yep, looks nicer, Reviewed-by: Marek Vasut ma...@denx.de Best regards, Marek

Re: [PATCH v3 4/5] iio: mxs-lradc: add scale_available file to channels

2013-07-22 Thread Marek Vasut
-scale_avail[i][s].integer = scale_uv; + } + } + /* Configure the hardware. */ mxs_lradc_hw_init(lradc); Best regards, Marek Vasut -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH v3 2/5] ARM: dts: add reference voltage property for MXS LRADC

2013-07-22 Thread Marek Vasut
He's talking about different versions of the IP block, this is the same IP block, just connected to different inputs. Best regards, Marek Vasut -- 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

Re: [PATCH 1/2] iio: mxs-lradc: fix divider

2014-06-10 Thread Marek Vasut
the divider as required. Signed-off-by: Robert Hodaszi robert.hoda...@digi.com Acked-by: Marek Vasut ma...@denx.de Best regards, Marek Vasut -- 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

Re: [PATCH 2/2] iio: mxs-lradc: add ADC channel 9 as a copy of channel 8

2014-06-10 Thread Marek Vasut
On Tuesday, June 10, 2014 at 03:41:35 PM, Robert Hodaszi wrote: Commit c8231a9af8147f8a401fc55931ec44abfb937660 (iio: mxs-lradc: compute temperature from channel 8 and 9) merged channel 8 and channel 9 to create an IIO_TEMP channel. It changed the number of LRADC channels, which could cause

Re: [PATCH] crypto: caam: Introduce the use of the managed version of kzalloc

2014-06-01 Thread Marek Vasut
for making the change: Reviewed-by: Marek Vasut ma...@denx.de Best regards, Marek Vasut -- 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.kernel.org/majordomo-info.html Please read the FAQ

Re: [PATCH 2/3] ARM: sun7i: dt: Add Security System to A20 SoC DTS

2014-05-24 Thread Marek Vasut
{ compatible = allwinner,sun4i-a10-spi; reg = 0x01c17000 0x1000; Best regards, Marek Vasut -- 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

Re: [PATCH] crypto: x86/sha1: fix coverity CID 1195603

2014-05-24 Thread Marek Vasut
this applied ? I think unification of code is always good. Best regards, Marek Vasut -- 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.kernel.org/majordomo-info.html Please read the FAQ

Re: [PATCH 3/3] crypto: Add Allwinner Security System crypto accelerator

2014-05-24 Thread Marek Vasut
On Thursday, May 22, 2014 at 05:09:56 PM, LABBE Corentin wrote: Do I have to repeat myself ? :) Signed-off-by: LABBE Corentin clabbe.montj...@gmail.com --- drivers/crypto/Kconfig| 49 ++ drivers/crypto/Makefile |1 + drivers/crypto/sunxi-ss.c | 1476

Re: [PATCH 1/3] dt: Add DT bindings documentation for SUNXI Security System

2014-05-24 Thread Marek Vasut
. + Best regards, Marek Vasut -- 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.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 3/3] crypto: Add Allwinner Security System crypto accelerator

2014-05-24 Thread Marek Vasut
drivers/crypto/sunxi-ss/ . [...] Best regards, Marek Vasut -- 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.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 1/3] dt: Add DT bindings documentation for SUNXI Security System

2014-05-24 Thread Marek Vasut
On Saturday, May 24, 2014 at 09:20:03 PM, Tomasz Figa wrote: Hi Marek, On 24.05.2014 13:21, Marek Vasut wrote: On Thursday, May 22, 2014 at 05:09:54 PM, LABBE Corentin wrote: Missing commit message. Please fix this and send a V2. Signed-off-by: LABBE Corentin clabbe.montj

  1   2   3   4   5   6   7   8   9   10   >