Skip to content

[PW_SID:1083262] [v1] riscv: dts: microchip: fix icicle i2c pinctrl configuration#1794

Closed
linux-riscv-bot wants to merge 2 commits into
workflowfrom
pw1083262
Closed

[PW_SID:1083262] [v1] riscv: dts: microchip: fix icicle i2c pinctrl configuration#1794
linux-riscv-bot wants to merge 2 commits into
workflowfrom
pw1083262

Conversation

@linux-riscv-bot
Copy link
Copy Markdown

PR for series 1083262 applied to workflow

Name: [v1] riscv: dts: microchip: fix icicle i2c pinctrl configuration
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1083262
Version: 1

Linux RISC-V bot and others added 2 commits April 19, 2026 22:03
Unfortunately, an erratum with engineering sample that I was not aware
of was exposed by adding pinctrl configuration to the icicle kit.
When routed to MSS IOs, i2c signals are never anything other than tied
low. Being an FPGA, a Libero workaround for this problem was created,
that involves routing i2c signals to the FPGA fabric when the MSS IO
option is selected in the configurator and then back to the intended pin
using the debug "fabric test" capability. This is invisible to user
facing information in the tooling and not mentioned in reference designs
documentation. It manifests solely in the .xml output from the MSS
configuration that the HSS firmware uses to configure the device, which
Linux now overwrites using the pinctrl information. As a result, I never
noticed this.

My original submission had the engineering sample configuration, but I
modified it on application after I was told it didn't work, not
realising that the report came from a colleague with a production
device, where the erratum was fixed and the workaround not automatically
implemented by Libero when creating a design.

Move this part of the pinctrl configuration out of the shared portion of
the icicle device trees, into the portions that are specific to
engineering sample and production devices so that the different settings
for i2c pins can be dealt with.

Although the reference design only has this workaround in place for
i2c1, as i2c0 is genuinely fabric routed, move it too since the
erratum affects both controllers.

Link: https://ww1.microchip.com/downloads/aemDocuments/documents/FPGA/ProductDocuments/Errata/polarfiresoc/microsemi_polarfire_soc_fpga_egineering_samples_errata_er0219_v1.pdf [3.3]
Fixes: 123f427 ("riscv: dts: microchip: add pinctrl nodes for mpfs/icicle kit")
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v1] riscv: dts: microchip: fix icicle i2c pinctrl configuration"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 141.78 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v1] riscv: dts: microchip: fix icicle i2c pinctrl configuration"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1096.54 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v1] riscv: dts: microchip: fix icicle i2c pinctrl configuration"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1480.38 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v1] riscv: dts: microchip: fix icicle i2c pinctrl configuration"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 27.02 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v1] riscv: dts: microchip: fix icicle i2c pinctrl configuration"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 28.67 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v1] riscv: dts: microchip: fix icicle i2c pinctrl configuration"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 1.18 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v1] riscv: dts: microchip: fix icicle i2c pinctrl configuration"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 86.67 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v1] riscv: dts: microchip: fix icicle i2c pinctrl configuration"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v1] riscv: dts: microchip: fix icicle i2c pinctrl configuration"
kdoc
Desc: Detects for kdoc errors
Duration: 0.86 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v1] riscv: dts: microchip: fix icicle i2c pinctrl configuration"
module-param
Desc: Detect module_param changes
Duration: 4.09 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v1] riscv: dts: microchip: fix icicle i2c pinctrl configuration"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.28 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v1] riscv: dts: microchip: fix icicle i2c pinctrl configuration"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.31 seconds
Result: PASS

@linux-riscv-bot linux-riscv-bot force-pushed the workflow branch 16 times, most recently from 89f146e to 7e679ca Compare April 24, 2026 21:47
@linux-riscv-bot linux-riscv-bot force-pushed the workflow branch 6 times, most recently from da65025 to 50e3f1e Compare April 28, 2026 02:09
@linux-riscv-bot linux-riscv-bot deleted the pw1083262 branch April 28, 2026 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants