From: sashiko-bot@kernel.org
To: "Jennifer Berringer" <jberring@redhat.com>
Cc: devicetree@vger.kernel.org, conor+dt@kernel.org, robh@kernel.org
Subject: Re: [PATCH 2/2] riscv: dts: spacemit: k3-com260-ifx: add eeprom on i2c1
Date: Wed, 22 Jul 2026 20:37:39 +0000 [thread overview]
Message-ID: <20260722203739.C3E5A1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260722202848.1817988-3-jberring@redhat.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The unprogrammed carrier board EEPROM is incorrectly marked `read-only`, preventing it from being programmed.
--
--- Patch [2]: [PATCH 2/2] riscv: dts: spacemit: k3-com260-ifx: add eeprom on i2c1 ---
commit 94048b36205e1670d5a85578a1cb608f4a7a0439
Author: Jennifer Berringer <jberring@redhat.com>
riscv: dts: spacemit: k3-com260-ifx: add eeprom on i2c1
Enable i2c1 for the k3-com260-ifx board and attach a 24c02 EEPROM. The commit
message notes that this carrier board EEPROM comes unprogrammed from the
factory on some boards.
> diff --git a/arch/riscv/boot/dts/spacemit/k3-com260-ifx.dts b/arch/riscv/boot/dts/spacemit/k3-com260-ifx.dts
> index e7f76cd24b903..a5c08a7a781a9 100644
> --- a/arch/riscv/boot/dts/spacemit/k3-com260-ifx.dts
> +++ b/arch/riscv/boot/dts/spacemit/k3-com260-ifx.dts
[ ... ]
> @@ -20,6 +20,21 @@ chosen {
> };
> };
>
> +&i2c1 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&i2c1_1_cfg>;
> + status = "okay";
> +
> + eeprom@50 {
> + compatible = "atmel,24c02";
> + pagesize = <8>;
> + reg = <0x50>;
> + read-only;
[Severity: Medium]
The commit message mentions that some boards do not have any data programmed
on this EEPROM from the factory. Does marking this eeprom@50 node as
read-only prevent users or provisioning scripts from writing the initial
configuration data to the EEPROM from Linux?
> + size = <256>;
> + status = "okay";
> + };
> +};
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260722202848.1817988-1-jberring@redhat.com?part=2
prev parent reply other threads:[~2026-07-22 20:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-22 20:28 [PATCH 0/2] riscv: dts: spacemit: add eeprom for K3 CoM260 Jennifer Berringer
2026-07-22 20:28 ` [PATCH 1/2] riscv: dts: spacemit: k3-com260: add eeprom on i2c2 Jennifer Berringer
2026-07-22 20:28 ` [PATCH 2/2] riscv: dts: spacemit: k3-com260-ifx: add eeprom on i2c1 Jennifer Berringer
2026-07-22 20:37 ` 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=20260722203739.C3E5A1F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jberring@redhat.com \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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