at master 24 lines 422 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * MDIO I2C bridge 4 * 5 * Copyright (C) 2015 Russell King 6 */ 7#ifndef MDIO_I2C_H 8#define MDIO_I2C_H 9 10struct device; 11struct i2c_adapter; 12struct mii_bus; 13 14enum mdio_i2c_proto { 15 MDIO_I2C_NONE, 16 MDIO_I2C_MARVELL_C22, 17 MDIO_I2C_C45, 18 MDIO_I2C_ROLLBALL, 19}; 20 21struct mii_bus *mdio_i2c_alloc(struct device *parent, struct i2c_adapter *i2c, 22 enum mdio_i2c_proto protocol); 23 24#endif