[PATCH v2 5/5] clk: Add clk_get_by_name_optional

Simon Glass sjg at chromium.org
Tue Dec 28 09:34:01 CET 2021


On Wed, 22 Dec 2021 at 10:11, Sean Anderson <seanga2 at gmail.com> wrote:
>
> This adds a helper function for clk_get_by_name in cases where the clock is
> optional. Hopefully this helps point driver writers in the right direction.
> Also convert some existing users.
>
> Signed-off-by: Sean Anderson <seanga2 at gmail.com>
> Reviewed-by: Neil Armstrong <narmstrong at baylibre.com>
> ---
>
> (no changes since v1)
>
>  drivers/clk/clk_zynq.c  |  5 +++--
>  drivers/rng/meson-rng.c |  4 ++--
>  include/clk.h           | 24 ++++++++++++++++++++++++
>  3 files changed, 29 insertions(+), 4 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list