Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1662116

Re: [PATCH v10 5/6] i2c: designware: add SLAVE mode functions

From Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v10 5/6] i2c: designware: add SLAVE mode functions
Date 2017-06-09 11:00 +0200
Message-ID <tQnVV-7KC-29@gated-at.bofh.it> (permalink)
References <tQ9zz-7f5-3@gated-at.bofh.it> <tQ9zA-7f5-29@gated-at.bofh.it>
Organization Intel Finland Oy

Show all headers | View raw


On Thu, 2017-06-08 at 18:36 +0100, Luis Oliveira wrote:
> - Changes in Kconfig to enable I2C_DESIGNWARE_SLAVE support
> - Slave functions added to core library file
> - Slave abort sources added to common source file
> - New driver: i2c-designware-slave added
> - Changes in the Makefile to compile the I2C_DESIGNWARE_SLAVE module
>   when supported by the architecture.
> 
> All the SLAVE flow is added but it is not enabled via platform
> driver.

> +	} else {
> +		i2c_slave_event(dev->slave, I2C_SLAVE_STOP, &val);
> +		stat = i2c_dw_read_clear_intrbits_slave(dev);
> +	}
> +

> +	//~ if (stat & DW_IC_INTR_TX_OVER)
> +		//~ dw_readl(dev, DW_IC_CLR_TX_OVER);

What is this?

> +
> +	return 1;
> +}

-- 
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Intel Finland Oy

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v10 5/6] i2c: designware: add SLAVE mode functions Luis Oliveira <Luis.Oliveira@synopsys.com> - 2017-06-08 19:40 +0200
  Re: [PATCH v10 5/6] i2c: designware: add SLAVE mode functions kbuild test robot <lkp@intel.com> - 2017-06-09 09:00 +0200
    Re: [PATCH v10 5/6] i2c: designware: add SLAVE mode functions Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2017-06-09 11:00 +0200
  Re: [PATCH v10 5/6] i2c: designware: add SLAVE mode functions Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2017-06-09 11:00 +0200

csiph-web