All of lore.kernel.org
 help / color / mirror / Atom feed
* /sys/fsl_otp patch for linux-fslc v4.4 kernel, where?
@ 2016-02-08 16:22 Roberto Fichera
  2016-02-17 12:05 ` Fabio Estevam
  0 siblings, 1 reply; 10+ messages in thread
From: Roberto Fichera @ 2016-02-08 16:22 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

Hi All,

where I can get the /sys/fsl_opt filesystem patch for fslc kernel v4.4? I need writable support.

Thanks in advance,
Roberto Fichera.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: /sys/fsl_otp patch for linux-fslc v4.4 kernel, where?
  2016-02-08 16:22 /sys/fsl_otp patch for linux-fslc v4.4 kernel, where? Roberto Fichera
@ 2016-02-17 12:05 ` Fabio Estevam
  2016-02-17 13:52   ` Roberto Fichera
  0 siblings, 1 reply; 10+ messages in thread
From: Fabio Estevam @ 2016-02-17 12:05 UTC (permalink / raw)
  To: Roberto Fichera; +Cc: meta-freescale@yoctoproject.org

On Mon, Feb 8, 2016 at 2:22 PM, Roberto Fichera <kernel@tekno-soft.it> wrote:
> Hi All,
>
> where I can get the /sys/fsl_opt filesystem patch for fslc kernel v4.4? I need writable support.

Not a meta-freescale related issue, but anyway, 4.4 has support for this since:

commit 3edba6b47e4265948db3a77a0137157c033d69e2
Author: Philipp Zabel <p.zabel@pengutronix.de>
Date:   Wed Sep 30 13:55:47 2015 +0100

    nvmem: imx-ocotp: Add i.MX6 OCOTP driver

    This driver handles the i.MX On-Chip OTP Controller found in
    i.MX6Q/D, i.MX6S/DL, i.MX6SL, and i.MX6SX SoCs. Currently it
    just returns the values stored in the shadow registers.

    Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
    Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
    Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: /sys/fsl_otp patch for linux-fslc v4.4 kernel, where?
  2016-02-17 12:05 ` Fabio Estevam
@ 2016-02-17 13:52   ` Roberto Fichera
  2016-02-17 14:14     ` Fabio Estevam
  0 siblings, 1 reply; 10+ messages in thread
From: Roberto Fichera @ 2016-02-17 13:52 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: meta-freescale@yoctoproject.org

On 02/17/2016 01:05 PM, Fabio Estevam wrote:

Ciao Fabio,

> On Mon, Feb 8, 2016 at 2:22 PM, Roberto Fichera <kernel@tekno-soft.it> wrote:
>> Hi All,
>>
>> where I can get the /sys/fsl_opt filesystem patch for fslc kernel v4.4? I need writable support.
> Not a meta-freescale related issue, but anyway, 4.4 has support for this since:

I've already this enabled, but doesn't have write support

>
> commit 3edba6b47e4265948db3a77a0137157c033d69e2
> Author: Philipp Zabel <p.zabel@pengutronix.de>
> Date:   Wed Sep 30 13:55:47 2015 +0100
>
>     nvmem: imx-ocotp: Add i.MX6 OCOTP driver
>
>     This driver handles the i.MX On-Chip OTP Controller found in
>     i.MX6Q/D, i.MX6S/DL, i.MX6SL, and i.MX6SX SoCs. Currently it
>     just returns the values stored in the shadow registers.
>
>     Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
>     Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
>     Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
>     Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
>



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: /sys/fsl_otp patch for linux-fslc v4.4 kernel, where?
  2016-02-17 13:52   ` Roberto Fichera
@ 2016-02-17 14:14     ` Fabio Estevam
  2016-02-17 14:22       ` Roberto Fichera
  0 siblings, 1 reply; 10+ messages in thread
From: Fabio Estevam @ 2016-02-17 14:14 UTC (permalink / raw)
  To: Roberto Fichera; +Cc: meta-freescale@yoctoproject.org

On Wed, Feb 17, 2016 at 11:52 AM, Roberto Fichera <kernel@tekno-soft.it> wrote:

> I've already this enabled, but doesn't have write support

That's true.

You can use U-boot to write to the fuses.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: /sys/fsl_otp patch for linux-fslc v4.4 kernel, where?
  2016-02-17 14:14     ` Fabio Estevam
