Giulio Benetti
55631db8bd
serial_lpuart: add clock enable if CONFIG_CLK is defined
...
This driver assumes that lpuart clock is already enabled before probing
but using DM only lpuart won't be automatically enabled so add
clk_enable() when probing if CONFIG_CLK is defined. If clock is not
found, because DM is not used, let's emit a warning and proceed, because
serial clock could also be already enabled by non DM code. If clock is
found but cna't be enabled then return with error.
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com >
2020-01-14 22:54:00 +01:00
..
2018-11-14 09:16:28 -08:00
2019-05-10 22:48:11 +02:00
2018-11-14 09:16:28 -08:00
2019-04-09 09:28:50 +03:00
2018-05-07 09:34:12 -04:00
2019-12-03 08:43:23 -05:00
2018-05-07 09:34:12 -04:00
2018-12-18 09:56:54 +08:00
2019-05-24 08:11:58 -04:00
2019-10-08 13:57:43 +08:00
2019-12-10 05:54:55 -07:00
2018-11-14 09:16:28 -08:00
2019-01-25 08:40:26 +03:00
2019-11-24 10:46:27 +01:00
2019-11-24 10:46:27 +01:00
2018-12-07 08:13:46 -05:00
2018-11-14 09:16:28 -08:00
2018-11-14 09:16:28 -08:00
2018-05-07 09:34:12 -04:00
2020-01-14 22:54:00 +01:00
2018-11-14 09:16:28 -08:00
2018-12-03 10:44:10 -05:00
2018-05-26 18:19:17 -04:00
2019-10-25 17:20:43 +02:00
2018-11-14 09:16:28 -08:00
2019-07-19 20:32:24 +02:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-12-07 08:13:49 -05:00
2018-11-14 09:16:28 -08:00
2018-11-14 09:16:28 -08:00
2018-05-07 09:34:12 -04:00
2019-02-09 07:50:55 -05:00
2018-05-07 09:34:12 -04:00
2019-05-01 00:00:05 +02:00
2018-11-14 09:16:28 -08:00
2019-05-10 22:43:18 +02:00
2019-05-10 22:43:18 +02:00
2019-08-15 13:42:28 +08:00
2018-11-14 09:16:28 -08:00
2019-08-27 11:19:23 +02:00
2019-08-27 11:19:23 +02:00
2018-06-23 01:28:15 +09:00
2018-11-14 09:16:28 -08:00
2018-11-14 09:16:28 -08:00
2019-12-02 16:18:05 -07:00
2019-10-25 17:20:43 +02:00
2019-12-02 18:23:10 -05:00
2018-05-07 09:34:12 -04:00