]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
phy: Remove <common.h> and add needed includes
authorTom Rini <trini@konsulko.com>
Thu, 2 May 2024 01:31:07 +0000 (19:31 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 7 May 2024 14:00:56 +0000 (08:00 -0600)
Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
51 files changed:
drivers/phy/allwinner/phy-sun4i-usb.c
drivers/phy/bcm6318-usbh-phy.c
drivers/phy/bcm6348-usbh-phy.c
drivers/phy/bcm6358-usbh-phy.c
drivers/phy/bcm6368-usbh-phy.c
drivers/phy/cadence/phy-cadence-sierra.c
drivers/phy/cadence/phy-cadence-torrent.c
drivers/phy/keystone-usb-phy.c
drivers/phy/marvell/comphy_a3700.c
drivers/phy/marvell/comphy_core.c
drivers/phy/marvell/comphy_cp110.c
drivers/phy/marvell/comphy_mux.c
drivers/phy/meson-axg-mipi-dphy.c
drivers/phy/meson-axg-mipi-pcie-analog.c
drivers/phy/meson-g12a-usb2.c
drivers/phy/meson-g12a-usb3-pcie.c
drivers/phy/meson-gxbb-usb2.c
drivers/phy/meson-gxl-usb2.c
drivers/phy/mt76x8-usb-phy.c
drivers/phy/nop-phy.c
drivers/phy/omap-usb2-phy.c
drivers/phy/phy-ab8500-usb.c
drivers/phy/phy-apple-atc.c
drivers/phy/phy-bcm-sr-pcie.c
drivers/phy/phy-core-mipi-dphy.c
drivers/phy/phy-da8xx-usb.c
drivers/phy/phy-imx8mq-usb.c
drivers/phy/phy-mtk-tphy.c
drivers/phy/phy-npcm-usb.c
drivers/phy/phy-rcar-gen2.c
drivers/phy/phy-rcar-gen3.c
drivers/phy/phy-stm32-usbphyc.c
drivers/phy/phy-ti-am654.c
drivers/phy/phy-uclass.c
drivers/phy/phy-zynqmp.c
drivers/phy/qcom/msm8916-usbh-phy.c
drivers/phy/qcom/phy-qcom-ipq4019-usb.c
drivers/phy/qcom/phy-qcom-usb-hs-28nm.c
drivers/phy/qcom/phy-qcom-usb-ss.c
drivers/phy/renesas/r8a779f0-ether-serdes.c
drivers/phy/rockchip/phy-rockchip-naneng-combphy.c
drivers/phy/rockchip/phy-rockchip-pcie.c
drivers/phy/rockchip/phy-rockchip-snps-pcie3.c
drivers/phy/rockchip/phy-rockchip-typec.c
drivers/phy/rockchip/phy-rockchip-usbdp.c
drivers/phy/sandbox-phy.c
drivers/phy/socionext/phy-uniphier-pcie.c
drivers/phy/socionext/phy-uniphier-usb3.c
drivers/phy/sti_usb_phy.c
drivers/phy/ti-pipe3-phy.c
drivers/phy/ti/phy-j721e-wiz.c

index 6624e9134f43baebf0bd612267498bd95a174a25..b9306c9a8279e0d1b7fae7766cd00384f877aa74 100644 (file)
@@ -10,7 +10,6 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <log.h>
index a2fa446cb1c9c26042ff20cd25bc9ac880609e01..d715541bd4cb0e4db81bef95d14346a5bd06bffd 100644 (file)
@@ -7,7 +7,6 @@
  *     Copyright 2013 Florian Fainelli <florian@openwrt.org>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <generic-phy.h>
index 857fb575ef19ee0df57d9dfaf0398581983e8f3e..ffb37b634a31a494e55c4128b31a5170356b157b 100644 (file)
@@ -7,7 +7,6 @@
  *     Copyright 2013 Florian Fainelli <florian@openwrt.org>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <generic-phy.h>
index bfdcfb0d245ebe2406ddffc4ce4cebe300805021..a8d24609bfc0d9970595ba79de3c0458432f448d 100644 (file)
@@ -7,7 +7,6 @@
  *     Copyright 2013 Florian Fainelli <florian@openwrt.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <generic-phy.h>
 #include <log.h>
index 1a2870d51499818729d88204bfecfbd908a78cae..5bee130425d5dfc84cf5bfeddae162e295a712b5 100644 (file)
@@ -7,7 +7,6 @@
  *     Copyright 2013 Florian Fainelli <florian@openwrt.org>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <generic-phy.h>
index 4bb8a0ca7f348531c4c5dd7009ba76c1610f7065..f5e23f36c56e225f0f303864ecacded5aab3b39c 100644 (file)
@@ -11,7 +11,6 @@
  * Jean-Jacques Hiblot <jjhiblot@ti.com>
  *
  */
-#include <common.h>
 #include <clk.h>
 #include <linux/delay.h>
 #include <linux/clk-provider.h>
index ef924e7af508b48b9a1e098b700008829c25eb52..d4e8ece4935a28b7a730e2a719273e9becc73d96 100644 (file)
@@ -10,7 +10,6 @@
  *
  */
 
-#include <common.h>
 #include <clk.h>
 #include <generic-phy.h>
 #include <reset.h>
index 3bb9c0814c14030e5baf5163c767b99319378aad..cfc15203d632e86d13d0d491a357da547e5c1f5a 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Jean-Jacques Hiblot  <jjhiblot@ti.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <dm/device.h>
index c490dc69c69573a779db2c791aa80ec013c9fd83..bca325d1996067e5916b9ce222db549e2540868f 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015-2016 Marvell International Ltd.
  */
 
-#include <common.h>
 #include <fdt_support.h>
 #include <log.h>
 #include <asm/global_data.h>
index 7272dfb9fe80c0825111bcc5775dff18ada78996..a666a4e794eec43a39b189a4a446909df174da49 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2016 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <asm/global_data.h>
index bb15fbaf347eaee3459be7c76dc0e72536ba4d01..b8cdedf6edf087f9e848e00844e369dee80d281e 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015-2016 Marvell International Ltd.
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <log.h>
 #include <asm/global_data.h>
@@ -12,6 +11,7 @@
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
 #include <linux/delay.h>
+#include <linux/errno.h>
 #include <linux/printk.h>
 
 #include "comphy_core.h"
index 10981d25ec9540ca4cfec898da1971e5ff4e5156..a8aa37fc46f354278c5b52e1f85073f7cdd5d039 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015-2016 Marvell International Ltd.
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 
index faa1d9d6d378097a20ad9e5c3268c06fa3000a5d..3f89de19970bfb39c6fc69b6b770640204729fb1 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <asm/io.h>
index 236ea1ce5ca7f172535c1b01d95b3df3c78946e7..731917cef434ca6df6ecba0a34ae8c2292e9c241 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <asm/io.h>
index 3958d2404b85d8a35cff66281714cc317b1c3983..8cded12438b9cb050658b927583544349fe91e32 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Neil Armstrong <narmstron@baylibre.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <asm/io.h>
index 1eaff410efa4710f3f61bff2a0d2a0f47092d193..4d183867c3a0876273f4fefe7ea2874e23988b5c 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Neil Armstrong <narmstron@baylibre.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <malloc.h>
index 725b056a71a78c39985093865287e3c656111e60..4c88ccf39276204232d46a6e97bed547d73a78ac 100644 (file)
@@ -8,7 +8,6 @@
  * Author: Beniamino Galvani <b.galvani@gmail.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <generic-phy.h>
index d633effa4042612e29e7b827e5b0fdc6acba1c5e..92c285103c4a22157642bd3e2cddff37ceabcab3 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Neil Armstrong <narmstron@baylibre.com>
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <asm/io.h>
 #include <bitfield.h>
index 4069208b67905f514f15feebbbc4760db62d0bd1..99f8a221f5a1d53066d703f7a21d54b5caf8bbd7 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <generic-phy.h>
 #include <log.h>
index c53e3216d0fd6182c48191a48834a6900af6f7ee..286171cba76a26bc3092f5b2c490b4a3ad6ab77c 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <dm/device.h>
 #include <dm/device_compat.h>
index d3d38062ecf789c8b68ba37603962395eb7b7135..2be0178882a417e7ce1587849179952e41323fd8 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Jean-Jacques Hiblot <jjhiblot@ti.com>
  */
 
-#include <common.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <dm.h>
index 3d3d48c9733a4bfcc2482d135c53922ccc18be7d..5de7b6f86ccaf67800a3ab4f17ae563f613ee14a 100644 (file)
@@ -1,7 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0+
 /* Copyright (C) 2019 Stephan Gerhold */
 
-#include <common.h>
 #include <dm.h>
 #include <generic-phy.h>
 #include <linux/bitops.h>
index 15c5b8a1c2d0f092cf1b082e641066af950807ff..78eedf676b09324610009e3fb992ebd5defae318 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2022 Mark Kettenis <kettenis@openbsd.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device-internal.h>
 #include <generic-phy.h>
index cf33bab370729b57bd2de604f6d85e99452cd2ed..97859a0cb87e9f144ad75405fc9342260ad80a34 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2019 Broadcom
  */
 
-#include <common.h>
 #include <dm.h>
 #include <generic-phy.h>
 #include <asm/io.h>
index bb61816add27da42668b399c7b03011040faabea..8fb985a1e6828d02c54f546f6084dcc9b8605c66 100644 (file)
@@ -4,8 +4,8 @@
  * Copyright (C) 2018 Cadence Design Systems Inc.
  */
 
-#include <common.h>
 #include <div64.h>
+#include <linux/kernel.h>
 #include <linux/time.h>
 
 #include <phy-mipi-dphy.h>
index d025188eae983d42d8f91cc2a44df4e653d649ee..cf26aaaa3d82717655ef6ad86fb77a8b46d594db 100644 (file)
@@ -6,9 +6,9 @@
  * DT support added by: Adam Ford <aford173@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
+#include <time.h>
 #include <dm/device-internal.h>
 #include <dm/lists.h>
 #include <asm/arch/hardware.h>
index e5e96e77a681b4f347262ff650201094a3f95925..75763046adc1cbdc0a8f386acb69f1104ac21d07 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <dm.h>
 #include <errno.h>
index ea9edf212c6f0e4700ccfaeaca53232b38ed4465..6f9ac1528e888fdbaccd6209047a3ea8e7ddc8c4 100644 (file)
@@ -5,7 +5,6 @@
  *        Ryder Lee <ryder.lee@mediatek.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <generic-phy.h>
index 24eba6655435c763808f5271d92c9dc0d3983155..028fedf92dc376816ea97daa7655098cf213621f 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2021 Nuvoton Technology Corp.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <generic-phy.h>
 #include <regmap.h>
index e528c4ec57934216f8067841ee20e6a370260d02..f9428c7ad122a6d3c1908c46870c0788c6ce0d43 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2018 Marek Vasut <marek.vasut@gmail.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <div64.h>
 #include <dm.h>
index 03c747b373b1aab317f760d4bd07c3083006dd57..7c292cae0e2fa00516ac5c1c23e45ba9cbce9baf 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2018 Marek Vasut <marek.vasut@gmail.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <div64.h>
 #include <dm.h>
index 000e495dbd4e1b54c893d16e97958364421d2460..8d643b762f90cd01570e31ed925f7c7cd9204861 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_PHY
 
-#include <common.h>
 #include <clk.h>
 #include <clk-uclass.h>
 #include <div64.h>
index 70a746d2c92dcca45bc5948978c6059b006eceda..c3d9972397aac2a29eee369a11ab8830166c82e1 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Kishon Vijay Abraham I <kishon@ti.com>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <log.h>
index 0dcfe258bc44f004ba271e3c03b06091b2b9479e..acdcda15b5b85b94bb13e52ccedcfb04f4699704 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_PHY
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <dm/devres.h>
index d1288bb17f3c15c051c3ac7e6211b1b35b6cf2cb..7049e740d56969ae7f28cdb793c857e19dad8dba 100644 (file)
@@ -9,7 +9,6 @@
  * Author: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <generic-phy.h>
index f52046f7cb02c616b18a3c4d67caa26da4d4979e..4b435aa2a6eb3378156ac30149703c5714428e40 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 Ramon Fried <ramon.fried@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <generic-phy.h>
 #include <linux/bitops.h>
index 5808489249f5fff42d5b8f1708d39a7f5add84b3..3b647324e021d6d9ebef6935fa89624dd167b00c 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <generic-phy.h>
 #include <log.h>
index 05a9a2cf1d7cee3e9dbe1bfd984771525c50c1b5..c344809a6086556493450c39928d3e45901c77c3 100644 (file)
@@ -5,7 +5,6 @@
  * Based on Linux driver
  */
 
-#include <common.h>
 #include <dm.h>
 #include <generic-phy.h>
 #include <reset.h>
index 1b03a3c43dc8d78cf10fedf32103cc9aa2b9c9ef..270d09d883c45867720d2c0b9cf07799373efd56 100644 (file)
@@ -5,7 +5,6 @@
  * Based on Linux driver
  */
 
-#include <common.h>
 #include <dm.h>
 #include <generic-phy.h>
 #include <linux/bitops.h>
index bd1fdd3a667d379a7ca9f9d905cb61635a91babb..40284ef2fd34dc263409092627b549f661a4614d 100644 (file)
@@ -7,7 +7,6 @@
 #include <asm/io.h>
 #include <clk-uclass.h>
 #include <clk.h>
-#include <common.h>
 #include <div64.h>
 #include <dm.h>
 #include <dm/device_compat.h>
index 9ca66bf8db92be3345228225272e204792e3f56a..3ad339bccc1d59e7e7c481592b8886ad462df51c 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2021 Rockchip Electronics Co., Ltd.
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <dm/lists.h>
index 44ca4bc7919e31b543f11f45733a6df092c37696..660037034ec0368f991ab01e8015fb812eb696f6 100644 (file)
@@ -7,7 +7,6 @@
  * Copyright (C) 2016 ROCKCHIP, Inc.
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <asm/global_data.h>
index a4392daf4c922624a0fb4270888c95fe78c91197..2737bd81dd968227eb071b6929bf0ea9805ad531 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2021 Rockchip Electronics Co., Ltd.
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <generic-phy.h>
index 47c69dd6c4537fbed4c411b60d257ee386d35baf..c7459dbc5fc6437fcdff729483e95e7ad3b301cb 100644 (file)
@@ -8,7 +8,6 @@
  *         Kever Yang <kever.yang@rock-chips.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <asm/global_data.h>
index baf92529348cfeacfe82df75d76dc5e6e565902a..5bcc76613d14bd5ea2f4a558c962e3ea8b2ade99 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2021 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <dm/device_compat.h>
index 7e123da25fb4f4d9fb0455751ec29af333ed95ea..b159147a765bbea8b39dc22a2d50c50fb1597bb2 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Jean-Jacques Hiblot  <jjhiblot@ti.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <generic-phy.h>
 
index d352c4ca3a9c443e53a4dd6a304a4dc4f949b680..91208dfe12000e219123e1dee94df25484b92014 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright 2019-2021 Socionext, Inc.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <generic-phy.h>
 #include <linux/bitops.h>
index 1d65b0b08f760778f7513aaa3588d001c48e3a75..1d65c1f7da52b627c7142100a47a84cbd7cdbaf3 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright 2019-2023 Socionext, Inc.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <generic-phy.h>
 
index 9e5ac9bfde67315533e29e71c3e6f3bd35bc8dac..2447e89f50dff1db57c530fadf491204c0474646 100644 (file)
@@ -4,7 +4,6 @@
  * Author(s): Patrice Chotard, <patrice.chotard@foss.st.com> for STMicroelectronics.
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 29a35ae5ffb96333ea68b388b9da650c68936ff2..62f6cc2bfbfd03fa9e4a33d9b172e0b48ebc7481 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Jean-Jacques Hiblot  <jjhiblot@ti.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device.h>
 #include <generic-phy.h>
index daf62f5deda039ae6eb12b637bb15c6d81dfaf52..c69a342e2b495d052055bd710abdf6323ac927fe 100644 (file)
@@ -4,7 +4,6 @@
  * Jean-Jacques Hiblot <jjhiblot@ti.com>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <dm/device_compat.h>