I’m looking to add support for the LPS22HH barometer. Its interface is very similar to the LPS22HB, and I was able to easily fork the existing driver to add support (only needed to change the device ID and I2C address).
For contributing this driver, is there an established preference for adding this as a new driver module or extending the existing LPS22HH with another argument to specify the variant?
I’ve occasionally seen this multi-device pattern with devices like the ICM42688/6. However, it seems quite rare so I’d appreciate input from the community on which direction is preferred.