Re: [PATCH v2 0/2] Add bus clock for t7-thermal sensor
From: Daniel Lezcano
Date: Wed Oct 07 2026 - 10:37:00 EST
On 9/23/26 16:37, Ronald Claveau via B4 Relay wrote:
The t7 thermal sensor requires a bus clock, gating register access toApplied, thanks
the sensor, in addition to the functional clock that is already
described and shared between sensors on other Amlogic SoCs.
This series first extends the devicetree binding to describe this
second clock, making it mandatory only for the t7-thermal compatible
so other SoCs are unaffected, then updates the driver to use the
clk_bulk API instead of a single struct clk, so it can transparently
handle however many clocks a given compatible declares.
`dt_binding_check DT_SCHEMA_FILES=amlogic,thermal.yaml` is ok
CHKDT ./Documentation/devicetree/bindings
warning: python package 'yamllint' not installed, skipping
STYLE ./Documentation/devicetree/bindings
DTEX Documentation/devicetree/bindings/thermal/amlogic,thermal.example.dts
DTC [C] Documentation/devicetree/bindings/thermal/amlogic,thermal.example.dtb
Signed-off-by: Ronald Claveau <linux-kernel-dev@xxxxxxxx>
---