]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
arm64: zynqmp: Expose AMS to userspace as HWMON
authorSean Anderson <sean.anderson@linux.dev>
Mon, 12 Aug 2024 21:51:27 +0000 (17:51 -0400)
committerMichal Simek <michal.simek@amd.com>
Wed, 2 Oct 2024 07:21:25 +0000 (09:21 +0200)
commite279e4b2faf81eb5570138eb61f2c8acd95ce893
tree9f6660e251bc7d2ed2fa39c819a5ce25b09805cd
parent7e1ef5ccb0e2c222d716fdac59317d699e500624
arm64: zynqmp: Expose AMS to userspace as HWMON

Expose the AMS to userspace, allowing monitoring of internal voltages
and temperatures. For compatibility, we keep the node name the same as
on the SM-K26, and we keep the ZCU100 Rev C. around (since it is named
differently).

Signed-off-by: Sean Anderson <sean.anderson@linux.dev>
Link: https://lore.kernel.org/r/20240812215129.3599832-3-sean.anderson@linux.dev
Signed-off-by: Michal Simek <michal.simek@amd.com>
arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts
arch/arm64/boot/dts/xilinx/zynqmp.dtsi