1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <device/device.h>
4 #include <drivers/i2c/designware/dw_i2c.h>
5 #include <soc/pci_devs.h>
7 int dw_i2c_soc_devfn_to_bus(unsigned int devfn
)
26 int dw_i2c_soc_bus_to_devfn(unsigned int bus
)
30 return PCH_DEVFN_I2C0
;
32 return PCH_DEVFN_I2C1
;
34 return PCH_DEVFN_I2C2
;
36 return PCH_DEVFN_I2C3
;
38 return PCH_DEVFN_I2C4
;
40 return PCH_DEVFN_I2C5
;