enclustra-bsp / xilinx-linux

Other
12 stars 15 forks source link

Wrong RTC driver in config for ZX3 #12

Closed tsat-psv closed 3 years ago

tsat-psv commented 3 years ago

Hi, it seems that you may have the the wrong driver for the onboard RTC on the Zynq ZX3 module.

I have solved it with the following:

--CONFIG_RTC_DRV_PCF8563=y
++CONFIG_RTC_DRV_ISL12022=y

Please let me know if I should provide a PR.

tholzsche commented 3 years ago

Thanks for the info, as far as I know the default configurations were used. But since we are working on a major update and will try to take this into account.

tsat-psv commented 3 years ago

No problem. We started using the RTC now, and only noticed that the config was wrong and and the RTC didn't work.

I have also this PR https://github.com/enclustra-bsp/xilinx-linux/pull/7 that your colleague seems to have accepted that you might consider including in the next update.

tsat-psv commented 3 years ago

Should I close this @tholzsche ? I recon this should be resolved in your update branches.

tholzsche commented 3 years ago

It is covered in the i2c appnote (see https://github.com/enclustra/I2CAppNote/blob/master/Chapter-5-Linux.md#52-rtc)

tsat-psv commented 3 years ago

Thanks, looking forward to the update release.