]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: omap: dm816x: Correct pinctrl register
authorAndrew Goodbody <andrew.goodbody@linaro.org>
Thu, 12 Mar 2026 14:16:57 +0000 (14:16 +0000)
committerKevin Hilman <khilman@baylibre.com>
Fri, 13 Mar 2026 00:20:18 +0000 (17:20 -0700)
The declaration in the pinmux device for the pinctrl registers is not
correct. These registers are actually 32 bits wide, not 16. Also the
mask for functional bits is also wrong. Functional bits are 0-4, not
0-3. So the mask needs to changed to 0x1f.

This information is taken from the TMS320DM816x DaVinci
Digital Media Processors Technical Reference Manual.
SPRUGX8C March 2015

Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Reviewed-by: Christopher Obbard <christopher.obbard@linaro.org>
Tested-by: Christopher Obbard <christopher.obbard@linaro.org>
Link: https://patch.msgid.link/20260312-dm816x_dt-v1-1-ed3370b20799@linaro.org
[khilman: fix minor typo: s/delcaration/declaration/]
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm/boot/dts/ti/omap/dm816x.dtsi

index 407d7bc5b13a364548087dd5fb2659286bbd8537..a1e0e904e0f05cd725e71da70bffbde2dd2b2e38 100644 (file)
@@ -94,8 +94,8 @@
                                #address-cells = <1>;
                                #size-cells = <0>;
                                #pinctrl-cells = <1>;
-                               pinctrl-single,register-width = <16>;
-                               pinctrl-single,function-mask = <0xf>;
+                               pinctrl-single,register-width = <32>;
+                               pinctrl-single,function-mask = <0x1f>;
                        };
 
                        /* Device Configuration Registers */