soc/mediatek: Include <gpio.h> instead of <soc/gpio.h>

<gpio.h> chain-include <soc/gpio.h>.

Change-Id: If2af7f77e2d910a3f3470d15dbfc98775a2633b6
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71813
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
This commit is contained in:
Elyes Haouas 2023-01-11 09:46:57 +01:00 committed by Felix Held
parent 4d616e372f
commit 5316abe56c
20 changed files with 18 additions and 20 deletions

View File

@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <device/mmio.h>
#include <soc/gpio.h>
#include <gpio.h>
#include <soc/mipi.h>
/*

View File

@ -2,10 +2,10 @@
#include <device/mmio.h>
#include <assert.h>
#include <gpio.h>
#include <spi_flash.h>
#include <soc/addressmap.h>
#include <soc/flash_controller_common.h>
#include <soc/gpio.h>
#include <soc/spi.h>
struct mtk_spi_bus spi_bus[SPI_BUS_NUMBER] = {

View File

@ -3,8 +3,8 @@
#include <assert.h>
#include <console/console.h>
#include <device/mmio.h>
#include <gpio.h>
#include <soc/i2c.h>
#include <soc/gpio.h>
struct mtk_i2c mtk_i2c_bus_controller[] = {
/* i2c0 setting */

View File

@ -1,8 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <gpio.h>
#include <soc/mt8183.h>
#include <soc/wdt.h>
#include <soc/gpio.h>
void mt8183_early_init(void)
{

View File

@ -2,10 +2,10 @@
#include <device/mmio.h>
#include <assert.h>
#include <gpio.h>
#include <spi_flash.h>
#include <soc/addressmap.h>
#include <soc/flash_controller.h>
#include <soc/gpio.h>
#include <soc/spi.h>
struct mtk_spi_bus spi_bus[SPI_BUS_NUMBER] = {

View File

@ -9,8 +9,8 @@
#include <console/console.h>
#include <device/mmio.h>
#include <device/i2c_simple.h>
#include <gpio.h>
#include <soc/i2c.h>
#include <soc/gpio.h>
struct mtk_i2c mtk_i2c_bus_controller[] = {
[0] = {

View File

@ -6,8 +6,8 @@
*/
#include <device/mmio.h>
#include <gpio.h>
#include <soc/addressmap.h>
#include <soc/gpio.h>
#include <soc/regulator.h>
#include <soc/msdc.h>

View File

@ -8,10 +8,10 @@
#include <assert.h>
#include <console/console.h>
#include <device/mmio.h>
#include <gpio.h>
#include <spi_flash.h>
#include <soc/addressmap.h>
#include <soc/flash_controller_common.h>
#include <soc/gpio.h>
#include <soc/spi.h>
struct mtk_spi_bus spi_bus[SPI_BUS_NUMBER] = {

View File

@ -7,7 +7,6 @@
#include <device/mmio.h>
#include <gpio.h>
#include <soc/gpio.h>
#include <soc/pll_common.h>
#include <soc/usb.h>

View File

@ -9,8 +9,8 @@
#include <console/console.h>
#include <device/i2c_simple.h>
#include <device/mmio.h>
#include <gpio.h>
#include <soc/i2c.h>
#include <soc/gpio.h>
struct mtk_i2c mtk_i2c_bus_controller[] = {
[0] = {

View File

@ -6,8 +6,8 @@
*/
#include <device/mmio.h>
#include <gpio.h>
#include <soc/addressmap.h>
#include <soc/gpio.h>
#include <soc/regulator.h>
#include <soc/msdc.h>
#include <soc/mt6359p.h>

View File

@ -7,9 +7,9 @@
#include <assert.h>
#include <device/mmio.h>
#include <gpio.h>
#include <soc/addressmap.h>
#include <soc/flash_controller_common.h>
#include <soc/gpio.h>
#include <soc/spi.h>
#include <spi_flash.h>

View File

@ -7,7 +7,6 @@
#include <device/mmio.h>
#include <gpio.h>
#include <soc/gpio.h>
#include <soc/infracfg.h>
#include <soc/pll_common.h>
#include <soc/usb.h>

View File

@ -3,8 +3,8 @@
#include <assert.h>
#include <console/console.h>
#include <device/mmio.h>
#include <gpio.h>
#include <soc/i2c.h>
#include <soc/gpio.h>
#define I2C_FULL_DUTY 100
#define I2C_HALF_DUTY 50

View File

@ -1,8 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <device/mmio.h>
#include <gpio.h>
#include <soc/addressmap.h>
#include <soc/gpio.h>
#include <soc/regulator.h>
#include <soc/msdc.h>

View File

@ -2,9 +2,9 @@
#include <device/mmio.h>
#include <assert.h>
#include <gpio.h>
#include <soc/addressmap.h>
#include <soc/flash_controller_common.h>
#include <soc/gpio.h>
#include <soc/spi.h>
struct mtk_spi_bus spi_bus[SPI_BUS_NUMBER] = {

View File

@ -4,8 +4,8 @@
#include <console/console.h>
#include <device/mmio.h>
#include <device/i2c_simple.h>
#include <gpio.h>
#include <soc/i2c.h>
#include <soc/gpio.h>
struct mtk_i2c mtk_i2c_bus_controller[] = {
[0] = {

View File

@ -1,8 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only OR MIT */
#include <device/mmio.h>
#include <gpio.h>
#include <soc/addressmap.h>
#include <soc/gpio.h>
#include <soc/i2c.h>
#include <soc/regulator.h>
#include <soc/msdc.h>

View File

@ -5,9 +5,9 @@
#include <device/mmio.h>
#include <device/resource.h>
#include <delay.h>
#include <gpio.h>
#include <soc/addressmap.h>
#include <soc/early_init.h>
#include <soc/gpio.h>
#include <soc/pcie.h>
#include <soc/pcie_common.h>
#include <stdlib.h>

View File

@ -2,9 +2,9 @@
#include <assert.h>
#include <device/mmio.h>
#include <gpio.h>
#include <soc/addressmap.h>
#include <soc/flash_controller_common.h>
#include <soc/gpio.h>
#include <soc/spi.h>
struct mtk_spi_bus spi_bus[SPI_BUS_NUMBER] = {