From: sashiko-bot@kernel.org
To: "Zixian Zeng" <sycamoremoon376@gmail.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH] riscv: dts: spacemit: k1: fix the EEPROM page size
Date: Mon, 23 Nov 2026 04:48:40 +0000 [thread overview]
Message-ID: <sashiko-outbox-228672@kernel.org> (raw)
In-Reply-To: <20261123-fix-bpf3-eeprom-v1-1-df8cce6ef2b5@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] riscv: dts: spacemit: wrong EEPROM node updated on BPI-CM6 IO
--
commit 2ab11d07395f6ea4127a5f2a679e6b875d4bd75b
Author: Zixian Zeng <sycamoremoon376@gmail.com>
riscv: dts: spacemit: k1: fix the EEPROM page size
This commit updates the EEPROM pagesize property from 16 to 8 across
three SpacemiT K1 board device trees.
Link: https://www.giantec-semi.com/uploads/20230414/GT24C02B.pdf [1]
Link: https://drive.google.com/file/d/19iLJ5xnCB_oK8VeQjkPGjzAn39WYyylv/view?usp=sharing [2]
Link: https://pan.baidu.com/s/13UTY_qM4gGuVxsZ9U7_Xpw?pwd=8888 [3]
Link: https://drive.google.com/drive/folders/1pcI_U0C3VJKTCg8A1zj08CwNbohnONSR?usp=sharing [4]
> diff --git a/arch/riscv/boot/dts/spacemit/k1-bananapi-cm6-io.dts b/arch/riscv/boot/dts/spacemit/k1-bananapi-cm6-io.dts
> index 2c2d78aee98aa..23a1323df30d9 100644
> --- a/arch/riscv/boot/dts/spacemit/k1-bananapi-cm6-io.dts
> +++ b/arch/riscv/boot/dts/spacemit/k1-bananapi-cm6-io.dts
> @@ -101,7 +101,7 @@ eeprom@54 {
> compatible = "atmel,24c08";
> reg = <0x54>;
> vcc-supply = <&buck3_1v8>;
> - pagesize = <16>;
> + pagesize = <8>;
> size = <1024>;
> };
> };
[Severity: Medium]
Should this change update eeprom@50 in k1-bananapi-cm6.dtsi instead of
eeprom@54 here?
Commit 46a8c01700ac ("riscv: dts: spacemit: k1: Add Banana Pi BPI-CM6 IO
board") added two EEPROMs: eeprom@54 on the IO carrier board is a
1024-byte 24c08 (which uses 16-byte write pages), whereas the 256-byte
24c02 ONIE TLV EEPROM storing the MAC addresses lives in
arch/riscv/boot/dts/spacemit/k1-bananapi-cm6.dtsi as eeprom@50 and still
has pagesize = <16>.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261123-fix-bpf3-eeprom-v1-1-df8cce6ef2b5@gmail.com?part=1
prev parent reply other threads:[~2026-11-23 4:48 UTC|newest]
Thread overview: 2+ 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:48 ` sashiko-bot [this message]
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=sashiko-outbox-228672@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=sycamoremoon376@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox