sunxi: THS support
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest5 patches 20 repliesIn review
Changelog from the cover letter
* 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
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | ARM: dts: sun8i: Add SID nodearch/ | +7 | 11 replies | |
| 2/5 | clk: sunxi: Add driver for the H3 THS clockDocumentation/ drivers/ drivers/ | +100 | 3 replies | |
| 3/5 | thermal: Add a driver for the Allwinner THS sensordrivers/ drivers/ drivers/ | +373 | 3 replies | |
| 4/5 | dt-bindings: document sun8i_thsDocumentation/ | +31 | 2 replies | |
| 5/5 | ARM: dts: sun8i: Add THS node to the H3 .dtsiarch/ | +33 | 1 reply |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Rob Herring |
|---|---|
| 1/5 | |
| 2/5 | A-b |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [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
Signature · 1 line
2.4.10