[PATCH linux dev-4.10] hwmon: (aspeed-pwm-tacho) cooling device support

Patrick Williams patrick at stwcx.xyz
Fri Jul 7 01:57:05 AEST 2017


On Tue, Jul 04, 2017 at 04:56:08PM +0300, Mykola Kostenok wrote:
> Add support in aspeed-pwm-tacho driver for cooling device creation.
> This cooling device could be bound to a thermal zone
> for the thermal control. Device will appear in /sys/class/thermal
> folder as cooling_deviceX. Then it could be bound to particular
> thermal zones. Allow specification of the cooling levels
> vector - PWM duty cycle values in a range from 0 to 255
> which correspond to thermal cooling states.
> 
> Add basic pwm-tacho-controller node to ast-g5 dtsi.
> Add basic pwm-tacho-controller node to ast-g4 dtsi.
> 
> Change pwm-tacho in aspeed-bmc-quanta-q71l.dts according new
> pwm-tacho structure.
> 
> Add pwm-tacho to aspeed-bmc-mellanox-msn.dts.
> 
> Signed-off-by: Mykola Kostenok <c_mykolak at mellanox.com>
> ---
>  arch/arm/boot/dts/aspeed-bmc-mellanox-msn.dts |  61 +++++++++++
>  arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts  | 103 +++++++++----------
>  arch/arm/boot/dts/aspeed-g4.dtsi              |   9 +-
>  arch/arm/boot/dts/aspeed-g5.dtsi              |  17 ++++
>  drivers/hwmon/aspeed-pwm-tacho.c              | 139 +++++++++++++++++++++++++-

This commit is both modifying a set of device trees and adding support
to the hwmon driver.  Don't we need these as two separate commits?  The
hwmon driver changes should go upstream first to get feedback from the
hwmon subsystem owner and then we can backport them into the current
OpenBMC kernel.

https://github.com/openbmc/docs/blob/master/kernel-development.md

-- 
Patrick Williams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20170706/ffa64018/attachment.sig>


More information about the openbmc mailing list