All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vaibhav Hiremath <vaibhav.hiremath-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Cc: robert.jarzmik-GANU6spQydw@public.gmane.org,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org,
	"Jett.Zhou" <jtzhou-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>,
	Yi Zhang <yizhang-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>
Subject: Re: [PATCH-v5 5/5] i2c: pxa: Add ILCR (tLow & tHigh) configuration support
Date: Wed, 05 Aug 2015 14:21:26 +0530	[thread overview]
Message-ID: <55C1CE8E.9000601@linaro.org> (raw)
In-Reply-To: <1437482466-16126-6-git-send-email-vaibhav.hiremath-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>



On Tuesday 21 July 2015 06:11 PM, Vaibhav Hiremath wrote:
> 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:
>    SCLK low time (tLow), for standard/fast/high speed mode
>
> Note that in case of standard and fast mod, the tLow and tHigh counters
> are same, and software will use tLow value.
>
> Also, brought up devm_clk_get() fn above i2c_pxa_probe_dt(), as it
> uses clk rate for timing calculations.
>
> Signed-off-by: Vaibhav Hiremath <vaibhav.hiremath-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> Signed-off-by: Jett.Zhou <jtzhou-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>
> Signed-off-by: Yi Zhang <yizhang-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>
> ---
>   drivers/i2c/busses/i2c-pxa.c | 69 ++++++++++++++++++++++++++++++++++++++++----
>   1 file changed, 63 insertions(+), 6 deletions(-)
>

Robert,

It would be helpful if you can test this patch-series and confirm that
it now fixes the NULL pointer deference issue.

Thanks,
Vaibhav

WARNING: multiple messages have this Message-ID (diff)
From: vaibhav.hiremath@linaro.org (Vaibhav Hiremath)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH-v5 5/5] i2c: pxa: Add ILCR (tLow & tHigh) configuration support
Date: Wed, 05 Aug 2015 14:21:26 +0530	[thread overview]
Message-ID: <55C1CE8E.9000601@linaro.org> (raw)
In-Reply-To: <1437482466-16126-6-git-send-email-vaibhav.hiremath@linaro.org>



On Tuesday 21 July 2015 06:11 PM, Vaibhav Hiremath wrote:
> 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:
>    SCLK low time (tLow), for standard/fast/high speed mode
>
> Note that in case of standard and fast mod, the tLow and tHigh counters
> are same, and software will use tLow value.
>
> Also, brought up devm_clk_get() fn above i2c_pxa_probe_dt(), as it
> uses clk rate for timing calculations.
>
> Signed-off-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org>
> Signed-off-by: Jett.Zhou <jtzhou@marvell.com>
> Signed-off-by: Yi Zhang <yizhang@marvell.com>
> ---
>   drivers/i2c/busses/i2c-pxa.c | 69 ++++++++++++++++++++++++++++++++++++++++----
>   1 file changed, 63 insertions(+), 6 deletions(-)
>

Robert,

It would be helpful if you can test this patch-series and confirm that
it now fixes the NULL pointer deference issue.

Thanks,
Vaibhav

WARNING: multiple messages have this Message-ID (diff)
From: Vaibhav Hiremath <vaibhav.hiremath@linaro.org>
To: linux-arm-kernel@lists.infradead.org
Cc: robert.jarzmik@free.fr, linux-i2c@vger.kernel.org,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	wsa@the-dreams.de, "Jett.Zhou" <jtzhou@marvell.com>,
	Yi Zhang <yizhang@marvell.com>
Subject: Re: [PATCH-v5 5/5] i2c: pxa: Add ILCR (tLow & tHigh) configuration support
Date: Wed, 05 Aug 2015 14:21:26 +0530	[thread overview]
Message-ID: <55C1CE8E.9000601@linaro.org> (raw)
In-Reply-To: <1437482466-16126-6-git-send-email-vaibhav.hiremath@linaro.org>



On Tuesday 21 July 2015 06:11 PM, Vaibhav Hiremath wrote:
> 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:
>    SCLK low time (tLow), for standard/fast/high speed mode
>
> Note that in case of standard and fast mod, the tLow and tHigh counters
> are same, and software will use tLow value.
>
> Also, brought up devm_clk_get() fn above i2c_pxa_probe_dt(), as it
> uses clk rate for timing calculations.
>
> Signed-off-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org>
> Signed-off-by: Jett.Zhou <jtzhou@marvell.com>
> Signed-off-by: Yi Zhang <yizhang@marvell.com>
> ---
>   drivers/i2c/busses/i2c-pxa.c | 69 ++++++++++++++++++++++++++++++++++++++++----
>   1 file changed, 63 insertions(+), 6 deletions(-)
>

Robert,

It would be helpful if you can test this patch-series and confirm that
it now fixes the NULL pointer deference issue.

Thanks,
Vaibhav

  parent reply	other threads:[~2015-08-05  8:51 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-21 12:41 [PATCH-v5 0/5] i2c: pxa: Add support for PXA910 family of device Vaibhav Hiremath
2015-07-21 12:41 ` Vaibhav Hiremath
2015-07-21 12:41 ` Vaibhav Hiremath
2015-07-21 12:41 ` [PATCH-v5 1/5] Documentation: binding: add new property 'disable_after_xfer' to i2c-pxa Vaibhav Hiremath
2015-07-21 12:41   ` Vaibhav Hiremath
2015-07-27 14:09   ` Matt Porter
2015-07-27 14:09     ` Matt Porter
2015-08-05  6:34     ` Vaibhav Hiremath
2015-08-05  6:34       ` Vaibhav Hiremath
2015-08-05  8:49       ` Wolfram Sang
2015-08-05  8:49         ` Wolfram Sang
2015-08-05  9:41         ` Vaibhav Hiremath
2015-08-05  9:41           ` Vaibhav Hiremath
2015-08-05 14:24         ` Matt Porter
2015-08-05 14:24           ` Matt Porter
2015-08-05 14:24           ` Matt Porter
     [not found]       ` <55C1AE71.3010700-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-08-05 14:20         ` Matt Porter
2015-08-05 14:20           ` Matt Porter
2015-08-05 14:20           ` Matt Porter
2015-08-05 14:24           ` Vaibhav Hiremath
2015-08-05 14:24             ` Vaibhav Hiremath
2015-07-21 12:41 ` [PATCH-v5 2/5] i2c: pxa: enable/disable i2c module across msg xfer Vaibhav Hiremath
2015-07-21 12:41   ` Vaibhav Hiremath
     [not found]   ` <1437482466-16126-3-git-send-email-vaibhav.hiremath-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-08-05 10:46     ` Shubhrajyoti Datta
2015-08-05 10:46       ` Shubhrajyoti Datta
2015-08-05 10:46       ` Shubhrajyoti Datta
     [not found]       ` <CAKfKVtGzDjgHzy70aa0d2W=ROMcxVzerg-qpuB9e4PaGKPpMTQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-08-05 12:42         ` Vaibhav Hiremath
2015-08-05 12:42           ` Vaibhav Hiremath
2015-08-05 12:42           ` Vaibhav Hiremath
2015-07-21 12:41 ` [PATCH-v5 3/5] i2c: pxa: Add support for pxa910/988 & new configuration features Vaibhav Hiremath
2015-07-21 12:41   ` Vaibhav Hiremath
2015-07-21 12:41 ` [PATCH-v5 4/5] Documentation: binding: add sclk adjustment properties to i2c-pxa Vaibhav Hiremath
2015-07-21 12:41   ` Vaibhav Hiremath
     [not found]   ` <1437482466-16126-5-git-send-email-vaibhav.hiremath-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-07-27 14:11     ` Matt Porter
2015-07-27 14:11       ` Matt Porter
2015-07-27 14:11       ` Matt Porter
2015-08-05  6:29       ` Vaibhav Hiremath
2015-08-05  6:29         ` Vaibhav Hiremath
2015-08-05  6:29         ` Vaibhav Hiremath
2015-07-21 12:41 ` [PATCH-v5 5/5] i2c: pxa: Add ILCR (tLow & tHigh) configuration support Vaibhav Hiremath
2015-07-21 12:41   ` Vaibhav Hiremath
     [not found]   ` <1437482466-16126-6-git-send-email-vaibhav.hiremath-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-08-05  8:51     ` Vaibhav Hiremath [this message]
2015-08-05  8:51       ` Vaibhav Hiremath
2015-08-05  8:51       ` Vaibhav Hiremath
     [not found]       ` <55C1CE8E.9000601-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-08-05 19:11         ` Robert Jarzmik
2015-08-05 19:11           ` Robert Jarzmik
2015-08-05 19:11           ` Robert Jarzmik
2015-08-06  5:45           ` Vaibhav Hiremath
2015-08-06  5:45             ` Vaibhav Hiremath
2015-08-09 12:18         ` Robert Jarzmik
2015-08-09 12:18           ` Robert Jarzmik
2015-08-09 12:18           ` Robert Jarzmik
2015-08-09 16:53           ` Vaibhav Hiremath
2015-08-09 16:53             ` Vaibhav Hiremath

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55C1CE8E.9000601@linaro.org \
    --to=vaibhav.hiremath-qsej5fyqhm4dnm+yrofe0a@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=jtzhou-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=robert.jarzmik-GANU6spQydw@public.gmane.org \
    --cc=wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org \
    --cc=yizhang-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.