Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3186734pxp; Mon, 14 Mar 2022 12:51:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTK8FOyUH7m9atMBoSmdEOBil6WFNQNEMIsJMRY8PpS+/JF++jPR8z/YExZYwGHfkwHLoD X-Received: by 2002:a17:907:1c0a:b0:6da:7ac4:5349 with SMTP id nc10-20020a1709071c0a00b006da7ac45349mr20010277ejc.596.1647287465267; Mon, 14 Mar 2022 12:51:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647287465; cv=none; d=google.com; s=arc-20160816; b=UzdSX3Hmk39BPFPBM+eVghgBVuEisAhUxWyIuqg9xcdj2Dtnl3chowaJoCg95l6sQX xeyaQV9rkJVVi7A2oyONoGvrxZIG3p+coXac08x+3ow4br0uGAH9wFNqUOGZ0YAEEHhP 5ht5DSM1bEsaKKG3xttN1kdw33YD9pHKScIzEihs23EjvB17Imk50+PAnaaaEm1pBWF+ OJuWCGxgQWQt7TjWkMno8lxLjjZqWi8bCX1mQq9r2tMPzZUENtX86DuixICMC+EDRwrY qmKw8WvyUanGRZlh9ao8T8D2hTvaPZk6nOLBhj/FJY+cbvtajwkJNY49AdGS6M5ebIKd AdSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=RsYMm6yDzAg/+Yh+dNaABewzSTjIvrbPi3LLKKyRQvg=; b=XC+3AEHYgBJ459aWq+lIalsOt8tL4/G46gX8cBR/pfp9XzIOY74/A+7P01VXujBHU8 bMsDPYCo6JxMHlyPL0ORxRFXFCB2lSM9dEfih2GuBBkVCbh2tR9dMYmljTCud+FaGWdx J0XgXFK5n7Qqg3kHhhJEg1iRWmiCKs0NxHvhtVYlKNn+fqXhTmIGBFraFjHv6EbT8z27 wHayqETc9ulhc8j5pUgNRk/gRgSwaBQN7qHJd9ybO81zudAgcS8SuQhKM6crjw90qBso THhzvnCxrD3tXuSdgLrlEue8nB0syA5pchljJ+OTA8tft0AxWlWLhY0t6fKufhC/NVzY Wi5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=n1wOpGeT; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jt17-20020a170906ca1100b006b31c3265a2si9182654ejb.242.2022.03.14.12.50.40; Mon, 14 Mar 2022 12:51:05 -0700 (PDT) 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; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=n1wOpGeT; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235050AbiCMQga (ORCPT + 99 others); Sun, 13 Mar 2022 12:36:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235036AbiCMQg0 (ORCPT ); Sun, 13 Mar 2022 12:36:26 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BC4C11A0B for ; Sun, 13 Mar 2022 09:35:15 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id p15so29144463ejc.7 for ; Sun, 13 Mar 2022 09:35:15 -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:mime-version :content-transfer-encoding; bh=RsYMm6yDzAg/+Yh+dNaABewzSTjIvrbPi3LLKKyRQvg=; b=n1wOpGeTOgXBPKiHGCOffT9Af5Qxo2tL1Nx6Nme3v5idj5BmBazNL0s+qEAboFzRyX zM7RyyknU43kNR4UM10/WIDEcv31FmMkD9Y5N35FRvwBnUkwaY+3xfHtjpwfE9LD4leS +PeeDgKb4UDIsmBXK/lOd/KgdcPkt+XGJQjXU= 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:mime-version :content-transfer-encoding; bh=RsYMm6yDzAg/+Yh+dNaABewzSTjIvrbPi3LLKKyRQvg=; b=kqK8xReDy2FXxR/yBZHGiX+Y83C2lng/eaXHlCoY/JFFIuR8C2DdR7N7U431p3sDE/ ritoEawjcfUWnTbLGfCDk0Wrtu76II7Ezx8lc84vQXL6WJUB7fg79psRw+TT+2W1lier ntPpYlmcdWhexnuS58cKWVgn8u6L67hYst1wH0/+31esi8J1dYQfbqMZfjNw6xVqCKr4 7TJxc6FNioOtA5e6bOmL3qLcvTSQ6PvfNhdR4RMVGRMcW48cIk7SqZJXpDuQ5oOYPKeg hVdtuPvvZFCMGxOlLwNg6wqDV2tVKh1oFIg88qlyDXjqLFkJ1kO2a5HtqsoMpvGp782M s8CQ== X-Gm-Message-State: AOAM532k7ElmfcHNF8Ztug2H5SFMLKMep91iem6Qsa231MyuI9V0qXdk 0Rjlf7wN2KoiCHYBKPQBecSCt0M/ltbkNA== X-Received: by 2002:a17:906:c08a:b0:6ce:36f8:bfe8 with SMTP id f10-20020a170906c08a00b006ce36f8bfe8mr15927929ejz.52.1647189313605; Sun, 13 Mar 2022 09:35:13 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-87-0-15-73.retail.telecomitalia.it. [87.0.15.73]) by smtp.gmail.com with ESMTPSA id qt22-20020a170906ecf600b006da6ef9b820sm5725028ejb.112.2022.03.13.09.35.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Mar 2022 09:35:13 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Dario Binacchi , Dmitry Torokhov , Marco Felsch , Michael Trimarchi , Oliver Graute , Rob Herring , Stephan Gerhold , devicetree@vger.kernel.org, linux-input@vger.kernel.org Subject: [PATCH v3 0/6] Input: edt-ft5x06 - Improve configuration Date: Sun, 13 Mar 2022 17:34:57 +0100 Message-Id: <20220313163503.5183-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 The series was born from the analysis and mitigation of a crc problem raised by an M06 type device. The added sysfs attributes were helpful in debugging the problem. Patches that change the report rate on driver probing, mitigated crc errors on kernel bootup. The patch to get/set report rate by sysfs for an M12 device, has been tested. Changes in v3: - Add hz unit suffix to report-rate dts property. - Add '|' to report-rate-hz description in the yaml document. - Check the lower and upper limits of the report-rate-hz value - Convert the M06 report-rate-hz value Changes in v2: - Add Oliver Graute's 'Acked-by' tag to: * Input: edt-ft5x06 - show model name by sysfs * Input: edt-ft5x06 - show firmware version by sysfs - Fix yaml file. Tested with `make DT_CHECKER_FLAGS=-m dt_binding_check'. Dario Binacchi (6): dt-bindings: input: touchscreen: edt-ft5x06: add report-rate-hz Input: edt-ft5x06 - get/set M12 report rate by sysfs Input: edt-ft5x06 - set report rate by dts property Input: edt-ft5x06 - show model name by sysfs Input: edt-ft5x06 - show firmware version by sysfs Input: edt-ft5x06 - show crc and header errors by sysfs .../input/touchscreen/edt-ft5x06.yaml | 8 ++ drivers/input/touchscreen/edt-ft5x06.c | 103 ++++++++++++++++-- 2 files changed, 103 insertions(+), 8 deletions(-) -- 2.32.0