Re: [PATCH v2 2/2] media: i2c: Add support for ov5693 sensor

2021-04-06 Thread Jean-Michel Hautbois
-git a/drivers/media/i2c/ov5693.c b/drivers/media/i2c/ov5693.c > new file mode 100644 > index 0000..da2ca99a7ad3 > --- /dev/null > +++ b/drivers/media/i2c/ov5693.c > @@ -0,0 +1,1557 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Copyright (c) 2013 Intel Corporation. A

[PATCH] media: intel-ipu3: Specify CCM values precision

2021-02-05 Thread Jean-Michel Hautbois
When trying to convert a CCM matrix for IPU3, extreme values for the Color Correction Matrix. Specify the precision to ease userspace integration. Signed-off-by: Jean-Michel Hautbois --- drivers/staging/media/ipu3/include/intel-ipu3.h | 14 -- 1 file changed, 8 insertions(+), 6

Re: [PATCH 18/18] ipu3: Add driver for dummy INT3472 ACPI device

2020-11-30 Thread Jean-Michel Hautbois
Hi Daniel, Thanks for the patch ! On 30/11/2020 14:31, Daniel Scally wrote: > On platforms where ACPI is designed for use with Windows, resources > that are intended to be consumed by sensor devices are sometimes in > the _CRS of a dummy INT3472 device upon which the sensor depends. This > driver

Re: sama5d: using the ebi interface from another driver

2018-11-07 Thread Jean-Michel Hautbois
Hi there ! Le mar. 6 nov. 2018 à 10:57, Alexander Dahl a écrit : > > Hei hei, > > Am Freitag, 2. November 2018, 14:35:26 CET schrieb Jean-Michel Hautbois: > > Then, after looking into deeper details in the datasheet I understand > > it is connected through EBI and

sama5d: using the ebi interface from another driver

2018-11-02 Thread Jean-Michel Hautbois
Hi all, I have a custom board based on a sama5d3 chip. The SoC is connected to 2 pef24628 SHDSL transceivers, the first one on ebi@4000 and the second one on ebi@5000. I tried to write a basic char driver, using request_mem_region and ioremap but I can't read or write into the device. I ha

Re: [PATCH v2] i2c: Add generic support passing secondary devices addresses

2016-03-24 Thread Jean-Michel Hautbois
Hi ! 2016-02-01 15:46 GMT+01:00 Rob Herring : > On Sun, Jan 31, 2016 at 04:33:00PM +0100, Jean-Michel Hautbois wrote: >> Some I2C devices have multiple addresses assigned, for example each address >> corresponding to a different internal register map page of the device. >>

Re: [PATCH v6] media: spi: Add support for LMH0395

2016-02-10 Thread Jean-Michel Hautbois
Hi Rob, Thanks a lot for your review ! 2016-02-09 1:15 GMT+01:00 Rob Herring : > On Mon, Feb 08, 2016 at 12:20:24PM +0100, Jean-Michel Hautbois wrote: >> This device is a SPI based device from TI. >> It is a 3 Gbps HD/SD SDI Dual Output Low Power >> Extended Reach Ada

[PATCH v6] media: spi: Add support for LMH0395

2016-02-08 Thread Jean-Michel Hautbois
on bus SPI2 with CS number 1. Controls should be accessible from userspace too. This will have to be done later. Signed-off-by: Jean-Michel Hautbois --- v2: Add DT support v3: Change the bit set/clear in output_type as disabled means 'set the bit' v4: Clearer description of endpoint

[PATCH v2] i2c: Add generic support passing secondary devices addresses

