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
..
2020-01-08 09:27:44 -05:00
2019-08-09 22:24:02 +08:00
2019-12-03 08:43:24 -05:00
2020-01-07 11:13:24 -05:00
2020-01-10 10:25:13 -05:00
2020-01-07 14:38:33 +01:00
2020-01-14 22:53:59 +01:00
2020-01-07 16:03:01 -07:00
2019-12-02 18:23:09 -05:00
2019-12-02 18:24:58 -05:00
2020-01-08 15:24:50 -05:00
2020-01-07 14:37:50 +01:00
2019-12-09 09:47:43 -06:00
2019-12-03 23:04:10 -05:00
2019-12-02 18:25:01 -05:00
2020-01-07 14:38:33 +01:00
2020-01-14 22:53:59 +01:00
2019-12-18 07:20:19 -05:00
2019-11-19 17:43:04 -05:00
2019-12-02 18:23:13 -05:00
2020-01-08 15:24:50 -05:00
2020-01-14 22:47:15 +01:00
2020-01-07 08:44:56 -05:00
2020-01-10 10:25:13 -05:00
2019-12-02 18:24:58 -05:00
2019-12-15 11:44:16 +08:00
2020-01-07 16:02:38 -07:00
2019-08-07 15:31:04 -04:00
2019-12-26 09:06:54 -05:00
2020-01-14 22:53:59 +01:00
2020-01-10 10:25:13 -05:00
2019-12-06 00:06:23 +08:00
2019-12-02 18:23:08 -05:00
2019-11-17 17:22:53 +08:00
2020-01-07 11:13:25 -05:00
2019-11-01 16:45:40 +03:00
2020-01-07 18:08:21 +01:00
2020-01-10 10:25:13 -05:00
2019-10-23 20:47:12 -04:00
2020-01-14 22:54:00 +01:00
2019-09-13 11:56:08 -04:00
2019-12-02 18:23:13 -05:00
2020-01-06 17:07:49 -05:00
2020-01-07 14:38:33 +01:00
2019-12-05 10:28:38 -05:00
2019-12-15 11:44:10 +08:00
2019-12-15 08:52:29 +08:00
2019-10-23 20:47:12 -04:00
2020-01-07 16:02:38 -07:00
2020-01-08 15:23:37 -05:00
2020-01-10 14:18:26 -05:00
2019-11-03 17:04:16 +01:00
2020-01-07 18:08:21 +01:00
2020-01-08 18:57:11 -05:00