diff options
author | Markezana, William <William.Markezana@te.com> | 2016-06-06 04:12:11 -0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-06-11 12:27:52 -0400 |
commit | 47146eb837863be27e162d9fbbe2af6bb5560499 (patch) | |
tree | c60f750ead0a26fe20a4a706f01941f3dd0af1ba | |
parent | f26ab1aad53bdc2c2fedb506fc2e1d2333a8680b (diff) |
iio: ms5637 Add Measurement Specialties explicit MS5805 and MS5837 support
Signed-off-by: William Markezana <william.markezana@meas-spec.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r-- | drivers/iio/pressure/ms5637.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/drivers/iio/pressure/ms5637.c b/drivers/iio/pressure/ms5637.c index 8fb6f7ab97e4..953ffbc0ef96 100644 --- a/drivers/iio/pressure/ms5637.c +++ b/drivers/iio/pressure/ms5637.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * ms5637.c - Support for Measurement-Specialties ms5637 and ms8607 | 2 | * ms5637.c - Support for Measurement-Specialties MS5637, MS5805 |
3 | * pressure & temperature sensor | 3 | * MS5837 and MS8607 pressure & temperature sensor |
4 | * | 4 | * |
5 | * Copyright (c) 2015 Measurement-Specialties | 5 | * Copyright (c) 2015 Measurement-Specialties |
6 | * | 6 | * |
@@ -11,6 +11,10 @@ | |||
11 | * Datasheet: | 11 | * Datasheet: |
12 | * http://www.meas-spec.com/downloads/MS5637-02BA03.pdf | 12 | * http://www.meas-spec.com/downloads/MS5637-02BA03.pdf |
13 | * Datasheet: | 13 | * Datasheet: |
14 | * http://www.meas-spec.com/downloads/MS5805-02BA01.pdf | ||
15 | * Datasheet: | ||
16 | * http://www.meas-spec.com/downloads/MS5837-30BA.pdf | ||
17 | * Datasheet: | ||
14 | * http://www.meas-spec.com/downloads/MS8607-02BA01.pdf | 18 | * http://www.meas-spec.com/downloads/MS8607-02BA01.pdf |
15 | */ | 19 | */ |
16 | 20 | ||
@@ -170,7 +174,9 @@ static int ms5637_probe(struct i2c_client *client, | |||
170 | 174 | ||
171 | static const struct i2c_device_id ms5637_id[] = { | 175 | static const struct i2c_device_id ms5637_id[] = { |
172 | {"ms5637", 0}, | 176 | {"ms5637", 0}, |
173 | {"ms8607-temppressure", 1}, | 177 | {"ms5805", 0}, |
178 | {"ms5837", 0}, | ||
179 | {"ms8607-temppressure", 0}, | ||
174 | {} | 180 | {} |
175 | }; | 181 | }; |
176 | MODULE_DEVICE_TABLE(i2c, ms5637_id); | 182 | MODULE_DEVICE_TABLE(i2c, ms5637_id); |