Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1630574ybh; Thu, 23 Jul 2020 13:53:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzpTFgu+/w17XvUFf6sgoOnlq//wk7Kp4BA/b1tNImFW64EzEwLMonOwbpjtKuMeL+K3vmt X-Received: by 2002:a17:906:2b50:: with SMTP id b16mr6370779ejg.410.1595537635685; Thu, 23 Jul 2020 13:53:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595537635; cv=none; d=google.com; s=arc-20160816; b=b1d7uEyT+RA0YS8xhlKuqB6IXpHqLwBpoL7Hk025JkGtL4/rYTK8J6DsaRHlKO7ss1 LA0ugW+v23ULTSlXr6GYESVQucb/FU053UCXvr/zM74TEpyrllbzZpn/ouSl1JhY4MSH 2SWQcH/vz1rNFx3+whZx6MD1rFyhtUF6PrW5HNcRpFMvZJL5pclcYRmgC68nzHNVYyGY A5x92JsZ8ovus/qEMnJ4Er+Dbvi/iPAKPxrgrtNzm4Qrb0Mmb5Tuj8e16gYaatlqPwPq 4LeJbqfs/UHT0zPBCLaMzySan800wSqbrXJ+Ew8BHrembDEqEf+qu4b6lzkQc+Mzutit Z7PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=hcFSk1zoqynrqfpyHJjn5KFl4stE+TWu+6kpqiKw4a8=; b=uhpFSJw4xt3HU4Ts5Bc1QbNk8BjWgRsiwIiAgzlZRBWodjDQ7WxrH4eAOvKHJGzm9M NXOu67tPzWRZt7ZBnAZUtKhJgWSgfXla6fmlXzdkKE0rVoD1Mc1vLUmF0B/xlxatK5E/ Ly/R1m2gE9KFLuJtZVAJQdrvlhXXY9sEA/OdCChTWkLvQRxd/F5+HAhV2Br6OicsdPtZ CAHpqtOLuCgubqFh7jAEM+Ai5YB0P1DPwqp8l4uXnMusZA1Ya85NASzTgOW1H5LF7YN0 1NGiRM6y3M3uXDbWhFONp/+eZOAd0HpA8OqXDjaLUVBaM/gUDZ5y70rNL4T35X3FTt8W ug2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=RMdgF5LZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l13si2132139edv.199.2020.07.23.13.53.32; Thu, 23 Jul 2020 13:53:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=RMdgF5LZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728096AbgGWUur (ORCPT + 99 others); Thu, 23 Jul 2020 16:50:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726046AbgGWUur (ORCPT ); Thu, 23 Jul 2020 16:50:47 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54483C0619D3; Thu, 23 Jul 2020 13:50:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=hcFSk1zoqynrqfpyHJjn5KFl4stE+TWu+6kpqiKw4a8=; b=RMdgF5LZBJN+Q2JKXhCdwoq6MI lHC2E3mTeJpYN2Rfp8vqlq3CcjjTW9w9Lqa+Mex9mY+cL4F/NDFHzeEhHeJXM53PAmFrJhRDT+B2Z ZAV1n5cL9QhDIDkhTF3bs5a2lqKwOaNF51TGkgwc+S+f6B3lpqafkpoelpakn/LyMiovcEe1s8DF3 vSLSnsO6oEbN/O0K2TTKBRPrQiWrNevficXi1Wu+Lny4ZAyKHDpBJCugQFc6DicufZU6gQ9/xRADX FutwXcbei2/Os6/NIExZMVOZ1Dm8BxC6wZ81ZTXfjme13xhewn6hIOZjqXXbAwwAIY2oFu7bw343r DbwQaxyA==; Received: from [2601:1c0:6280:3f0::19c2] by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jyiAs-0003r8-ML; Thu, 23 Jul 2020 20:50:43 +0000 Subject: Re: [PATCH V17 3/3] Input: new da7280 haptic driver To: Roy Im , Uwe Kleine-Koenig , Bartosz Golaszewski , Brian Masney , Dmitry Torokhov , Greg KH , Lee Jones , Luca Weiss , Maximilian Luz , Pascal PAILLET-LME , Rob Herring , Samuel Ortiz , Thierry Reding , Thomas Gleixner Cc: Support Opensource , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org References: From: Randy Dunlap Message-ID: <71818ab8-0020-77db-c412-8d35a541ead3@infradead.org> Date: Thu, 23 Jul 2020 13:50:37 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/23/20 8:01 AM, Roy Im wrote: > diff --git a/drivers/input/misc/Kconfig b/drivers/input/misc/Kconfig > index 362e8a0..06dc5a3 100644 > --- a/drivers/input/misc/Kconfig > +++ b/drivers/input/misc/Kconfig > @@ -869,4 +869,17 @@ config INPUT_STPMIC1_ONKEY > To compile this driver as a module, choose M here: the > module will be called stpmic1_onkey. > > +config INPUT_DA7280_HAPTICS > + tristate "Dialog Semiconductor DA7280 haptics support" > + depends on INPUT && I2C > + select INPUT_FF_MEMLESS > + select REGMAP_I2C > + help > + Say Y to enable support for the Dialog DA7280 haptics driver. > + The haptics can be controlled by I2C communication, > + or by PWM input, or by GPI. Is that GPIO. ? Can the haptics be controlled only by PWM or only by GPI(O)? Just curious: why is I2C required to build the driver if a user is only controlling the device by PWM or GPI? > + > + To compile this driver as a module, choose M here: the > + module will be called da7280. > + > endif thanks. -- ~Randy