]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: imx6qdl-sr-som-ti: use fixed-clock instead of clock-frequency
authorFrank Li <Frank.Li@nxp.com>
Mon, 2 Feb 2026 19:43:24 +0000 (14:43 -0500)
committerFrank Li <Frank.Li@nxp.com>
Mon, 6 Apr 2026 01:35:05 +0000 (21:35 -0400)
Replace the clock-frequency property with a fixed-clock providing the
32kHz input to the gpio-gate-clock.

Fix the following CHECK_DTBS warning:
  ti-wifi-clock (gpio-gate-clock): 'clock-frequency' does not match any of the regexes: '^pinctrl-[0-9]+$'

Signed-off-by: Frank Li <Frank.Li@nxp.com>
arch/arm/boot/dts/nxp/imx/imx6qdl-sr-som-ti.dtsi

index cd1e682f11add204f373b54b7ad90909fa6bfb5d..8192344d529462b7ee0a926e8650cdb316457961 100644 (file)
 #include <dt-bindings/gpio/gpio.h>
 
 / {
+       clk32k: clock-32k {
+               compatible = "fixed-clock";
+               clock-frequency = <32768>;
+               #clock-cells = <0>;
+       };
+
        nvcc_sd1: regulator-nvcc-sd1 {
                compatible = "regulator-fixed";
                regulator-always-on;
@@ -58,7 +64,7 @@
                 */
                compatible = "gpio-gate-clock";
                #clock-cells = <0>;
-               clock-frequency = <32768>;
+               clocks = <&clk32k>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_microsom_ti_clk>;
                enable-gpios = <&gpio5 5 GPIO_ACTIVE_HIGH>;