Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3787259iog; Tue, 21 Jun 2022 06:06:52 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vZtwFOA1US8FyhN0EFeLs1vvbpHyJXNkSKYoc3JSxpe+ekBS+9tZMALglUS71PlZ6wNWdc X-Received: by 2002:adf:f503:0:b0:21a:3d9c:b355 with SMTP id q3-20020adff503000000b0021a3d9cb355mr23097886wro.623.1655816812383; Tue, 21 Jun 2022 06:06:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655816812; cv=none; d=google.com; s=arc-20160816; b=z/FXKq7iyWbcg3J/iVqhRgUh2YtG+3ybqe9Aom5eJ8lBTva5USJ4ZC/iNYsPiLtGnX Kx+NzfoSRC2QAxNJoPAycnFsw0LUj95LXVciq0APlob+N6+yJkV/V7N8e9sxh8LshTex a5LU8pzxTNoGStBQpe+0JSJmkdai1laj/NW9cOhdU3N4g5PMLccq6+zh+CwfqzQ2ynJn TIgp4h4d0mUbQ/X+kr1nDpdsWv6Uftkvp9MxzrBdes8ykyXhOELeDRbI83A+zfhfww1F /cEGJ84fMY82fIVGR6K2h5YQLMZuTkpcfCPojmQrgFYinnpWyqiTIEWX8dgNHQmJAUhS rWuQ== 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=fjBt4PhnxyvpQZHwHALGbz1X5a0xwh6G7fjizoTyXiA=; b=WBh+Md0aithOXpNmro9MWRhebedaWHC90AqHT37G16fZyd+aT5XDzhBrq3LlycpuWf w82GTeofkdW+GVo2xSNTzIWpCSx6BtrqNLRNR8zgo0+Pyaaj1A/yAc+Rp/2jRBwcYL+i 2bP/Emp52bTCpoHDXsheMP5zBfgTcG9lWcFdIguydJx3nsKi6hX2KHmZzUgfK16LGrix U9XqI1m9pHgFxJLWHbTCfeTcaA0sgOtnMtsVKv0n6TBvAvxSu+AEP+6XZJNbkQC1siDQ Dahg3oNqX0RzmrW5+U7KR9AojwMrlURHuVyQsVsnshz8m0E0NQCRaQlPkkCqtt+06NaB e9dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=eKK2Ss68; 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=amarulasolutions.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oz10-20020a1709077d8a00b006ff47214f59si15463233ejc.515.2022.06.21.06.06.23; Tue, 21 Jun 2022 06:06:52 -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=eKK2Ss68; 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=amarulasolutions.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350471AbiFUMjq (ORCPT + 99 others); Tue, 21 Jun 2022 08:39:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350258AbiFUMjp (ORCPT ); Tue, 21 Jun 2022 08:39:45 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BF0D24F17 for ; Tue, 21 Jun 2022 05:39:42 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id n20so20428479ejz.10 for ; Tue, 21 Jun 2022 05:39:42 -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=fjBt4PhnxyvpQZHwHALGbz1X5a0xwh6G7fjizoTyXiA=; b=eKK2Ss68RzMEMLLhInjk9Sk5Pa7z7rmuUWKu9+SZnuKWe4qM7gbP73qz0k+0u22niv eb+w5qkIBnVo1/QdYtfmHsGDDIrmRlW2DAgJ+7pL/j29za858EuqL++UQ8CBjFy1fGFi vBi+vixQAS2jVjNwmTUZnFV4Spgf1aqGJgKbM= 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=fjBt4PhnxyvpQZHwHALGbz1X5a0xwh6G7fjizoTyXiA=; b=ivfMVCFJfdD1rjaf2kawGFQ9CXGbQ0K06lOPGKq5OZBRvB6DL3JKpM+P+y1OgnWTaV BfSKlnBfR9lRoXs03pfe3ZdI+z7MaKilyaFIkEPXi5SKC0sjCDRnaPAaHP/fvV9kstF9 X/uwWWDiL9cz97wE+OqJ+BV1zQfoE+UG4AESTrF2NzAgeyErdr3vHJ+S0RRa3P9wU1Xc gOWCuYKuXqgTLtnK1A0MqAO2J0K9C4t+xD8Dqq6DgWDAHPN65sYEE7IfAz5qptisBojU irGqP4xVCtk05WofgLEBIxtF6VaTeLy5f8hW2Ge3COosUfVwyPSalcibo+IxNFSpduix ooJw== X-Gm-Message-State: AJIora+JtaNwRphZwkJ6DXquTnJ9PFzK10Of95J6ctDE95fPXAiCtP4T ekWP0/uSLr+Df1SghEfJbqP07A4qhkjc2g== X-Received: by 2002:a17:906:779a:b0:715:790f:715c with SMTP id s26-20020a170906779a00b00715790f715cmr24274064ejm.707.1655815180886; Tue, 21 Jun 2022 05:39:40 -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.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jun 2022 05:39:40 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Dario Binacchi , Dmitry Torokhov , Krzysztof Kozlowski , Marco Felsch , Michael Trimarchi , Oliver Graute , Rob Herring , devicetree@vger.kernel.org, linux-input@vger.kernel.org Subject: [RESEND PATCH v4 0/6] Input: edt-ft5x06 - Improve configuration Date: Tue, 21 Jun 2022 14:39:31 +0200 Message-Id: <20220621123937.1330389-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 v4: - Add Rob Herring 'Acked-by' tag. Changes in v3: - Add hz unit suffix. - Add '|' to description. - 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