mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
serial: sccnxp: Add DT support
Add DT support to the SCCNCP serial driver. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ea4c39beac
commit
85c9969074
3 changed files with 93 additions and 12 deletions
|
@ -78,11 +78,11 @@
|
|||
/* SCCNXP platform data structure */
|
||||
struct sccnxp_pdata {
|
||||
/* Shift for A0 line */
|
||||
const u8 reg_shift;
|
||||
u32 reg_shift;
|
||||
/* Modem control lines configuration */
|
||||
const u32 mctrl_cfg[SCCNXP_MAX_UARTS];
|
||||
u32 mctrl_cfg[SCCNXP_MAX_UARTS];
|
||||
/* Timer value for polling mode (usecs) */
|
||||
const unsigned int poll_time_us;
|
||||
u32 poll_time_us;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue