From patchwork Thu Feb 17 16:55:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 543531 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 DB8F1C433FE for ; Thu, 17 Feb 2022 16:56:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243468AbiBQQ4V (ORCPT ); Thu, 17 Feb 2022 11:56:21 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:57588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230028AbiBQQ4V (ORCPT ); Thu, 17 Feb 2022 11:56:21 -0500 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F2AF2B356B for ; Thu, 17 Feb 2022 08:56:05 -0800 (PST) Received: by mail-ej1-x636.google.com with SMTP id k25so8742177ejp.5 for ; Thu, 17 Feb 2022 08:56:05 -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:mime-version :content-transfer-encoding; bh=X8eXZNrFFHAWkiQ5+tXhP7f4uollds+AL1jwIVekCuU=; b=bI+UATg0tE4/Gkr3cqjYageoYSoGeKk5faPV5PUER65RTUL1poIOHCtyeOE3ao6aRy himMFeDmCgHg6n90KTDJTQKE2WKWPAM0ykFen/46sqa/fGLaP2rOVmnejHRZj4LzQBq2 CoRvThua47IS3+b40vhVMC3KNcd7RaHO8BQoU= 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=X8eXZNrFFHAWkiQ5+tXhP7f4uollds+AL1jwIVekCuU=; b=ikqFeETNtUB8RnwaFCzjOfFn1hSR5k1echeWxZhK+V6HFVYSCQoGlYPZ+CbtjMyG6R aa3TBSxaoHdwlrxRC/6/Rbh7dyg/Wux8I4sltchzWqvYeIOwg1iucx/ZGn1wK6Krjh7J FKwkYG4/L6d4ykBAuVE/QAKssfiZOqB34jNgp/1KfT4oqwEZ+THrVcG+q1mtGxb8vfwE OJAZJqE7PTgXqJlxaYZNMamvLkDAhODujqvx8gqvSve33EjRxKZqjkDjUBGb8eGF3SHD U11OzCkz8jTRp1IJXL+mdoRYTpSDbuPJ02IJSN4RQFN5fkDFxTt176rWoY5XfA7CLP5v 8SRg== X-Gm-Message-State: AOAM531ll5erDsN6+qReysAvdu15LS0KV9//nX2jQqjh/dPgZ/b3Dx8Y hbY05oHoTlv8C+HG8K6J1ihW+A== X-Google-Smtp-Source: ABdhPJwxrNlK3b7zF7xBUXs57Q5KKEMkjcHArJccdDpvsgJFcScD61UYUp7z2vxiF2gjklAgKS+4tQ== X-Received: by 2002:a17:907:174b:b0:6ce:70ef:85a4 with SMTP id lf11-20020a170907174b00b006ce70ef85a4mr3044023ejc.486.1645116963645; Thu, 17 Feb 2022 08:56:03 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.pdxnet.pdxeng.ch (host-87-0-15-73.retail.telecomitalia.it. [87.0.15.73]) by smtp.gmail.com with ESMTPSA id v4sm965323ejb.72.2022.02.17.08.56.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 08:56:03 -0800 (PST) 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 v2 0/6] Input: edt-ft5x06 - Improve configuration Date: Thu, 17 Feb 2022 17:55:52 +0100 Message-Id: <20220217165559.313366-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-input@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 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 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 | 81 +++++++++++++++++-- 2 files changed, 81 insertions(+), 8 deletions(-)