Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2039626pxm; Thu, 24 Feb 2022 14:59:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJzCQgMAcHGgoffO4b2Kez2cUWy14LXLzPj3eQzy5DPwDmXItDrL5i9SeTWEBniTFSpdG1gx X-Received: by 2002:aa7:9911:0:b0:4e1:3a76:96f8 with SMTP id z17-20020aa79911000000b004e13a7696f8mr4929929pff.28.1645743569451; Thu, 24 Feb 2022 14:59:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645743569; cv=none; d=google.com; s=arc-20160816; b=iKE4+w12yEhj7JNJVHWTn/sqIAMgZrJPMnzn1K75amHev7CBiImfbYsx6LQNqHEwVR jOMp0Kjwz8kB6kotJOVkGeWQDUDtn/Bzpf26TIhniN9Z/xP375L1mQ+1rp6iyRxD8CSp PzPTluS4W/mcpRK3Ox6jfe4mx7YtAMh7a+X1H9SGDl90d1+AX8/wmJz+usM7moDQIO4z xcNO8C8dphNhJ9/IGPmDCSjWrQbMKjf6BSdZqsjPYudBk79soSjuNoUKOr8LGNBEZn5x GHjwf2Y2UlkIP0IqTGNRHfWixCvjyh8RKaPYG9f1tIGKCWQZMg8as7+C39qv5lu0/T6L ag4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=/Q++PXwW9clpi7EmUird58cb/RjCfYTbDPWAmQD/krg=; b=MzUsSvbDpQV/56toW1MMvsayktU9R2N9NS+2h4qeGtM+/YVzO7CJe8U3CXh+A/aoxg AyR4lnulD/LEO2eEgz5Ppur14fdUdT/qUYzAdiRJengIldEBbR9BSxQf3c3T5cnsscQt 5B61xzD5w589Tut3rMEG+LrHWLuaMllQ4toM1blH/LtBSd99+qhtpsZIjsZ+EKbgyI5J s+ToltC4Q12G91Xp73il4AbaBvsCUCkre2wnmxMZPXq8dXn36ycvfRg598RPyKKSokrb yfmEZLURR67OzZHbskB/z+08eslbosEqyOct5WSoLJ6lvJQgp6oi6o+2dX6Rtk9pCX9m 3Efg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z7-20020a056a00240700b004f39ab039d6si441697pfh.47.2022.02.24.14.59.13; Thu, 24 Feb 2022 14:59:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S235483AbiBXW21 (ORCPT + 99 others); Thu, 24 Feb 2022 17:28:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235479AbiBXW2Y (ORCPT ); Thu, 24 Feb 2022 17:28:24 -0500 Received: from mail-oi1-f171.google.com (mail-oi1-f171.google.com [209.85.167.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E968F18647B; Thu, 24 Feb 2022 14:27:53 -0800 (PST) Received: by mail-oi1-f171.google.com with SMTP id 12so5378068oix.12; Thu, 24 Feb 2022 14:27:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=/Q++PXwW9clpi7EmUird58cb/RjCfYTbDPWAmQD/krg=; b=NSo23BsF2GcfnuiMY8/Bu9zL5r13ggcTQnCjF85JGFDk1UWLEgPIy68ELSPyxXSOuH eCpbzINZ1A26MdgQX7svi0YMHWVsqSHgMtLwAxzyd8OYTg/vZo3p2P1EgTlwVu4ToueA y4HxyIHJnQJSzDtb5YBNF0y+hLBPMUpqUmHGu9mV6l4x5hh5LyRVa+pAjYw4Y/yWUtpA 0mZqT9P+snQuzeakOI8k7LCmGBS1HMhULNM17/OTjD/+Hj0rsVELfxNXK9d4ioCXd0iv Xc1j5WlTbMo8mLWjYXe/aSsKzqzIzxCx1U98jrtj1vJ4/qC5KJOZ/lhp6LPzSWHA9AYS 0BVQ== X-Gm-Message-State: AOAM5332E/hOu70RSLpCBcoSUYkNAanZLnT7ZgXaO9Zyw18+ycPe6e/B NEhhnSTGSQdDdndZbpmY2Q== X-Received: by 2002:a05:6870:3121:b0:d2:8163:fd04 with SMTP id v33-20020a056870312100b000d28163fd04mr128825oaa.182.1645741673280; Thu, 24 Feb 2022 14:27:53 -0800 (PST) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id l34-20020a9d1ca2000000b005acea92e8absm290399ota.42.2022.02.24.14.27.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Feb 2022 14:27:52 -0800 (PST) Received: (nullmailer pid 3704065 invoked by uid 1000); Thu, 24 Feb 2022 22:27:51 -0000 Date: Thu, 24 Feb 2022 16:27:51 -0600 From: Rob Herring To: Dario Binacchi Cc: linux-kernel@vger.kernel.org, Michael Trimarchi , Dmitry Torokhov , Stephan Gerhold , devicetree@vger.kernel.org, linux-input@vger.kernel.org Subject: Re: [PATCH v2 1/6] dt-bindings: input: touchscreen: edt-ft5x06: add report-rate Message-ID: References: <20220217165559.313366-1-dario.binacchi@amarulasolutions.com> <20220217165559.313366-2-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220217165559.313366-2-dario.binacchi@amarulasolutions.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 17, 2022 at 05:55:53PM +0100, Dario Binacchi wrote: > It allows to change the M06/M12 default scan rate. > > Co-developed-by: Michael Trimarchi > Signed-off-by: Michael Trimarchi > Signed-off-by: Dario Binacchi > --- > > (no changes since v1) > > .../devicetree/bindings/input/touchscreen/edt-ft5x06.yaml | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml b/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml > index 2e8da7470513..aa8517c6f65b 100644 > --- a/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml > +++ b/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml > @@ -85,6 +85,14 @@ properties: > minimum: 0 > maximum: 80 > > + report-rate: Use property unit suffix: report-rate-hz This should probably be moved to touchscreen.yaml as it seems common. > + description: Allows setting the scan rate. > + M06 supports range from 3 (30 Hz) to 14 (140 Hz). You're using 3 or 30 in this case? Should be 30, but it's not clear. I'd just list the range in Hz and leave the conversion detail to the driver. > + M12 supports range from 1 (1 Hz) to 255 (255 Hz). Use '|' if formatting (newline) is significant. > + $ref: /schemas/types.yaml#/definitions/uint32 > + minimum: 1 > + maximum: 255 > + > touchscreen-size-x: true > touchscreen-size-y: true > touchscreen-fuzz-x: true > -- > 2.32.0 > >