|
|
Log in / Subscribe / Register

IIO-based thermal sensor driver for Allwinner H3 SoC

From:  Icenowy Zheng <icenowy-AT-aosc.io>
To:  Lee Jones <lee.jones-AT-linaro.org>, Rob Herring <robh+dt-AT-kernel.org>, Maxime Ripard <maxime.ripard-AT-free-electrons.com>, Chen-Yu Tsai <wens-AT-csie.org>, Jonathan Cameron <jic23-AT-kernel.org>, Quentin Schulz <quentin.schulz-AT-free-electrons.com>
Subject:  [PATCH v3 0/5] IIO-based thermal sensor driver for Allwinner H3 SoC
Date:  Sun, 23 Jul 2017 22:13:49 +0800
Message-ID:  <20170723141354.42646-1-icenowy@aosc.io>
Cc:  devicetree-AT-vger.kernel.org, linux-arm-kernel-AT-lists.infradead.org, linux-kernel-AT-vger.kernel.org, linux-iio-AT-vger.kernel.org, linux-sunxi-AT-googlegroups.com, Icenowy Zheng <icenowy-AT-aosc.io>

Allwiner H3 SoC has a thermal sensor, which is a large refactored version of
the old Allwinner "GPADC" (although it have already only thermal part left
in A33).

This patch tried to add support for the sensor in H3 based on the A33 thermal
sensor driver by Quentin Schulz, which is already merged.

Icenowy Zheng (5):
  dt-bindings: update the Allwinner GPADC device tree binding for H3
  iio: adc: sun4i-gpadc-iio: rename A23/A33-specified registers to
    contain A23
  iio: adc: sun4i-gpadc-iio: add support for H3 thermal sensor
  ARM: sun8i: h3: add support for the thermal sensor in H3
  ARM: sun8i: h3: add partial CPU thermal zone

 .../devicetree/bindings/mfd/sun4i-gpadc.txt        |  25 ++-
 arch/arm/boot/dts/sun8i-h3.dtsi                    |  26 +++
 drivers/iio/adc/sun4i-gpadc-iio.c                  | 228 +++++++++++++++++----
 include/linux/mfd/sun4i-gpadc.h                    |  33 ++-
 4 files changed, 267 insertions(+), 45 deletions(-)

-- 
2.13.0



Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds