[PATCH v24 3/4] i2c: ast2600: Add controller driver for new register layout
andriy.shevchenko at linux.intel.com
andriy.shevchenko at linux.intel.com
Thu Jan 29 18:48:43 AEDT 2026
On Thu, Jan 29, 2026 at 02:08:00AM +0000, Ryan Chen wrote:
...
> Will add in i2c-aspeed.c aspeed_i2c_probe_bus
>
> if (of_device_is_compatible(pdev->dev.of_node, "aspeed,ast2600-i2c-bus") &&
Just device_is_compatible(...) instead of OF-centric APIs.
> device_property_present(&pdev->dev, "aspeed,global-regs"))
> return -ENODEV;
--
With Best Regards,
Andy Shevchenko
More information about the openbmc
mailing list