Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1658719imm; Sun, 15 Jul 2018 13:18:20 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcAcs3BvU02XoSA8IM8mbD6yg1rFIYRX1IwTZyc/tMcPWDLzZIHw/8xB52uynJYMss0FHln X-Received: by 2002:a17:902:b58f:: with SMTP id a15-v6mr14276449pls.76.1531685900103; Sun, 15 Jul 2018 13:18:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531685900; cv=none; d=google.com; s=arc-20160816; b=OipyLbjoGoz0Yun1RvfQDx28Uh/alljZ9zR9xibJJgCQna7N8icaJ1kIbFEcPNg4Lw oJ5Mmqr3zar5fzpvGz7weLna6b6awtCmgh1h13pdF2os6kBzIMkKKr1GbH14QIJQk0k/ 707aB2bDNjdLli+owYHwuzmcWhhMXG+t8DyvGuR7kRcwGAZLeMqXcbpUE8ADLk4ksHba AWotdDBoul7/aYJ5rWLSyH0fEByUh1g7vs1vVfuyq/i4z36Wl3LPYscThLxEiSq7BxDg ECHhRfPgaWYiPf5H5in/c17zC/YaWfjXKA3Hi2fbrXf7jR7Fpo+K3qqEBuTgA8mpnKka R8XA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=7/oCesLeZbIFl8kEqKfDU5hRtdXRYucfsM0MhOrTrIQ=; b=jvWMXsLvu/A2IMcTnJ2Blr4BStA/R3asU6LcV4spWnWbYntXQkuakp0JIS+fSVwYNw KI5Q3KCfPAdwMb1ikigKI35Ncz+6IC1CjEWHtqpQ9r6zeAn6gvHABXZ6OpaRQr2MUAnb jYbsYv90hb7gQMoUITWSxgBjcbYBy2CWUjNEm4d7TIUyO4mqvEaxroGs5ukLIcEJXFJf UTXrcixmWAHPfVhafUJUIWUK5VGXvlrsp+0J0E0uvkEu5LIx3JRTvfVvYg6krMVjK+TX s0qJXgqonqmw72tB6bPM+Ctn0Fnwnpcfgbh+QxOZtjWRoogTVokLPQ55+lmhT2Cb5AV9 chOg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r22-v6si11082136pls.37.2018.07.15.13.18.05; Sun, 15 Jul 2018 13:18:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727111AbeGOUlg (ORCPT + 99 others); Sun, 15 Jul 2018 16:41:36 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:47108 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726900AbeGOUlg (ORCPT ); Sun, 15 Jul 2018 16:41:36 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 8631280288; Sun, 15 Jul 2018 22:17:30 +0200 (CEST) Date: Sun, 15 Jul 2018 22:17:29 +0200 From: Pavel Machek To: Tony Lindgren Cc: Sebastian Reichel , kernel list , linux-arm-kernel , linux-omap@vger.kernel.org, nekit1000@gmail.com, mpartap@gmx.net, merlijn@wizzup.org Subject: Re: Vibrations on Droid 4? Message-ID: <20180715201729.GB19675@amd> References: <20180709081534.GA6799@amd> <20180709214910.tes6u4ivxomd3aja@earth.universe> <20180709220211.GA7760@amd> <20180710101147.lyu65ro4czvrs2da@earth.universe> <20180710133040.GA4391@amd> <20180710161123.azym6sbboriuj4yc@earth.universe> <20180711080218.GA21225@amd> <20180711132739.GL99251@atomide.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="H+4ONPRPur6+Ovig" Content-Disposition: inline In-Reply-To: <20180711132739.GL99251@atomide.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --H+4ONPRPur6+Ovig Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed 2018-07-11 06:27:39, Tony Lindgren wrote: > * Pavel Machek [180711 08:05]: > > Hi! > >=20 > > > > Its parent is gpio@4805d000 , and that one seems to be present. > > > >=20 > > > > user@devuan:/sys/bus/platform/devices$ ls 4805d000.gpio > > > > driver driver_override gpio > > > > gpiochip5 modalias of_node power subsystem uevent > > >=20 > > > Sorry, something went wrong with merging this. The parent > > > of ti,omap-dmtimer-pwm and pwm-vibrator should be / and > > > not gpio6. > >=20 > > Ok, got it to probe... after dts fix and adding EPROBE_DEFFER to > > driver. > .. > > --- a/arch/arm/boot/dts/omap4-droid4-xt894.dts > > +++ b/arch/arm/boot/dts/omap4-droid4-xt894.dts > > @@ -159,13 +159,7 @@ > > =20 > > dais =3D <&mcbsp2_port>, <&mcbsp3_port>; > > }; > > -}; > > - > > -&dss { > > - status =3D "okay"; > > -}; > > =20 > > -&gpio6 { > > pwm8: dmtimer-pwm-8 { > > pinctrl-names =3D "default"; > > pinctrl-0 =3D <&vibrator_direction_pin>; > > @@ -192,7 +186,10 @@ > > pwm-names =3D "enable", "direction"; > > direction-duty-cycle-ns =3D <10000000>; > > }; > > +}; > > =20 > > +&dss { > > + status =3D "okay"; > > }; > > =20 > > &dsi1 { >=20 > 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 --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --H+4ONPRPur6+Ovig Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAltLq9kACgkQMOfwapXb+vImRwCgpccOZdn3aiVOwbbDd9pgzxkE KpAAoJXA5B2v9flnKShBMWyr8DEpALqx =eoy2 -----END PGP SIGNATURE----- --H+4ONPRPur6+Ovig--