Hi, On Tue, Jun 18, 2024 at 09:42:37AM GMT, Thomas Bonnefille wrote: > This adds I2C support in the device tree of the T-Head TH1520 RISCV-SoC > and a default configuration for the BeagleV-Ahead. It appears that the > TH1520 I2C is already supported in the upstream kernel through the > Synopsis Designware I2C adapter driver. > > This patch depends on the clock patch from Drew Fustini > Link: https://lore.kernel.org/linux-riscv/20240615-th1520-clk-v1-0-3ba4978c4d6b@xxxxxxxxxxxxxxx > and the pinctrl patch from Emil Renner Berthing > Link: https://lore.kernel.org/linux-riscv/20240103132852.298964-1-emil.renner.berthing@xxxxxxxxxxxxx I think after these two go in... > Changed from v1: > 1. Remove redundant example for Synopsis DesignWare-I2C bindings > 2. Remove Node Ordering commit as it has already been taken > 3. Remove EEPROM label > 4. Rebase on pinctrl and clock driver patches > 5. Add pinctrl configuration > 6. Replaced the fixed-clock with a correct configuration > > Changed from v2: > 1. Reorder nodes to conserve ascending register node ordering > 2. Add support for I2C2 as it probably use the same controller > 3. Format comments to match kernel coding style > 4. Reorder nodes to conserve alphabetical node ordering > 6. Declare I2C2 > 6. Set pinctrl pull-up resistor to the highest value > > Signed-off-by: Thomas Bonnefille <thomas.bonnefille@xxxxxxxxxxx> > --- > Thomas Bonnefille (3): > dt-bindings: i2c: dw: Document compatible thead,th1520-i2c ... this goes throught i2c... > riscv: dts: thead: Add TH1520 I2C nodes > riscv: dts: thead: Enable I2C on the BeagleV-Ahead ... and these two go thrhough Conor's branches. Do you mind sending a ping when Drew's patches are included in the merge window? I can put the first patch on a special branch to keep it under my watch. Andi