* Re: [PATCH v5] i2c: imx-lpi2c: return -EINVAL when i2c peripheral clk doesn't work
[not found] <20230726092238.3424116-1-carlos.song@nxp.com>
@ 2023-08-02 20:02 ` Andi Shyti
2023-08-14 13:24 ` Wolfram Sang
1 sibling, 0 replies; 2+ messages in thread
From: Andi Shyti @ 2023-08-02 20:02 UTC (permalink / raw)
To: aisheng.dong, shawnguo, s.hauer, kernel, festevam, carlos.song
Cc: xiaoning.wang, haibo.chen, linux-imx, linux-i2c, linux-arm-kernel,
linux-kernel
Hi
On Wed, 26 Jul 2023 17:22:38 +0800, carlos.song@nxp.com wrote:
> On MX8X platforms, the default clock rate is 0 if without explicit
> clock setting in dts nodes. I2c can't work when i2c peripheral clk
> rate is 0.
>
> Add a i2c peripheral clk rate check before configuring the clock
> register. When i2c peripheral clk rate is 0 and directly return
> -EINVAL.
>
> [...]
Applied to i2c/andi-for-current on
https://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux.git
Please note that this patch may still undergo further evaluation
and the final decision will be made in collaboration with
Wolfram.
Thank you,
Andi
Patches applied
===============
[1/1] i2c: imx-lpi2c: return -EINVAL when i2c peripheral clk doesn't work
commit: a83c167c8210a9f289e867bbc084174252f7433f
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v5] i2c: imx-lpi2c: return -EINVAL when i2c peripheral clk doesn't work
[not found] <20230726092238.3424116-1-carlos.song@nxp.com>
2023-08-02 20:02 ` [PATCH v5] i2c: imx-lpi2c: return -EINVAL when i2c peripheral clk doesn't work Andi Shyti
@ 2023-08-14 13:24 ` Wolfram Sang
1 sibling, 0 replies; 2+ messages in thread
From: Wolfram Sang @ 2023-08-14 13:24 UTC (permalink / raw)
To: carlos.song
Cc: andi.shyti, aisheng.dong, shawnguo, s.hauer, kernel, festevam,
xiaoning.wang, haibo.chen, linux-imx, linux-i2c, linux-arm-kernel,
linux-kernel
[-- Attachment #1.1: Type: text/plain, Size: 515 bytes --]
On Wed, Jul 26, 2023 at 05:22:38PM +0800, carlos.song@nxp.com wrote:
> From: Carlos Song <carlos.song@nxp.com>
>
> On MX8X platforms, the default clock rate is 0 if without explicit
> clock setting in dts nodes. I2c can't work when i2c peripheral clk
> rate is 0.
>
> Add a i2c peripheral clk rate check before configuring the clock
> register. When i2c peripheral clk rate is 0 and directly return
> -EINVAL.
>
> Signed-off-by: Carlos Song <carlos.song@nxp.com>
Applied to for-current, thanks!
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
[-- Attachment #2: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-08-14 13:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20230726092238.3424116-1-carlos.song@nxp.com>
2023-08-02 20:02 ` [PATCH v5] i2c: imx-lpi2c: return -EINVAL when i2c peripheral clk doesn't work Andi Shyti
2023-08-14 13:24 ` Wolfram Sang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).