]> git.ipfire.org Git - thirdparty/linux.git/commit
dt-bindings: at24: add ST M24256E Additional Write lockable page support
authorMarek Vasut <marex@denx.de>
Thu, 17 Oct 2024 18:41:25 +0000 (20:41 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 22 Oct 2024 07:11:30 +0000 (09:11 +0200)
commit89d671dbb1e49836cf2420fab9f74e9aa2b5dad2
treeb6255ebafae3baeeedc791d1c0e117ddb1af9a20
parent9852d85ec9d492ebef56dc5f229416c925758edc
dt-bindings: at24: add ST M24256E Additional Write lockable page support

The ST M24256E behaves as a regular M24C256, except for the E variant
which uses up another I2C address for Additional Write lockable page.
This page is 64 Bytes long and can contain additional data. Add entry
for it, so users can describe that page in DT. Note that users still
have to describe the main M24C256 area separately as that is on separate
I2C address from this page.

Unlike M24C32-D and M24C64-D, this part is specifically ST and does not
have any comparable M24* counterparts from other vendors, hence the st,
vendor prefix. Furthermore, the part name is M24256E without C between
the 24 and 256, this is not a typo. Finally, there is M24C256-D part,
which does contain 32 Bytes long Additional Write lockable page, which
is a different part and not supported by this patch.

Datasheet: https://www.st.com/resource/en/datasheet/m24256e-f.pdf

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20241017184152.128395-1-marex@denx.de
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Documentation/devicetree/bindings/eeprom/at24.yaml