| Message ID | 20261005-ast27xx-adc-upstream-v3-3-ef25552d3a59@aspeedtech.com |
|---|---|
| State | New |
| Headers | show |
| Series | iio: adc: aspeed: Fix SCU lookup for multi-SCU AST2700 | expand |
diff --git a/arch/arm64/boot/dts/aspeed/aspeed-g7-soc1.dtsi b/arch/arm64/boot/dts/aspeed/aspeed-g7-soc1.dtsi index bc990f79e693..053673cc4b8e 100644 --- a/arch/arm64/boot/dts/aspeed/aspeed-g7-soc1.dtsi +++ b/arch/arm64/boot/dts/aspeed/aspeed-g7-soc1.dtsi @@ -246,6 +246,7 @@ adc0: adc@14c00000 { clocks = <&syscon1 SCU1_CLK_AHB>; resets = <&syscon1 SCU1_RESET_ADC>; interrupts-extended = <&intc1 80>; + aspeed,trim-syscon = <&syscon1>; #io-channel-cells = <1>; status = "disabled"; }; @@ -256,6 +257,7 @@ adc1: adc@14c00100 { clocks = <&syscon1 SCU1_CLK_AHB>; resets = <&syscon1 SCU1_RESET_ADC>; interrupts-extended = <&intc1 80>; + aspeed,trim-syscon = <&syscon1>; #io-channel-cells = <1>; status = "disabled"; };
Point the ADC nodes at their own syscon1 so the driver can correctly locate the reference-voltage trimming data on AST2700, where syscon0 and syscon1 share the same device-tree node name and would otherwise resolve to the wrong SCU. Assisted-by: LLM Signed-off-by: Billy Tsai <billy_tsai@aspeedtech.com> --- arch/arm64/boot/dts/aspeed/aspeed-g7-soc1.dtsi | 2 ++ 1 file changed, 2 insertions(+)