Thread (153 messages) 153 messages, 15 authors, 2015-06-24

[RFC PATCH 1/3] eeprom: Add a simple EEPROM framework

From: Maxime Ripard <hidden>
Date: 2015-02-22 14:35:10
Also in: linux-api, linux-devicetree, lkml

On Sat, Feb 21, 2015 at 11:31:49AM +0000, Srinivas Kandagatla wrote:
quoted
I would do something more simple that is just a list of keys and their
location like this:

device-serial-number = <start size>;
key1 = <start size>;
key2 = <start size>;
There are pros and cons doing it as list of keys.

One reason for doing it as fixed properties("eeproms", "eemprom-names") is
"consistency and familiarity" like interrupts, regs, dmas, clocks, pinctrl,
reset, pwm have fixed property names, trying to get most subsystems to do it
the same way makes it easier for people to write dts files.
And eeprom-names was something that was asked for last time we
discussed it (I don't really remember who though, maybe Arnd?)

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150222/3f111f7d/attachment.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help