[[RESEND]PATCHv6 2/2] i2c: altera: Add Altera I2C Controller driver

Wolfram Sang wsa at the-dreams.de
Wed Sep 13 13:50:38 PDT 2017


On Mon, Sep 11, 2017 at 04:17:20PM -0500, thor.thayer at linux.intel.com wrote:
> From: Thor Thayer <thor.thayer at linux.intel.com>
> 
> Add driver support for the Altera I2C Controller. The I2C
> controller is soft IP for use in FPGAs.
> 
> Signed-off-by: Thor Thayer <thor.thayer at linux.intel.com>
> Reviewed-by: Andy Shevchenko <andy.shevchenko at gmail.com>
> ---

Applied to for-next (will be in v4.14), thanks!

> +	if (finish) {
> +		/* Wait for the Core to finish */
> +		ret = readl_poll_timeout_atomic(idev->base + ALTR_I2C_STATUS,

I wonder a bit about polling in an interrupt handler (maybe threaded
irqs?) but we can fix that later, I think.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170913/7e14cb49/attachment.sig>


More information about the linux-arm-kernel mailing list