Add I2C_AQ_NO_CLK_STRETCH to drivers/i2c/algos/i2c-algo-bit.c when getscl
is not available.
Signed-off-by: Nicola Corna
---
drivers/i2c/algos/i2c-algo-bit.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/i2c/algos/i2c-algo-bit.c
This patch adds a i2c_check_quirks helper function to check the quirk flags
of an i2c adapter, in a similar way to i2c_check_functionality.
Signed-off-by: Nicola Corna
---
include/linux/i2c.h | 14 ++
1 file changed, 14 insertions(+)
diff --git
Add I2C_AQ_NO_CLK_STRETCH quirk flag, to be used when clock stretching is
not supported.
Signed-off-by: Nicola Corna
---
include/linux/i2c.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index 768063b..9697002 100644
---
On Thu, Oct 29, 2015 at 10:37 AM, Kuninori Morimoto
wrote:
> From: Kuninori Morimoto
>
> rcar_i2c_init() initializes I2C device, but it should be called
> *after* pm_runtime_get_sync(). Otherwise it outputs very hi speed
>
The Si7013/20/21 modules support 2 read modes:
* Hold mode (blocking), where the device stretches the clock until the end
of the measurement
* No Hold mode (non-blocking), where the device replies NACK for every I2C
call during the measurement
Here the No Hold mode is implemented, selectable
On Thu, 2015-10-29 at 08:25 +0100, Wolfram Sang wrote:
> Otherwise get_maintainer.pl will fall back to git history and CC
> more people than needed.
>
> Signed-off-by: Wolfram Sang
> Acked-by: Lee Jones
> ---
> MAINTAINERS | 1 +
> 1 file changed, 1
On Wed, Oct 28, 2015 at 9:48 PM, Sören Brinkmann
wrote:
> Hi Shubhrajyoti,
>
>
> On Wed, 2015-10-28 at 12:56PM +0530, Shubhrajyoti Datta wrote:
>> Currently the clocks are enabled at probe and disabled at remove.
>> Which keeps the clocks enabled even if no transaction
> +The scripts/get_maintainer.pl tool has a quirk about subdirectories.
> +If the file pattern is for a directory, then any subdirectories of
> +the parent directory should also be specified. For instance:
> + F: drivers/i2c/
> + F:
Greetings.
I'm having problems with a lenovo yoga 900 not seeing it's touchscreen
or touchpad.
Downstream bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1275718
The problem parts of dmesg seem to be:
Oct 26 15:20:08 localhost kernel: i2c_designware i2c_designware.1:
On Thu, 2015-10-29 at 16:52 +0100, Wolfram Sang wrote:
> > + The scripts/get_maintainer.pl tool has a quirk about subdirectories.
> > + If the file pattern is for a directory, then any subdirectories of
> > + the parent directory should also be specified. For instance:
> > +
Hi Wolfram,
On Thu, Oct 29, 2015 at 8:19 PM, Wolfram Sang wrote:
> From: Wolfram Sang
>
> Reported-by: Kuninori Morimoto
> Signed-off-by: Wolfram Sang
Thanks for your
On Thu, Oct 29, 2015 at 11:29:13AM -0600, Kevin Fenzi wrote:
> Greetings.
>
> I'm having problems with a lenovo yoga 900 not seeing it's touchscreen
> or touchpad.
>
> Downstream bug:
> https://bugzilla.redhat.com/show_bug.cgi?id=1275718
>
> The problem parts of dmesg seem to be:
>
> Oct
Laurent,
> RTPORC7791SEB00010S
> KOELSCH SN.057
>
> I'm not sure if that tells anything about the board revision.
Can you try this patch I just sent out?
"i2c: rcar: make sure clocks are on when doing hw init"
We know that Koelsch boards have different bootloaders leaving the
clocks in
> Hence now it's done again for every transfer?
>
> What about moving it just before the call to i2c_add_numbered_adapter(),
> and wrapping it inside pm_runtime_get_sync(dev)/pm_runtime_put()?
>
> Wolfram, what do you think?
I'd prefer the latter. Sending a tested patch in a second...
From: Wolfram Sang
Reported-by: Kuninori Morimoto
Signed-off-by: Wolfram Sang
---
drivers/i2c/busses/i2c-rcar.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
On Fri, Oct 23, 2015 at 3:01 AM, Zhiqiang Hou wrote:
> From: Shaohui Xie
>
> Signed-off-by: Shaohui Xie
> Signed-off-by: Mingkai Hu
> Signed-off-by: Wenbin Song
>
From: Wolfram Sang
Reported-by: Kuninori Morimoto
Signed-off-by: Wolfram Sang
---
drivers/i2c/busses/i2c-rcar.c | 13 +
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git
Hi Wolfram Sang wrote:
>
> From: Wolfram Sang
>
> Reported-by: Kuninori Morimoto
> Signed-off-by: Wolfram Sang
> ---
Please add explain why this patch is needed, and what happen
without
Hi Geert
> > From: Kuninori Morimoto
> >
> > rcar_i2c_init() initializes I2C device, but it should be called
> > *after* pm_runtime_get_sync(). Otherwise it outputs very hi speed
> > clock. This patch solved this issue,
> > This patch also removes pointless
Hi, Wolfram
> From: Wolfram Sang
>
> Reported-by: Kuninori Morimoto
> Signed-off-by: Wolfram Sang
> ---
> drivers/i2c/busses/i2c-rcar.c | 4 +++-
> 1 file changed, 3 insertions(+), 1
Otherwise get_maintainer.pl will fall back to git history and CC
more people than needed.
Signed-off-by: Wolfram Sang
Acked-by: Lee Jones
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index
From: Kuninori Morimoto
rcar_i2c_init() initializes I2C device, but it should be called
*after* pm_runtime_get_sync(). Otherwise it outputs very hi speed
clock. This patch solved this issue,
This patch also removes pointless rcar_i2c_init()
from
>> So maybe more like this:
>>
>> static inline bool i2c_check_quirks(struct i2c_adapter *adap, u64 quirks)
>> {
>> if (!adap->quirks)
>> return false;
>> return (adap->quirks->flags & quirks) == quirks;
>> }
>
> Should I use bool (like in your snippet) or int (like
> i2c_check_functionality) as
Hi Wolfram,
Thank you for the patch.
I'm afraid this doesn't make any noticeable difference. With or without the
patch applied the adv7511 can't be detected using the latest driver tag
(renesas-devel-20151026-v4.3-rc7).
However, I have a bit more information to report.
First of all, I got
> -Original Message-
> From: pku@gmail.com [mailto:pku@gmail.com] On Behalf Of Li Yang
> Sent: 2015年10月30日 4:33
> To: Hou Zhiqiang-B48286
> Cc: linux-arm-ker...@lists.infradead.org; Catalin Marinas; Will Deacon;
> linux-i2c@vger.kernel.org; linux-watch...@vger.kernel.org; linux-
25 matches
Mail list logo