Skip to content

arm: dts: add missing I2C controllers for sc59x#82

Merged
ozan956 merged 1 commit intoadi-u-boot-2025.10.yfrom
67-i2c-nodes-missing-in-some-adsp-sc5xx-devicetrees
Apr 10, 2026
Merged

arm: dts: add missing I2C controllers for sc59x#82
ozan956 merged 1 commit intoadi-u-boot-2025.10.yfrom
67-i2c-nodes-missing-in-some-adsp-sc5xx-devicetrees

Conversation

@jiez
Copy link
Copy Markdown

@jiez jiez commented Mar 25, 2026

sc59x processors have 6 I2C controllers, but their devicetrees currently have only 3. Add missing I2C controllers and fix the existing ones.

@jiez jiez requested review from a team, ozan956 and pamolloy March 25, 2026 15:53
@jiez jiez linked an issue Mar 25, 2026 that may be closed by this pull request
@pamolloy pamolloy added this to ADSP Mar 25, 2026
Comment thread arch/arm/dts/sc59x.dtsi Outdated
Comment thread arch/arm/dts/sc5xx.dtsi
@pamolloy
Copy link
Copy Markdown
Collaborator

pamolloy commented Mar 25, 2026

@pamolloy
Copy link
Copy Markdown
Collaborator

When it is ready to be upstreamed please use https://docs.u-boot.org/en/latest/develop/patman.html#patman-patch-manager, it also runs additional checks

@jiez jiez force-pushed the 67-i2c-nodes-missing-in-some-adsp-sc5xx-devicetrees branch from df54059 to 9514587 Compare March 25, 2026 19:04
@pamolloy pamolloy requested a review from nunojsa March 30, 2026 14:42
Comment thread arch/arm/dts/sc598-som.dtsi Outdated

&i2c2 {
clocks = <&clk ADSP_SC598_CLK_CGU0_SCLK0>;
status = "okay";
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be in sc598-som-revD.dtsi and sc598-som-revE.dtsi which include SPI flash nodes o this bus

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just wanted to save one line of code. I will move it to these two files.

Copy link
Copy Markdown
Collaborator

@pamolloy pamolloy Mar 31, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once you do that you can post it to the mailing list. Then add the Lore link to the commit message so we can merge it here.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have to wait for this patch getting merged first

https://lists.denx.de/pipermail/u-boot/2026-March/613425.html

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just make it clear that your patch depends on that in the cover letter. And I'd recommend using lore for all mailing lists rather than the project specific sites.

@jiez jiez force-pushed the 67-i2c-nodes-missing-in-some-adsp-sc5xx-devicetrees branch from 9514587 to dca4b12 Compare March 31, 2026 17:57
@jiez
Copy link
Copy Markdown
Author

jiez commented Apr 3, 2026

The link of patch submitted to upstream:

https://lore.kernel.org/u-boot/20260402171330.165754-2-jzhang918@gmail.com/

Copy link
Copy Markdown

@ozan956 ozan956 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add the link to the lore into the commit message as in cb0db2f?

Then we can merge it.

@jiez jiez force-pushed the 67-i2c-nodes-missing-in-some-adsp-sc5xx-devicetrees branch from dca4b12 to 65f761d Compare April 10, 2026 14:33
sc59x processors have 6 I2C controllers, but their devicetrees
currently have only 3. The length of its register block should
be 0x100 instead of 0x1000. All I2C nodes should be disabled in
sc5xx.dtsi. They can be enabled in board devicetree files if
they are used on the boards. Add missing I2C controllers and
fix the above issues.

Link: https://lore.kernel.org/u-boot/20260402171330.165754-1-jzhang918@gmail.com/
Signed-off-by: Jie Zhang <jie.zhang@analog.com>
@jiez jiez force-pushed the 67-i2c-nodes-missing-in-some-adsp-sc5xx-devicetrees branch from 65f761d to 23217f6 Compare April 10, 2026 14:59
@jiez
Copy link
Copy Markdown
Author

jiez commented Apr 10, 2026

Can you add the link to the lore into the commit message as in cb0db2f?

Then we can merge it.

Done

@ozan956 ozan956 merged commit 1b70d04 into adi-u-boot-2025.10.y Apr 10, 2026
12 of 13 checks passed
@ozan956 ozan956 deleted the 67-i2c-nodes-missing-in-some-adsp-sc5xx-devicetrees branch April 10, 2026 16:11
@github-project-automation github-project-automation Bot moved this to Done in ADSP Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

I2C nodes missing in some ADSP-SC5xx devicetrees

3 participants