public inbox for linux-pwm@vger.kernel.org
 help / color / mirror / Atom feed
* [REGRESSION] PWM vibrator does not probe with v6.9-rc1
@ 2024-03-28 16:27 Karel Balej
  2024-03-29 10:35 ` [PATCH] pwm: Fix setting period with #pwm-cells = <1> and of_pwm_single_xlate() Uwe Kleine-König
  0 siblings, 1 reply; 5+ messages in thread
From: Karel Balej @ 2024-03-28 16:27 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: regressions, linux-pwm, linux-kernel

Uwe,

I am working on bringing the mainline Linux to my old smartphone. Most
of the changes are not yet in-tree.

The phone has a PWM vibrator for which the corresponding input driver
(pwm-vibrator) is used. The driver used for the PWM is pwm-pxa (or
pxa25x-pwm).

The DT nodes look like this

[...]
	pwm: pwm@1ac00 {
		compatible = "marvell,pxa250-pwm";
		reg = <0x1ac00 0x10>;
		#pwm-cells = <1>;
		clocks = <&apbc PXA1908_CLK_PWM3>;
	};
[...]
	vibrator {
		compatible = "pwm-vibrator";
		pwm-names = "enable";
		pwms = <&pwm 100000>;
		enable-gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
		pinctrl-names = "default";
		pinctrl-0 = <&vibrator_pins>;
	};
[...]

The vibrator worked fine with v6.8-rc6 but after I rebased to v6.9-rc1,
it no longer probes printing

	[  +0.000118] pwm-vibrator vibrator: failed to apply initial PWM state: -22

to dmesg.

I have bisected the problem to 40ade0c2e794 ("pwm: Let the of_xlate
callbacks accept references without period").

Looking at the commit and adjacent history, I don't believe this problem
is caused by this still being an out-of-tree DT, nonetheless, if it
proves to be the case, then I apologize for false alarm.

Would you please take a look?

Thank you and kind regards,
K. B.

#regzbot introduced: 40ade0c2e794

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-03-29 14:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-28 16:27 [REGRESSION] PWM vibrator does not probe with v6.9-rc1 Karel Balej
2024-03-29 10:35 ` [PATCH] pwm: Fix setting period with #pwm-cells = <1> and of_pwm_single_xlate() Uwe Kleine-König
2024-03-29 11:21   ` Karel Balej
2024-03-29 13:24     ` Uwe Kleine-König
2024-03-29 14:09       ` Linux regression tracking (Thorsten Leemhuis)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox