]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
misc/at25, dt: Improve at25 SPI eeprom device tree bindings.
authorDavid Daney <david.daney@cavium.com>
Wed, 22 Aug 2012 19:03:57 +0000 (12:03 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Sep 2012 21:10:29 +0000 (14:10 -0700)
commitd6ae0d578d24303941c1424b049d2cae28277666
tree408e4d6d19acc44353761517731c5ce486e4882e
parent9af514232e9e74cbcd24700fc321b7c71a536568
misc/at25, dt: Improve at25 SPI eeprom device tree bindings.

Commit 002176db (misc: at25: Parse dt settings) added device tree
bindings the differ significantly in style from the I2C EEPROM
bindings and don't seem well vetted.  Here I deprecate (but still
support) the "at25,*" properties, and add what I hope is a better
alternative.  These new bindings also happen to be deployed in the
field and were previously submitted for consideration here:

https://lists.ozlabs.org/pipermail/devicetree-discuss/2012-May/015556.html

The advantages of the new bindings are that they are similar to the
I2C EEPROMs and they don't conflate read-only and the address width
modes in a binary encoded blob.

Signed-off-by: David Daney <david.daney@cavium.com>
Cc: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Michael Hennerich <michael.hennerich@analog.com>
Cc: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/misc/at25.txt
drivers/misc/eeprom/at25.c