Skip to contentSkip to conversation

MXS persistent bits driver

DISCUSSION Hector Palacios 3 participants 6 messages Jul 11, 2013

lore
Share & tools
lore
#0 lore raw

Greetings,

Linux 2.6.35 had a driver for sysfs access to the MXS persistent bits (drivers/misc/mxs-persistent.c). I haven't seen this is supported upstream. Is anybody working on that?
Where would such a driver fit?

Best regards,
--
Hector Palacios

#1 lore raw
Quoted 6 lines · Hector Palacios

Greetings,

Linux 2.6.35 had a driver for sysfs access to the MXS persistent bits (drivers/misc/mxs-persistent.c).
I haven't seen this is supported upstream. Is anybody working on that? Where would such a driver fit?

Adding Steffen Trumtrar, as I came across his patch:
http://permalink.gmane.org/gmane.linux.drivers.devicetree/31370

@Steffen, was there no answer to your questions about these being binary attributes?

Best regards,
--
Hector Palacios

#3 lore raw
In reply to Hector Palacios

Hi Hector,

Quoted 4 lines · Hector Palacios

Greetings,

Linux 2.6.35 had a driver for sysfs access to the MXS persistent bits (drivers/misc/mxs-persistent.c).

Freescale's 2.6.35 I suspect, right?

Quoted 2 lines

I haven't seen this is supported upstream. Is anybody working on that? Where would such a driver fit?

Christoph Baumann recently started porting the Freescale's driver to newer release.

http://lists.infradead.org/pipermail/linux-arm-kernel/2013-July/181569.html

This needs quite a lot of work, but it's ongoing.

Also, about where to put such a driver, I started a discussion about this last week. Mostly, that would be part of MTD, from what is out of the discussion so far.

http://lists.infradead.org/pipermail/linux-arm-kernel/2013-July/182002.html

Maxime

Signature · 3 lines
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#4 lore raw

Dear Maxime,

Quoted 9 lines · On 07/11/2013 10:24 AM, [email protected] wrote:

Hi Hector,

Quoted 4 lines · Hector Palacios

Greetings,

Linux 2.6.35 had a driver for sysfs access to the MXS persistent bits (drivers/misc/mxs-persistent.c).

Freescale's 2.6.35 I suspect, right?

Yes.

Quoted 8 lines
Quoted 2 lines

I haven't seen this is supported upstream. Is anybody working on that? Where would such a driver fit?

Christoph Baumann recently started porting the Freescale's driver to newer release.

http://lists.infradead.org/pipermail/linux-arm-kernel/2013-July/181569.html

Quoted 7 lines

This needs quite a lot of work, but it's ongoing.

Also, about where to put such a driver, I started a discussion about this last week. Mostly, that would be part of MTD, from what is out of the discussion so far.

http://lists.infradead.org/pipermail/linux-arm-kernel/2013-July/182002.html

I was talking about RTC persistent bits, not OTP bits, but I they also fit in your EEPROM like model. I like it!

Best regards,
--
Hector Palacios

#2 lore raw
In reply to Hector Palacios
Quoted 8 lines · Hector Palacios
Quoted 6 lines · Hector Palacios

Greetings,

Linux 2.6.35 had a driver for sysfs access to the MXS persistent bits (drivers/misc/mxs-persistent.c).
I haven't seen this is supported upstream. Is anybody working on that? Where would such a driver fit?

Quoted 4 lines

Adding Steffen Trumtrar, as I came across his patch:
http://permalink.gmane.org/gmane.linux.drivers.devicetree/31370

@Steffen, was there no answer to your questions about these being binary attributes?

Hi!

I didn't work on the driver after the v2 and lost track about its whereabouts. As far as I can see, I didn't get any answers regarding the binary attributes.

Regards,
Steffen

Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
#5 lore raw
In reply to Hector Palacios

Hi Hector,

Quoted 11 lines · Hector Palacios
Quoted 10 lines · On 07/11/2013 10:24 AM, [email protected] wrote:
Quoted 2 lines

I haven't seen this is supported upstream. Is anybody working on that? Where would such a driver fit?

Christoph Baumann recently started porting the Freescale's driver to newer release.

http://lists.infradead.org/pipermail/linux-arm-kernel/2013-July/181569.html

This needs quite a lot of work, but it's ongoing.

Quoted 8 lines
Quoted 5 lines

Also, about where to put such a driver, I started a discussion about this last week. Mostly, that would be part of MTD, from what is out of the discussion so far.

http://lists.infradead.org/pipermail/linux-arm-kernel/2013-July/182002.html

I was talking about RTC persistent bits, not OTP bits, but I they also fit in your EEPROM like model. I like it!

Oops, sorry, I read your mail too quickly.

But it's true that it would fit quite well in the EEPROM stuff we're discussing.

Feel free to participate, and I'll let you know if something come out of it.

Maxime

Signature · 3 lines
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com