Repository navigation
dtoverlays: Add override for target-path on I2C overlays - #6541
Merged
Merged
Conversation
pelwell
reviewed
Dec 16, 2024
pelwell
left a comment
Contributor
There was a problem hiding this comment.
I'm happy with that. It could go in i2c-rtc and i2c-sensor as well.
pelwell
approved these changes
Dec 16, 2024
Contributor
Author
I was wanting to make sure you approved of the approach, but was then intending to add it to the majority of the overlays for I2C peripherals. I'll go and update a load more now. |
6by9
force-pushed
the
rpi-6.6.y-dt
branch
4 times, most recently
from
December 16, 2024 18:23
42e8a83 to
02f3a93
Compare
Contributor
Author
|
Updated with almost all the I2C based overlays. Now to just get all the dtoverlaycheck issues sorted..... |
To allow for attaching any of the standard overlays to a bitbashed i2c-gpio bus, allow specifying the target path for the overlay. Suggested by: https://forums.raspberrypi.com/viewtopic.php?t=381059 Example: dtoverlay=i2c-gpio,i2c_gpio_sda=10,i2c_gpio_scl=11 dtoverlay=mcp23017,i2c-path=/i2c@0 dtoverlay=i2c-gpio,i2c_gpio_sda=12,i2c_gpio_scl=13,bus=3 dtoverlay=mcp23017,i2c-path=/i2c@3 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
6by9
marked this pull request as ready for review
December 16, 2024 18:32
popcornmix
added a commit
to raspberrypi/firmware
that referenced
this pull request
Dec 20, 2024
kernel: dtoverlays: Add override for target-path on I2C overlays See: raspberrypi/linux#6541 kernel: misc: rp1-pio: Support larger data transfers See: raspberrypi/linux#6543 kernel: dtoverlays: Use continuous clock mode for ov9281 See: raspberrypi/linux#6542 kernel: overlays: goodix: Allow override i2c address See: raspberrypi/linux#6547 kernel: Add PIO-assisted WS2812 LEDs driver See: raspberrypi/linux#6551 kernel: overlays: Add and document i2c_csi_dsi0 parameters See: raspberrypi/linux#6553
popcornmix
added a commit
to raspberrypi/rpi-firmware
that referenced
this pull request
Dec 20, 2024
kernel: dtoverlays: Add override for target-path on I2C overlays See: raspberrypi/linux#6541 kernel: misc: rp1-pio: Support larger data transfers See: raspberrypi/linux#6543 kernel: dtoverlays: Use continuous clock mode for ov9281 See: raspberrypi/linux#6542 kernel: overlays: goodix: Allow override i2c address See: raspberrypi/linux#6547 kernel: Add PIO-assisted WS2812 LEDs driver See: raspberrypi/linux#6551 kernel: overlays: Add and document i2c_csi_dsi0 parameters See: raspberrypi/linux#6553
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
To allow for attaching any of the standard overlays to a bitbashed i2c-gpio bus, allow specifying the target path for the overlay.
Suggested by:
https://forums.raspberrypi.com/viewtopic.php?t=381059 2 overlays implemented as examples, but could be applied to all.
Example: