summaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
authorMichael Tretter <m.tretter@pengutronix.de>2022-02-02 11:11:19 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2022-02-03 10:57:12 +0100
commitdd333a1380f38eac53ac3eb002d4b831ba8e16ae (patch)
tree2e73a97e6b8a6e3fb335414c72db357bb9245e64 /drivers/serial
parent4349673e3a6f57cb45041c47786fbd6e53349499 (diff)
downloadbarebox-dd333a1380f38eac53ac3eb002d4b831ba8e16ae.tar.gz
barebox-dd333a1380f38eac53ac3eb002d4b831ba8e16ae.tar.xz
serial: cadence: add ZynqMP compatibles
Commit 3f2f5980d517 ("dts: update to v5.16-rc1") changes the compatible of the ZynqMP uarts to "xlnx,zynqmp-uart" and drops the "xlnx,xuartps" compatible. The driver worked just fine before and the difference between the r1p8 and r1p12 compatibles is the use of the RX byte status register which is only used with interrupts. Add the "xlnx,zynqmp-uart" and the "cdns,uart-r1p12" compatibles to the driver. Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220202101119.3924600-1-m.tretter@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/serial_cadence.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/serial/serial_cadence.c b/drivers/serial/serial_cadence.c
index 6cf18aa25a..84dcd1b76b 100644
--- a/drivers/serial/serial_cadence.c
+++ b/drivers/serial/serial_cadence.c
@@ -231,6 +231,12 @@ static __maybe_unused struct of_device_id cadence_serial_dt_ids[] = {
.compatible = "xlnx,xuartps",
.data = &cadence_r1p08_data,
}, {
+ .compatible = "cdns,uart-r1p12",
+ .data = &cadence_r1p08_data,
+ }, {
+ .compatible = "xlnx,zynqmp-uart",
+ .data = &cadence_r1p08_data,
+ }, {
/* sentinel */
}
};