U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Bosch <stefan_b@posteo.net>
To: Tom Rini <trini@konsulko.com>, u-boot@lists.denx.de
Cc: Heiko Schocher <hs@denx.de>, Ryan Chen <ryan_chen@aspeedtech.com>,
	Aspeed BMC SW team <BMC-SW@aspeedtech.com>,
	Chia-Wei Wang <chiawei_wang@aspeedtech.com>,
	Joel Stanley <joel@jms.id.au>,
	Michal Simek <michal.simek@amd.com>,
	Alex Nemirovsky <alex.nemirovsky@cortina-access.com>,
	Liviu Dudau <liviu.dudau@foss.arm.com>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	Stefan Roese <sr@denx.de>,
	Nobuhiro Iwamatsu <iwamatsu@nigauri.org>,
	Marek Vasut <marek.vasut+renesas@mailbox.org>,
	Simon Glass <sjg@chromium.org>,
	Patrick Delaunay <patrick.delaunay@foss.st.com>,
	Patrice Chotard <patrice.chotard@foss.st.com>,
	Thierry Reding <treding@nvidia.com>,
	Svyatoslav Ryhel <clamor95@gmail.com>
Subject: Re: [PATCH 35/81] i2c: Remove <common.h> and add needed includes
Date: Thu,  9 May 2024 09:09:46 +0000	[thread overview]
Message-ID: <30d74f66-eed3-1d45-c482-ea688fa9dbbc@posteo.net> (raw)
In-Reply-To: <20240502013138.2383421-35-trini@konsulko.com>



On 02.05.24 03:30, Tom Rini wrote:
> Remove <common.h> from this driver directory and when needed
> add missing include files directly.
> 
> Signed-off-by: Tom Rini <trini@konsulko.com>
Tested-by: Stefan Bosch <stefan_b@posteo.net>

Looks ok, tested on FriendlyElec-Board NanoPC-T2 
(s5p4418_nanopi2_defconfig).

Thanks a lot!