2016-01-31 Thread Jean-Michel Hautbois
the function returns NULL. For now the function only supports look-up of the secondary address from devicetree, but it can be extended in the future to for example support board files and/or ACPI. Signed-off-by: Jean-Michel Hautbois --- v2: adding some DT bindings documentation (more than one

Re: [alsa-devel] [PATCH 0/9] dw-hdmi audio support

2016-01-05 Thread Jean-Michel Hautbois
Hi Russell, 2015-08-27 10:42 GMT+02:00 Philipp Zabel : > > Am Samstag, den 08.08.2015, 17:09 +0100 schrieb Russell King - ARM > Linux: > > Following on from the previous sub-series, this sub-series adds audio > > support to dw-hdmi. > > > > The two different variants are now in this patch: AHB aud

[PATCH] ASoC: sgtl5000: fix VAG power up timing

2015-12-17 Thread Jean-Michel Hautbois
When power up, a "pop" is heard on line-in and mic-in. An analysis of the PCM shows it lasts ~400ms and looks like a filter response. VAG power up should be delayed by 400ms as VAG power down is. Signed-off-by: Jean-Michel Hautbois --- sound/soc/codecs/sgtl5000.c | 1 + 1 file

Re: i.MX6: Oops when unplugging a USB key

2015-11-06 Thread Jean-Michel Hautbois
2015-11-06 20:12 GMT+01:00 Joshua Clayton : > On Friday, November 06, 2015 05:32:30 PM Jean-Michel Hautbois wrote: >> Hi ! >> >> I have an issue on my i.MX6 board I don't understand (kernel is a 4.2)... >> When I connect a USB key, and then disconnect it, it oopses

Re: i.MX6: Oops when unplugging a USB key

2015-11-06 Thread Jean-Michel Hautbois
Hi Arnd, 2015-11-06 17:38 GMT+01:00 Arnd Bergmann : > On Friday 06 November 2015 17:32:30 Jean-Michel Hautbois wrote: >> I have an issue on my i.MX6 board I don't understand (kernel is a 4.2)... >> When I connect a USB key, and then disconnect it, it oopses and >> reboot

i.MX6: Oops when unplugging a USB key

2015-11-06 Thread Jean-Michel Hautbois
Hi ! I have an issue on my i.MX6 board I don't understand (kernel is a 4.2)... When I connect a USB key, and then disconnect it, it oopses and reboots (as I have panic on oops, and reboot on panic). Seems to be on the umount part... The USB is connected through a smsc95xx but I don't think this is

Re: i.MX6: Increasing VPU frequency

2015-11-04 Thread Jean-Michel Hautbois
2015-11-04 18:04 GMT+01:00 Jon Nettleton : > On Wed, Nov 4, 2015 at 5:52 PM, Jean-Michel Hautbois > wrote: >> Hi ! >> >> I can see in FSL kernel that VPU is configurable to 352M (it defaults >> at 264MHz in mainline I think). >> In the TRM, it is even specif

i.MX6: Increasing VPU frequency

2015-11-04 Thread Jean-Michel Hautbois
Hi ! I can see in FSL kernel that VPU is configurable to 352M (it defaults at 264MHz in mainline I think). In the TRM, it is even specified at 352MHz as a default frequency, with a maximum of 540MHz. Would it be possible to allow this clock rating modification if, for instance, we select a perfor

[PATCH] DocBook media: Fix a typo in encoder cmd

2015-10-13 Thread Jean-Michel Hautbois
A copy-paste from DECODER_CMD : replace decoded by encoded. Signed-off-by: Jean-Michel Hautbois --- Documentation/DocBook/media/v4l/vidioc-encoder-cmd.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/DocBook/media/v4l/vidioc-encoder-cmd.xml b/Documentation

Re: spi-imx: wait_for_completion should timeout even in non-DMA transfer cases

2015-09-21 Thread Jean-Michel Hautbois
2015-09-19 19:56 GMT+02:00 Mark Brown : > On Fri, Sep 18, 2015 at 02:38:27PM +0200, Jean-Michel Hautbois wrote: >> Hi, >> >> I am wondering why in spi-imx the spi_imx_pio_transfer() function is >> calling wait_for_completion() and not wait_for_completion_timeout() as >

spi-imx: wait_for_completion should timeout even in non-DMA transfer cases

2015-09-18 Thread Jean-Michel Hautbois
Hi, I am wondering why in spi-imx the spi_imx_pio_transfer() function is calling wait_for_completion() and not wait_for_completion_timeout() as in the spi_imx_dma_transfer() one. I can't see a good reason for this, maybe should it be calculated based on the spi clock and transfer->len, or at least

Add DT support to Lattice ECP3 driver

2015-06-16 Thread Jean-Michel Hautbois
Hi, I am planning to add support for DT parsing in the Lattice ECP3 driver. The main goal is to add support for INITN, DONE and PROGRAMN pins, which should be driven when programming the FPGA, according to the doc. Basic question, what should be used in the of_device_id compatible field ? For Tex

[PATCH] media: adv7604: Fix masks used for querying timings in ADV7611

2015-04-09 Thread Jean-Michel Hautbois
All masks for timings are different between ADV7604 and ADV7611. Most of the values have 1 precision bit more in the latter. Fix this by adding new fields to the chip_info structure. Signed-off-by: Jean-Michel Hautbois --- drivers/media/i2c/adv7604.c | 69

Re: [PATCH 0/5] ARM: imx: ventana: enable LDO-bypass mode

2015-03-24 Thread Jean-Michel Hautbois
Hi Tim, 2015-03-24 16:11 GMT+01:00 Tim Harvey : > On Tue, Feb 24, 2015 at 1:36 PM, Jean-Michel Hautbois > wrote: >> Hi Tim, >> >> 2014-10-31 5:27 GMT+01:00 Tim Harvey : >>> The IMX6 has some internal LDO regulators provided by the anatop regulator >>>

[RFC PATCH] v4l2-subdev: allow subdev to send an event to the v4l2_device notify function

2015-03-18 Thread Jean-Michel Hautbois
All drivers use custom notifications, in particular when source changes. The bridge only has to map the subdev that sends it to whatever video node it is connected to. Signed-off-by: Jean-Michel Hautbois --- Documentation/video4linux/v4l2-framework.txt | 4 include/media/v4l2-subdev.h

Re: 0001-media-vb2-Fill-vb2_buffer-with-bytesused-from-user.patch

2015-02-25 Thread Jean-Michel Hautbois
Hi Sudip, 2015-02-25 19:23 GMT+01:00 Jeremiah Mahler : > Sudip, > > On Wed, Feb 25, 2015 at 03:29:22PM +0800, Sudip JAIN wrote: >> Dear Maintainer, >> >> PFA attached patch that prevents user from being returned garbage bytesused >> value from vb2 framework. >> >> Regards, >> Sudip Jain >> > > Pa

Re: [PATCH 0/5] ARM: imx: ventana: enable LDO-bypass mode

2015-02-24 Thread Jean-Michel Hautbois
Hi Tim, 2014-10-31 5:27 GMT+01:00 Tim Harvey : > The IMX6 has some internal LDO regulators provided by the anatop regulator > block that can regulate the arm, soc, gpu/vpu core supplies. Alternatively a > design can supply vdd_arm and vdd_soc externally via a PMIC to provide a lower > power draw (

[PATCH] media: i2c: ADV7604: In free run mode, signal is locked

2015-02-06 Thread Jean-Michel Hautbois
The CP_NON_STD_VIDEO bit indicates an input not aligned with DV timings. If there is no input, and chip is in free run mode, consider we are locked. Signed-off-by: Jean-Michel Hautbois --- drivers/media/i2c/adv7604.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff

[PATCH v2] media: adv7604: CP CSC uses a different register on adv7604 and adv7611

2015-02-04 Thread Jean-Michel Hautbois
The bits are the same, but register is 0xf4 on ADV7611 instead of 0xfc. When reading back the value in log_status, differentiate both. Signed-off-by: Jean-Michel Hautbois --- v2: Use adv7604_chip_info to get register instead of testing the chip ID drivers/media/i2c/adv7604.c | 5 - 1 file

Re: [PATCH] media: i2c: ADV7604: Rename adv7604 prefixes.

2015-02-04 Thread Jean-Michel Hautbois
oth for functions and defines) to >> adv76xx whenever they are common. >> >> Signed-off-by: Pablo Anton >> Signed-off-by: Jean-Michel Hautbois > > I'm happy with this, except for three small changes: > > - I had to rebase Sorry about that, not the media-tree u

[PATCH] media: i2c: ADV7604: Migrate to regmap

2015-02-01 Thread Jean-Michel Hautbois
This is a preliminary patch in order to add support for ALSA. It replaces all current i2c access with regmap. Add the registers which will then be used too, as these are declared at init. Signed-off-by: Pablo Anton Signed-off-by: Jean-Michel Hautbois --- drivers/media/i2c/adv7604.c | 428

[PATCH] media: adv7604: CP CSC uses a different register on adv7604 and adv7611

2015-01-26 Thread Jean-Michel Hautbois
The bits are the same, but register is 0xf4 on ADV7611 instead of 0xfc. When reading back the value in log_status, differentiate both. Signed-off-by: Jean-Michel Hautbois --- drivers/media/i2c/adv7604.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/media/i2c

Re: [PATCH v4] media: spi: Add support for LMH0395

2015-01-09 Thread Jean-Michel Hautbois
Hi Laurent, Thanks for the review. 2014-11-03 14:13 GMT+01:00 Laurent Pinchart : > Hi Jean-Michel, > > Thank you for the patch. > > On Wednesday 10 September 2014 11:43:54 Jean-Michel Hautbois wrote: >> This device is a SPI based device from TI. >> It is a 3 Gbps HD/S

Re: [PATCH] adv7604: Add DT parsing support

2015-01-09 Thread Jean-Michel Hautbois
Hi, 2014-10-27 0:30 GMT+01:00 Laurent Pinchart : > Hi Jean-Michel, > > On Thursday 23 October 2014 07:51:50 Jean-Michel Hautbois wrote: >> 2014-10-23 1:53 GMT+02:00 Laurent Pinchart: >> > On Wednesday 22 October 2014 17:34:21 Jean-Michel Hautbois wrote: >> >

Re: i.MX6 CSC and scaler

2014-12-17 Thread Jean-Michel Hautbois
2014-12-16 15:50 GMT+01:00 Nicolas Dufresne : > > Le 2014-12-16 09:27, Jean-Michel Hautbois a écrit : >> >> Have you already started something about that ? > > Yes, currently I do cropping right if there is no scaling. Doing this with > S_CROP is really ackward, but v

Re: i.MX6 CSC and scaler

2014-12-16 Thread Jean-Michel Hautbois
Hi, 2014-12-16 15:15 GMT+01:00 Nicolas Dufresne : > > Le 2014-12-16 08:30, Philipp Zabel a écrit : >> >> For the IPU IC mem2mem scaler/CSC, v4l2transform with scaling capability >> would be the perfect fit > > Thanks you for clarifying. Jean-Michel, are you going to work on this ? If > so, feel fr

Re: i.MX6 CSC and scaler

2014-12-15 Thread Jean-Michel Hautbois
2014-12-15 19:52 GMT+01:00 Nicolas Dufresne : > > > Le 12/15/2014 01:23 PM, Steve Longerbeam a écrit : >> You would need to write a gstreamer plugin to make use of the >> mem2mem device for h/w CSC and scaling. Thank you Steve, this is of a great help ! > There is an element already (v4l2transfor

i.MX6 CSC and scaler

2014-12-15 Thread Jean-Michel Hautbois
Hi Steve, Philipp, I see in the kernel sources you created a ipu-ic.c file which helps working with the Color Space Converter on i.MX6. We would like to use it on our board with GStreamer, as the conversion done by the CPU is not very efficient :). What is the easiest/best approach to this ? Shoul

Re: DT parsing : duplicate name error

2014-12-03 Thread Jean-Michel Hautbois
2014-12-03 17:07 GMT+01:00 Grant Likely : > On Wed, Dec 3, 2014 at 4:04 PM, Fabio Estevam wrote: >> On Wed, Dec 3, 2014 at 1:41 PM, Grant Likely >> wrote: >> >>> From a quick reading of the backlog, for some reason the new device is >>> getting assigned NULL as the device name in led_classdev_re

Re: DT parsing : duplicate name error

2014-12-03 Thread Jean-Michel Hautbois
2014-12-03 16:22 GMT+01:00 Grant Likely : > On Wed, Dec 3, 2014 at 1:27 PM, Jean-Michel Hautbois > wrote: >> Hi, >> >> I am using linux-next on a i.MX6 board, and it seems that there is a >> regression probably in DT parsing. > > Are you able to bisect down t

DT parsing : duplicate name error

2014-12-03 Thread Jean-Michel Hautbois
Hi, I am using linux-next on a i.MX6 board, and it seems that there is a regression probably in DT parsing. Here is the DT I am using : vbx-leds { compatible = "gpio-leds"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_leds>; led0-red { gpi

[PATCH] media: adv7604: Correct G/S_EDID behaviour

2014-10-31 Thread Jean-Michel Hautbois
In order to have v4l2-compliance tool pass the G/S_EDID some modifications where needed in the driver. In particular, the edid.reserved zone must be blanked. Signed-off-by: Jean-Michel Hautbois --- drivers/media/i2c/adv7604.c | 24 1 file changed, 16 insertions(+), 8

Re: [PATCH 2/2] adv7604: Add support for i2c_new_secondary_device

2014-10-22 Thread Jean-Michel Hautbois
Hi Laurent, Thank you for reviewing, 2014-10-23 1:44 GMT+02:00 Laurent Pinchart : > Hi Jean-Michel, > > Thank you for the patch. > > On Wednesday 22 October 2014 17:30:48 Jean-Michel Hautbois wrote: >> The ADV7604 has thirteen 256-byte maps that can be accessed via the ma

Re: [PATCH 1/2] i2c: Add generic support passing secondary devices addresses

2014-10-22 Thread Jean-Michel Hautbois
Hi Laurent, Thank you for your review, 2014-10-23 1:37 GMT+02:00 Laurent Pinchart : > Hi Jean-Michel, > > Thank you for the patch. > > On Wednesday 22 October 2014 17:30:47 Jean-Michel Hautbois wrote: >> Some I2C devices have multiple addresses assigned, for example each add

Re: [PATCH] adv7604: Add DT parsing support

2014-10-22 Thread Jean-Michel Hautbois
Hi Laurent, Thank you for reviewing, 2014-10-23 1:53 GMT+02:00 Laurent Pinchart : > Hi Jean-Michel, > > Thank you for the patch. > > On Wednesday 22 October 2014 17:34:21 Jean-Michel Hautbois wrote: >> This patch adds support for DT parsing of ADV7604 as well as ADV76

[PATCH] adv7604: Add DT parsing support

2014-10-22 Thread Jean-Michel Hautbois
This patch adds support for DT parsing of ADV7604 as well as ADV7611. It needs to be improved in order to get ports parsing too. Signed-off-by: Jean-Michel Hautbois --- Documentation/devicetree/bindings/media/i2c/adv7604.txt | 1 + drivers/media/i2c/adv7604.c | 1

[PATCH 2/2] adv7604: Add support for i2c_new_secondary_device

2014-10-22 Thread Jean-Michel Hautbois
-Michel Hautbois --- .../devicetree/bindings/media/i2c/adv7604.txt | 16 +- drivers/media/i2c/adv7604.c| 59 ++ 2 files changed, 53 insertions(+), 22 deletions(-) diff --git a/Documentation/devicetree/bindings/media/i2c/adv7604.txt b

[PATCH 1/2] i2c: Add generic support passing secondary devices addresses

2014-10-22 Thread Jean-Michel Hautbois
the function returns NULL. For now the function only supports look-up of the secondary address from devicetree, but it can be extended in the future to for example support board files and/or ACPI. Signed-off-by: Jean-Michel Hautbois --- drivers/i2c/i2c-core.c | 40

Re: [PATCH] mmc: Add delay between CMD6 and CMD13 for Sandisk eMMC cards

2014-09-22 Thread Jean-Michel Hautbois
2014-09-21 19:48 GMT+02:00 Pavel Machek : > On Mon 2014-09-15 19:44:28, Jaehoon Chung wrote: >> On 09/15/2014 07:08 PM, Jean-Michel Hautbois wrote: >> > Hi Jaehoon, >> > >> >> On 09/09/2014 09:26 PM, Jean-Michel Hautbois wrote: >> >>

SGTL5000 on i.MX6 in I2S master mode

2014-09-17 Thread Jean-Michel Hautbois
Hi, I have a custom i.MX6 board, and have a sgtl5000 connected on it. I would like to have it used in master mode (it is used only for audio capture) but I get a "pcm_read:2031: read error: Input/output error" when using arecord. I am wondering if I forgot something in my DT or if I need to do som

Re: [PATCH] mmc: Add delay between CMD6 and CMD13 for Sandisk eMMC cards

2014-09-15 Thread Jean-Michel Hautbois
2014-09-15 12:53 GMT+02:00 Jean-Michel Hautbois : > 2014-09-15 12:44 GMT+02:00 Jaehoon Chung : >> On 09/15/2014 07:08 PM, Jean-Michel Hautbois wrote: >>> Hi Jaehoon, >>> >>>> On 09/09/2014 09:26 PM, Jean-Michel Hautbois wrote: >>>>> Tested on

Re: [PATCH] mmc: Add delay between CMD6 and CMD13 for Sandisk eMMC cards

2014-09-15 Thread Jean-Michel Hautbois
2014-09-15 12:44 GMT+02:00 Jaehoon Chung : > On 09/15/2014 07:08 PM, Jean-Michel Hautbois wrote: >> Hi Jaehoon, >> >>> On 09/09/2014 09:26 PM, Jean-Michel Hautbois wrote: >>>> Tested on a i.MX6 board, with Sandisk SDIN5D1-2G. >>>> Without this patch

Re: [PATCH] mmc: Add delay between CMD6 and CMD13 for Sandisk eMMC cards

2014-09-15 Thread Jean-Michel Hautbois
Hi Jaehoon, > On 09/09/2014 09:26 PM, Jean-Michel Hautbois wrote: >> Tested on a i.MX6 board, with Sandisk SDIN5D1-2G. >> Without this patch, I/O errors occur. >> This eMMC seems to have a different Manufacturer ID as it reads 0x45 >> and not 0x2 as specified in datash

[PATCH v4] media: spi: Add support for LMH0395

2014-09-10 Thread Jean-Michel Hautbois
. v2: Add DT support v3: Change the bit set/clear in output_type as disabled means 'set the bit' v4: Clearer description of endpoints usage in Doc, and some init changes. Add a dependency on OF and don't test CONFIG_OF anymore. Signed-off-by: Jean-Michel Hautbois --- .../devi

Re: PFUZE100 regulator not going off when PWRON is 0

2014-09-09 Thread Jean-Michel Hautbois
2014-09-09 4:41 GMT+02:00 Robin Gong : > Thanks for Mark's forward. > > Hi Jean-Michel, > Yes, SWxOMODE can be set as 1 to active sleep mode if PWRON turn-off event > occurs. And the voltage of sleep mode can be set in other register SWxOFF. But > by default, SWxOMODE is 0 which means all SW will

[PATCH v3] media: spi: Add support for LMH0395

2014-09-09 Thread Jean-Michel Hautbois
. Signed-off-by: Jean-Michel Hautbois --- .../devicetree/bindings/media/spi/lmh0395.txt | 44 +++ MAINTAINERS| 6 + drivers/media/spi/Kconfig | 14 + drivers/media/spi/Makefile | 1 + drivers/media/spi

[PATCH] mmc: Add delay between CMD6 and CMD13 for Sandisk eMMC cards

2014-09-09 Thread Jean-Michel Hautbois
Tested on a i.MX6 board, with Sandisk SDIN5D1-2G. Without this patch, I/O errors occur. This eMMC seems to have a different Manufacturer ID as it reads 0x45 and not 0x2 as specified in datasheet. Signed-off-by: Jean-Michel Hautbois --- drivers/mmc/core/mmc_ops.c | 9 + 1 file changed, 9

[PATCH v2] media: spi: Add support for LMH0395

2014-09-09 Thread Jean-Michel Hautbois
NERS b/MAINTAINERS index cf24bb5..ca42b9e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9141,6 +9141,12 @@ S: Maintained F: sound/soc/codecs/lm49453* F: sound/soc/codecs/isabelle* +TI LMH0395 DRIVER +M: Jean-Michel Hautbois +L: linux-me...@vger.kernel.org +S: Main

[PATCH 1/2] adv7604: Add support for i2c_new_secondary_device

2014-09-05 Thread Jean-Michel Hautbois
-Michel Hautbois --- .../devicetree/bindings/media/i2c/adv7604.txt | 17 ++- drivers/media/i2c/adv7604.c| 53 ++ 2 files changed, 48 insertions(+), 22 deletions(-) diff --git a/Documentation/devicetree/bindings/media/i2c/adv7604.txt b

[PATCH 2/2] adv7604: Add DT parsing support

2014-09-05 Thread Jean-Michel Hautbois
This allows specifying I²C secodnary addresses different from default ones. Signed-off-by: Jean-Michel Hautbois --- drivers/media/i2c/adv7604.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index 8336c02..75613a4 100644 --- a

[PATCH] i2c: Add generic support passing secondary devices addresses

2014-09-05 Thread Jean-Michel Hautbois
the function returns NULL. For now the function only supports look-up of the secondary address from devicetree, but it can be extended in the future to for example support board files and/or ACPI. Signed-off-by: Jean-Michel Hautbois --- drivers/i2c/i2c-core.c | 40

Re: [PATCH] mmc: sdhci-esdhc-imx: Enable boot partition access from DT

2014-09-04 Thread Jean-Michel Hautbois
2014-09-04 11:37 GMT+02:00 Jean-Michel Hautbois : > Hi Ulf, > >> I am not sure adding a DT binding for non access to rpmb would be >> needed. At least until we heard of a similar case as Adrian describes >> but for rpmb. >> >> BTW, I just posted a patch which

Re: [PATCH] mmc: sdhci-esdhc-imx: Enable boot partition access from DT

2014-09-04 Thread Jean-Michel Hautbois
Hi Ulf, > I am not sure adding a DT binding for non access to rpmb would be > needed. At least until we heard of a similar case as Adrian describes > but for rpmb. > > BTW, I just posted a patch which disabled partition scan of the boot > area, what to you think about that? > http://marc.info/?l=l

Re: [PATCH] mmc: sdhci-esdhc-imx: Enable boot partition access from DT

2014-09-03 Thread Jean-Michel Hautbois
2014-09-03 11:09 GMT+02:00 Ulf Hansson : > On 3 September 2014 11:02, Adrian Hunter wrote: >> On 09/03/2014 11:30 AM, Ulf Hansson wrote: >>> On 2 September 2014 17:49, Jean-Michel Hautbois >>> wrote: >>>> This property is useful when we don't

PFUZE100 regulator not going off when PWRON is 0

2014-09-03 Thread Jean-Michel Hautbois
Hi, I have a custom i.MX6 based board, but PMIC part is exactly the same as the Freescale SabreSD board. I have a reset button, which makes the PWRON signal on PFUZE100 go from 1 to 0. I thought this would reset the chip, and thus all voltages would go to 0, but this is not the case. It seems that

[PATCH] mmc: sdhci-esdhc-imx: Enable boot partition access from DT

2014-09-02 Thread Jean-Michel Hautbois
This property is useful when we don't want to access boot partitions on eMMC Signed-off-by: Jean-Michel Hautbois --- Documentation/devicetree/bindings/mmc/mmc.txt | 1 + drivers/mmc/host/sdhci-esdhc-imx.c| 8 include/linux/platform_data/mmc-esdhc-imx.h | 1 + 3

Re: [PATCH] misc: lattice-ecp3-config: Add missing MODULE_FIRMWARE()

2014-08-08 Thread Jean-Michel Hautbois
> MODULE_LICENSE("GPL"); > +MODULE_FIRMWARE(FIRMWARE_NAME); > -- > 2.0.3 > It works on my i.MX6 platform. Tested-by: Jean-Michel Hautbois Thanks, JM -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to major

Re: patch "firmware loader: allow disabling of udev as firmware loader" added to driver-core tree

2014-08-06 Thread Jean-Michel Hautbois
2014-08-06 12:52 GMT+02:00 Takashi Iwai : > At Wed, 6 Aug 2014 12:50:28 +0200, > Jean-Michel Hautbois wrote: >> >> 2014-08-06 12:21 GMT+02:00 Takashi Iwai : >> > At Wed, 6 Aug 2014 11:44:14 +0200, >> > Jean-Michel Hautbois wrote: >> >> >> >&

Re: patch "firmware loader: allow disabling of udev as firmware loader" added to driver-core tree

2014-08-06 Thread Jean-Michel Hautbois
2014-08-06 12:21 GMT+02:00 Takashi Iwai : > At Wed, 6 Aug 2014 11:44:14 +0200, > Jean-Michel Hautbois wrote: >> >> 2014-08-06 11:24 GMT+02:00 Takashi Iwai : >> > At Wed, 6 Aug 2014 11:10:27 +0200, >> > Jean-Michel Hautbois wrote: >> >> >> >

Re: patch "firmware loader: allow disabling of udev as firmware loader" added to driver-core tree

2014-08-06 Thread Jean-Michel Hautbois
2014-08-06 11:24 GMT+02:00 Takashi Iwai : > At Wed, 6 Aug 2014 11:10:27 +0200, > Jean-Michel Hautbois wrote: >> >> 2014-08-05 21:22 GMT+02:00 Shuah Khan : >> > On Tue, Aug 5, 2014 at 10:01 AM, Takashi Iwai wrote: >> >>> Yes, it worked, if the f

Re: patch "firmware loader: allow disabling of udev as firmware loader" added to driver-core tree

2014-08-06 Thread Jean-Michel Hautbois
2014-08-05 21:22 GMT+02:00 Shuah Khan : > On Tue, Aug 5, 2014 at 10:01 AM, Takashi Iwai wrote: >>> Yes, it worked, if the firmware was in the /lib/firmware directory. >> > > ok it works when the firmware is in /lib/firmware. It sounds to me the > reason load fails when the firmware is under /sys/c

[PATCH] Lattice ECP3 FPGA: Check firmware pointer

2014-08-05 Thread jean-michel . hautbois
From: Jean-Michel Hautbois This patch corrects a lack of testing. If fw is NULL when calling firmware_load(), it results in a kernel oops. Signed-off-by: Jean-Michel Hautbois --- drivers/misc/lattice-ecp3-config.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/misc/lattice

Re: patch "firmware loader: allow disabling of udev as firmware loader" added to driver-core tree

2014-08-05 Thread Jean-Michel Hautbois
2014-08-05 17:53 GMT+02:00 Takashi Iwai : > At Tue, 5 Aug 2014 17:43:17 +0200, > Jean-Michel Hautbois wrote: >> >> 2014-08-01 22:01 GMT+02:00 : >> > Hi Takashi, >> > >> > Sorry for the late response, I tried with latest stable kernel 3.15.8. >>

Re: patch "firmware loader: allow disabling of udev as firmware loader" added to driver-core tree

2014-08-05 Thread Jean-Michel Hautbois
2014-08-01 22:01 GMT+02:00 : > Hi Takashi, > > Sorry for the late response, I tried with latest stable kernel 3.15.8. > surprisingly the BIOS update works even without applying the patch in both > the cases. Hi,I'm sorry for my late answer too, but I didn't try this patch recently... I have

[PATCH v5] Lattice ECP3 FPGA: Correct endianness

2014-07-24 Thread Jean-Michel Hautbois
This code corrects endianness and avoids a sparse error. Tested with Lattice ECP3-35 with Freescale i.MX6. It also sends uevent in order to load it. Signed-off-by: Jean-Michel Hautbois --- drivers/misc/lattice-ecp3-config.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions

Re: [PATCH v4] Lattice ECP3 FPGA: Correct endianness

2014-07-24 Thread Jean-Michel Hautbois
2014-07-24 9:37 GMT+02:00 Greg KH : > On Thu, Jul 24, 2014 at 08:53:30AM +0200, Jean-Michel Hautbois wrote: >> > Your email client ate all the tabs and spit out spaces and then >> > line-wrapped the patch, making it impossible to apply :( >> > >> > Can you

Re: [PATCH v4] Lattice ECP3 FPGA: Correct endianness

2014-07-23 Thread Jean-Michel Hautbois
> Your email client ate all the tabs and spit out spaces and then > line-wrapped the patch, making it impossible to apply :( > > Can you fix it up and resend it in a format we can use? > > thanks, > > greg k-h GMail GUI is a nightmare, I can't find an option to tell it to let me send whatever I wa

[PATCH v4] Lattice ECP3 FPGA: Correct endianness

2014-07-23 Thread Jean-Michel Hautbois
This code corrects endianness and avoids a sparse error. Tested with Lattice ECP3-35 with Freescale i.MX6. It also sends uevent in order to load it. Signed-off-by: Jean-Michel Hautbois --- drivers/misc/lattice-ecp3-config.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions

[PATCH v3] Lattice ECP3 FPGA: Correct endianness

2014-07-21 Thread Jean-Michel Hautbois
This code corrects endianness and avoids a sparse error. Tested with Lattice ECP3-35 with Freescale i.MX6. It also sends uevent in order to load it. Signed-off-by: Jean-Michel Hautbois --- drivers/misc/lattice-ecp3-config.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions

Re: [PATCH] Lattice ECP3 FPGA: Correct endianness

2014-07-04 Thread Jean-Michel Hautbois
2014-07-04 16:58 GMT+02:00 Geert Uytterhoeven : > On Thu, Jul 3, 2014 at 5:54 PM, Jean-Michel Hautbois > wrote: >> --- a/drivers/misc/lattice-ecp3-config.c >> +++ b/drivers/misc/lattice-ecp3-config.c >> @@ -93,7 +93,7 @@ static void firmware_load(const struct firmwa

[PATCH v2] Lattice ECP3 FPGA: Correct endianness

2014-07-04 Thread Jean-Michel Hautbois
This code corrects endianness and avoids a sparse error. Tested with Lattice ECP3-35 with Freescale i.MX6. Signed-off-by: Jean-Michel Hautbois Acked-by: Stefan Roese --- drivers/misc/lattice-ecp3-config.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers

Re: [PATCH] Lattice ECP3 FPGA: Correct endianness

2014-07-04 Thread Jean-Michel Hautbois
2014-07-03 18:12 GMT+02:00 Joe Perches : > > On Thu, 2014-07-03 at 17:54 +0200, Jean-Michel Hautbois wrote: > > This patch corrects three big/little endian issues. Tested on i.MX6. > > trivial: > > > diff --git a/drivers/misc/lattice-ecp3-config.c > [] >

Lattice ECP3 load firmware

2014-07-04 Thread Jean-Michel Hautbois
Hi ! I noticed you (Stefan) are using request_firmware_nowait() call. This means user needs to explicitly call it using $ echo 1 > /sys/class/firmware/lattice-ecp3.0/loading $ cat lattice-ecp3.bit > /sys/class/firmware/lattice-ecp3.0/data $ echo 0 > /sys/class/firmware/lattice-ecp3.0/loading Or

[PATCH] Lattice ECP3 FPGA: Correct endianness

2014-07-03 Thread Jean-Michel Hautbois
This patch corrects three big/little endian issues. Tested on i.MX6. From: Jean-Michel Hautbois Date: Thu, 3 Jul 2014 17:49:47 +0200 Subject: [PATCH] Endianness corrections --- drivers/misc/lattice-ecp3-config.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a

Re: Lattice ECP3 FPGA with i.MX6

2014-07-03 Thread Jean-Michel Hautbois
> No. This driver was implemented and tested in a MPC5200 system. Most likely > I missed some endian issues as you already noticed. I suggest you start with > looking at this line: > > jedec_id = *(u32 *)&rxbuf[4]; > > And add some endian functions here, e.g. be32_to_cpu(). This might help

Lattice ECP3 FPGA with i.MX6

2014-07-03 Thread Jean-Michel Hautbois
Hi, I have a board, with a Freescale i.MX6 chip and a ECP3-35 FPGA on SPI. I tried to load the firmware using the lattice-ecp3-config driver, but it fails with this error : lattice-ecp3 spi32766.3: FPGA bitstream configuration driver registered lattice-ecp3 spi32766.3: Error: No supported FPGA de