From patchwork Sun Feb 13 17:15:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 542460 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C5484C433EF for ; Sun, 13 Feb 2022 17:15:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237259AbiBMRP6 (ORCPT ); Sun, 13 Feb 2022 12:15:58 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:38050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237243AbiBMRP6 (ORCPT ); Sun, 13 Feb 2022 12:15:58 -0500 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3332858E5B for ; Sun, 13 Feb 2022 09:15:52 -0800 (PST) Received: by mail-ej1-x631.google.com with SMTP id qk11so12592346ejb.2 for ; Sun, 13 Feb 2022 09:15:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=i1RYgt0bRyM5+K2M0i2x/hO7uPol3JRFphrZi4pLhJE=; b=eDDKPuA0ZIRuuv+Ui4l8NM4SLz3TFkdl8RpCqVxuo/9HKjvHpmpp1QEtLQb9GbOcQC saiSJL+1vTCvsRG+13ab9jRlePInIwGc7+564H+hRhWaFCr8eMJ+zkbWUcnNLv15vUX5 9YabH8RGBRZGYfQmshJ+HjH2DvbkiIlYU4LEs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=i1RYgt0bRyM5+K2M0i2x/hO7uPol3JRFphrZi4pLhJE=; b=WbowHPlSkhZk4O8OpL/ti1iIH3mmPhE8arFP0z4bKlKFeFH9lmsNKnDyDqG6f2bplu EEifzwSuY7CumZHGY9cxukysYf3xYbmLuT3zxDkXi0ss/gigvhdGW9k/UErspHWVbPQy PvmXRgI0/5ygevndikEmNBDXzg98SRyud6UxJipzkvm1gwkqKBB6FJjYvE7bV3Llie0H aSS0uwnx3uqvLgd5vdcb0HxO6kIGxw+ZHY71XOa1YoPQ65lYB1jZb5m3eJ6gfbSn/VZ1 ea7hAGslQSK2XICqhLLQlL82J3TxFlii5e5XdA1DRCQO7f7POvVmXyHK3efCXy5Vh9bY Z6fQ== X-Gm-Message-State: AOAM530kT7ckOMmK7sqc1frIL3W2WIS8+2T7bnFIOmKz1iCQBrZyat/n fgkybyeJiOOlSbsuFtYSxh8k1Q== X-Google-Smtp-Source: ABdhPJzr35wW1sMK5FzxA73gYiBRCu4+lYqZ+2I90LD7agEyCPLVnMjtHEGObv/1ZgCTauKagGCplA== X-Received: by 2002:a17:907:234b:: with SMTP id we11mr8334781ejb.5.1644772550831; Sun, 13 Feb 2022 09:15:50 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-82-52-8-210.retail.telecomitalia.it. [82.52.8.210]) by smtp.gmail.com with ESMTPSA id o10sm6598878ejj.6.2022.02.13.09.15.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Feb 2022 09:15:50 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Dario Binacchi , Michael Trimarchi , Dmitry Torokhov , Rob Herring , Stephan Gerhold , devicetree@vger.kernel.org, linux-input@vger.kernel.org Subject: [PATCH 1/6] dt-bindings: input: touchscreen: edt-ft5x06: add report-rate Date: Sun, 13 Feb 2022 18:15:27 +0100 Message-Id: <20220213171532.346270-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220213171532.346270-1-dario.binacchi@amarulasolutions.com> References: <20220213171532.346270-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org 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 --- .../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..a4cd9bb156b2 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: + description: Allows setting the scan rate. + M06: range from 3 (30 Hz) to 14 (140 Hz). + M12: range from 1 (1 Hz) to 255 (255 Hz). + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 1 + maximum: 255 + touchscreen-size-x: true touchscreen-size-y: true touchscreen-fuzz-x: true