Received: by 10.213.65.68 with SMTP id h4csp82062imn; Mon, 26 Mar 2018 15:41:34 -0700 (PDT) X-Google-Smtp-Source: AIpwx48hLrgHDE1+yXqIilFd5O31mYSHj+13c87O+GXcGjUtko/RFE69xzfypQq59sI8dFE5LLi3 X-Received: by 10.98.13.71 with SMTP id v68mr5836505pfi.69.1522104094342; Mon, 26 Mar 2018 15:41:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522104094; cv=none; d=google.com; s=arc-20160816; b=EEcj+ULCDvVQl5iPmSbrZagFnojCuIWtVuCRXQbnmGe9GtdovRxhedDbD6O7QcUtaP HGP67jddQqNap0DAyLnih04X4HJwif4K/tcS/e9ukSSIaq1d0yf0vqhXXSg5OGqQbs4Q eFITH0EFz03VNBZlcMJEwm0rWE24Cs4RYpmx25SN+5LTtQaThGwdw+gaqg9N/yfvOGPF W2E5dsa/4VxWYKaV2hUAfW65ixhYLlcU/EHuTBFsEX/o1E/U2UdB6/ECHRSq/lfhXZD3 xxv+BzRf987riwRW72XKHztGoJGCGW7YtfybKOGR94SfrDJNj4/4yhBHFAG/+Tucj+sg oJKw== 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=Q2KRuBXJ8V8ss2pDeFWqY/uVdL/KUoi1rTaATVOdl3s=; b=ECtiXBTTr5G7qEDwX0eFX9AawSeIvSTakhgdS/y3RVj39oFw3tiuCfI41PTd2kCb7G kp2gmrgjYh2jU+yn+T8K7sAW0XdG8r/vZ45grg4EvEIUgkwUAl4vHFnG+n029AyGiSV4 oYf+OMiYYNPp0MDDEpglEDltk/3Bnp6WGUqUBLrSQYZHCJhJTMymRzXyv3B/LlZLkHG7 7sDbrYltlh7BR9T9BroEdLH2x6xHRjHjnS1YLOPK37QaQJq03EmYrxnfglXpyTMdYOag yow60b72K1Dlk1SmSt8EoNgaE9Ia/exc8FC9ynKdDaMXDzAnvKgYejPjRVy+tXRAxpPZ 1E0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ozKIS+XK; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a17si2840269pff.97.2018.03.26.15.41.20; Mon, 26 Mar 2018 15:41:34 -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=@gmail.com header.s=20161025 header.b=ozKIS+XK; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752610AbeCZWjv (ORCPT + 99 others); Mon, 26 Mar 2018 18:39:51 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:38174 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752360AbeCZWjq (ORCPT ); Mon, 26 Mar 2018 18:39:46 -0400 Received: by mail-pf0-f193.google.com with SMTP id y69so1830203pfb.5; Mon, 26 Mar 2018 15:39:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Q2KRuBXJ8V8ss2pDeFWqY/uVdL/KUoi1rTaATVOdl3s=; b=ozKIS+XKw+bb1Phd9rjaUM2SjNcoop6au2UkBaAKJxGyeumGbeF0DFmGZQz2Kjw+eo 4TK/xtugDDjpi5pI/2IYRy2WOhBF8zlvipvZ6rZtiD+MoEPKXEaVy4J135sEgwsixJj4 2qLx0sPFDZqZ2l7uCu7p7k9g69REs1+qizxM8YowbAwCiyRC3MUppPot5f2TBcdlQifw fVoLsexxcjR494MZf8NzZlnhKYT69urR4/Tuo18td1nFqpTkCzfRgubzvZ+ww3ZWLn49 70X97aiGEIF2VkkJgobPLruIM6OpmPzoWLgXKdmfUry0S8RRrA/4nzk/bd0/dclIZjJ8 yfZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Q2KRuBXJ8V8ss2pDeFWqY/uVdL/KUoi1rTaATVOdl3s=; b=dMFh707m+ov/l760Qcn1KNtiOJ784I2yHu6CCMLo0shrISlIDjxBBfAHPTFvDoNSEs ueXjIN/RyhveqUCsGAOf0kVxoQxnCHeeREXaVOnLy+qWr5GmEX9yXtVd/xfPx6TQhDX1 b+FVEh/yuGh9DQCbkzEQz/Xzjmu0eVoTZeQHoUbIv/tHObzTqjAb+sUnmIakWu9tau8E YL9IPtzPQRE+gWQBV896T6eBm+p3KLNqbI1Oe+hYYxi4AAOnlHr8FdWuPRWFrjhBeXSg Xt4wul7noaR+GR5J3bWqhOYUgXrxA1G4znuiwLUJSSKHO9btczuXl5Ts93+0pAWmrWTj 36XA== X-Gm-Message-State: AElRT7GKuNo+FS8vhtlli0fXY6SMq5Pk4E73J5Hcy84FIZxp7olwPEXC xLquZLr0aKnJrwKS5NO4Hx0= X-Received: by 10.98.223.16 with SMTP id u16mr28063531pfg.146.1522103985805; Mon, 26 Mar 2018 15:39:45 -0700 (PDT) Received: from dtor-ws ([2620:0:1000:1511:8de6:27a8:ed13:2ef5]) by smtp.gmail.com with ESMTPSA id n187sm21271214pfn.8.2018.03.26.15.39.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 26 Mar 2018 15:39:45 -0700 (PDT) Date: Mon, 26 Mar 2018 15:39:43 -0700 From: Dmitry Torokhov To: Rob Herring Cc: Mark Jonas , Mark Rutland , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, hs@denx.de, Zhu Yi Subject: Re: [PATCH] Input: add bu21029 touch driver Message-ID: <20180326223943.GC204225@dtor-ws> References: <1521651874-15379-1-git-send-email-mark.jonas@de.bosch.com> <20180326222426.wbdjlyfy7yyan7fc@rob-hp-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180326222426.wbdjlyfy7yyan7fc@rob-hp-laptop> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 26, 2018 at 05:24:26PM -0500, Rob Herring wrote: > On Wed, Mar 21, 2018 at 06:04:34PM +0100, Mark Jonas wrote: > > From: Zhu Yi > > > > Add the ROHM BU21029 resistive touch panel controller > > support with i2c interface. > > > > Signed-off-by: Zhu Yi > > Signed-off-by: Mark Jonas > > Reviewed-by: Heiko Schocher > > --- > > .../bindings/input/touchscreen/bu21029.txt | 30 ++ > > drivers/input/touchscreen/Kconfig | 12 + > > drivers/input/touchscreen/Makefile | 1 + > > drivers/input/touchscreen/bu21029_ts.c | 456 +++++++++++++++++++++ > > 4 files changed, 499 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/input/touchscreen/bu21029.txt > > create mode 100644 drivers/input/touchscreen/bu21029_ts.c > > > > diff --git a/Documentation/devicetree/bindings/input/touchscreen/bu21029.txt b/Documentation/devicetree/bindings/input/touchscreen/bu21029.txt > > new file mode 100644 > > index 0000000..7b61602 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/input/touchscreen/bu21029.txt > > @@ -0,0 +1,30 @@ > > +* Rohm BU21029 Touch Screen Controller > > + > > +Required properties: > > + - compatible : must be "rohm,bu21029" > > + - reg : i2c device address of the chip > > What the valid value(s)? > > > + - interrupt-parent : the phandle for the gpio controller > > + - interrupts : (gpio) interrupt to which the chip is connected > > + - reset-gpios : gpio pin to reset the chip > > Active high or low? > > > + - rohm,x-plate-ohms : x-plate resistance in ohms > > IIRC, we have a standard touchscreen property for this? I do not think so: it is specific for resistive touchscreens, whereas "standard" touchscreen properties are technology-independent ones (size, rotation, etc). > > > + > > +Optional properties: > > + - touchscreen-max-pressure: maximum pressure value > > + > > +Example: > > + > > + &i2c1 { > > + /* ... */ > > + > > + bu21029: bu21029@40 { > > + compatible = "rohm,bu21029"; > > + reg = <0x40>; > > + interrupt-parent = <&gpio1>; > > + interrupts = <4 IRQ_TYPE_EDGE_FALLING>; > > + reset-gpios = <&gpio6 16 GPIO_ACTIVE_LOW>; > > + rohm,x-plate-ohms = <600>; > > + touchscreen-max-pressure = <4095>; > > + }; > > + > > + /* ... */ > > + }; -- Dmitry