From: Talel Shenhar <talel@amazon.com>
To: talel@amazon.com, robh@kernel.org, edubezval@gmail.com,
dwmw@amazon.co.uk, jonnyc@amazon.com, rui.zhang@intel.com,
hhhawa@amazon.com, ronenk@amazon.com, hanochu@amazon.com,
linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org,
mark.rutland@arm.com, devicetree@vger.kernel.org
Subject: [PATCH v2 0/2] Amazon's Annapurna Labs Thermal Sensor Driver
Date: Thu, 4 Apr 2019 13:16:54 +0300 [thread overview]
Message-ID: <1554373016-1442-1-git-send-email-talel@amazon.com> (raw)
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
next reply other threads:[~2019-04-04 10:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-04 10:16 Talel Shenhar [this message]
2019-04-04 10:16 ` [PATCH v2 1/2] dt-bindings: thermal: al-thermal: Add binding documentation Talel Shenhar
2019-04-10 14:10 ` Rob Herring
2019-04-04 10:16 ` [PATCH v2 2/2] thermal: Introduce Amazon's Annapurna Labs Thermal Driver Talel Shenhar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1554373016-1442-1-git-send-email-talel@amazon.com \
--to=talel@amazon.com \
--cc=devicetree@vger.kernel.org \
--cc=dwmw@amazon.co.uk \
--cc=edubezval@gmail.com \
--cc=hanochu@amazon.com \
--cc=hhhawa@amazon.com \
--cc=jonnyc@amazon.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=robh@kernel.org \
--cc=ronenk@amazon.com \
--cc=rui.zhang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).