diff mbox

ARM: dts: OMAP3: Fix MFG ID EEPROM

Message ID 1488826615-23927-1-git-send-email-aford173@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Adam Ford March 6, 2017, 6:56 p.m. UTC
From: Adam Ford <aford173@gmail.com>

The manufacturing information is stored in the EEPROM.  This chip
is an AT24C64 not not (nor has it ever been) 24C02.  This patch will
correctly address the EEPROM to read the entire contents and not just
256 bytes (of 0xff).

Fixes: 5e3447a29a38 ("ARM: dts: LogicPD Torpedo: Add AT24 EEPROM Support")

Signed-off-by: Adam Ford <aford173@gmail.com>

Comments

Tony Lindgren March 23, 2017, 6:42 p.m. UTC | #1
* aford173@gmail.com <aford173@gmail.com> [170306 10:58]:
> From: Adam Ford <aford173@gmail.com>
> 
> The manufacturing information is stored in the EEPROM.  This chip
> is an AT24C64 not not (nor has it ever been) 24C02.  This patch will
> correctly address the EEPROM to read the entire contents and not just
> 256 bytes (of 0xff).
> 
> Fixes: 5e3447a29a38 ("ARM: dts: LogicPD Torpedo: Add AT24 EEPROM Support")

Applying into omap-for-v4.11/fixes thanks.

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Adam Ford March 25, 2017, 9:22 p.m. UTC | #2
On Thu, Mar 23, 2017 at 1:42 PM, Tony Lindgren <tony@atomide.com> wrote:
> * aford173@gmail.com <aford173@gmail.com> [170306 10:58]:
>> From: Adam Ford <aford173@gmail.com>
>>
>> The manufacturing information is stored in the EEPROM.  This chip
>> is an AT24C64 not not (nor has it ever been) 24C02.  This patch will
>> correctly address the EEPROM to read the entire contents and not just
>> 256 bytes (of 0xff).
>>
>> Fixes: 5e3447a29a38 ("ARM: dts: LogicPD Torpedo: Add AT24 EEPROM Support")
>
> Applying into omap-for-v4.11/fixes thanks.

Do I need to request with stable that this git pulled into 4.9.y and
4.10, or does that happen automatically?

adam
>
> Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Tony Lindgren March 27, 2017, 3:08 p.m. UTC | #3
* Adam Ford <aford173@gmail.com> [170325 14:24]:
> On Thu, Mar 23, 2017 at 1:42 PM, Tony Lindgren <tony@atomide.com> wrote:
> > * aford173@gmail.com <aford173@gmail.com> [170306 10:58]:
> >> From: Adam Ford <aford173@gmail.com>
> >>
> >> The manufacturing information is stored in the EEPROM.  This chip
> >> is an AT24C64 not not (nor has it ever been) 24C02.  This patch will
> >> correctly address the EEPROM to read the entire contents and not just
> >> 256 bytes (of 0xff).
> >>
> >> Fixes: 5e3447a29a38 ("ARM: dts: LogicPD Torpedo: Add AT24 EEPROM Support")
> >
> > Applying into omap-for-v4.11/fixes thanks.
> 
> Do I need to request with stable that this git pulled into 4.9.y and
> 4.10, or does that happen automatically?

With the "Fixes" tag it should get automatically picked up.
If that does not happen, then you need to request it separately.

But looking at your description it should be obvious that it's
a fix that should be in stable too.

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
index 8f9a69c..efe5399 100644
--- a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
+++ b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
@@ -121,7 +121,7 @@ 
 &i2c3 {
 	clock-frequency = <400000>;
 	at24@50 {
-		compatible = "at24,24c02";
+		compatible = "atmel,24c64";
 		readonly;
 		reg = <0x50>;
 	};