Re: [PATCH v2 15/21] serial_lpuart: add clock enable if CONFIG_CLK is defined

2020-01-28 Thread Giulio Benetti
Hi Lukasz, On 1/28/20 9:36 AM, Lukasz Majewski wrote: Hi Giulio, 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 u

Re: [PATCH v2 15/21] serial_lpuart: add clock enable if CONFIG_CLK is defined

2020-01-28 Thread Lukasz Majewski
Hi Giulio, > 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 s

[PATCH v2 15/21] serial_lpuart: add clock enable if CONFIG_CLK is defined

2020-01-15 Thread sbabic
> 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

[PATCH v2 15/21] serial_lpuart: add clock enable if CONFIG_CLK is defined

2020-01-10 Thread Giulio Benetti
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