Message ID | 20231013063008.2879314-1-alexander.stein@ew.tq-group.com |
---|---|
State | New |
Headers | show |
Series | [1/2] dt-bindings: at24: add ST M24C64-D Additional Write lockable page | expand |
On 10/13/23 08:30, Alexander Stein wrote: > The ST M24C64-D behaves as a regular M24C64, except for the -D variant > which uses up another I2C address for Additional Write lockable page. > This page is 32 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 M24C64 area separately as that is on separate > I2C address from this page. > > Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> Reviewed-by: Marek Vasut <marex@denx.de>
On Fri, Oct 13, 2023 at 08:30:07AM +0200, Alexander Stein wrote: > The ST M24C64-D behaves as a regular M24C64, except for the -D variant > which uses up another I2C address for Additional Write lockable page. > This page is 32 Bytes long and can contain additional data. Document > compatible string for it, so users can describe that page in DT. Note > that users still have to describe the main M24C64 area separately as > that is on separate I2C address from this page. > > Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Thanks, Conor. > --- > This is a copy & paste of [1] for ST M24C64-D. I reused the same pattern and > also used Marek's commit message. > > [1] https://lore.kernel.org/all/20231010190926.57674-1-marex@denx.de/#t > > Documentation/devicetree/bindings/eeprom/at24.yaml | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/Documentation/devicetree/bindings/eeprom/at24.yaml b/Documentation/devicetree/bindings/eeprom/at24.yaml > index 7be127e9b2507..6385b05a1e62f 100644 > --- a/Documentation/devicetree/bindings/eeprom/at24.yaml > +++ b/Documentation/devicetree/bindings/eeprom/at24.yaml > @@ -73,6 +73,8 @@ properties: > pattern: cs32$ > - items: > pattern: c64$ > + - items: > + pattern: c64d-wl$ > - items: > pattern: cs64$ > - items: > -- > 2.34.1 >
On Fri, Oct 13, 2023 at 8:30 AM Alexander Stein <alexander.stein@ew.tq-group.com> wrote: > > The ST M24C64-D behaves as a regular M24C64, except for the -D variant > which uses up another I2C address for Additional Write lockable page. > This page is 32 Bytes long and can contain additional data. Document > compatible string for it, so users can describe that page in DT. Note > that users still have to describe the main M24C64 area separately as > that is on separate I2C address from this page. > > Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> > --- > This is a copy & paste of [1] for ST M24C64-D. I reused the same pattern and > also used Marek's commit message. > > [1] https://lore.kernel.org/all/20231010190926.57674-1-marex@denx.de/#t > > Documentation/devicetree/bindings/eeprom/at24.yaml | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/Documentation/devicetree/bindings/eeprom/at24.yaml b/Documentation/devicetree/bindings/eeprom/at24.yaml > index 7be127e9b2507..6385b05a1e62f 100644 > --- a/Documentation/devicetree/bindings/eeprom/at24.yaml > +++ b/Documentation/devicetree/bindings/eeprom/at24.yaml > @@ -73,6 +73,8 @@ properties: > pattern: cs32$ > - items: > pattern: c64$ > + - items: > + pattern: c64d-wl$ > - items: > pattern: cs64$ > - items: > -- > 2.34.1 > Applied, thanks! Bart
diff --git a/Documentation/devicetree/bindings/eeprom/at24.yaml b/Documentation/devicetree/bindings/eeprom/at24.yaml index 7be127e9b2507..6385b05a1e62f 100644 --- a/Documentation/devicetree/bindings/eeprom/at24.yaml +++ b/Documentation/devicetree/bindings/eeprom/at24.yaml @@ -73,6 +73,8 @@ properties: pattern: cs32$ - items: pattern: c64$ + - items: + pattern: c64d-wl$ - items: pattern: cs64$ - items:
The ST M24C64-D behaves as a regular M24C64, except for the -D variant which uses up another I2C address for Additional Write lockable page. This page is 32 Bytes long and can contain additional data. Document compatible string for it, so users can describe that page in DT. Note that users still have to describe the main M24C64 area separately as that is on separate I2C address from this page. Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> --- This is a copy & paste of [1] for ST M24C64-D. I reused the same pattern and also used Marek's commit message. [1] https://lore.kernel.org/all/20231010190926.57674-1-marex@denx.de/#t Documentation/devicetree/bindings/eeprom/at24.yaml | 2 ++ 1 file changed, 2 insertions(+)