Add Micro Crystal RV-1805 to i2c-rtc overlays #3651
Merged
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.
In discussions with one of the maintainers about the rtc-abx80x driver and support of the RV-1805 device, it was made clear that relying on the auto-detection behavior in the driver will result in this device being improperly initialized. The maintainer would actually prefer to remove the auto-detection logic completely, but it at least works properly for the Abracon-branded devices originally supported by the driver.
This patch adds an explicit rv1805 entry to the i2c-rtc overlays so that the user can specify it in config.txt. It has been produced (and tested) against the rpi-5.4.y branch but should apply cleanly to the other branches as well.
Note that there is an existing difference between these overlays: i2c-rtc-overlay has support for the pcf85363, but the i2c-rtc-gpio-overlay does not. This results in numbering differences between some of the fragments.