[PATCH v2 06/14] gpio: remove the open_drain API and ops

Simon Glass sjg at chromium.org
Mon Dec 30 02:21:11 CET 2019


On Tue, 26 Nov 2019 at 01:49, Patrick Delaunay <patrick.delaunay at st.com> wrote:
>
> This patch removes the ops get_open_drain/set_open_drain
> and the API dm_gpio_get_open_drain/dm_gpio_set_open_drain.
>
> The ops only provided in one driver (mpc8xxx gpio) and the
> associated API is never called in boards.
>
> This patch prepare a more generic set/get_dir_flags ops,
> including the open drain property.
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> ---
>
> Changes in v2:
> - remove the open_drain API and ops
>
>  arch/sandbox/include/asm/gpio.h | 20 ------------------
>  drivers/gpio/gpio-uclass.c      | 36 ---------------------------------
>  drivers/gpio/mpc8xxx_gpio.c     | 22 --------------------
>  drivers/gpio/sandbox.c          | 35 --------------------------------
>  include/asm-generic/gpio.h      | 34 -------------------------------
>  test/dm/gpio.c                  |  7 -------
>  6 files changed, 154 deletions(-)

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


More information about the U-Boot mailing list