Dear All,

Is there a standard way specifying in a board_info structure which variant of a
chip is present? Basically I'm looking for something equivalent to the alias
based id_table of the i2c subsystem.

The situation is that I am writing an accelerometer driver for the vti sca3000
series of chips and these vary considerably in what functionality they provide
and there is no easy what of querying the chip to find out what it is (version
numbers are not documented as far as I can tell). Thus it will be down to a
info specified in board info to identify what we have.

If not I guess it will have to a passed in as platform data, but that seems
somewhat adhoc and messy.

Thanks,

--
Jonathan Cameron

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
spi-devel-general mailing list
spi-devel-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

Reply via email to