Adding driver for AVSBus #42744
snematbakhsh
started this conversation in
RFC
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
AVSBus is a standardized way of controlling PMICs (intro: https://www.scanti.ru/images/products/renesas/news/20201119/2016-08AVSBusIntro.pdf). It is implemented on top of SPI. It is commonly used for:
I have written some software routines and console commands for sending AVSBus commands and I would like to add this support to upstream Zephyr.
My initial question is related to where an AVSBus driver should live in the driver hierarchy. /drivers/regulator/ seems like a candidate, but the existing regulator driver methods aren't a good fit. Maybe it's a better idea to add a completely new driver interface (maybe in drivers/spi/spi_avsbus.{c,h})? Or maybe there another appropriate existing interface that I missed?
Thanks for the guidance.
Beta Was this translation helpful? Give feedback.
All reactions