Skip to content

arm64: dts: npcm845: correct TIP RNG register size - #577

Open
helloxiling wants to merge 1 commit into
Nuvoton-Israel:NPCM-6.12-OpenBMCfrom
helloxiling:xsun/npcm-tip-rng-resource
Open

arm64: dts: npcm845: correct TIP RNG register size#577
helloxiling wants to merge 1 commit into
Nuvoton-Israel:NPCM-6.12-OpenBMCfrom
helloxiling:xsun/npcm-tip-rng-resource

Conversation

@helloxiling

Copy link
Copy Markdown

Summary

The TIP RNG driver accesses three 32-bit registers at offsets 0, 4, and 8 from 0xF0800E54, but its DT resource currently includes a fourth scratchpad.

Reduce the resource size from 0x10 to 0x0c, leaving scratchpad 24 at 0xF0800E60 available to its actual owner.

Motivation

Without this correction, TIP RNG and the Composite EAT client describe overlapping MMIO resources and one probe fails with -EBUSY. This is an independent DTS ownership correction and does not enable Composite EAT.

Validation

  • scripts/checkpatch.pl --strict: 0 errors, warnings, or checks
  • git diff --check: pass
  • nuvoton-npcm845-evb.dtb compile under W=1: pass

The emitted NPCM845 unit-address warnings are pre-existing and unrelated to the changed resource size.

The TIP RNG client accesses three 32-bit registers at offsets 0, 4,
and 8, but its DT resource includes a fourth scratchpad. Composite EAT
uses that fourth register as scratchpad 24.

Limit the RNG resource to the registers it owns so both clients can be
described without overlapping MMIO resources.

Signed-off-by: xilingsun <xilingsun@microsoft.com>
@helloxiling
helloxiling marked this pull request as ready for review August 25, 2026 04:35
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.

1 participant