Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 47146eb8 authored by Markezana, William's avatar Markezana, William Committed by Jonathan Cameron
Browse files

iio: ms5637 Add Measurement Specialties explicit MS5805 and MS5837 support

parent f26ab1aa
Loading
Loading
Loading
Loading
+9 −3
Original line number Original line Diff line number Diff line
/*
/*
 * ms5637.c - Support for Measurement-Specialties ms5637 and ms8607
 * ms5637.c - Support for Measurement-Specialties MS5637, MS5805
 *            pressure & temperature sensor
 *            MS5837 and MS8607 pressure & temperature sensor
 *
 *
 * Copyright (c) 2015 Measurement-Specialties
 * Copyright (c) 2015 Measurement-Specialties
 *
 *
@@ -11,6 +11,10 @@
 * Datasheet:
 * Datasheet:
 *  http://www.meas-spec.com/downloads/MS5637-02BA03.pdf
 *  http://www.meas-spec.com/downloads/MS5637-02BA03.pdf
 * Datasheet:
 * Datasheet:
 *  http://www.meas-spec.com/downloads/MS5805-02BA01.pdf
 * Datasheet:
 *  http://www.meas-spec.com/downloads/MS5837-30BA.pdf
 * Datasheet:
 *  http://www.meas-spec.com/downloads/MS8607-02BA01.pdf
 *  http://www.meas-spec.com/downloads/MS8607-02BA01.pdf
 */
 */


@@ -170,7 +174,9 @@ static int ms5637_probe(struct i2c_client *client,


static const struct i2c_device_id ms5637_id[] = {
static const struct i2c_device_id ms5637_id[] = {
	{"ms5637", 0},
	{"ms5637", 0},
	{"ms8607-temppressure", 1},
	{"ms5805", 0},
	{"ms5837", 0},
	{"ms8607-temppressure", 0},
	{}
	{}
};
};
MODULE_DEVICE_TABLE(i2c, ms5637_id);
MODULE_DEVICE_TABLE(i2c, ms5637_id);