Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2188051iof; Tue, 7 Jun 2022 22:35:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9GkYRmo9OV/5WsCBW143q+3PmXtVPvLe7NHOATra7T1WzadzxROnexUJtvcPlJqwEZz81 X-Received: by 2002:a17:90b:1b41:b0:1e8:4e69:e735 with SMTP id nv1-20020a17090b1b4100b001e84e69e735mr24063661pjb.9.1654666555287; Tue, 07 Jun 2022 22:35:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654666555; cv=none; d=google.com; s=arc-20160816; b=Xlcb60zRBSA5kplm+CRJrvof1YFK2qBJX442HdH4g+E1zS5eiqKu05pl8yKZDmRMxE IDbEwpYH0gYrqYsZ+MiuQ6KSPmwEgkfi7LuooQKsU8vxvSQznNvfcPV0NUklsqVHkgk8 1xKgm0hTkLUPJwHpRg+ula2ia7e5Nqe4NQquPxWXKExPeNP+FvykWKGIo2S3CNXs1fk3 y+sOaMPt4wgs5z2Fd56qTvzEljkGo8h/SL2Ac08lLUhUN8huza4Uq7Vt3sH02DkScqTW V3V2m2jgAp/8BEGi1RcB315VXyRDEA/p5NiX98jKupJNtmzIY8OG9HCoQjFavo31H1j6 QEzw== 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=y4YAm2bgMpc4FO2xnjuEHgxaGbqi999Th3cN51kbBw429FHI3vNGiCsA1PXw2UpkLY 748DCXQ9l9I59F8CPMI3PV8iLp7ZVUZlirEmDnF4Qpoab9Z7PmYn/K4hwrsLfZ/ZpZT3 e7imOeT65q1VTASHwTCXwTHfvT5iTok5FyPW4IjJ5ncjAW8/J/0KoQGn1xAFs0DE7iD6 LxTA8XgLkqEAEZzQqxp05QDEd5hIPMzEyqSFZ3R/JkFRCx2P5aeb3bAwpx/Hpks0LR6E warb3tkRz0p6pGR6r/6ynlUJzWG8JzfpsqjNTTmAAp7wOaq0jN9VcH9mEvI8rFQPcg8B ShhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=XiUcORud; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id u15-20020a170903124f00b0016382c70069si2685839plh.150.2022.06.07.22.35.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 22:35:55 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=XiUcORud; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 784A418FA49; Tue, 7 Jun 2022 22:02:23 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240255AbiFGJ4M (ORCPT + 99 others); Tue, 7 Jun 2022 05:56:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240198AbiFGJ4K (ORCPT ); Tue, 7 Jun 2022 05:56:10 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03798E77E4 for ; Tue, 7 Jun 2022 02:56:05 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id 67-20020a1c1946000000b00397382b44f4so9249916wmz.2 for ; Tue, 07 Jun 2022 02:56:05 -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=XiUcORudV3I+wOJDx2F4UjTWywNx8pQlMnZKao6ujML4UCvVEVbdo9GiUiP8htMMNd jptZB/A3xMYe1wqA0ab8tQgQ+O5eDq2P0+De+G86GhEurHIbukEIeSqpnKLHS9Wj1TOg Df2CboRzOWEdzjLdAr7B8RaczL4lr1qW7Dw34= 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=vCxw6L+aWqGSV5zbZ0uwpwszaNAfqmQDJqk4VjXiXpLcuZE6yMtfhgWTi2ufAwN6c9 A3u/70qoGAEnUKrZc8U0pFcetMafy5YXQjlXr1XbUaogwcGuDOZFph6mmEF8fixYQrTj ZRwBq358bBTf7QapAEPO937wNqqfOD5kxTZYXm6EPaWrmeIWCF47Qwi1f6QkcwGxMX84 Igi/HGZhZkSId18rMn17NuY+KnjHqwhWllCMaK8lsvgQnJMMpP0/5aUs3si4wVsYx0Lh Kci8PcoWhgrHclzsInbX7W/h1bcLe9TFxRPWyVSGqOx146isP8dD35fDVttGVI1BLxXo 8eWA== X-Gm-Message-State: AOAM531Sn6g7BWcewjy/heyVU85dF4bHwW4oupb78t+6laqFwvV4SRug 5PwTwiNneyKppOJrt1rbRIW4zeX3/k8nYw== X-Received: by 2002:a7b:cb4b:0:b0:39c:49dd:b2cc with SMTP id v11-20020a7bcb4b000000b0039c49ddb2ccmr14467285wmj.123.1654595763943; Tue, 07 Jun 2022 02:56:03 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.pdxnet.pdxeng.ch (mob-5-90-137-51.net.vodafone.it. [5.90.137.51]) by smtp.gmail.com with ESMTPSA id b12-20020a5d4b8c000000b0020feb9c44c2sm17693546wrt.20.2022.06.07.02.56.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 02:56:03 -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, 7 Jun 2022 11:55:50 +0200 Message-Id: <20220607095556.1034338-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.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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