summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-09-10 00:03:53 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-09-10 00:03:53 +0000
commite116bfb4f0192a6e54a71dfb0b2f3b63849e1524 (patch)
treef0c6fc4f5e60e001fae40d5cdbf5ecbaf79f49b8 /tools
parent2ed8bc58caa1e27dffad6766a59f8f9f0930dc08 (diff)
Add support for PSKEY_ANA_FREQ and PSKEY_ANA_FTRIM
Diffstat (limited to 'tools')
-rw-r--r--tools/csr.h4
-rw-r--r--tools/pskey.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/tools/csr.h b/tools/csr.h
index acb30641..95b5c63d 100644
--- a/tools/csr.h
+++ b/tools/csr.h
@@ -65,7 +65,9 @@
#define CSR_PSKEY_LMP_REMOTE_VERSION 0x010e /* uint8 */
#define CSR_PSKEY_HOSTIO_MAP_SCO_PCM 0x01ab
#define CSR_PSKEY_UART_BAUDRATE 0x01be
-#define CSR_PSKEY_HOST_INTERFACE 0x01f9
+#define CSR_PSKEY_ANA_FTRIM 0x01f6 /* uint16 */
+#define CSR_PSKEY_HOST_INTERFACE 0x01f9 /* uint16 */
+#define CSR_PSKEY_ANA_FREQ 0x01fe /* uint16 */
#define CSR_PSKEY_USB_VENDOR_ID 0x02be
#define CSR_PSKEY_USB_PRODUCT_ID 0x02bf
#define CSR_PSKEY_USB_DFU_PRODUCT_ID 0x02cb
diff --git a/tools/pskey.c b/tools/pskey.c
index 9a4dd547..030a6a43 100644
--- a/tools/pskey.c
+++ b/tools/pskey.c
@@ -123,6 +123,8 @@ static struct {
{ CSR_PSKEY_HOSTIO_MAP_SCO_PCM, CSR_TYPE_UINT16, "mapsco" },
{ CSR_PSKEY_UART_BAUDRATE, CSR_TYPE_UINT16, "baudrate" },
{ CSR_PSKEY_HOST_INTERFACE, CSR_TYPE_UINT16, "hostintf" },
+ { CSR_PSKEY_ANA_FREQ, CSR_TYPE_UINT16, "anafreq" },
+ { CSR_PSKEY_ANA_FTRIM, CSR_TYPE_UINT16, "anaftrim" },
{ CSR_PSKEY_USB_VENDOR_ID, CSR_TYPE_UINT16, "usbvid" },
{ CSR_PSKEY_USB_PRODUCT_ID, CSR_TYPE_UINT16, "usbpid" },
{ CSR_PSKEY_USB_DFU_PRODUCT_ID, CSR_TYPE_UINT16, "dfupid" },