Re: RFC: Alchemy Au1550 SMBus driver on PSC

Izumi Tsutsui <[email protected]>
Newsgroups gmane.os.netbsd.ports.evbmips
Message-ID <[email protected]>
In article <[email protected]>
[email protected] wrote:

> (for example, when we can only one (fixed) protocol on a psc device),
> we need to reconsider a concept of implementing this driver,
> and to detect kernel configuration errors.

If we can assume all boards have static configuration on each PSC
and we don't have to switch protocols at runtime, we can put info
how each PSC is configured on the hardware via device properties
in board specific init functions, and au*_match function can check
the values.

Or, if we can assume the firmware configures each PSC properly,
we can read current settings from the PSC register in match function.
---
Izumi Tsutsui
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.