[Skiboot] [PATCH v3 00/11] add DTS support for cores and memory buffers

Cedric Le Goater clg at fr.ibm.com
Tue Mar 10 08:14:06 AEDT 2015

Hello Again ! 

On 03/09/2015 09:56 PM, C├ędric Le Goater wrote:
> Hello !
> This v3 addresses the compatibility issue of v2. Old distros should 
> be able to run on newer firmware without loosing sensor support on
> FSP Power systems.
> The new device tree layout completes the current one without
> interfering and the Linux driver makes use of the different compatible
> property to capture the sensors from both trees.

Here is what the Linux driver looks like : 

  powerpc/powernv: handle OPAL_SUCCESS return in opal_sensor_read
  hwmon: (ibmpowernv) replace AMBIENT_TEMP by TEMP
  hwmon: (ibmpowernv) add a get_sensor_type() routine
  hwmon: (ibmpowernv) add a convert_opal_attr_name() routine
  hwmon: (ibmpowernv) change create_hwmon_attr_name() prototype
  hwmon: (ibmpowernv) do not use the OPAL index for hwmon attribute
  hwmon: (ibmpowernv) add support for the new device tree
  hwmon: (ibmpowernv) add a label attribute
  hwmon: (ibmpowernv) cleanup some redundant code

 arch/powerpc/platforms/powernv/opal-sensor.c |   29 ++--
 drivers/hwmon/ibmpowernv.c                   |  223 ++++++++++++++++++++------
 2 files changed, 195 insertions(+), 57 deletions(-)

Available here :


I will wait for comments on this OPAL patchset before sending. 



More information about the Skiboot mailing list