> ---
> Cc: Heiko Schocher <hs@denx.de>
> Cc: Tom Rini <trini@konsulko.com>
> Cc: Ryan Chen <ryan_chen@aspeedtech.com>
> Cc: Aspeed BMC SW team <BMC-SW@aspeedtech.com>
> Cc: Chia-Wei Wang <chiawei_wang@aspeedtech.com>
> Cc: Joel Stanley <joel@jms.id.au>
> Cc: Michal Simek <michal.simek@amd.com>
> Cc: Alex Nemirovsky <alex.nemirovsky@cortina-access.com>
> Cc: Liviu Dudau <liviu.dudau@foss.arm.com>
> Cc: Neil Armstrong <neil.armstrong@linaro.org>
> Cc: Stefan Roese <sr@denx.de>
> Cc: Stefan Bosch <stefan_b@posteo.net>
> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
> Cc: Marek Vasut <marek.vasut+renesas@mailbox.org>
> Cc: Simon Glass <sjg@chromium.org>
> Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
> Cc: Patrice Chotard <patrice.chotard@foss.st.com>
> Cc: Thierry Reding <treding@nvidia.com>
> Cc: Svyatoslav Ryhel <clamor95@gmail.com>
> ---
>   drivers/i2c/acpi_i2c.c                     | 1 -
>   drivers/i2c/ast2600_i2c.c                  | 1 -
>   drivers/i2c/ast_i2c.c                      | 1 -
>   drivers/i2c/at91_i2c.c                     | 1 -
>   drivers/i2c/cros_ec_ldo.c                  | 1 -
>   drivers/i2c/cros_ec_tunnel.c               | 1 -
>   drivers/i2c/davinci_i2c.c                  | 2 +-
>   drivers/i2c/designware_i2c.c               | 1 -
>   drivers/i2c/designware_i2c_pci.c           | 1 -
>   drivers/i2c/exynos_hs_i2c.c                | 1 -
>   drivers/i2c/fsl_i2c.c                      | 2 +-
>   drivers/i2c/i2c-cdns.c                     | 1 -
>   drivers/i2c/i2c-cortina.c                  | 2 +-
>   drivers/i2c/i2c-emul-uclass.c              | 1 -
>   drivers/i2c/i2c-gpio.c                     | 1 -
>   drivers/i2c/i2c-microchip.c                | 1 -
>   drivers/i2c/i2c-uclass.c                   | 1 -
>   drivers/i2c/i2c-versatile.c                | 1 -
>   drivers/i2c/i2c_core.c                     | 2 +-
>   drivers/i2c/ihs_i2c.c                      | 1 -
>   drivers/i2c/imx_lpi2c.c                    | 1 -
>   drivers/i2c/intel_i2c.c                    | 2 +-
>   drivers/i2c/iproc_i2c.c                    | 1 -
>   drivers/i2c/lpc32xx_i2c.c                  | 2 +-
>   drivers/i2c/meson_i2c.c                    | 1 -
>   drivers/i2c/muxes/i2c-arb-gpio-challenge.c | 2 +-
>   drivers/i2c/muxes/i2c-mux-gpio.c           | 1 -
>   drivers/i2c/muxes/i2c-mux-uclass.c         | 1 -
>   drivers/i2c/muxes/pca954x.c                | 1 -
>   drivers/i2c/mv_i2c.c                       | 1 -
>   drivers/i2c/mvtwsi.c                       | 2 +-
>   drivers/i2c/mxc_i2c.c                      | 2 +-
>   drivers/i2c/nx_i2c.c                       | 2 +-
>   drivers/i2c/ocores_i2c.c                   | 1 -
>   drivers/i2c/omap24xx_i2c.c                 | 1 -
>   drivers/i2c/qup_i2c.c                      | 1 -
>   drivers/i2c/rcar_i2c.c                     | 1 -
>   drivers/i2c/rcar_iic.c                     | 1 -
>   drivers/i2c/rk_i2c.c                       | 1 -
>   drivers/i2c/s3c24x0_i2c.c                  | 2 +-
>   drivers/i2c/sandbox_i2c.c                  | 1 -
>   drivers/i2c/sh_i2c.c                       | 1 -
>   drivers/i2c/soft_i2c.c                     | 2 +-
>   drivers/i2c/stm32f7_i2c.c                  | 1 -
>   drivers/i2c/sun6i_p2wi.c                   | 1 -
>   drivers/i2c/sun8i_rsb.c                    | 1 -
>   drivers/i2c/tegra186_bpmp_i2c.c            | 1 -
>   drivers/i2c/tegra_i2c.c                    | 1 -
>   drivers/i2c/xilinx_xiic.c                  | 1 -
>   49 files changed, 12 insertions(+), 49 deletions(-)
> 
> diff --git a/drivers/i2c/acpi_i2c.c b/drivers/i2c/acpi_i2c.c
> index 142f41178c10..82cb5db5cc8b 100644
> --- a/drivers/i2c/acpi_i2c.c
> +++ b/drivers/i2c/acpi_i2c.c
> @@ -3,7 +3,6 @@
>    * Copyright 2019 Google LLC
>    */
>   
> -#include <common.h>
>   #include <dm.h>
>   #include <i2c.h>
>   #include <log.h>
> diff --git a/drivers/i2c/ast2600_i2c.c b/drivers/i2c/ast2600_i2c.c
> index e566b01feacf..9d1d70670b95 100644
> --- a/drivers/i2c/ast2600_i2c.c
> +++ b/drivers/i2c/ast2600_i2c.c
> @@ -2,7 +2,6 @@
>   /*
>    * Copyright ASPEED Technology Inc.
>    */
> -#include <common.h>
>   #include <clk.h>
>   #include <dm.h>
>   #include <errno.h>
> diff --git a/drivers/i2c/ast_i2c.c b/drivers/i2c/ast_i2c.c
> index 1c1d5566dad4..02ee406bbd7d 100644
> --- a/drivers/i2c/ast_i2c.c
> +++ b/drivers/i2c/ast_i2c.c
> @@ -5,7 +5,6 @@
>    * Copyright 2017 Google, Inc.
>    */
>   
> -#include <common.h>
>   #include <clk.h>
>   #include <dm.h>
>   #include <errno.h>
> diff --git a/drivers/i2c/at91_i2c.c b/drivers/i2c/at91_i2c.c
> index b7a25885e666..cfae36c74d19 100644
> --- a/drivers/i2c/at91_i2c.c
> +++ b/drivers/i2c/at91_i2c.c
> @@ -8,7 +8,6 @@
>   #include <malloc.h>
>   #include <asm/global_data.h>
>   #include <asm/io.h>
> -#include <common.h>
>   #include <clk.h>
>   #include <dm.h>
>   #include <errno.h>
> diff --git a/drivers/i2c/cros_ec_ldo.c b/drivers/i2c/cros_ec_ldo.c
> index c593540ac138..dfe823c142c5 100644
> --- a/drivers/i2c/cros_ec_ldo.c
> +++ b/drivers/i2c/cros_ec_ldo.c
> @@ -4,7 +4,6 @@
>    * Written by Simon Glass <sjg@chromium.org>
>    */
>   
> -#include <common.h>
>   #include <dm.h>
>   #include <cros_ec.h>
>   #include <errno.h>
> diff --git a/drivers/i2c/cros_ec_tunnel.c b/drivers/i2c/cros_ec_tunnel.c
> index 75828b6e7c27..2d610e0a2aa9 100644
> --- a/drivers/i2c/cros_ec_tunnel.c
> +++ b/drivers/i2c/cros_ec_tunnel.c
> @@ -4,7 +4,6 @@
>    * Written by Simon Glass <sjg@chromium.org>
>    */
>   
> -#include <common.h>
>   #include <dm.h>
>   #include <cros_ec.h>
>   #include <errno.h>
> diff --git a/drivers/i2c/davinci_i2c.c b/drivers/i2c/davinci_i2c.c
> index 25ef937dc0b3..391327472087 100644
> --- a/drivers/i2c/davinci_i2c.c
> +++ b/drivers/i2c/davinci_i2c.c
> @@ -11,7 +11,7 @@
>    * Please see doc/driver-model/i2c-howto.rst for instructions.
>    */
>   
> -#include <common.h>
> +#include <config.h>
>   #include <i2c.h>
>   #include <dm.h>
>   #include <log.h>
> diff --git a/drivers/i2c/designware_i2c.c b/drivers/i2c/designware_i2c.c
> index 29cf63375c7f..e8c1623d41fd 100644
> --- a/drivers/i2c/designware_i2c.c
> +++ b/drivers/i2c/designware_i2c.c
> @@ -4,7 +4,6 @@
>    * Vipin Kumar, STMicroelectronics, vipin.kumar@st.com.
>    */
>   
> -#include <common.h>
>   #include <clk.h>
>   #include <dm.h>
>   #include <i2c.h>
> diff --git a/drivers/i2c/designware_i2c_pci.c b/drivers/i2c/designware_i2c_pci.c
> index 28495a3f4285..11c986722650 100644
> --- a/drivers/i2c/designware_i2c_pci.c
> +++ b/drivers/i2c/designware_i2c_pci.c
> @@ -5,7 +5,6 @@
>    * Copyright 2019 Google Inc
>    */
>   
> -#include <common.h>
>   #include <dm.h>
>   #include <log.h>
>   #include <spl.h>
> diff --git a/drivers/i2c/exynos_hs_i2c.c b/drivers/i2c/exynos_hs_i2c.c
> index a7349e06cfd3..9a364fdae375 100644
> --- a/drivers/i2c/exynos_hs_i2c.c
> +++ b/drivers/i2c/exynos_hs_i2c.c
> @@ -6,7 +6,6 @@
>    * David Mueller, ELSOFT AG, d.mueller@elsoft.ch
>    */
>   
> -#include <common.h>
>   #include <dm.h>
>   #include <i2c.h>
>   #include <log.h>
> diff --git a/drivers/i2c/fsl_i2c.c b/drivers/i2c/fsl_i2c.c
> index d9d8ee81d2ed..bac14fb2f422 100644
> --- a/drivers/i2c/fsl_i2c.c
> +++ b/drivers/i2c/fsl_i2c.c
> @@ -6,7 +6,7 @@
>    * Changes for multibus/multiadapter I2C support.
>    */
>   
> -#include <common.h>
> +#include <config.h>
>   #include <command.h>
>   #include <i2c.h>		/* Functional interface */
>   #include <log.h>
> diff --git a/drivers/i2c/i2c-cdns.c b/drivers/i2c/i2c-cdns.c
> index 935b2ac63772..3f7cf8533ec7 100644
> --- a/drivers/i2c/i2c-cdns.c
> +++ b/drivers/i2c/i2c-cdns.c
> @@ -7,7 +7,6 @@
>    * with added driver-model support and code cleanup.
>    */
>   
> -#include <common.h>
>   #include <dm.h>
>   #include <log.h>
>   #include <linux/bitops.h>
> diff --git a/drivers/i2c/i2c-cortina.c b/drivers/i2c/i2c-cortina.c
> index 960ae8c700f9..96f957164c19 100644
> --- a/drivers/i2c/i2c-cortina.c
> +++ b/drivers/i2c/i2c-cortina.c
> @@ -4,12 +4,12 @@
>    * Arthur Li, Cortina Access, arthur.li@cortina-access.com.
>    */
>   
> -#include <common.h>
>   #include <i2c.h>
>   #include <log.h>
>   #include <asm/io.h>
>   #include <dm.h>
>   #include <mapmem.h>
> +#include <time.h>
>   #include "i2c-cortina.h"
>   
>   static void set_speed(struct i2c_regs *regs, int i2c_spd)
> diff --git a/drivers/i2c/i2c-emul-uclass.c b/drivers/i2c/i2c-emul-uclass.c
> index d421ddfcbe29..0954d53847e6 100644
> --- a/drivers/i2c/i2c-emul-uclass.c
> +++ b/drivers/i2c/i2c-emul-uclass.c
> @@ -5,7 +5,6 @@
>   
>   #define LOG_CATEGORY UCLASS_I2C_EMUL
>   
> -#include <common.h>
>   #include <dm.h>
>   #include <i2c.h>
>   #include <log.h>
> diff --git a/drivers/i2c/i2c-gpio.c b/drivers/i2c/i2c-gpio.c
> index 5fc3cfe42ef7..e0a575fb4a48 100644
> --- a/drivers/i2c/i2c-gpio.c
> +++ b/drivers/i2c/i2c-gpio.c
> @@ -5,7 +5,6 @@
>    * This file is based on: drivers/i2c/soft-i2c.c,
>    * with added driver-model support and code cleanup.
>    */
> -#include <common.h>
>   #include <errno.h>
>   #include <dm.h>
>   #include <i2c.h>
> diff --git a/drivers/i2c/i2c-microchip.c b/drivers/i2c/i2c-microchip.c
> index d453e243d6f2..788747879a25 100644
> --- a/drivers/i2c/i2c-microchip.c
> +++ b/drivers/i2c/i2c-microchip.c
> @@ -6,7 +6,6 @@
>    * Padmarao Begari <padmarao.begari@microchip.com>
>    * Conor Dooley <conor.dooley@microchip.com>
>    */
> -#include <common.h>
>   #include <clk.h>
>   #include <dm.h>
>   #include <i2c.h>
> diff --git a/drivers/i2c/i2c-uclass.c b/drivers/i2c/i2c-uclass.c
> index 98f95859f3bc..380a9f8f3add 100644
> --- a/drivers/i2c/i2c-uclass.c
> +++ b/drivers/i2c/i2c-uclass.c
> @@ -5,7 +5,6 @@
>   
>   #define LOG_CATEGORY UCLASS_I2C
>   
> -#include <common.h>
>   #include <dm.h>
>   #include <errno.h>
>   #include <i2c.h>
> diff --git a/drivers/i2c/i2c-versatile.c b/drivers/i2c/i2c-versatile.c
> index 0a1a85dfc288..a8f0a170f799 100644
> --- a/drivers/i2c/i2c-versatile.c
> +++ b/drivers/i2c/i2c-versatile.c
> @@ -5,7 +5,6 @@
>    *
>    */
>   
> -#include <common.h>
>   #include <dm.h>
>   #include <errno.h>
>   #include <i2c.h>
> diff --git a/drivers/i2c/i2c_core.c b/drivers/i2c/i2c_core.c
> index fe0cd75d94a1..7c43a5546d3d 100644
> --- a/drivers/i2c/i2c_core.c
> +++ b/drivers/i2c/i2c_core.c
> @@ -7,7 +7,7 @@
>    *
>    * Multibus/multiadapter I2C core functions (wrappers)
>    */
> -#include <common.h>
> +#include <config.h>
>   #include <i2c.h>
>   #include <linker_lists.h>
>   #include <asm/global_data.h>
> diff --git a/drivers/i2c/ihs_i2c.c b/drivers/i2c/ihs_i2c.c
> index d715714638ff..dc88cd19167e 100644
> --- a/drivers/i2c/ihs_i2c.c
> +++ b/drivers/i2c/ihs_i2c.c
> @@ -4,7 +4,6 @@
>    * Dirk Eibach,  Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc
>    */
>   
> -#include <common.h>
>   #include <i2c.h>
>   #include <dm.h>
>   #include <regmap.h>
> diff --git a/drivers/i2c/imx_lpi2c.c b/drivers/i2c/imx_lpi2c.c
> index ad9293c92e1a..6c0d8eb5f4f5 100644
> --- a/drivers/i2c/imx_lpi2c.c
> +++ b/drivers/i2c/imx_lpi2c.c
> @@ -3,7 +3,6 @@
>    * Copyright 2016 Freescale Semiconductors, Inc.
>    */
>   
> -#include <common.h>
>   #include <errno.h>
>   #include <log.h>
>   #include <asm/io.h>
> diff --git a/drivers/i2c/intel_i2c.c b/drivers/i2c/intel_i2c.c
> index 4fc6f1a11a75..d8ceea10cda7 100644
> --- a/drivers/i2c/intel_i2c.c
> +++ b/drivers/i2c/intel_i2c.c
> @@ -7,11 +7,11 @@
>    * Copyright (C) 2016 Stefan Roese <sr@denx.de>
>    */
>   
> -#include <common.h>
>   #include <dm.h>
>   #include <i2c.h>
>   #include <log.h>
>   #include <pci.h>
> +#include <time.h>
>   #include <asm/io.h>
>   
>   /* PCI Configuration Space (D31:F3): SMBus */
> diff --git a/drivers/i2c/iproc_i2c.c b/drivers/i2c/iproc_i2c.c
> index 39af49c4ec54..6570f64fe774 100644
> --- a/drivers/i2c/iproc_i2c.c
> +++ b/drivers/i2c/iproc_i2c.c
> @@ -6,7 +6,6 @@
>   
>   #include <asm/global_data.h>
>   #include <asm/io.h>
> -#include <common.h>
>   #include <config.h>
>   #include <dm.h>
>   #include <linux/printk.h>
> diff --git a/drivers/i2c/lpc32xx_i2c.c b/drivers/i2c/lpc32xx_i2c.c
> index 496f4feec566..a4e42e64a9b8 100644
> --- a/drivers/i2c/lpc32xx_i2c.c
> +++ b/drivers/i2c/lpc32xx_i2c.c
> @@ -6,7 +6,7 @@
>    * Written-by: Albert ARIBAUD - 3ADEV <albert.aribaud@3adev.fr>
>    */
>   
> -#include <common.h>
> +#include <config.h>
>   #include <log.h>
>   #include <asm/io.h>
>   #include <i2c.h>
> diff --git a/drivers/i2c/meson_i2c.c b/drivers/i2c/meson_i2c.c
> index 434e3461b1dd..19f1b6b08196 100644
> --- a/drivers/i2c/meson_i2c.c
> +++ b/drivers/i2c/meson_i2c.c
> @@ -2,7 +2,6 @@
>   /*
>    * (C) Copyright 2017 - Beniamino Galvani <b.galvani@gmail.com>
>    */
> -#include <common.h>
>   #include <log.h>
>   #include <asm/io.h>
>   #include <clk.h>
> diff --git a/drivers/i2c/muxes/i2c-arb-gpio-challenge.c b/drivers/i2c/muxes/i2c-arb-gpio-challenge.c
> index ad730e0e79ff..a83d7cb0829d 100644
> --- a/drivers/i2c/muxes/i2c-arb-gpio-challenge.c
> +++ b/drivers/i2c/muxes/i2c-arb-gpio-challenge.c
> @@ -4,12 +4,12 @@
>    * Written by Simon Glass <sjg@chromium.org>
>    */
>   
> -#include <common.h>
>   #include <dm.h>
>   #include <errno.h>
>   #include <i2c.h>
>   #include <log.h>
>   #include <malloc.h>
> +#include <time.h>
>   #include <asm/global_data.h>
>   #include <asm/gpio.h>
>   #include <linux/delay.h>
> diff --git a/drivers/i2c/muxes/i2c-mux-gpio.c b/drivers/i2c/muxes/i2c-mux-gpio.c
> index 4ca206115f85..f212bd1f9836 100644
> --- a/drivers/i2c/muxes/i2c-mux-gpio.c
> +++ b/drivers/i2c/muxes/i2c-mux-gpio.c
> @@ -10,7 +10,6 @@
>   #include <asm/global_data.h>
>   #include <asm/io.h>
>   #include <asm-generic/gpio.h>
> -#include <common.h>
>   #include <dm.h>
>   #include <dm/device_compat.h>
>   #include <dm/devres.h>
> diff --git a/drivers/i2c/muxes/i2c-mux-uclass.c b/drivers/i2c/muxes/i2c-mux-uclass.c
> index a5d1bb0576db..d1999d21feb7 100644
> --- a/drivers/i2c/muxes/i2c-mux-uclass.c
> +++ b/drivers/i2c/muxes/i2c-mux-uclass.c
> @@ -6,7 +6,6 @@
>   
>   #define LOG_CATEGORY UCLASS_I2C_MUX
>   
> -#include <common.h>
>   #include <dm.h>
>   #include <errno.h>
>   #include <i2c.h>
> diff --git a/drivers/i2c/muxes/pca954x.c b/drivers/i2c/muxes/pca954x.c
> index 0034dfbf6daf..b4e3e16a9764 100644
> --- a/drivers/i2c/muxes/pca954x.c
> +++ b/drivers/i2c/muxes/pca954x.c
> @@ -5,7 +5,6 @@
>    * Written by Michal Simek
>    */
>   
> -#include <common.h>
>   #include <dm.h>
>   #include <errno.h>
>   #include <i2c.h>
> diff --git a/drivers/i2c/mv_i2c.c b/drivers/i2c/mv_i2c.c
> index 5bc9cd7b295a..949cc45d308d 100644
> --- a/drivers/i2c/mv_i2c.c
> +++ b/drivers/i2c/mv_i2c.c
> @@ -16,7 +16,6 @@
>    * Murray.Jensen@cmst.csiro.au, 27-Jan-01.
>    */
>   
> -#include <common.h>
>   #include <dm.h>
>   #include <i2c.h>
>   #include <log.h>
> diff --git a/drivers/i2c/mvtwsi.c b/drivers/i2c/mvtwsi.c
> index c38330f758a9..44e8e191b039 100644
> --- a/drivers/i2c/mvtwsi.c
> +++ b/drivers/i2c/mvtwsi.c
> @@ -7,7 +7,7 @@
>    * Copyright (c) 2010 Albert Aribaud.
>    */
>   
> -#include <common.h>
> +#include <config.h>
>   #include <i2c.h>
>   #include <log.h>
>   #include <asm/global_data.h>
> diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c
> index d501133a0c8f..0acdaf7e7431 100644
> --- a/drivers/i2c/mxc_i2c.c
> +++ b/drivers/i2c/mxc_i2c.c
> @@ -14,7 +14,7 @@
>    *
>    */
>   
> -#include <common.h>
> +#include <config.h>
>   #include <log.h>
>   #include <asm/arch/clock.h>
>   #include <asm/arch/imx-regs.h>
> diff --git a/drivers/i2c/nx_i2c.c b/drivers/i2c/nx_i2c.c
> index 07cda0fa6793..8562dd82bd63 100644
> --- a/drivers/i2c/nx_i2c.c
> +++ b/drivers/i2c/nx_i2c.c
> @@ -1,8 +1,8 @@
> -#include <common.h>
>   #include <errno.h>
>   #include <dm.h>
>   #include <i2c.h>
>   #include <log.h>
> +#include <time.h>
>   #include <asm/arch/nexell.h>
>   #include <asm/arch/reset.h>
>   #include <asm/arch/clk.h>
> diff --git a/drivers/i2c/ocores_i2c.c b/drivers/i2c/ocores_i2c.c
> index fff85118d0de..cf714d22ee46 100644
> --- a/drivers/i2c/ocores_i2c.c
> +++ b/drivers/i2c/ocores_i2c.c
> @@ -12,7 +12,6 @@
>    * Andreas Larsson <andreas@gaisler.com>
>    */
>   
> -#include <common.h>
>   #include <asm/global_data.h>
>   #include <asm/io.h>
>   #include <clk.h>
> diff --git a/drivers/i2c/omap24xx_i2c.c b/drivers/i2c/omap24xx_i2c.c
> index 6fc9d1eba9d1..ebe472e20cdb 100644
> --- a/drivers/i2c/omap24xx_i2c.c
> +++ b/drivers/i2c/omap24xx_i2c.c
> @@ -38,7 +38,6 @@
>    *
>    */
>   
> -#include <common.h>
>   #include <dm.h>
>   #include <i2c.h>
>   #include <log.h>
> diff --git a/drivers/i2c/qup_i2c.c b/drivers/i2c/qup_i2c.c
> index 5ae3cccd4acd..26707d63980e 100644
> --- a/drivers/i2c/qup_i2c.c
> +++ b/drivers/i2c/qup_i2c.c
> @@ -9,7 +9,6 @@
>   
>   #include <init.h>
>   #include <env.h>
> -#include <common.h>
>   #include <log.h>
>   #include <dm/device_compat.h>
>   #include <linux/delay.h>
> diff --git a/drivers/i2c/rcar_i2c.c b/drivers/i2c/rcar_i2c.c
> index ff9a2d80dda1..f0f9b2afacfb 100644
> --- a/drivers/i2c/rcar_i2c.c
> +++ b/drivers/i2c/rcar_i2c.c
> @@ -11,7 +11,6 @@
>    *   Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
>    */
>   
> -#include <common.h>
>   #include <clk.h>
>   #include <dm.h>
>   #include <i2c.h>
> diff --git a/drivers/i2c/rcar_iic.c b/drivers/i2c/rcar_iic.c
> index f0e50914c68d..2aa0f5fbfae4 100644
> --- a/drivers/i2c/rcar_iic.c
> +++ b/drivers/i2c/rcar_iic.c
> @@ -9,7 +9,6 @@
>    * Copyright (C) 2011, 2013 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
>    */
>   
> -#include <common.h>
>   #include <clk.h>
>   #include <dm.h>
>   #include <i2c.h>
> diff --git a/drivers/i2c/rk_i2c.c b/drivers/i2c/rk_i2c.c
> index 9927af94a80b..fa167268ae71 100644
> --- a/drivers/i2c/rk_i2c.c
> +++ b/drivers/i2c/rk_i2c.c
> @@ -6,7 +6,6 @@
>    * Peter, Software Engineering, <superpeter.cai@gmail.com>.
>    */
>   
> -#include <common.h>
>   #include <clk.h>
>   #include <dm.h>
>   #include <errno.h>
> diff --git a/drivers/i2c/s3c24x0_i2c.c b/drivers/i2c/s3c24x0_i2c.c
> index 505e20bc61c8..72d2ab0f73d8 100644
> --- a/drivers/i2c/s3c24x0_i2c.c
> +++ b/drivers/i2c/s3c24x0_i2c.c
> @@ -4,10 +4,10 @@
>    * David Mueller, ELSOFT AG, d.mueller@elsoft.ch
>    */
>   
> -#include <common.h>
>   #include <errno.h>
>   #include <dm.h>
>   #include <fdtdec.h>
> +#include <time.h>
>   #if defined(CONFIG_ARCH_EXYNOS4) || defined(CONFIG_ARCH_EXYNOS5)
>   #include <log.h>
>   #include <asm/arch/clk.h>
> diff --git a/drivers/i2c/sandbox_i2c.c b/drivers/i2c/sandbox_i2c.c
> index c99e6de93327..74bb5e933973 100644
> --- a/drivers/i2c/sandbox_i2c.c
> +++ b/drivers/i2c/sandbox_i2c.c
> @@ -5,7 +5,6 @@
>    * Copyright (c) 2014 Google, Inc
>    */
>   
> -#include <common.h>
>   #include <dm.h>
>   #include <errno.h>
>   #include <i2c.h>
> diff --git a/drivers/i2c/sh_i2c.c b/drivers/i2c/sh_i2c.c
> index 3335d9482a29..ab816101dea0 100644
> --- a/drivers/i2c/sh_i2c.c
> +++ b/drivers/i2c/sh_i2c.c
> @@ -7,7 +7,6 @@
>    * Please see doc/driver-model/i2c-howto.rst for instructions.
>    */
>   
> -#include <common.h>
>   #include <i2c.h>
>   #include <log.h>
>   #include <asm/global_data.h>
> diff --git a/drivers/i2c/soft_i2c.c b/drivers/i2c/soft_i2c.c
> index ed8ba47de450..1f2afc65e8b3 100644
> --- a/drivers/i2c/soft_i2c.c
> +++ b/drivers/i2c/soft_i2c.c
> @@ -15,7 +15,7 @@
>    * Please see doc/driver-model/i2c-howto.rst for instructions.
>    */
>   
> -#include <common.h>
> +#include <config.h>
>   #if defined(CONFIG_AT91FAMILY)
>   #include <asm/io.h>
>   #include <asm/arch/hardware.h>
> diff --git a/drivers/i2c/stm32f7_i2c.c b/drivers/i2c/stm32f7_i2c.c
> index f42e08a64180..3f51b1dd1db4 100644
> --- a/drivers/i2c/stm32f7_i2c.c
> +++ b/drivers/i2c/stm32f7_i2c.c
> @@ -5,7 +5,6 @@
>   
>   #define LOG_CATEGORY UCLASS_I2C
>   
> -#include <common.h>
>   #include <clk.h>
>   #include <dm.h>
>   #include <i2c.h>
> diff --git a/drivers/i2c/sun6i_p2wi.c b/drivers/i2c/sun6i_p2wi.c
> index b8e07a533ca9..c927c0edf250 100644
> --- a/drivers/i2c/sun6i_p2wi.c
> +++ b/drivers/i2c/sun6i_p2wi.c
> @@ -15,7 +15,6 @@
>   
>   #include <axp_pmic.h>
>   #include <clk.h>
> -#include <common.h>
>   #include <dm.h>
>   #include <errno.h>
>   #include <i2c.h>
> diff --git a/drivers/i2c/sun8i_rsb.c b/drivers/i2c/sun8i_rsb.c
> index f36f2c7afacf..2197f1805663 100644
> --- a/drivers/i2c/sun8i_rsb.c
> +++ b/drivers/i2c/sun8i_rsb.c
> @@ -10,7 +10,6 @@
>   
>   #include <axp_pmic.h>
>   #include <clk.h>
> -#include <common.h>
>   #include <dm.h>
>   #include <errno.h>
>   #include <i2c.h>
> diff --git a/drivers/i2c/tegra186_bpmp_i2c.c b/drivers/i2c/tegra186_bpmp_i2c.c
> index 588f6bdcc4b4..d30eb5231229 100644
> --- a/drivers/i2c/tegra186_bpmp_i2c.c
> +++ b/drivers/i2c/tegra186_bpmp_i2c.c
> @@ -3,7 +3,6 @@
>    * Copyright (c) 2016, NVIDIA CORPORATION.
>    */
>   
> -#include <common.h>
>   #include <dm.h>
>   #include <i2c.h>
>   #include <log.h>
> diff --git a/drivers/i2c/tegra_i2c.c b/drivers/i2c/tegra_i2c.c
> index 57d77d56ea55..3c324bd26635 100644
> --- a/drivers/i2c/tegra_i2c.c
> +++ b/drivers/i2c/tegra_i2c.c
> @@ -5,7 +5,6 @@
>    *  NVIDIA Corporation <www.nvidia.com>
>    */
>   
> -#include <common.h>
>   #include <dm.h>
>   #include <errno.h>
>   #include <i2c.h>
> diff --git a/drivers/i2c/xilinx_xiic.c b/drivers/i2c/xilinx_xiic.c
> index 72199a62b2d7..056024e350fb 100644
> --- a/drivers/i2c/xilinx_xiic.c
> +++ b/drivers/i2c/xilinx_xiic.c
> @@ -9,7 +9,6 @@
>    * Copyright (c) 2009-2010 Intel Corporation
>    */
>   
> -#include <common.h>
>   #include <clk.h>
>   #include <dm.h>
>   #include <i2c.h>

  parent reply	other threads:[~2024-05-09  9:10 UTC|newest]

Thread overview: 136+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20240502013146epcas1p3dce70115dbffcbd41eb7f657d6188d2e@epcas1p3.samsung.com>
2024-05-02  1:30 ` [PATCH 01/81] mmc: Migrate MMC_SUPPORTS_TUNING to Kconfig Tom Rini
2024-05-02  1:30   ` [PATCH 02/81] arm: aspeed: Add missing <linux/types.h> Tom Rini
2024-05-02  1:30   ` [PATCH 03/81] arm: sunxi: " Tom Rini
2024-05-02  1:30   ` [PATCH 04/81] arm: nexell: " Tom Rini
2024-05-09  8:54     ` Stefan Bosch
2024-05-02  1:30   ` [PATCH 05/81] arm: socfpga: " Tom Rini
2024-05-02  1:30   ` [PATCH 06/81] x86: " Tom Rini
2024-05-02  1:30   ` [PATCH 07/81] include: " Tom Rini
2024-05-02  1:30   ` [PATCH 08/81] fsl_ifc.h: Add <asm/ppc.h> Tom Rini
2024-05-02  1:30   ` [PATCH 09/81] include/linux/compat.h: Add <time.h> Tom Rini
2024-05-02  1:30   ` [PATCH 10/81] adc: Remove <common.h> and add needed includes Tom Rini
2024-05-02  1:30   ` [PATCH 11/81] ata: " Tom Rini
2024-05-02  3:32     ` Tony Dinh
2024-05-02  1:30   ` [PATCH 12/81] axi: " Tom Rini
2024-05-02  1:30   ` [PATCH 13/81] bios_emulator: " Tom Rini
2024-05-02  1:30   ` [PATCH 14/81] block: " Tom Rini
2024-05-02  7:25     ` Mattijs Korpershoek
2024-05-10  0:40     ` Kever Yang
2024-05-02  1:30   ` [PATCH 15/81] bootcount: " Tom Rini
2024-05-02  1:30   ` [PATCH 16/81] bus: " Tom Rini
2024-05-02  1:30   ` [PATCH 17/81] button: " Tom Rini
2024-05-02  1:30   ` [PATCH 18/81] cache: " Tom Rini
2024-05-02  1:30   ` [PATCH 19/81] clk: " Tom Rini
2024-05-09  9:07     ` Stefan Bosch
2024-05-10  0:40     ` Kever Yang
2024-05-02  1:30   ` [PATCH 20/81] core: " Tom Rini
2024-05-02  1:30   ` [PATCH 21/81] cpu: " Tom Rini
2024-05-02  1:30   ` [PATCH 22/81] crypto: " Tom Rini
2024-05-02  1:30   ` [PATCH 23/81] ddr: " Tom Rini
2024-05-02  1:30   ` [PATCH 24/81] demo: " Tom Rini
2024-05-02  1:30   ` [PATCH 25/81] dfu: " Tom Rini
2024-05-02  7:28     ` Mattijs Korpershoek
2024-05-02 14:45       ` Tom Rini
2024-05-02  1:30   ` [PATCH 26/81] dma: " Tom Rini
2024-05-02  1:30   ` [PATCH 27/81] extcon: " Tom Rini
2024-05-02  1:30   ` [PATCH 28/81] fastboot: " Tom Rini
2024-05-02  7:29     ` Mattijs Korpershoek
2024-05-02  1:30   ` [PATCH 29/81] firmware: " Tom Rini
2024-05-07  7:37     ` Ilias Apalodimas
2024-05-02  1:30   ` [PATCH 30/81] fpga: " Tom Rini
2024-05-02  1:30   ` [PATCH 31/81] fuzz: " Tom Rini
2024-05-02  1:30   ` [PATCH 32/81] fwu-mdata: " Tom Rini
2024-05-02 13:15     ` Jassi Brar
2024-05-07  7:39     ` Ilias Apalodimas
2024-05-02  1:30   ` [PATCH 33/81] gpio: " Tom Rini
2024-05-02 11:10     ` Peter Robinson
2024-05-03  3:58     ` Heiko Schocher
2024-05-09  9:09     ` Stefan Bosch
2024-05-10  0:40     ` Kever Yang
2024-05-02  1:30   ` [PATCH 34/81] hwspinlock: " Tom Rini
2024-05-02  1:30   ` [PATCH 35/81] i2c: " Tom Rini
2024-05-03  3:58     ` Heiko Schocher
2024-05-09  9:09     ` Stefan Bosch [this message]
2024-05-02  1:30   ` [PATCH 36/81] input: " Tom Rini
2024-05-02  1:30   ` [PATCH 37/81] iommu: " Tom Rini
2024-05-02  1:30   ` [PATCH 38/81] led: " Tom Rini
2024-05-02  1:30   ` [PATCH 39/81] mailbox: " Tom Rini
2024-05-02  1:30   ` [PATCH 40/81] memory: " Tom Rini
2024-05-02  1:30   ` [PATCH 41/81] misc: " Tom Rini
2024-05-10  0:40     ` Kever Yang
2024-05-02  1:30   ` [PATCH 42/81] mmc: " Tom Rini
2024-05-02 11:10     ` Peter Robinson
2024-05-03  2:31     ` Jaehoon Chung
2024-05-10  0:41     ` Kever Yang
2024-05-02  1:31   ` [PATCH 43/81] mtd: " Tom Rini
2024-05-03  4:21     ` William Zhang
2024-05-02  1:31   ` [PATCH 44/81] mux: " Tom Rini
2024-05-02  1:31   ` [PATCH 45/81] net: " Tom Rini
2024-05-10  0:41     ` Kever Yang
2024-05-02  1:31   ` [PATCH 46/81] nvme: " Tom Rini
2024-05-02  1:31   ` [PATCH 47/81] pch: " Tom Rini
2024-05-02  1:31   ` [PATCH 48/81] pci: " Tom Rini
2024-05-03  3:59     ` Heiko Schocher
2024-05-10  0:42     ` Kever Yang
2024-05-02  1:31   ` [PATCH 49/81] pci_endpoint: " Tom Rini
2024-05-02  1:31   ` [PATCH 50/81] phy: " Tom Rini
2024-05-09  9:10     ` Stefan Bosch
2024-05-10  0:42     ` Kever Yang
2024-05-02  1:31   ` [PATCH 51/81] pinctrl: " Tom Rini
2024-05-02 11:11     ` Peter Robinson
2024-05-09  9:10     ` Stefan Bosch
2024-05-10  0:42     ` Kever Yang
2024-05-02  1:31   ` [PATCH 52/81] power: " Tom Rini
2024-05-10  0:43     ` Kever Yang
2024-05-02  1:31   ` [PATCH 53/81] pwm: " Tom Rini
2024-05-09  9:11     ` Stefan Bosch
2024-05-02  1:31   ` [PATCH 54/81] ram: " Tom Rini
2024-05-10  0:43     ` Kever Yang
2024-05-02  1:31   ` [PATCH 55/81] reboot-mode: " Tom Rini
2024-05-02  1:31   ` [PATCH 56/81] remoteproc: " Tom Rini
2024-05-02  1:31   ` [PATCH 57/81] reset: " Tom Rini
2024-05-10  0:43     ` Kever Yang
2024-05-02  1:31   ` [PATCH 58/81] rtc: " Tom Rini
2024-05-02  1:31   ` [PATCH 59/81] scsi: " Tom Rini
2024-05-02  1:31   ` [PATCH 60/81] serial: " Tom Rini
2024-05-02 11:11     ` Peter Robinson
2024-05-09  9:12     ` Stefan Bosch
2024-05-02  1:31   ` [PATCH 61/81] sm: " Tom Rini
2024-05-02  1:31   ` [PATCH 62/81] smem: " Tom Rini
2024-05-02  1:31   ` [PATCH 63/81] soc: " Tom Rini
2024-05-03 14:44     ` Bryan Brattlof
2024-05-02  1:31   ` [PATCH 64/81] sound: " Tom Rini
2024-05-10  0:44     ` Kever Yang
2024-05-02  1:31   ` [PATCH 65/81] spi: " Tom Rini
2024-05-03  4:25     ` William Zhang
2024-05-03  5:47     ` Cédric Le Goater
2024-05-02  1:31   ` [PATCH 66/81] spmi: " Tom Rini
2024-05-02  1:31   ` [PATCH 67/81] sysinfo: " Tom Rini
2024-05-02  1:31   ` [PATCH 68/81] sysreset: " Tom Rini
2024-05-10  0:44     ` Kever Yang
2024-05-02  1:31   ` [PATCH 69/81] thermal: " Tom Rini
2024-05-02  1:31   ` [PATCH 70/81] timer: " Tom Rini
2024-05-10  0:44     ` Kever Yang
2024-05-02  1:31   ` [PATCH 71/81] tpm: " Tom Rini
2024-05-07  7:36     ` Ilias Apalodimas
2024-05-02  1:31   ` [PATCH 72/81] ufs: " Tom Rini
2024-05-02  1:31   ` [PATCH 73/81] usb: " Tom Rini
2024-05-02  7:40     ` Mattijs Korpershoek
2024-05-02 14:51       ` Tom Rini
2024-05-03  7:20         ` Mattijs Korpershoek
2024-05-04 17:09     ` E Shattow
2024-05-04 18:33       ` Tom Rini
2024-05-02  1:31   ` [PATCH 74/81] video: " Tom Rini
2024-05-02 11:14     ` Peter Robinson
2024-05-09  9:13     ` Stefan Bosch
2024-05-10  0:45     ` Kever Yang
2024-05-02  1:31   ` [PATCH 75/81] virtio: " Tom Rini
2024-05-02  1:31   ` [PATCH 76/81] w1: " Tom Rini
2024-05-02  1:31   ` [PATCH 77/81] w1-eeprom: " Tom Rini
2024-05-02  1:31   ` [PATCH 78/81] watchdog: " Tom Rini
2024-05-02  6:49     ` Angelo Dureghello
2024-05-02  1:31   ` [PATCH 79/81] xen: " Tom Rini
2024-05-02  1:31   ` [PATCH 80/81] api: " Tom Rini
2024-05-02  1:31   ` [PATCH 81/81] common.h: Remove this file and all references Tom Rini
2024-05-03  2:29   ` [PATCH 01/81] mmc: Migrate MMC_SUPPORTS_TUNING to Kconfig Jaehoon Chung
2024-05-07 14:02   ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=30d74f66-eed3-1d45-c482-ea688fa9dbbc@posteo.net \
    --to=stefan_b@posteo.net \
    --cc=BMC-SW@aspeedtech.com \
    --cc=alex.nemirovsky@cortina-access.com \
    --cc=chiawei_wang@aspeedtech.com \
    --cc=clamor95@gmail.com \
    --cc=hs@denx.de \
    --cc=iwamatsu@nigauri.org \
    --cc=joel@jms.id.au \
    --cc=liviu.dudau@foss.arm.com \
    --cc=marek.vasut+renesas@mailbox.org \
    --cc=michal.simek@amd.com \
    --cc=neil.armstrong@linaro.org \
    --cc=patrice.chotard@foss.st.com \
    --cc=patrick.delaunay@foss.st.com \
    --cc=ryan_chen@aspeedtech.com \
    --cc=sjg@chromium.org \
    --cc=sr@denx.de \
    --cc=treding@nvidia.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox