Thread (26 messages) 26 messages, 4 authors, 2021-12-09

Re: [PATCH v2 RESEND 5/8] i2c: exynos5: Add bus clock support

From: Sam Protsenko <semen.protsenko@linaro.org>
Date: 2021-12-09 14:07:26
Also in: linux-devicetree, linux-i2c, linux-samsung-soc, lkml

On Thu, 9 Dec 2021 at 11:11, Wolfram Sang [off-list ref] wrote:
On Sat, Dec 04, 2021 at 11:58:17PM +0200, Sam Protsenko wrote:
quoted
In new Exynos SoCs (like Exynos850) where HSI2C is implemented as a
part of USIv2 block, there are two clocks provided to HSI2C controller:
  - PCLK: bus clock (APB), provides access to register interface
  - IPCLK: operating IP-core clock; SCL is derived from this one

Both clocks have to be asserted for HSI2C to be functional in that case.

Add code to obtain and enable/disable PCLK in addition to already
handled operating clock. Make it optional though, as older Exynos SoC
variants only have one HSI2C clock.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Krzysztof Kozlowski <redacted>
Reviewed-by: Chanho Park <redacted>
This one doesn't apply here? What tree is this based on?
Based on linux-next. Might got outdated, or maybe I had some debug
patches in my branch at the time. Anyway, I've sent v3 only for this
patch [1]. Can you please try to apply that one?

Thanks!

[1] https://lkml.org/lkml/2021/12/9/584

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help