Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3203122iob; Fri, 6 May 2022 22:26:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwbXnjimdJXrTNdNTv2tNIGWYayhZUxAwH9XkrB4hxsb7TU3qhArbAqixdxvzbZ+f9vkiLJ X-Received: by 2002:a05:6830:18f9:b0:605:e04f:17de with SMTP id d25-20020a05683018f900b00605e04f17demr2261635otf.175.1651901194855; Fri, 06 May 2022 22:26:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651901194; cv=none; d=google.com; s=arc-20160816; b=VQd57f9AVagTW8D+cS8o6eNKJ/wt1aEGVn2MdaEpWJ8AFYveZDd0t2CNI7FrNhhea3 miPK1KvF7FfWCPiDseD+O39TMQLmya1SeB61wtorMa5etbv7C3WUgOHQ6RMGq/I5mNJe LeYcTqVRBQWTv0/ud18rkBFZ4oesaukYD4T2ddrHQUhRJHKuP1iL5LJCnGE0zu0q8x2o AlZuOlgwPKByFYgbLeBoeI9I/G5Jm2J88q0Bt8VSVHMl8FATbbeZi8Id1P1rd53l0dhn ZQHXecGTlVM9AtPoT0iY1Ec5nO7QkNgkgI2nbEtpAy8FVTPCN5yvarrfhjr4NKbho3IG pJcQ== 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=mGh0HXqLyySgAArplUW5UZica2x92d7HNz/EbrWUny3uiVp00AQ7TogfQFqNQk/HvL JYAfYMet0PrNertEUYS+YNLmXXaMQGMnc3cpo5DX8Qq+sEvcQ4dBWfEBHBuJdVtq2hbt bWmoKCiKwSaF87ViktuJ1R4V5rkn7rDYmv29MCEuwBLz2zC0qImhoUYDiTRh5nxM80Y0 dlmPFaFdMHSo9GjxHW7aD1SA4z9GSYvjpyfyxK0qRl0yjWesyxxDnP3pxKdp1L6pnCNt zjbyw1mEn5hNvj4nrWprt7WmyILJ86Vsptx7s6wz8B+yK2a2tihHE265Ssf3Z7ukj4rt rQ9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ZTU0SNmZ; 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 e15-20020a05683013cf00b00606100535b9si4233194otq.211.2022.05.06.22.26.20; Fri, 06 May 2022 22:26:34 -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=ZTU0SNmZ; 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 S1381471AbiEEQAZ (ORCPT + 99 others); Thu, 5 May 2022 12:00:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1381467AbiEEQAW (ORCPT ); Thu, 5 May 2022 12:00:22 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C38981AF27 for ; Thu, 5 May 2022 08:56:41 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id ks9so3160102ejb.2 for ; Thu, 05 May 2022 08:56:41 -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=ZTU0SNmZWifpArOZCxILL1SHYnm+fwkV4zfQa0dehmOC6D+EdD2T94tUhkGrq5RDwu VIty5jNMoq6e/2XPmutsofxDGkSMxM62aTiasN4leHOn3IBGOjHDd6iFA1z7l/LAwRQy SaqCUOCtU7A1IOCnxJr63fR+eNnmf0X55eYxo= 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=AsM+JjXlDFNj1nxtmwMf8fY9wKBdLJo9OV9Iz8bVdjGK0R+u3/YfJ50P0rGp9rItrw NzigRBApvNJCWInhOgvCD02XeYrNMr5aWYMHYEYMQ7gdmN9ULMWUbka9gA9udxQEAxEm ixNLq1KlgD/dye/mx/G4xdAby2qPD+P8k1L4iIwLNf4FTjuOoo8QnkiiW/ufpaElcniL oW1XRglMMk/qEe9DSKbSHDr0rhzTsxMqWvbpTh7+KpFuul10L2xzz5vZY7o9FuixWNVi bLS7P2sPo5lSNlfSHvBF4K8YQdLkcxUGLgbcZJO14HGvk/9m+qMDATwjA6RRndK+KYT0 e9+A== X-Gm-Message-State: AOAM5317vKzn4L2NAPKT0zmqP92ztqqHr+EPL35ZuQ2TpCMDxHC3RKhE QHesF+NiJHeQBM/DcQyTX3qr4WctInVdNQ== X-Received: by 2002:a17:907:72cc:b0:6f4:cc8a:2bcd with SMTP id du12-20020a17090772cc00b006f4cc8a2bcdmr8661986ejc.532.1651766199997; Thu, 05 May 2022 08:56:39 -0700 (PDT) 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 a4-20020aa7d904000000b0042617ba6385sm1009328edr.15.2022.05.05.08.56.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 May 2022 08:56:39 -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 , Stephan Gerhold , devicetree@vger.kernel.org, linux-input@vger.kernel.org Subject: [RESEND PATCH v4 0/6] Input: edt-ft5x06 - Improve configuration Date: Thu, 5 May 2022 17:56:29 +0200 Message-Id: <20220505155635.419653-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