Re: [PATCH] Add optional chip erase functionality to AT25 EEPROM driver.

Rob Herring
2019-08-21T21:21:15Z

On Fri, Aug 09, 2019 at 01:53:55PM +0100, Joe Burmeister wrote:
> Many, though not all, AT25s have an instruction for chip erase.
> If there is one in the datasheet, it can be added to device tree.
> Erase can then be done in userspace via the sysfs API with a new
> "erase" device attribute. This matches the eeprom_93xx46 driver's
> "erase".
>
> Signed-off-by: Joe Burmeister <joe.burmeister@devtank.co.uk>
> ---
> .../devicetree/bindings/eeprom/at25.txt | 2 +

Please split bindings to a separate patch.

> drivers/misc/eeprom/at25.c | 83 ++++++++++++++++++-
> 2 files changed, 82 insertions(+), 3 deletions(-)