Re: [PATCH v24 3/4] i2c: ast2600: Add controller driver for new register layout
From: andriy.shevchenko@xxxxxxxxxxxxxxx
Date: Thu Jan 29 2026 - 02:49:33 EST
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