Vibrations on Droid 4?
From: Pavel Machek <hidden>
Date: 2018-07-15 20:17:35
Also in:
linux-omap, lkml
On Wed 2018-07-11 06:27:39, Tony Lindgren wrote:
* Pavel Machek [off-list ref] [180711 08:05]:quoted
Hi!quoted
quoted
Its parent is gpio at 4805d000 , and that one seems to be present. user at devuan:/sys/bus/platform/devices$ ls 4805d000.gpio driver driver_override gpio gpiochip5 modalias of_node power subsystem ueventSorry, something went wrong with merging this. The parent of ti,omap-dmtimer-pwm and pwm-vibrator should be / and not gpio6.Ok, got it to probe... after dts fix and adding EPROBE_DEFFER to driver...quoted
--- a/arch/arm/boot/dts/omap4-droid4-xt894.dts +++ b/arch/arm/boot/dts/omap4-droid4-xt894.dts@@ -159,13 +159,7 @@ dais = <&mcbsp2_port>, <&mcbsp3_port>; }; -}; - -&dss { - status = "okay"; -}; -&gpio6 { pwm8: dmtimer-pwm-8 { pinctrl-names = "default"; pinctrl-0 = <&vibrator_direction_pin>;@@ -192,7 +186,10 @@ pwm-names = "enable", "direction"; direction-duty-cycle-ns = <10000000>; }; +}; +&dss { + status = "okay"; }; &dsi1 {Hmm sorry if I did a mismerge on the above. A note to myself to stop applying patches that apply with fuzz, that is clearly dangerous with dts files with lots of similar named properties.
Yep, so I have two patches that make the device appear, but vibrations still do not work for me. a) any ideas how to debug that / get them to work? b) do you want the patches anyway? Regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180715/ae318d0b/attachment.sig>