Re: [PATCH v5 3/5] i2c: add support for HiSilicon I2C controller

2021-03-30 Thread Dmitry Osipenko
30.03.2021 17:19, Yicong Yang пишет: > Add HiSilicon I2C controller driver for the Kunpeng SoC. It provides > the access to the i2c busses, which connects to the eeprom, rtc, etc. > > The driver works with IRQ mode, and supports basic I2C features and 10bit > address. The DMA is not supported. >

Re: [PATCH v5 3/5] i2c: add support for HiSilicon I2C controller

2021-03-30 Thread Dmitry Osipenko
30.03.2021 19:24, Dmitry Osipenko пишет: >> +struct hisi_i2c_controller { >> +struct i2c_adapter adapter; >> +void __iomem *iobase; >> +struct device *dev; >> +int irq; >> + >> +/* Intermediates for recording the transfer process */ >> +struct completion *completion; >> +

Re: [PATCH v5 3/5] i2c: add support for HiSilicon I2C controller

2021-03-30 Thread Dmitry Osipenko
30.03.2021 17:19, Yicong Yang пишет: ... > +struct hisi_i2c_controller { > + struct i2c_adapter adapter; > + void __iomem *iobase; > + struct device *dev; > + int irq; > + > + /* Intermediates for recording the transfer process */ > + struct completion *completion; > + s

[PATCH v5 3/5] i2c: add support for HiSilicon I2C controller

2021-03-30 Thread Yicong Yang
Add HiSilicon I2C controller driver for the Kunpeng SoC. It provides the access to the i2c busses, which connects to the eeprom, rtc, etc. The driver works with IRQ mode, and supports basic I2C features and 10bit address. The DMA is not supported. Reviewed-by: Andy Shevchenko Signed-off-by: Yico