[Skiboot] [PATCH v9 01/22] platforms/firenze: Fix I2C clock source frequency

Stewart Smith stewart at linux.vnet.ibm.com
Tue Mar 8 18:31:28 AEDT 2016

Gavin Shan <gwshan at linux.vnet.ibm.com> writes:

> The I2C master clock source frequency is hardcoded to wrong value.
> The correct frequency should be the nest clock frequency divided
> by 16 as Ben said.
> This fixes I2C master source frequency with the help of additional
> properties "nest-frequency" and "bus-frequency" to root and xscom
> device node separately.
> Suggested-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> Signed-off-by: Gavin Shan <gwshan at linux.vnet.ibm.com>
> Acked-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> ---
>  hdata/spira.c               | 19 +++++++++++++++++++
>  hdata/spira.h               |  8 ++++++--
>  platforms/ibm-fsp/firenze.c | 11 ++++++++++-
>  3 files changed, 35 insertions(+), 3 deletions(-)

As discussed on IRC, I think the first few of these are fair
uncontroversial and since have (a while ago) been acked, I'm okay to
merge them in.

This looks good as-is, so merged into master as of

Stewart Smith
OPAL Architect, IBM.

More information about the Skiboot mailing list