@ 2016-02-17 14:22       ` Roberto Fichera
  2016-02-17 15:43         ` Roberto Fichera
  0 siblings, 1 reply; 10+ messages in thread
From: Roberto Fichera @ 2016-02-17 14:22 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: meta-freescale@yoctoproject.org

On 02/17/2016 03:14 PM, Fabio Estevam wrote:
> On Wed, Feb 17, 2016 at 11:52 AM, Roberto Fichera <kernel@tekno-soft.it> wrote:
>
>> I've already this enabled, but doesn't have write support
> That's true.
>
> You can use U-boot to write to the fuses.

Yep! I know! But I would like to concentrate all related to first flashing process into
a single procedure running from kernel side, instead to split it in two parts.



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: /sys/fsl_otp patch for linux-fslc v4.4 kernel, where?
  2016-02-17 14:22       ` Roberto Fichera
@ 2016-02-17 15:43         ` Roberto Fichera
  2016-02-17 15:46           ` Fabio Estevam
  0 siblings, 1 reply; 10+ messages in thread
From: Roberto Fichera @ 2016-02-17 15:43 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: meta-freescale@yoctoproject.org

On 02/17/2016 03:22 PM, Roberto Fichera wrote:
> On 02/17/2016 03:14 PM, Fabio Estevam wrote:
>> On Wed, Feb 17, 2016 at 11:52 AM, Roberto Fichera <kernel@tekno-soft.it> wrote:
>>
>>> I've already this enabled, but doesn't have write support
>> That's true.
>>
>> You can use U-boot to write to the fuses.
> Yep! I know! But I would like to concentrate all related to first flashing process into
> a single procedure running from kernel side, instead to split it in two parts.
>

I've solved the problem by porting the patch for v3.14.x to current kernel-fslc v4.4


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: /sys/fsl_otp patch for linux-fslc v4.4 kernel, where?
  2016-02-17 15:43         ` Roberto Fichera
@ 2016-02-17 15:46           ` Fabio Estevam
  2016-02-17 15:50             ` Fabio Estevam
  0 siblings, 1 reply; 10+ messages in thread
From: Fabio Estevam @ 2016-02-17 15:46 UTC (permalink / raw)
  To: Roberto Fichera; +Cc: meta-freescale@yoctoproject.org

On Wed, Feb 17, 2016 at 1:43 PM, Roberto Fichera <kernel@tekno-soft.it> wrote:

> I've solved the problem by porting the patch for v3.14.x to current kernel-fslc v4.4

Nice! What about sending your patch for review?

./scripts/checkpatch.pl -f drivers/nvmem/imx-ocotp.c would point you
to the correct folks to submit the patch to.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: /sys/fsl_otp patch for linux-fslc v4.4 kernel, where?
  2016-02-17 15:46           ` Fabio Estevam
@ 2016-02-17 15:50             ` Fabio Estevam
  2016-02-17 15:53               ` Roberto Fichera
  0 siblings, 1 reply; 10+ messages in thread
From: Fabio Estevam @ 2016-02-17 15:50 UTC (permalink / raw)
  To: Roberto Fichera; +Cc: meta-freescale@yoctoproject.org

On Wed, Feb 17, 2016 at 1:46 PM, Fabio Estevam <festevam@gmail.com> wrote:
> On Wed, Feb 17, 2016 at 1:43 PM, Roberto Fichera <kernel@tekno-soft.it> wrote:
>
>> I've solved the problem by porting the patch for v3.14.x to current kernel-fslc v4.4
>
> Nice! What about sending your patch for review?
>
> ./scripts/checkpatch.pl -f drivers/nvmem/imx-ocotp.c would point you
> to the correct folks to submit the patch to.

Sorry, I meant
./scripts/get_maintainer.pl -f drivers/nvmem/imx-ocotp.c


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: /sys/fsl_otp patch for linux-fslc v4.4 kernel, where?
  2016-02-17 15:50             ` Fabio Estevam
