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

Sam Protsenko semen.protsenko at linaro.org
Thu Dec 9 06:07:11 PST 2021


On Thu, 9 Dec 2021 at 11:11, Wolfram Sang <wsa at kernel.org> wrote:
>
> On Sat, Dec 04, 2021 at 11:58:17PM +0200, Sam Protsenko wrote:
> > 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 at linaro.org>
> > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski at canonical.com>
> > Reviewed-by: Chanho Park <chanho61.park at samsung.com>
>
> 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



More information about the linux-arm-kernel mailing list