[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1448263428.git.atx@atx.name>
Date: Mon, 23 Nov 2015 09:02:47 +0100
From: Josef Gajdusek <atx@....name>
To: linux-sunxi@...glegroups.com
Cc: Josef Gajdusek <atx@....name>, linux-clk@...r.kernel.org,
linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, devicetree@...r.kernel.org,
gpatchesrdh@...as.com, mturquette@...aro.org, hdegoede@...hat.com,
sboyd@...eaurora.org, mturquette@...libre.com,
emilio@...pez.com.ar, linux@....linux.org.uk, edubezval@...il.com,
rui.zhang@...el.com, wens@...e.org,
maxime.ripard@...e-electrons.com, galak@...eaurora.org,
ijc+devicetree@...lion.org.uk, mark.rutland@....com,
pawel.moll@....com, robh+dt@...nel.org
Subject: [PATCH v2 0/5] sunxi: THS support
Hello everyone,
this is v2 of my THS patchset
Changelog:
* Some stylistic changes
* devm_reset_control_get_optional -> devm_reset_control_get
* Added the clk-h3-ths clock driver
- Note: A23/A33/A83T do not have a separate clock, H3 seems to be the first
(and only?) SoC with it
- Because of this, I moved the clock init code to the H3-specific init
function.
* Use the nvmem cell abstraction instead of accessing the configuration memory directly
* Use the IRQ line (and fixed incorrect interrupt number in the DTS)
* Renamed to sun8i_ths
Ad the "magical constants": what I meant is that altough the datasheet explains
what they are, it does not explain how to pick their values. "ADC" and "Sensor"
"acquire time" are also not exactly the most helpful descriptions.
Anyway, I changed the values such as the final sampling rate is about 1Hz.
Josef Gajdusek (5):
ARM: dts: sun8i: Add SID node
clk: sunxi: Add driver for the H3 THS clock
thermal: Add a driver for the Allwinner THS sensor
dt-bindings: document sun8i_ths
ARM: dts: sun8i: Add THS node to the H3 .dtsi
Documentation/devicetree/bindings/clock/sunxi.txt | 1 +
.../devicetree/bindings/thermal/sun8i-ths.txt | 31 ++
arch/arm/boot/dts/sun8i-h3.dtsi | 40 +++
drivers/clk/sunxi/Makefile | 1 +
drivers/clk/sunxi/clk-h3-ths.c | 98 ++++++
drivers/thermal/Kconfig | 7 +
drivers/thermal/Makefile | 1 +
drivers/thermal/sun8i_ths.c | 365 +++++++++++++++++++++
8 files changed, 544 insertions(+)
create mode 100644 Documentation/devicetree/bindings/thermal/sun8i-ths.txt
create mode 100644 drivers/clk/sunxi/clk-h3-ths.c
create mode 100644 drivers/thermal/sun8i_ths.c
--
2.4.10
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists