[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241024100901.69883-2-tony467913@gmail.com>
Date: Thu, 24 Oct 2024 18:09:01 +0800
From: Tony Chung <tony467913@...il.com>
To: gregkh@...uxfoundation.org
Cc: johan@...nel.org,
linux-kernel@...r.kernel.org,
linux-usb@...r.kernel.org,
Tony Chung <tony467913@...il.com>
Subject: [PATCH 1/3] drivers: usb: serial: mos7840: Add defines for clock select register offset
This patch adds define for CLOCK_SELECT_REG1 & CLOCK_SELECT_REG2 offsets.
These two registers can select clock source between 30M/96M/External.
Signed-off-by: Tony Chung <tony467913@...il.com>
---
drivers/usb/serial/mos7840.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/usb/serial/mos7840.c b/drivers/usb/serial/mos7840.c
index ca3da79af..362875a53 100644
--- a/drivers/usb/serial/mos7840.c
+++ b/drivers/usb/serial/mos7840.c
@@ -144,6 +144,9 @@
#define SERIAL_LCR_DLAB ((__u16)(0x0080))
+#define CLOCK_SELECT_REG1 ((__u16)(0x13))
+#define CLOCK_SELECT_REG2 ((__u16)(0x14))
+
/*
* URB POOL related defines
*/
--
2.34.1
Powered by blists - more mailing lists