Commit 5e901cec authored by Robert Marko's avatar Robert Marko Committed by Guenter Roeck

dt-bindings: hwmon: sparx5: use correct clock

SparX-5 temperature sensor uses system reference clock and not the AHB bus
clock as indicated by the register information [1].

So, correct the clock description as well the included example.

[1] https://microchip-ung.github.io/sparx-5_reginfo/reginfo_sparx-5.html?select=hsiowrap,temp_sensor,temp_sensor_cfg,clk_cycles_1us

Fixes: f5520753 ("dt-bindings: hwmon: Add Sparx5 temperature sensor")
Signed-off-by: default avatarRobert Marko <robert.marko@sartura.hr>
Acked-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220809112209.241045-1-robert.marko@sartura.hrSigned-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 7f62cf78
......@@ -22,7 +22,7 @@ properties:
clocks:
items:
- description: AHB reference clock
- description: System reference clock
'#thermal-sensor-cells':
const: 0
......@@ -40,5 +40,5 @@ examples:
compatible = "microchip,sparx5-temp";
reg = <0x10508110 0xc>;
#thermal-sensor-cells = <0>;
clocks = <&ahb_clk>;
clocks = <&sys_clk>;
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment