summaryrefslogtreecommitdiff
path: root/drivers/ubloxmodem
diff options
context:
space:
mode:
authorJonas Bonn <jonas@norrbonn.se>2019-07-19 09:04:15 +0200
committerDenis Kenzior <denkenz@gmail.com>2019-07-19 02:46:57 -0500
commit9b1d83eaeaedc15cc5b8876a4f93a37465a4fe75 (patch)
treea2942f24303df9624ccd7dc55959fd18e0e32802 /drivers/ubloxmodem
parenta39944a5c0683987e5b749ebe16753bc2f5a3535 (diff)
downloadofono-9b1d83eaeaedc15cc5b8876a4f93a37465a4fe75.tar.gz
ubloxmodem: Add model entries for LARA R2 series
Diffstat (limited to 'drivers/ubloxmodem')
-rw-r--r--drivers/ubloxmodem/ubloxmodem.c9
-rw-r--r--drivers/ubloxmodem/ubloxmodem.h3
2 files changed, 11 insertions, 1 deletions
diff --git a/drivers/ubloxmodem/ubloxmodem.c b/drivers/ubloxmodem/ubloxmodem.c
index 719c77a0..034f7db1 100644
--- a/drivers/ubloxmodem/ubloxmodem.c
+++ b/drivers/ubloxmodem/ubloxmodem.c
@@ -77,6 +77,15 @@ const struct ublox_model ublox_models[] = {
.name = "TOBY-L4906",
.flags = UBLOX_F_TOBY_L4,
},
+ /* LARA L2 series */
+ {
+ .name = "LARA-R202",
+ .flags = UBLOX_F_LARA_R2,
+ },
+ {
+ .name = "LARA-R211",
+ .flags = UBLOX_F_LARA_R2,
+ },
{ /* sentinel */ },
};
diff --git a/drivers/ubloxmodem/ubloxmodem.h b/drivers/ubloxmodem/ubloxmodem.h
index 81fe9481..0bd7ef23 100644
--- a/drivers/ubloxmodem/ubloxmodem.h
+++ b/drivers/ubloxmodem/ubloxmodem.h
@@ -26,7 +26,8 @@
enum ublox_flags {
UBLOX_F_TOBY_L2 = (1 << 0),
UBLOX_F_TOBY_L4 = (1 << 1),
- UBLOX_F_HAVE_USBCONF = (1 << 2),
+ UBLOX_F_LARA_R2 = (1 << 2),
+ UBLOX_F_HAVE_USBCONF = (1 << 3),
};
struct ublox_model {