[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240128173352.2714442-2-andreas@kemnade.info>
Date: Sun, 28 Jan 2024 18:33:50 +0100
From: Andreas Kemnade <andreas@...nade.info>
To: marcel@...tmann.org,
johan.hedberg@...il.com,
luiz.dentz@...il.com,
johan@...nel.org,
jirislaby@...nel.org,
andreas@...nade.info,
gregkh@...uxfoundation.org,
linux-kernel@...r.kernel.org,
linux-bluetooth@...r.kernel.org,
Adam Ford <aford173@...il.com>,
Tony Lindgren <tony@...mide.com>,
tomi.valkeinen@...asonboard.com,
Péter Ujfalusi <peter.ujfalusi@...il.com>,
robh@...nel.org,
hns@...delico.com
Subject: [RFC PATCH v2 1/3] gnss: Add AI2 protocol used by some TI combo chips.
Texas Instruments uses something called Air Independent Interface (AI2) for
their WLAN/BT/GPS combo chips.
No public documentation is available, but allow that protocol to be
specified.
Signed-off-by: Andreas Kemnade <andreas@...nade.info>
---
drivers/gnss/core.c | 1 +
include/linux/gnss.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/gnss/core.c b/drivers/gnss/core.c
index 48f2ee0f78c4d..cac9f45aec4b2 100644
--- a/drivers/gnss/core.c
+++ b/drivers/gnss/core.c
@@ -335,6 +335,7 @@ static const char * const gnss_type_names[GNSS_TYPE_COUNT] = {
[GNSS_TYPE_SIRF] = "SiRF",
[GNSS_TYPE_UBX] = "UBX",
[GNSS_TYPE_MTK] = "MTK",
+ [GNSS_TYPE_AI2] = "AI2",
};
static const char *gnss_type_name(const struct gnss_device *gdev)
diff --git a/include/linux/gnss.h b/include/linux/gnss.h
index 36968a0f33e8d..16b565dab83ea 100644
--- a/include/linux/gnss.h
+++ b/include/linux/gnss.h
@@ -23,6 +23,7 @@ enum gnss_type {
GNSS_TYPE_SIRF,
GNSS_TYPE_UBX,
GNSS_TYPE_MTK,
+ GNSS_TYPE_AI2,
GNSS_TYPE_COUNT
};
--
2.39.2
Powered by blists - more mailing lists