| From: |
| Talel Shenhar <talel-AT-amazon.com> |
| To: |
| <talel-AT-amazon.com>, <robh-AT-kernel.org>, <edubezval-AT-gmail.com>, <dwmw-AT-amazon.co.uk>, <jonnyc-AT-amazon.com>, <rui.zhang-AT-intel.com>, <hhhawa-AT-amazon.com>, <ronenk-AT-amazon.com>, <hanochu-AT-amazon.com>, <linux-kernel-AT-vger.kernel.org>, <linux-pm-AT-vger.kernel.org>, <mark.rutland-AT-arm.com>, <devicetree-AT-vger.kernel.org> |
| Subject: |
| [PATCH v2 0/2] Amazon's Annapurna Labs Thermal Sensor Driver |
| Date: |
| Thu, 4 Apr 2019 13:16:54 +0300 |
| Message-ID: |
| <1554373016-1442-1-git-send-email-talel@amazon.com> |
| Archive-link: |
| Article |
This series introduces support for Amazon's Annapurna Labs Thermal Sensor
based on a new simple MMIO thermal driver. This driver is intended to be
used by other devices as well, which require just a simple MMIO access to
read temperature.
Changes since v1:
==================
- removed the "thermal_mmio" compatible string. With v2 version, only
specific hardware can bound
- add initialization function that is mapped based on the specific binding
string
- removed thermal_mmio_readl and thermal_readw, but kept mmio reads in
callback function. Left only thermal_mmio_reab which is used by
al-thermal
- removed divider, bias, width which are not needed for al-thermal.
Talel Shenhar (2):
dt-bindings: thermal: al-thermal: Add binding documentation
thermal: Introduce Amazon's Annapurna Labs Thermal Driver
.../bindings/thermal/amazon,al-thermal.txt | 33 ++++++
MAINTAINERS | 6 +
drivers/thermal/Kconfig | 10 ++
drivers/thermal/Makefile | 1 +
drivers/thermal/thermal_mmio.c | 129 +++++++++++++++++++++
5 files changed, 179 insertions(+)
create mode 100644 Documentation/devicetree/bindings/thermal/amazon,al-thermal.txt
create mode 100644 drivers/thermal/thermal_mmio.c
--
2.7.4