Skip to content

Add Micro Crystal RV-1805 to i2c-rtc overlays #3651

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
Jun 1, 2020
Merged

Add Micro Crystal RV-1805 to i2c-rtc overlays #3651

merged 1 commit into from
Jun 1, 2020

Conversation

kpfleming
Copy link
Contributor

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.

@pelwell
Copy link
Contributor

pelwell commented Jun 1, 2020

Apart from the node name discussed above, you'll need to document the new parameters in the README.

While the RV-1805 is supported by the rtc-abx80x driver via
auto-detection, in order for it to be initialized properly
it must be explcitly selected.

Signed-off-by: Kevin P. Fleming <[email protected]>
@pelwell pelwell merged commit 75f4140 into raspberrypi:rpi-5.4.y Jun 1, 2020
@pelwell
Copy link
Contributor

pelwell commented Jun 1, 2020

Thanks!

@kpfleming kpfleming deleted the add-rv1805-to-rtc-overlay branch June 1, 2020 22:38
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Jun 3, 2020
kernel: vc4: Set driver_name for card
See: raspberrypi/linux#3656

kernel: configs: Add SND_SOC_MAX98357A=m
See: https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=275919

kernel: Add Micro Crystal RV-1805 to i2c-rtc overlays
See: raspberrypi/linux#3651

kernel: media: bcm2835-isp: fix bytes per line calculations for some image formats
See: raspberrypi/linux#3645

kernel: media: bcm2835-unicam: change minimum number of vb2_queue buffers to 1
See: raspberrypi/linux#3638

kernel: media: i2c: imx477: Return correct result on sensor id verification
See: raspberrypi/linux#3630

kernel: Clean up the VCHIQ 2711 DMA support
See: raspberrypi/linux#3629

kernel: overlays: i2c-rtc-gpio: Fix trickle-resistor-ohms param
See: raspberrypi/linux#3642

kernel: Enable hwmon for thermal zones
See: raspberrypi/linux#3307
popcornmix added a commit to Hexxeh/rpi-firmware that referenced this pull request Jun 3, 2020
kernel: vc4: Set driver_name for card
See: raspberrypi/linux#3656

kernel: configs: Add SND_SOC_MAX98357A=m
See: https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=275919

kernel: Add Micro Crystal RV-1805 to i2c-rtc overlays
See: raspberrypi/linux#3651

kernel: media: bcm2835-isp: fix bytes per line calculations for some image formats
See: raspberrypi/linux#3645

kernel: media: bcm2835-unicam: change minimum number of vb2_queue buffers to 1
See: raspberrypi/linux#3638

kernel: media: i2c: imx477: Return correct result on sensor id verification
See: raspberrypi/linux#3630

kernel: Clean up the VCHIQ 2711 DMA support
See: raspberrypi/linux#3629

kernel: overlays: i2c-rtc-gpio: Fix trickle-resistor-ohms param
See: raspberrypi/linux#3642

kernel: Enable hwmon for thermal zones
See: raspberrypi/linux#3307
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