feedback on driver-specific API architecture
Peter A. Bigot
As discussed in various meetings: there is an ongoing need for Zephyr to support peripherals that have features beyond what is supported in the generic driver class, e.g. calibration APIs for specific sensors.
https://github.com/zephyrproject-rtos/zephyr/pull/17072 discusses the general case with a stub API.
https://github.com/zephyrproject-rtos/zephyr/pull/17631 provides a specific case with a complete API.
Feedback on the overall approach is requested, and may be provided on either PR; 17072 should have less clutter related to the details of the Maxim RTC chip that it supports.