Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1872804imm; Tue, 10 Jul 2018 09:13:22 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcBOYvaCRNonjsu0YyQOde+mKos3aXdWgBbBJ1uMtmjwSXQb4LPH7AdX4HOxK+FDja6SYn4 X-Received: by 2002:a62:170c:: with SMTP id 12-v6mr26235579pfx.139.1531239202102; Tue, 10 Jul 2018 09:13:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531239202; cv=none; d=google.com; s=arc-20160816; b=OQPhPO5leTemaURu7EreFo9h8k/FoOuyDt6EU0hxl/kf93ODttPokICvzEEHSRypwE v3qcycVNvJfBXn7OfCLVM3N38u/ohGE0zqk8kfTFY2Z3MoNTczLOekPBI0xrFEIJXX5s PmabG+ckdC0J5riVw1BY9gHHLU9Pvc1/BP2lpg/04D77ExvPmQCoyrWXJRp3K9UIv1L1 4Y/IzYoXpmYeJKRiLj32A+iTFTYQQcrIM4GCXIh/3uBSLW3IiYF3fmUTsFj8seJTiMAI E4omBT0N2lueq9Hxb7gwa/R+X92/3Tr13PUt4pFkKTA17Ks76Tr1HMs0AXGu1gFrtnrq 4S4g== 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:dkim-signature:arc-authentication-results; bh=i7SiQO/0vSxH5W1dZqV3qqzuFSR1q3IOJ8xuhqE8sbw=; b=LvIqh9KMgFJaGpzJ2SgJwea5FokBsbsjQ2rAf3aLzKKxbNcnBH1pjZYhVl1BFZWuPd eGFECh1xeLDiYimli/1wMJ+SiMg6Oou6O2w9KuATCDZugbFLVpIjXgGJaUNsdeDbxyY1 LZ0KFXie9V+GctNyWcbHhevnd8Uge3ogQI2Sd7vSjN4N5+hfc6BDjrKfAY/W8ly2gGae uDWOSgf266QodldYTi3ePUnB8pjLK24j9srYwzlM9P7SIrtCsYfh85IamUQr/sEOqmJO QvQC/GQesi/B1u0xEe8gJlMME8PrgrT0NFwBeo4xxChJoRI/0jzjs/MlmbAvVamURgB9 eeww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MeuIa0rU; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y10-v6si16800117plp.5.2018.07.10.09.13.06; Tue, 10 Jul 2018 09:13:22 -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; dkim=pass header.i=@kernel.org header.s=default header.b=MeuIa0rU; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934515AbeGJQL1 (ORCPT + 99 others); Tue, 10 Jul 2018 12:11:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:56270 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934326AbeGJQL0 (ORCPT ); Tue, 10 Jul 2018 12:11:26 -0400 Received: from mail.kernel.org (host-091-097-077-058.ewe-ip-backbone.de [91.97.77.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id AFB3D208EB; Tue, 10 Jul 2018 16:11:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1531239086; bh=dYV7IxwgWZrzHnh51CLlnN0eprKWCMENF4c8YRjOh3o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MeuIa0rU19F3C2jq+Gsgohy+iXm+/MiMZINhCMGGUG0912HEyyAzOkQkusDrxR/ZK S+h6YplyYnt/YIJ69t8eqsPQ4SCIk+6ReAZf4U/Kzr9ihViscjS9+TpuwX2vtwCjff zHdyDlVFXki2m2YAkkoMbIZPczzyev/Um0HnvuWY= Date: Tue, 10 Jul 2018 18:11:23 +0200 From: Sebastian Reichel To: Pavel Machek Cc: kernel list , linux-arm-kernel , linux-omap@vger.kernel.org, tony@atomide.com, nekit1000@gmail.com, mpartap@gmx.net, merlijn@wizzup.org Subject: Re: Vibrations on Droid 4? Message-ID: <20180710161123.azym6sbboriuj4yc@earth.universe> References: <20180709081534.GA6799@amd> <20180709214910.tes6u4ivxomd3aja@earth.universe> <20180709220211.GA7760@amd> <20180710101147.lyu65ro4czvrs2da@earth.universe> <20180710133040.GA4391@amd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pjjdrvyvlornavbl" Content-Disposition: inline In-Reply-To: <20180710133040.GA4391@amd> User-Agent: NeoMutt/20180512 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --pjjdrvyvlornavbl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Tue, Jul 10, 2018 at 03:30:40PM +0200, Pavel Machek wrote: > On Tue 2018-07-10 12:11:47, Sebastian Reichel wrote: > > On Tue, Jul 10, 2018 at 12:02:11AM +0200, Pavel Machek wrote: > > > > > Do you have vibrations on d4 working? > > > > > I believe I have required drivers enabled, but no luck: > > > > >=20 > > > > > user@devuan:/sys/bus/platform/drivers$ ls pwm-vibrator/ > > > > > bind uevent unbind > > > > > user@devuan:/sys/bus/platform/drivers$ ls omap-dmtimer-pwm/ > > > > > bind uevent unbind > > > >=20 > > > > Have you checked probe deferrals? > > >=20 > > > Not really. Is there easier way to do that than adding printks in the > > > probe function? (I can go through dmesg tommorow). > >=20 > > Option 1: https://lkml.org/lkml/2018/7/8/63 >=20 > I tried this methodq, and no luck. >=20 > static int pwm_omap_dmtimer_probe(struct platform_device *pdev) >=20 > does not seem to be called. >=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 Sorry, something went wrong with merging this. The parent of ti,omap-dmtimer-pwm and pwm-vibrator should be / and not gpio6. -- Sebastian --pjjdrvyvlornavbl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAltE2qcACgkQ2O7X88g7 +prmDQ//fYdOhiJKqNKfdACiTKu/H8MJNIAbY3eT9V8YGglfH22NMK3SE2MScY++ qROZl4+VxGSjgci0juNFOnQYf7hoEyzCgeI6Uftmbbd4XI0ZtdzvHY5ldyaw/jqN SJMarTieF9nZgiNyxOrtxxeMb3KCqdU9BipGuwq+0vvT0+hGDMLYMTFl4DT6+pQA m6BhYFIiqyU43mKYW2WQ/CpOvMlJ+e6TAhODX8vhfC789H+LB2CHdHEF+sJLcz1i ZueD1LNByGinubSworcsppqCmYN/sKj4x8SI8UYTaD+pmQ4uXmTC4n5DT5cGkwwY 4zPhd+lASWAxB0NRlNQHbSAiw8KC0w09jYhnJn9wRVXSww3/4Gcx+5HLigflh+KE /6iYD9f/wcAj2+f9y+7GmLud95aYnAGbma0jLhAniZQ55adP3IUJjMlmKvQvpie3 l1y3qFE8YnlVIEsNo9AbDQKZWj+f1TzS9nj4sIht8AmJrOwfIiJUF4/u8reGlBca r7EVdW6cU4wDi/XNsqASJbghapON4maesfNDYZZbj4egbbDL7OXQ6mp9vLz4Kr3F +wF5oK/JguVGjKSNCDB2+lmcH4RReDC6pPFwD94HyLLdv3VseucPQ6BoOwA6zNzK l+0PuBjzD4FY1Yadb+Ktv8c+i3683wX3t27B2A/da7sEt0NgUP4= =+Uy2 -----END PGP SIGNATURE----- --pjjdrvyvlornavbl--