mbox series

[0/3] arm64: zynqmp: Add thermal zones

Message ID 20240812215129.3599832-1-sean.anderson@linux.dev (mailing list archive)
Headers show
Series arm64: zynqmp: Add thermal zones | expand

Message

Sean Anderson Aug. 12, 2024, 9:51 p.m. UTC
At the moment, the ZynqMP Analog Monitoring System (AMS) is only used
sporadically. As it is built into the SoC and doesn't depend on external
hardware, it can be exposed to userspace for all boards. Additionally,
we can use it to implement thermal zones.


Sean Anderson (3):
  arm64: zynqmp: Enable AMS for all boards
  arm64: zynqmp: Expose AMS to userspace as HWMON
  arm64: zynqmp: Add thermal zones

 .../boot/dts/xilinx/zynqmp-sm-k26-revA.dts    |  18 ----
 .../boot/dts/xilinx/zynqmp-zcu100-revC.dts    |   4 -
 .../boot/dts/xilinx/zynqmp-zcu102-revA.dts    |   4 -
 .../boot/dts/xilinx/zynqmp-zcu104-revA.dts    |   4 -
 .../boot/dts/xilinx/zynqmp-zcu104-revC.dts    |   4 -
 arch/arm64/boot/dts/xilinx/zynqmp.dtsi        | 101 +++++++++++++++++-
 6 files changed, 100 insertions(+), 35 deletions(-)

Comments

Michal Simek Oct. 2, 2024, 10:46 a.m. UTC | #1
On 8/12/24 23:51, Sean Anderson wrote:
> At the moment, the ZynqMP Analog Monitoring System (AMS) is only used
> sporadically. As it is built into the SoC and doesn't depend on external
> hardware, it can be exposed to userspace for all boards. Additionally,
> we can use it to implement thermal zones.
> 
> 
> Sean Anderson (3):
>    arm64: zynqmp: Enable AMS for all boards
>    arm64: zynqmp: Expose AMS to userspace as HWMON
>    arm64: zynqmp: Add thermal zones
> 
>   .../boot/dts/xilinx/zynqmp-sm-k26-revA.dts    |  18 ----
>   .../boot/dts/xilinx/zynqmp-zcu100-revC.dts    |   4 -
>   .../boot/dts/xilinx/zynqmp-zcu102-revA.dts    |   4 -
>   .../boot/dts/xilinx/zynqmp-zcu104-revA.dts    |   4 -
>   .../boot/dts/xilinx/zynqmp-zcu104-revC.dts    |   4 -
>   arch/arm64/boot/dts/xilinx/zynqmp.dtsi        | 101 +++++++++++++++++-
>   6 files changed, 100 insertions(+), 35 deletions(-)
> 

Applied.
M