Am 15.06.2015 um 10:58 schrieb Linus Walleij:
On Sat, Jun 13, 2015 at 8:27 PM, Alexander Holler hol...@ahsoftware.de wrote:
And because you've said that problem space is a bit convoluted and I
disagree, here's a summary from my point of view:
1. All the necessary information (dependencies
On 12 June 2015 at 22:34, Bjorn Helgaas bhelg...@google.com wrote:
On Thu, Jun 11, 2015 at 08:11:45PM +0800, Wan ZongShun wrote:
The KERNCZ is new AMD SB/FCH generation name, like HUDSON2.
We will adopt 0x790b as device ID since from this gereration.
s/We will adopt 0x790b as device ID since
On Fri, Jun 12, 2015 at 07:45:00PM -0300, Lucas De Marchi wrote:
Hi Mika,
On Wed, Jun 10, 2015 at 4:55 AM, Mika Westerberg
mika.westerb...@linux.intel.com wrote:
On Mon, Jun 08, 2015 at 02:50:28PM -0300, lucas.de.mar...@gmail.com wrote:
@@ -320,7 +320,7 @@ static int dw_i2c_resume(struct
On 11 June 2015 at 15:07, Wolfram Sang w...@the-dreams.de wrote:
On Thu, Jun 11, 2015 at 08:11:46PM +0800, Wan ZongShun wrote:
Change AMD CZ SMBUS device ID from 0x790b to
use Macro definition
Signed-off-by: Wan ZongShun vincent@amd.com
I think it makes sense that this patch goes in via
On Sat, Jun 13, 2015 at 4:26 PM, Ellen Wang el...@cumulusnetworks.com wrote:
cp2112_i2c_xfer() only supports a single i2c_msg and only
reads up to 61 bytes. More than one message at a time
and longers reads just return errors. This breaks certain
important cases. For example, the at24
On 11 June 2015 at 14:11, Wan ZongShun vincent@amd.com wrote:
Change this quirk to apply to AMD Carrizo platform.
Signed-off-by: Wan ZongShun vincent@amd.com
Tested-by: Nath, Arindam arindam.n...@amd.com
Tested-by: Ramesh, Ramya ramya.ram...@amd.com
Thanks, applied! I changed the
On Sat, Jun 13, 2015 at 8:27 PM, Alexander Holler hol...@ahsoftware.de wrote:
And because you've said that problem space is a bit convoluted and I
disagree, here's a summary from my point of view:
1. All the necessary information (dependencies between drivers) already
exists at compile time.
On Thu, 11 Jun 2015 20:11:46 +0800, Wan ZongShun wrote:
Change AMD CZ SMBUS device ID from 0x790b to
use Macro definition
Signed-off-by: Wan ZongShun vincent@amd.com
---
drivers/i2c/busses/i2c-piix4.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
This is a series of cleanups for the axi iic.
tested on zc702 and microblaze.
Shubhrajyoti Datta (9):
i2c: xiic: Do not continue in case of errors in Rx
i2c: xiic: Remove the disabling of interrupts
i2c: xiic: move the xiic_process to thread context
i2c: xiic: Do not reset controller
Update i2c_pxa_scream_blue_murder() fn to print more information
in case of error.
Also, use dev_err variants instead of printk.
Signed-off-by: Jett.Zhou jtz...@marvell.com
Signed-off-by: Vaibhav Hiremath vaibhav.hirem...@linaro.org
Cc: Wolfram Sang w...@the-dreams.de
---
Remove the busy loop while waiting for bus busy.
Signed-off-by: Shubhrajyoti Datta shubh...@xilinx.com
---
drivers/i2c/busses/i2c-xiic.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/i2c/busses/i2c-xiic.c b/drivers/i2c/busses/i2c-xiic.c
index 7b81aac..8142c2e
Currently the interrupts are disabled at the start of the
isr and enabled at the end of the isr. Remove the same.
Signed-off-by: Shubhrajyoti Datta shubh...@xilinx.com
---
drivers/i2c/busses/i2c-xiic.c |3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git
This patch cleans up i2c_pxa_probe() function,
- Use devm_ variants wherever
This will clean both probe exit and i2c_pxa_remove() functions
- Check platform resource before parsing any other data from DT/platform
- Use dev_err on failure from i2c_add_numbered_adapter()
- Use pr_info
From: Shouming Wang wang...@marvell.com
In case of timeout in pio mode of operation return I2C_RETRY.
This behavior will be same as interrupt mode of operation.
Signed-off-by: Shouming Wang wang...@marvell.com
[vaibhav.hirem...@linaro.org: Updated changelog]
Signed-off-by: Vaibhav Hiremath
From: Yi Zhang yizh...@marvell.com
Enable i2c module/unit before transmission and disable when it finishes.
why?
It's because the i2c bus may be distrubed if the slave device,
typically a touch, powers on.
As we do not want to break slave mode support, this patch introduces
DT property to
From: Leilei Shang shan...@marvell.com
During suspend there may still be some i2c access happening, as the
interrupt is shared between multiple drivers.
And if we don't keep i2c irq ON, there may be i2c access timeout if
i2c is in irq mode of operation.
Signed-off-by: Raul Xiong
Normally i2c controller works as master, so slave addr is not needed, or it
will impact some slave device (eg. ST NFC chip) i2c accesses, because it has
the same i2c address with controller.
Signed-off-by: Jett.Zhou jtz...@marvell.com
Signed-off-by: Vaibhav Hiremath vaibhav.hirem...@linaro.org
PXA910 family of devices supports SCLK adjustment through
TWSI_ILCR TWSI_IWCR registers (for all supported modes).
This patch also adds these two new register entries to
struct pxa_reg_layout and struct pxa_i2c.
As discussed in the previous patch-series, the idea here is to add standard
DT
With addition of PXA910 family of devices, the TWSI module supports
SCL clock adjustment using ILCR register.
This patch enables the control and configuration of ICLR through DT
properties,
i2c-sclk-high-time-ns:
SCLK high time (tHigh), for standard/fast/high speed mode
i2c-sclk-low-time-ns:
This patch series fixes bugs/warnings, cleans up the code and adds
support for PXA910 family of devices to PXA I2C bus driver.
There has been one attempt made sometime back in 2012 to upstream
some of the patches from below list, but did not get follow up later.
I have consolidated all the
Driver now supports enable/disable across msg xfer, which user
can control it by new DT property -
i2c-disable-after-xfer : If set, driver will disable I2C module after msg
xfer and enable it back before xfer.
Signed-off-by: Vaibhav Hiremath vaibhav.hirem...@linaro.org
---
From: Yipeng Yao yp...@marvell.com
Fix below warning message, coming from 64 bit toolchain.
drivers/i2c/busses/i2c-pxa.c:1237:15: warning: cast from pointer to integer of
different size [-Wpointer-to-int-cast]
Signed-off-by: Yipeng Yao yp...@marvell.com
[vaibhav.hirem...@linaro.org: Updated
With addition of PXA910 family of devices, the TWSI module supports
new feature which allows us to adjust SCLK.
With DT properties i2c-pxa driver takes input configuration
in nsec and converts it to respective bit-fields,
- i2c-sclk-low-time-ns : SCLK low time (tlow)
This property is used
In case of timeout during msg xfer assert reset to
i2c controller for both interrupt and PIO mode of operation.
Signed-off-by: Jett.Zhou jtz...@marvell.com
[vaibhav.hirem...@linaro.org: Split merge patches into logical changes
and update the Changelog]
Signed-off-by: Vaibhav Hiremath
Timing out is one of the serious errors.
Currently we return silently upon a timeout.
Adding an error message.
Signed-off-by: Shubhrajyoti Datta shubh...@xilinx.com
---
drivers/i2c/busses/i2c-xiic.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git
Handle error cases in the Rx path
Signed-off-by: Shubhrajyoti Datta shubh...@xilinx.com
---
drivers/i2c/busses/i2c-xiic.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/i2c/busses/i2c-xiic.c b/drivers/i2c/busses/i2c-xiic.c
index 4dda23f..cea842e 100644
---
Currently before every transfer the interrupts are disabled.
Remove the same.
Signed-off-by: Shubhrajyoti Datta shubh...@xilinx.com
---
drivers/i2c/busses/i2c-xiic.c |7 ---
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/drivers/i2c/busses/i2c-xiic.c
Currently before every transfer the controller is reinitialised.
Remove the same.
Signed-off-by: Shubhrajyoti Datta shubh...@xilinx.com
---
drivers/i2c/busses/i2c-xiic.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/i2c/busses/i2c-xiic.c
Currently there is no slave mode. Do not enable the AAS interrupt.
Signed-off-by: Shubhrajyoti Datta shubh...@xilinx.com
---
drivers/i2c/busses/i2c-xiic.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/i2c/busses/i2c-xiic.c b/drivers/i2c/busses/i2c-xiic.c
index
From: Wolfram Sang wsa+rene...@sang-engineering.com
When debugging embedded systems, it is often nice to simply TFTP the
desired i2ctool to the target without the hazzle of dealing with shared
libs. Using -static is overkill, too, so let's add a switch which will
only link functions from libi2c
On Mon, Jun 15, 2015 at 9:19 PM, Vaibhav Hiremath
vaibhav.hirem...@linaro.org wrote:
From: Shouming Wang wang...@marvell.com
In case of timeout in pio mode of operation return I2C_RETRY.
This behavior will be same as interrupt mode of operation.
Signed-off-by: Shouming Wang
SI5338 is a programmable clock generator. It has 4 sets of inputs,
PLL, multisynth and dividers to make 4 outputs. This driver splits
them into multiple clocks to comply with common clock framework.
See Documentation/devicetree/bindings/clock/silabs,si5338.txt for
details.
Signed-off-by: York
From: Wolfram Sang wsa+rene...@sang-engineering.com
I copied the wrong shell code into the documentation. Sorry to all who
tried to get sense out of this current example :/ Slight rewording while
we are here.
Reported-by: Tim Bakker bakk...@mymail.vcu.edu
Signed-off-by: Wolfram Sang
Hi Paul
Thanks for looking over my patches!
2015-06-12 11:35 GMT+02:00 Paul Bolle pebo...@tiscali.nl:
A few nits.
On Thu, 2015-06-11 at 22:48 +0200, Christian Gmeiner wrote:
--- /dev/null
+++ b/drivers/mfd/congatec-cgeb.c
+ * This program is free software; you can redistribute it and/or
34 matches
Mail list logo