Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp671142ybb; Wed, 1 Apr 2020 07:39:37 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvqJF9s9bMV3oOx3voM09P2X3cct8sM6/JUsmwXDqMBbDjOdnwrIDQ5REhYOd1kX/ZtHLiL X-Received: by 2002:a05:6830:22e8:: with SMTP id t8mr7804464otc.48.1585751977840; Wed, 01 Apr 2020 07:39:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585751977; cv=none; d=google.com; s=arc-20160816; b=z7XsqZWq+ls37/CfXewjbNjTVeuuwkbfEgb+3RdL+lCTEjBTExomgzvi78tKp9cyNz HJFbqyW4ZnFa1JgcUPCFxxsuTflxK2LR2nPEVw1fFBvp624L4NyVwMTq36S6Zee49UbJ kc3JAqjqI9fpzwLNRp3sLiCgSUV+Q0BBjm09I8rdfVw7IPV5cmVUccFpNVsQYYgP29tD jMV1kEPYA2P7Pht8pigybwlu+4f4+wwO+p2bTa+G0XJS1oA0kQ9z9PvAS39KO0DBeGsI WaAFn9tgkZ4+Ih+N2zgF68aAQ1w34q7GBcDqqzeNuCzS6/yebynJT470yZH9dXtd060x GGLA== 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=6ms88Fagr1+fPi3uSiQm0/UTpXQVGW/BeEu2iATuEKU=; b=Qj4bdYisCoveuxa1TmEjp1qDodS1rXKTQgQ4HrnVI/nK4fJ1XmraPInivuh7S/rd2r 3X1aXtYdJ1tD8bGwzVYWj+GD3zrbqcEZQe5N+Mhtw9gy1nT4wDhXTGDlQaSZAOiFN3Gn K1djTVopzZDLXghDuq+i50B8Vzrq5M1n7dZ0RCcbU9pCtSW46DfXlfju6Ljxm4kSMovC /6tx5e/9Gku8ZoKSF9v5IXcuJVp6kTefnPlTwAepVFP+EkLJKXmcYEheaxJ0x0XGwqeq fNiKFRrPKD+vbD6Mm4kuhNUYxZGpZQA6Q16b9U1zEpcVgPmj3fMN+wxHlv1lO3SF5ySW ulBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DYE9DTbz; 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 a128si988132oif.202.2020.04.01.07.39.24; Wed, 01 Apr 2020 07:39:37 -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=DYE9DTbz; 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 S1733032AbgDAOjC (ORCPT + 99 others); Wed, 1 Apr 2020 10:39:02 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:46859 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732791AbgDAOjC (ORCPT ); Wed, 1 Apr 2020 10:39:02 -0400 Received: by mail-lf1-f67.google.com with SMTP id q5so20649477lfb.13; Wed, 01 Apr 2020 07:39:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=6ms88Fagr1+fPi3uSiQm0/UTpXQVGW/BeEu2iATuEKU=; b=DYE9DTbzBSe5rlV3aXuF8hXHYDR+LUvProqQENESdWtbnF0+OkSU2I7+iJ0VDBJomE wZDM7UlNbbAJ8WCKj4pO/N1FFC8ioMwbNRIzGq6TLyf6HTubSRMwFjA4oIJgVoyj/UrB V36ZftMWmlTMIPkA9dvVFmQ2IQGcC5D0gdB1Oy9cYQrrQqRZ9uyZQZ08zCggyJdEONjb 7BhCtEsm8K4UVWWxPITlnlf9hpAoRBNhyhF9fl+MibQOBhS6GcD5cGMhlrdYBYARCBmC alo1cuWhfbNYtWoJo99iHm9wONJGQ0oc70oy310JpGpU7/b1Oly1BrhAOlujKYTL2xE8 4Dyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=6ms88Fagr1+fPi3uSiQm0/UTpXQVGW/BeEu2iATuEKU=; b=hRaIPId4Tkudgc1vN2IC5zFpo1RshWDX7mh/VutCt6OxGFlIwR6HqK52QabjHJHNTN 1z7HN9IMqrcCQi2LLQ+CX7xMHxHzXIHvlZwoBpEKESZ7yV7bmCovia2axLze/ZitEHMD l8JulOKpg541kKXyhft1xvT2XzMFwO+sJzpGhkDhZquLyyxz9UdLNqVhapwZLW8nad4c qYidenRTqwSfmFMprxtw+szUhVLDwGsitT3h92mzNumeYmgmhGMF069xj1CQH9hyUQ4B CVY0/1DRH9b6i+OaeFB9VN19DLkv02El8tjjIbGip4H1/cSXSrk48GI2De5zOuR+1/sA 1I5w== X-Gm-Message-State: AGi0PubaCgAzguYbQ6L06aSfREYD5kkiPI0J9/5zBGenesC7FpPmojAN 9yeQrNGiN8WBJ8j7L2G9ggM= X-Received: by 2002:a19:ee09:: with SMTP id g9mr15143581lfb.11.1585751939484; Wed, 01 Apr 2020 07:38:59 -0700 (PDT) Received: from [192.168.2.145] (ppp91-78-208-152.pppoe.mtu-net.ru. [91.78.208.152]) by smtp.googlemail.com with ESMTPSA id h16sm1303197ljl.73.2020.04.01.07.38.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 01 Apr 2020 07:38:58 -0700 (PDT) Subject: Re: [PATCH v10 43/55] dt-bindings: input: atmel: support to set max bytes transferred To: Jiada Wang , nick@shmanahar.org, dmitry.torokhov@gmail.com, jikos@kernel.org, benjamin.tissoires@redhat.com, bsz@semihalf.com Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, erosca@de.adit-jv.com, Andrew_Gabbasov@mentor.com References: <20200331105051.58896-1-jiada_wang@mentor.com> <20200331105051.58896-44-jiada_wang@mentor.com> From: Dmitry Osipenko Message-ID: Date: Wed, 1 Apr 2020 17:38:57 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200331105051.58896-44-jiada_wang@mentor.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 31.03.2020 13:50, Jiada Wang пишет: > Add support to set max bytes transferred in an i2c transaction > > Signed-off-by: Jiada Wang > --- > Documentation/devicetree/bindings/input/atmel,maxtouch.txt | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/input/atmel,maxtouch.txt b/Documentation/devicetree/bindings/input/atmel,maxtouch.txt > index 126266891cdc..37a798cab0dd 100644 > --- a/Documentation/devicetree/bindings/input/atmel,maxtouch.txt > +++ b/Documentation/devicetree/bindings/input/atmel,maxtouch.txt > @@ -45,6 +45,8 @@ Optional properties for main touchpad device: > > - atmel,input_name: Override name of input device from the default. > > +- atmel,mtu: Maximum number of bytes that can read/transferred in an i2c transaction > + > Example: > > touch@4b { > @@ -52,4 +54,5 @@ Example: > reg = <0x4b>; > interrupt-parent = <&gpio>; > interrupts = ; > + atmel,mtu = <200> > }; > Is this a software (firmware) limitation which varies from version to version? If the limitation is per-hardware version, then perhaps should be better to have a hardcoded per-hardware table of limits in the driver?