@ 2016-02-17 15:53               ` Roberto Fichera
  0 siblings, 0 replies; 10+ messages in thread
From: Roberto Fichera @ 2016-02-17 15:53 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: meta-freescale@yoctoproject.org

On 02/17/2016 04:50 PM, Fabio Estevam wrote:
> On Wed, Feb 17, 2016 at 1:46 PM, Fabio Estevam <festevam@gmail.com> wrote:
>> On Wed, Feb 17, 2016 at 1:43 PM, Roberto Fichera <kernel@tekno-soft.it> wrote:
>>
>>> I've solved the problem by porting the patch for v3.14.x to current kernel-fslc v4.4
>> Nice! What about sending your patch for review?
>>
>> ./scripts/checkpatch.pl -f drivers/nvmem/imx-ocotp.c would point you
>> to the correct folks to submit the patch to.
> Sorry, I meant
> ./scripts/get_maintainer.pl -f drivers/nvmem/imx-ocotp.c
>

My current patch isn't based on drivers/nvmem/imx-ocotp.c

$ lsdiff 0110-fsl_otp-sysfs.patch
a/arch/arm/boot/dts/imx6qdl.dtsi
a/drivers/char/Kconfig
a/drivers/char/Makefile
b/drivers/char/fsl_otp.c
b/include/linux/fsl_otp.h



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: /sys/fsl_otp patch for linux-fslc v4.4 kernel, where?
@ 2016-04-04 11:25 Colin Wernham
  0 siblings, 0 replies; 10+ messages in thread
From: Colin Wernham @ 2016-04-04 11:25 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 999 bytes --]

Is there a change that you could share the patch for fsl_opt here?
I need write access to the eFuses as the nvmem/imx-ocotp driver does not provide that.

> On 02/17/2016 04:50 PM, Fabio Estevam wrote:
>> On Wed, Feb 17, 2016 at 1:46 PM, Fabio Estevam <feste...@gmail.com> wrote:
>>> On Wed, Feb 17, 2016 at 1:43 PM, Roberto Fichera <ker...@tekno-soft.it>
>>> wrote:
>>>
>>>> I've solved the problem by porting the patch for v3.14.x to current
>>>> kernel-fslc v4.4
>>> Nice! What about sending your patch for review?
>>>
>>> ./scripts/checkpatch.pl -f drivers/nvmem/imx-ocotp.c would point you
>>> to the correct folks to submit the patch to.
>> Sorry, I meant
>> ./scripts/get_maintainer.pl -f drivers/nvmem/imx-ocotp.c
>>
>> My current patch isn't based on drivers/nvmem/imx-ocotp.c
>>
>> $ lsdiff 0110-fsl_otp-sysfs.patch
>> a/arch/arm/boot/dts/imx6qdl.dtsi
>> a/drivers/char/Kconfig
>> a/drivers/char/Makefile
>> b/drivers/char/fsl_otp.c
>> b/include/linux/fsl_otp.h


[-- Attachment #2: Type: text/html, Size: 4670 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-04-04 11:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-08 16:22 /sys/fsl_otp patch for linux-fslc v4.4 kernel, where? Roberto Fichera
2016-02-17 12:05 ` Fabio Estevam
2016-02-17 13:52   ` Roberto Fichera
2016-02-17 14:14     ` Fabio Estevam
2016-02-17 14:22       ` Roberto Fichera
2016-02-17 15:43         ` Roberto Fichera
2016-02-17 15:46           ` Fabio Estevam
2016-02-17 15:50             ` Fabio Estevam
2016-02-17 15:53               ` Roberto Fichera
  -- strict thread matches above, loose matches on Subject: below --
2016-04-04 11:25 Colin Wernham

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.