[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140605151650.GB7446@griffinp-ThinkPad-X1-Carbon-2nd>
Date: Thu, 5 Jun 2014 16:16:50 +0100
From: Peter Griffin <peter.griffin@...aro.org>
To: Lee Jones <lee.jones@...aro.org>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, kernel@...inux.com,
linux-pm@...r.kernel.org, eduardo.valentin@...com,
rui.zhang@...el.com
Subject: Re: [STLinux Kernel] [PATCH 3/6] thermal: sti: Add support for ST's
System Config Register based Thermal controller
Hi Lee,
See my comments below: -
> +/* STiH416 */
> +#define STIH416_SYSCFG_FRONT(num) ((num - 1000) * 4)
> +#define STIH416_SAS_THSENS_CONF STIH416_SYSCFG_FRONT(1552)
> +#define STIH416_SAS_THSENS_STATUS1 STIH416_SYSCFG_FRONT(1554)
> +#define STIH416_SAS_THSENS_STATUS2 STIH416_SYSCFG_FRONT(1594)
> +
> +/* STiD127 */
> +#define STID127_SYSCFG_CPU(num) ((num - 700) * 4)
> +#define STID127_THSENS_CONF STID127_SYSCFG_CPU(743)
> +#define STID127_THSENS_STATUS STID127_SYSCFG_CPU(767)
There is no upstream support for STiD127 SoC AFAIK? I think this should be removed
from the driver and just keep stih415 / stih416 parts.
Also a seperate somewhat unrelated question... stih415 and stih416 are very similar
dual die parts. Do you know why the stih415 has support for sas & mpe die temperature
sensors, but the stih416 only has support for the sas die?
Regards,
Peter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists