commit | 4576839f10b69131729d67fe73037ae88532bea7 | [log] [tgz] |
---|---|---|
author | Divagar Mohandass <divagar.mohandass@intel.com> | Thu Aug 17 09:42:56 2017 |
committer | chrome-bot <chrome-bot@chromium.org> | Sat Sep 16 08:47:42 2017 |
tree | 6919ae22711fa3b0f81c08f9dd1b5f469aba79a5 | |
parent | e4df610fd2debd8b6f011d84ae2083f9bc944503 [diff] |
FROMLIST: eeprom: at24: add support to fetch eeprom device property "size" Obtain the size of the EEPROM chip from DT if the "size" property is specified for the device. (am from https://patchwork.kernel.org/patch/9936981/) BUG=b:64778386 TEST=Build and flash the kernel image Dump the OV13858 NVMem content cat /sys/bus/i2c/devices/i2c-INT3499\:00/eeprom > /tmp/ov13_eeprom hexdump /tmp/ov13_eeprom Change-Id: I13965b65e9e006a629a42427d379aed35bec383e Signed-off-by: Divagar Mohandass <divagar.mohandass@intel.com> Reviewed-on: https://chromium-review.googlesource.com/619051 Reviewed-by: Tomasz Figa <tfiga@chromium.org>