Re: [REPOST PATCH v2] i2c-ocores: support big-endian register layout

2015-10-20 Thread Wolfram Sang
On Wed, Oct 07, 2015 at 02:45:11AM +0300, Max Filippov wrote: > This allows using OpenCores I2C controller attached to its host in > native-endian mode with bi-endian CPUs. Example of such system is Xtensa > XTFPGA platform. > > Acked-by: Peter Korsgaard > Signed-off-by: Max Filippov Applied to

[REPOST PATCH v2] i2c-ocores: support big-endian register layout

2015-10-06 Thread Max Filippov
This allows using OpenCores I2C controller attached to its host in native-endian mode with bi-endian CPUs. Example of such system is Xtensa XTFPGA platform. Acked-by: Peter Korsgaard Signed-off-by: Max Filippov --- Changes v1->v2: - expand changelog with motivation for the change. drivers/i2c/

Re: [PATCH v2] i2c-ocores: support big-endian register layout

2015-09-24 Thread Peter Korsgaard
> "Max" == Max Filippov writes: Hi, >> You should also document the big-endian property in >> Documentation/devicetree/bindings/i2c/i2c-ocores.txt, otherwise it looks >> good. > 'big-endian' and 'native-endian' are common properties documented > in the Documentation/devicetree/bindings

Re: [PATCH v2] i2c-ocores: support big-endian register layout

2015-09-24 Thread Max Filippov
Peter, On Thu, Sep 24, 2015 at 10:55 PM, Peter Korsgaard wrote: >> "Max" == Max Filippov writes: > > > This allows using OpenCores I2C controller attached to its host in > > native-endian mode with bi-endian CPUs. Example of such system is Xtensa > > XTFPGA platform. > > > Signed-off-by:

Re: [PATCH v2] i2c-ocores: support big-endian register layout

2015-09-24 Thread Peter Korsgaard
> "Max" == Max Filippov writes: > This allows using OpenCores I2C controller attached to its host in > native-endian mode with bi-endian CPUs. Example of such system is Xtensa > XTFPGA platform. > Signed-off-by: Max Filippov > --- > Changes v1->v2: > - expand changelog with motivatio

[PATCH v2] i2c-ocores: support big-endian register layout

2015-09-22 Thread Max Filippov
This allows using OpenCores I2C controller attached to its host in native-endian mode with bi-endian CPUs. Example of such system is Xtensa XTFPGA platform. Signed-off-by: Max Filippov --- Changes v1->v2: - expand changelog with motivation for the change. drivers/i2c/busses/i2c-ocores.c | 31 ++