On Mon, Oct 22, 2018 at 11:38:35AM +0300, Adrian Bunk wrote:
Please cherry-pick the following commit to 4.14 and 4.18:
commit a2b3bf4846e5eed62ea6abb096af2c950961033c Author: Alan Chiang alanx.chiang@intel.com Date: Wed Jul 25 11:20:22 2018 +0800
eeprom: at24: Add support for address-width property
Provide a flexible way to determine the addressing bits of eeprom. Pass the addressing bits to driver through address-width property.
Signed-off-by: Alan Chiang alanx.chiang@intel.com Signed-off-by: Andy Yeh andy.yeh@intel.com Signed-off-by: Bartosz Golaszewski brgl@bgdev.pl
Confirmed to work on 4.14 with the Identification Page of an ST M24M02-DR (256 bytes but 16 bit addressing).
This patch doesn't look like stable material. The hardware never worked before, so this is not a regression and falls under new hardware enablement, but the patch is more complex than what we usually allow for hardware enablement (adding various IDs/quirks/etc).
Am I missing something?
-- Thanks, Sasha