[Skiboot] [PATCH 1/5] hdata/i2c: Fix bus and clock frequencies

Stewart Smith stewart at linux.vnet.ibm.com
Fri Apr 28 17:04:18 AEST 2017


Benjamin Herrenschmidt <benh at kernel.crashing.org> writes:
> The clock-frequency of the i2c master should be derived from
> the xscom bus frequency (itself derived from the nest frequency).
>
> The bus-frequency of the i2c bus should be in Hz so convert the
> HDAT value from kHz to Hz.
>
> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> ---
>  hdata/i2c.c | 11 ++++++++---
>  1 file changed, 8 insertions(+), 3 deletions(-)

Series merged to master as of 0aff8c2f9e6d60a71bdbd7c6e06df3e4f1debccd
-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list