Skip to content

dts: bcm2712-rpi: Move rpi-otp nodes onto a bus #6197

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 30, 2024

Conversation

pelwell
Copy link
Contributor

@pelwell pelwell commented May 30, 2024

The rpi-otp driver uses a virtualised, OTP-relative addressing scheme. However, when instance nodes are children of "/soc" they appear to be addressable directly by the host, which is wrong (but not in a way which causes an error unless one goes looking for one).

Add a wrapper (bus) node without a "ranges" property to make the separation clear.

See: #6196

@popcornmix
Copy link
Collaborator

Are the rpi-otp nodes in bcm2708-rpi.dtsi and bcm2711-rpi-ds.dtsi okay as they are?

@pelwell
Copy link
Contributor Author

pelwell commented May 30, 2024

No, not really - I can give them the same treatment.

The rpi-otp driver uses a virtualised, OTP-relative addressing scheme.
However, when instance nodes are children of "/soc" they appear to be
addressable directly by the host, which is wrong (but not in a way which
causes an error unless one goes looking for one).

Add a wrapper (bus) node without a "ranges" property to make the
separation clear.

See: raspberrypi#6196

Signed-off-by: Phil Elwell <[email protected]>
@pelwell
Copy link
Contributor Author

pelwell commented May 30, 2024

Like so.

@lorc
Copy link
Contributor

lorc commented May 30, 2024

@pelwell, thank you. I checked your PR on my setup, it is working as expected, i.e. Xen is happy.

@pelwell pelwell merged commit a2fb37f into raspberrypi:rpi-6.6.y May 30, 2024
12 checks passed
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Jun 7, 2024
kernel: configs: enable CONFIG_NET_FOU_IP_TUNNELS
See: raspberrypi/linux#6204

kernel: dts: bcm2712-rpi: Move rpi-otp nodes onto a bus
See: raspberrypi/linux#6197

kernel: vc4/hdmi: Fix Hsync and Vsync polarity changes
See: raspberrypi/linux#6193

kernel: Update DAC8x to support 384khz
See: raspberrypi/linux#6187

kernel: DTS: overlays: add mmio-hi parameter to pciex1-compat-pi5
See: raspberrypi/linux#6186
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Jun 12, 2024
kernel: configs: enable CONFIG_NET_FOU_IP_TUNNELS
See: raspberrypi/linux#6204

kernel: dts: bcm2712-rpi: Move rpi-otp nodes onto a bus
See: raspberrypi/linux#6197

kernel: vc4/hdmi: Fix Hsync and Vsync polarity changes
See: raspberrypi/linux#6193

kernel: Update DAC8x to support 384khz
See: raspberrypi/linux#6187

kernel: DTS: overlays: add mmio-hi parameter to pciex1-compat-pi5
See: raspberrypi/linux#6186
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.

3 participants