Supporting different temp sensors at same I2C location

Matt Spinler mspinler at linux.vnet.ibm.com
Wed Dec 7 08:51:40 AEDT 2016


On Witherspoon the hardware team is asking us(or maybe warning us?) if 
they can change the ambient temp/altitude sensor from the BMP280 to a 
DPS310, which would have the same I2C address.  Only the new one would ship.

How are things like this usually handled in Linux?  Can both drivers be 
kept around and just activate based on their probing? Or do we just drop 
support for the old chip completely, though I haven't asked if this is 
OK yet.  Or should we push for having a different I2C address and then 
support both still?

Thanks



More information about the openbmc mailing list