|
|
Log in / Subscribe / Register

Add support of New Amlogic temperature sensor for G12A SoCs

From:  Guillaume La Roque <glaroque-AT-baylibre.com>
To:  jic23-AT-kernel.org, khilman-AT-baylibre.com
Subject:  [PATCH 0/3] Add support of New Amlogic temperature sensor for G12A SoCs
Date:  Tue, 4 Jun 2019 16:47:11 +0200
Message-ID:  <20190604144714.2009-1-glaroque@baylibre.com>
Cc:  linux-iio-AT-vger.kernel.org, devicetree-AT-vger.kernel.org, linux-arm-kernel-AT-lists.infradead.org, linux-amlogic-AT-lists.infradead.org, linux-kernel-AT-vger.kernel.org
Archive-link:  Article

This patchs series add support of New Amlogic temperature sensor.
This driver is based on IIO frameworks.
formulas and calibration values come from amlogic.

Dependencies :
- patch 2: temperature sensor clock are needed [1]

[1] https://lkml.kernel.org/r/20190412100221.26740-1-glaroque...

Guillaume La Roque (3):
  Documentation: dt-bindings: add the Amlogic Meson Temperature Sensor
  arm64: dts: meson: g12a: add temperature sensor node
  iio: temperature: add a driver for the temperature sensor found in
    Amlogic Meson G12 SoCs

 .../iio/temperature/amlogic,meson-tsensor.txt |  31 ++
 arch/arm64/boot/dts/amlogic/meson-g12a.dtsi   |  22 +
 drivers/iio/temperature/Kconfig               |  11 +
 drivers/iio/temperature/Makefile              |   1 +
 drivers/iio/temperature/meson_tsensor.c       | 416 ++++++++++++++++++
 5 files changed, 481 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/temperature/amlogic,meson-tsensor.txt
 create mode 100644 drivers/iio/temperature/meson_tsensor.c

-- 
2.17.1



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