.
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 jean-michel.hautb...@vodalys.com
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
.
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
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
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: Maintained
+F:
..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 jean-michel.hautb...@vodalys.com
+L: linux-me...@vger.kernel.org
+S: Maintained
+F
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 jean-michel.hautb...@vodalys.com
---
drivers/mmc/core/mmc_ops.c
.
Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com
---
.../devicetree/bindings/media/spi/lmh0395.txt | 44 +++
MAINTAINERS| 6 +
drivers/media/spi/Kconfig | 14 +
drivers/media/spi/Makefile
2014-09-09 4:41 GMT+02:00 Robin Gong b38...@freescale.com:
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
-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
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
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
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 jean-michel.hautb...@vodalys.com
---
drivers/i2c/i2c-core.c
This allows specifying I²C secodnary addresses different from default ones.
Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com
---
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
-Michel Hautbois jean-michel.hautb...@vodalys.com
---
.../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
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
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?
>
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?
2014-09-04 11:37 GMT+02:00 Jean-Michel Hautbois
jean-michel.hautb...@vodalys.com:
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
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 want
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
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
2014-09-03 11:09 GMT+02:00 Ulf Hansson ulf.hans...@linaro.org:
On 3 September 2014 11:02, Adrian Hunter adrian.hun...@intel.com wrote:
On 09/03/2014 11:30 AM, Ulf Hansson wrote:
On 2 September 2014 17:49, Jean-Michel Hautbois
jean-michel.hautb...@vodalys.com wrote:
This property is useful
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 files
This property is useful when we don't want to access boot partitions on eMMC
Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com
---
Documentation/devicetree/bindings/mmc/mmc.txt | 1 +
drivers/mmc/host/sdhci-esdhc-imx.c| 8
include/linux/platform_data/mmc
> 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
);
+MODULE_FIRMWARE(FIRMWARE_NAME);
--
2.0.3
It works on my i.MX6 platform.
Tested-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com
Thanks,
JM
--
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
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:
>> >>
>> >&
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:
>> >>
>> >
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
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
2014-08-05 21:22 GMT+02:00 Shuah Khan shuahk...@gmail.com:
On Tue, Aug 5, 2014 at 10:01 AM, Takashi Iwai ti...@suse.de 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
2014-08-06 11:24 GMT+02:00 Takashi Iwai ti...@suse.de:
At Wed, 6 Aug 2014 11:10:27 +0200,
Jean-Michel Hautbois wrote:
2014-08-05 21:22 GMT+02:00 Shuah Khan shuahk...@gmail.com:
On Tue, Aug 5, 2014 at 10:01 AM, Takashi Iwai ti...@suse.de wrote:
Yes, it worked, if the firmware
2014-08-06 12:21 GMT+02:00 Takashi Iwai ti...@suse.de:
At Wed, 6 Aug 2014 11:44:14 +0200,
Jean-Michel Hautbois wrote:
2014-08-06 11:24 GMT+02:00 Takashi Iwai ti...@suse.de:
At Wed, 6 Aug 2014 11:10:27 +0200,
Jean-Michel Hautbois wrote:
2014-08-05 21:22 GMT+02:00 Shuah Khan shuahk
2014-08-06 12:52 GMT+02:00 Takashi Iwai ti...@suse.de:
At Wed, 6 Aug 2014 12:50:28 +0200,
Jean-Michel Hautbois wrote:
2014-08-06 12:21 GMT+02:00 Takashi Iwai ti...@suse.de:
At Wed, 6 Aug 2014 11:44:14 +0200,
Jean-Michel Hautbois wrote:
2014-08-06 11:24 GMT+02:00 Takashi Iwai ti
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
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.
>>
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
2014-08-01 22:01 GMT+02:00 b_b_si...@dell.com:
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
2014-08-05 17:53 GMT+02:00 Takashi Iwai ti...@suse.de:
At Tue, 5 Aug 2014 17:43:17 +0200,
Jean-Michel Hautbois wrote:
2014-08-01 22:01 GMT+02:00 b_b_si...@dell.com:
Hi Takashi,
Sorry for the late response, I tried with latest stable kernel 3.15.8.
surprisingly the BIOS update works
From: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com
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 jean-michel.hautb...@vodalys.com
---
drivers/misc/lattice-ecp3-config.c | 5 +
1
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
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
> 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
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 want...
2014-07-24 9:37 GMT+02:00 Greg KH gre...@linuxfoundation.org:
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 fix it up and resend
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 jean-michel.hautb...@vodalys.com
---
drivers/misc/lattice-ecp3-config.c | 16 +---
1 file changed
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
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 jean-michel.hautb...@vodalys.com
---
drivers/misc/lattice-ecp3-config.c | 16 +---
1 file changed
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
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 jean-michel.hautb...@vodalys.com
---
drivers/misc/lattice-ecp3-config.c | 16 +---
1 file changed
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
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
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
> []
>
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
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
2014-07-03 18:12 GMT+02:00 Joe Perches j...@perches.com:
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
[]
@@ -165,8 +165,8 @@ static void
This code corrects endianness and avoids a sparse error.
Tested with Lattice ECP3-35 with Freescale i.MX6.
Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com
Acked-by: Stefan Roese s...@denx.de
---
drivers/misc/lattice-ecp3-config.c | 13 +++--
1 file changed, 7
2014-07-04 16:58 GMT+02:00 Geert Uytterhoeven ge...@linux-m68k.org:
On Thu, Jul 3, 2014 at 5:54 PM, Jean-Michel Hautbois
jean-michel.hautb...@vodalys.com wrote:
--- a/drivers/misc/lattice-ecp3-config.c
+++ b/drivers/misc/lattice-ecp3-config.c
@@ -93,7 +93,7 @@ static void firmware_load(const
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
> 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 *)[4];
>
> And add some endian functions here, e.g. be32_to_cpu(). This might help with
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
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
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 with
This patch corrects three big/little endian issues. Tested on i.MX6.
From: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com
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
101 - 165 of 165 matches
Mail list logo