From patchwork Tue Jun 21 12:39:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 583726 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 C8F2CC43334 for ; Tue, 21 Jun 2022 12:39:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350466AbiFUMjs (ORCPT ); Tue, 21 Jun 2022 08:39:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350463AbiFUMjp (ORCPT ); Tue, 21 Jun 2022 08:39:45 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CC2F26119 for ; Tue, 21 Jun 2022 05:39:43 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id o7so27229133eja.1 for ; Tue, 21 Jun 2022 05:39:43 -0700 (PDT) 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=TyZtZSd5cTSSlPOn3/pu61X0lFqS8ubq/VPK6S5b8ro=; b=Rv/Yqt5L/Omcx8Z4jk+PLWm3p+qCYYlTOiWU4H928xtWMMWnYe6lWQGl6vwZeL3eSF KtmmQP8JAslPyl/TNLCcj2Orv7v4qSudY/6USovJIjwqxi3U/KYIWpD4nVwvfXcnGzxg R6r+aLDpNBtUmmj5Vc2IqoiHL5nwxJLzwBdL0= 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=TyZtZSd5cTSSlPOn3/pu61X0lFqS8ubq/VPK6S5b8ro=; b=hZYyuA522YrCckzkYY59jRxcPdoTd4WZH0PL271tsgtwWpXYqLE0mmqJj3c0nzrUaL G9k0YIpBl11ocKJL6Mb6xMUE48WatK8U04a5fOp/WOZ2iVsb93n2cv4jB9iZAtyi7vV1 rI3audM1r8FONm5RhcOyR9zo9SzYL8CECLy4zquZouoPAaL9LsNqklU+mfTlWiUWe3CH RJXshaeCVsCKja33HiiyVARUZ4GdNERUWrQWDWktMy2dYBy0opp3CnEXV10wlR+n1FB8 qDgP/J5fbX67dV5m6G6evBwQEIN55/ObFLG/YmftEjLeFXitXXr/pGAryifG/xAfEeRi 73EQ== X-Gm-Message-State: AJIora8dE+1a6j3jDweGXVenma437HlpmpC4lro/YsOOHhD8jHdDC+2d 3dVEqnCnnSY2YZOa5L5rwts4RA== X-Google-Smtp-Source: AGRyM1tico6RHxSTDuKq8TfoYMOplNp3NnDhWLGZr7I0mOs1ETwvU6g+HB4Sv95AsVv1Cdv+3MFF0g== X-Received: by 2002:a17:906:7953:b0:722:e8e3:ef67 with SMTP id l19-20020a170906795300b00722e8e3ef67mr49309ejo.199.1655815182051; Tue, 21 Jun 2022 05:39:42 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-80-116-90-174.pool80116.interbusiness.it. [80.116.90.174]) by smtp.gmail.com with ESMTPSA id c19-20020aa7c753000000b004357063bf60sm8003945eds.41.2022.06.21.05.39.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jun 2022 05:39:41 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Dario Binacchi , Michael Trimarchi , Rob Herring , Dmitry Torokhov , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-input@vger.kernel.org Subject: [RESEND PATCH v4 1/6] dt-bindings: input: touchscreen: edt-ft5x06: add report-rate-hz Date: Tue, 21 Jun 2022 14:39:32 +0200 Message-Id: <20220621123937.1330389-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220621123937.1330389-1-dario.binacchi@amarulasolutions.com> References: <20220621123937.1330389-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 Acked-by: Rob Herring --- Changes in v4: - Add Rob Herring 'Acked-by' tag. Changes in v3: - Add hz unit suffix. - Add '|' to description. .../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..46bc8c028fe6 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-hz: + description: | + Allows setting the scan rate in Hertz. + M06 supports range from 30 to 140 Hz. + M12 supports range from 1 to 255 Hz. + minimum: 1 + maximum: 255 + touchscreen-size-x: true touchscreen-size-y: true touchscreen-fuzz-x: true