From: Zixian Zeng <sycamoremoon376@gmail.com>
To: Aurelien Jarno <aurelien@aurel32.net>
Cc: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Yixun Lan <dlan@kernel.org>,
Troy Mitchell <troy.mitchell@linux.spacemit.com>,
Paul Walmsley <pjw@kernel.org>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Alexandre Ghiti <alex@ghiti.fr>,
Vivian Wang <wangruikang@iscas.ac.cn>,
Junhui Liu <junhui.liu@pigmoral.tech>,
Michael Opdenacker <michael.opdenacker@rootcommit.com>,
devicetree@vger.kernel.org, linux-riscv@lists.infradead.org,
spacemit@lists.linux.dev
Subject: Re: [PATCH] riscv: dts: spacemit: k1: fix the EEPROM page size
Date: Tue, 24 Nov 2026 11:31:44 +0800 [thread overview]
Message-ID: <12933da0-9bc8-4f92-96d4-36c5673d3f5e@gmail.com> (raw)
In-Reply-To: <awS2-clBenE1r1a1@aurel32.net>
Hi Aurelien,
On 2026/11/24 5:58, Aurelien Jarno wrote:
> Hi,
>
> On 2026-11-23 12:41, Zixian Zeng wrote:
>> The bananapi-f3 carries an AT24C02 compatible EEPROM GT24C02B [1]:
>> 256 bytes with an 8-byte write page, which can be found in schematic[2].
>> The device tree declares pagesize = <16>, which does not match the
>> eeprom chip datasheet which declares pagesize 8 bytes.
>
> Oops, I am not sure how I got that wrong. Sorry about that.
>
>> EEPROM pagesize of k1-bananapi-cm6-io[3] and k1-orangepi-rv2[4] changed
>> together, based on the chip model shown in the schematic diagram.
>
> The k1-milkv-jupiter board is also affected with the same issue, despite
> using a slightly different EEPROM (24C04).
>
The GT24C04A EEPROM used on k1-milkv-jupiter board doesn't seem to have
the same issue, which you can find "Page Size: 16 bytes" in datasheet:
https://www.giantec-semi.com/uploads/20220929/GT24C04A.pdf
But I don't have the board, simple test would be appreciated. Perhaps I
should include test steps in the commit message for the next revision.
Best regards,
Zixian
WARNING: multiple messages have this Message-ID (diff)
From: Zixian Zeng <sycamoremoon376@gmail.com>
To: Aurelien Jarno <aurelien@aurel32.net>
Cc: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Yixun Lan <dlan@kernel.org>,
Troy Mitchell <troy.mitchell@linux.spacemit.com>,
Paul Walmsley <pjw@kernel.org>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Alexandre Ghiti <alex@ghiti.fr>,
Vivian Wang <wangruikang@iscas.ac.cn>,
Junhui Liu <junhui.liu@pigmoral.tech>,
Michael Opdenacker <michael.opdenacker@rootcommit.com>,
devicetree@vger.kernel.org, linux-riscv@lists.infradead.org,
spacemit@lists.linux.dev
Subject: Re: [PATCH] riscv: dts: spacemit: k1: fix the EEPROM page size
Date: Tue, 24 Nov 2026 11:31:44 +0800 [thread overview]
Message-ID: <12933da0-9bc8-4f92-96d4-36c5673d3f5e@gmail.com> (raw)
In-Reply-To: <awS2-clBenE1r1a1@aurel32.net>
Hi Aurelien,
On 2026/11/24 5:58, Aurelien Jarno wrote:
> Hi,
>
> On 2026-11-23 12:41, Zixian Zeng wrote:
>> The bananapi-f3 carries an AT24C02 compatible EEPROM GT24C02B [1]:
>> 256 bytes with an 8-byte write page, which can be found in schematic[2].
>> The device tree declares pagesize = <16>, which does not match the
>> eeprom chip datasheet which declares pagesize 8 bytes.
>
> Oops, I am not sure how I got that wrong. Sorry about that.
>
>> EEPROM pagesize of k1-bananapi-cm6-io[3] and k1-orangepi-rv2[4] changed
>> together, based on the chip model shown in the schematic diagram.
>
> The k1-milkv-jupiter board is also affected with the same issue, despite
> using a slightly different EEPROM (24C04).
>
The GT24C04A EEPROM used on k1-milkv-jupiter board doesn't seem to have
the same issue, which you can find "Page Size: 16 bytes" in datasheet:
https://www.giantec-semi.com/uploads/20220929/GT24C04A.pdf
But I don't have the board, simple test would be appreciated. Perhaps I
should include test steps in the commit message for the next revision.
Best regards,
Zixian
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next prev parent reply other threads:[~2026-11-24 3:31 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 4:41 [PATCH] riscv: dts: spacemit: k1: fix the EEPROM page size Zixian Zeng
2026-11-23 4:41 ` Zixian Zeng
2026-11-23 4:48 ` sashiko-bot
2026-11-23 21:58 ` Aurelien Jarno
2026-11-23 21:58 ` Aurelien Jarno
2026-11-24 3:31 ` Zixian Zeng [this message]
2026-11-24 3:31 ` Zixian Zeng
2026-11-24 18:15 ` Aurelien Jarno
2026-11-24 18:15 ` Aurelien Jarno
2026-11-25 7:52 ` Anand Moon
2026-11-25 7:52 ` Anand Moon
2026-11-25 9:38 ` Zixian Zeng
2026-11-25 9:38 ` Zixian Zeng
2026-11-25 14:21 ` Anand Moon
2026-11-25 14:21 ` Anand Moon
2026-11-25 20:01 ` Andre Heider
2026-11-25 20:01 ` Andre Heider
2026-11-26 3:00 ` Zixian Zeng
2026-11-26 3:00 ` Zixian Zeng
2026-11-26 7:22 ` Anand Moon
2026-11-26 7:22 ` Anand Moon
2026-11-25 17:28 ` Aurelien Jarno
2026-11-25 17:28 ` Aurelien Jarno
2026-11-24 1:00 ` Troy Mitchell
2026-11-24 1:00 ` Troy Mitchell
2026-11-30 4:28 ` Junhui Liu
2026-11-30 4:28 ` Junhui Liu
2026-12-01 2:43 ` Zixian Zeng
2026-12-01 2:43 ` Zixian Zeng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=12933da0-9bc8-4f92-96d4-36c5673d3f5e@gmail.com \
--to=sycamoremoon376@gmail.com \
--cc=alex@ghiti.fr \
--cc=aou@eecs.berkeley.edu \
--cc=aurelien@aurel32.net \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlan@kernel.org \
--cc=junhui.liu@pigmoral.tech \
--cc=krzk+dt@kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=michael.opdenacker@rootcommit.com \
--cc=palmer@dabbelt.com \
--cc=pjw@kernel.org \
--cc=robh@kernel.org \
--cc=spacemit@lists.linux.dev \
--cc=troy.mitchell@linux.spacemit.com \
--cc=wangruikang@iscas.ac.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.