Re: [PATCH v2] eeprom: at25: Add DT support for EEPROMs with odd address bits

2017-12-13 Thread Ivo Sieben
2017-12-12 21:54 GMT+01:00 Rob Herring : > On Fri, Dec 08, 2017 at 02:46:41PM +0100, Geert Uytterhoeven wrote: >> Certain EEPROMS have a size that is larger than the number of address >> bytes would allow, and store the MSB of the address in bit 3 of the >> instruction byte. >> >>

Re: [PATCH v2] eeprom: at25: Add DT support for EEPROMs with odd address bits

2017-12-13 Thread Ivo Sieben
2017-12-12 21:54 GMT+01:00 Rob Herring : > On Fri, Dec 08, 2017 at 02:46:41PM +0100, Geert Uytterhoeven wrote: >> Certain EEPROMS have a size that is larger than the number of address >> bytes would allow, and store the MSB of the address in bit 3 of the >> instruction byte. >> >> This can be

Re: [PATCH v2] eeprom: at25: Add DT support for EEPROMs with odd address bits

2017-12-12 Thread Rob Herring
On Fri, Dec 08, 2017 at 02:46:41PM +0100, Geert Uytterhoeven wrote: > Certain EEPROMS have a size that is larger than the number of address > bytes would allow, and store the MSB of the address in bit 3 of the > instruction byte. > > This can be described in platform data using

Re: [PATCH v2] eeprom: at25: Add DT support for EEPROMs with odd address bits

2017-12-12 Thread Rob Herring
On Fri, Dec 08, 2017 at 02:46:41PM +0100, Geert Uytterhoeven wrote: > Certain EEPROMS have a size that is larger than the number of address > bytes would allow, and store the MSB of the address in bit 3 of the > instruction byte. > > This can be described in platform data using

[PATCH v2] eeprom: at25: Add DT support for EEPROMs with odd address bits

2017-12-08 Thread Geert Uytterhoeven
Certain EEPROMS have a size that is larger than the number of address bytes would allow, and store the MSB of the address in bit 3 of the instruction byte. This can be described in platform data using EE_INSTR_BIT3_IS_ADDR, or in DT using the obsolete legacy "at25,addr-mode" property. But

[PATCH v2] eeprom: at25: Add DT support for EEPROMs with odd address bits

2017-12-08 Thread Geert Uytterhoeven
Certain EEPROMS have a size that is larger than the number of address bytes would allow, and store the MSB of the address in bit 3 of the instruction byte. This can be described in platform data using EE_INSTR_BIT3_IS_ADDR, or in DT using the obsolete legacy "at25,addr-mode" property. But