Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3697020rwl; Sun, 2 Apr 2023 13:12:31 -0700 (PDT) X-Google-Smtp-Source: AKy350YDHnUompJc5Qa4VP/uPiOj0FYLzWFvSMuiAVRFo3vWcllYrTP+0VEqZr83MqVFcpZ8aiR6 X-Received: by 2002:a17:907:8a08:b0:944:44d:c736 with SMTP id sc8-20020a1709078a0800b00944044dc736mr34337562ejc.64.1680466351298; Sun, 02 Apr 2023 13:12:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680466351; cv=none; d=google.com; s=arc-20160816; b=qURjwkAzttzusNWgP5J0sYooMefaKADVdosEJX05gstQoO7yzDBF4Q1HCCRtdiSPfy h8IOUyOcL1ID+GfJkXaFyTEwFXJ1oF70j0ZqqTa816gdxpMGqzE7CFI2oIokEvJu+Upj CsPWuX7LJx370mJZF48zuwymRIUbe5YWXfliSmUgCHGXOkSBxJhmH9QuPR90LDzjhdMl y1VZeE6+fSlM59TzusAOBqtzpJKLqIJ+CaLPsRouA3Kh3W9UH7dFUMx16dROn0Lb+Ruq fZqb+TBxBrS2cmYat0Pn+9KaWvypgDd9S6Obf/UsMtTE6rVvujg/03YeGkCm6armNoDl 3ZyA== 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=XeS/K6Vgqovzy5IrEj4kKLQF6NPWoliB9Z+vqp09t2o=; b=js2Hn6VRYIeXrOt0oQwn3ygpco5KWOWNQvCXwKdV9EIYKMrrSlMJLhEBrJtdb3ootI XXFTYitGzc/9PjAbbSc8MmPcSqBQgtik6L0TsppKGVSBcG4KrasSHLS7v8DojDNfOdaT J100s9lXJpIsczKaAJwouBZC/9MP3j8S5TwXxreqlqdD290l3SxUDJp33J39ll2A93cV PbPXytA5K5gfnJ+btKit9ZTtNNtG4rRU51ACJ6jEWk19X1zdAiwChcQLHqJuNGOhVfc4 KdWcP3tSNtE5t7OtdYOfnJ1tunq+Rfwnogbrt+mWPUaxrAEJBifpl8DM5v0P5AHR12YU mwLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bY8hUBO+; 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 be20-20020a0564021a3400b004ad099e74b5si6706823edb.556.2023.04.02.13.12.07; Sun, 02 Apr 2023 13:12:31 -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=bY8hUBO+; 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 S230263AbjDBUKT (ORCPT + 99 others); Sun, 2 Apr 2023 16:10:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229915AbjDBUKS (ORCPT ); Sun, 2 Apr 2023 16:10:18 -0400 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B15838682 for ; Sun, 2 Apr 2023 13:10:14 -0700 (PDT) Received: by mail-ed1-x533.google.com with SMTP id x3so109415763edb.10 for ; Sun, 02 Apr 2023 13:10:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1680466211; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=XeS/K6Vgqovzy5IrEj4kKLQF6NPWoliB9Z+vqp09t2o=; b=bY8hUBO+rCdsyAGIYLZBsm+0DU+1MCE2UVtl7UI75LohQBQzyszIIGGHeSZXHxv7hO 0U3uAcGSFMpUr/7Gvt95CMAaDDGVHUlK0pENcWopedTAK40iUxyADnckvtnyktdjHr3t ADaYwi/icfQ0i+xwnVpG8O3H12rpsdSHG/9+4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680466211; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XeS/K6Vgqovzy5IrEj4kKLQF6NPWoliB9Z+vqp09t2o=; b=VxSSBjhuVeP9y7HfQDCYa92XojOlK/QOE9lJGn+IQt20oJcO+ouU/vr0TpT06+kW4u RIZr8xitSnVtkTOqV4/FqqlwDKx6egLtAkc+W4nSBEO5M9tbnWloj8Zht+9NhEa/mKaC 9BkF73pPnqrMEDvZGut0y7Q+ebATUu5ZaI8XOJ2Gq3JdcrAQkfbcLtk/b3Trxbqk9aHw wHCtM2nWVP+Vk6MVh2pSoD9z260xzRbLis8zqdo4wJMG9+tqFl8syHJqnVP2rj/RTlCk YzSgC/MV0WH9u6pVKB7oCOj+64gn5KH/v+yCsZDT0KAVYCKT6aC/7OIubOhuz81PU/W+ kT8A== X-Gm-Message-State: AAQBX9e9fzJPiMFV0KDdneOAAhlVFOCdeaKl0v0VooslB4rsN7qjIi/A 9xuYgj000P/+hHbZZY7aIiTbu/sJ6dIPqMCC4Og= X-Received: by 2002:a17:906:25d5:b0:932:40f4:5c44 with SMTP id n21-20020a17090625d500b0093240f45c44mr33576716ejb.36.1680466211712; Sun, 02 Apr 2023 13:10:11 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-95-248-31-153.retail.telecomitalia.it. [95.248.31.153]) by smtp.gmail.com with ESMTPSA id gl18-20020a170906e0d200b00924d38bbdc0sm3553127ejb.105.2023.04.02.13.10.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Apr 2023 13:10:11 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: michael@amarulasolutions.com, linux-amarula@amarulasolutions.com, Dario Binacchi , Dmitry Torokhov , Jonathan Cameron , Oliver Graute , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Wolfram Sang , linux-input@vger.kernel.org Subject: [PATCH 0/9] Input: edt-ft5x06 - convert to use regmap API Date: Sun, 2 Apr 2023 22:09:42 +0200 Message-Id: <20230402200951.1032513-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=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 This series converts the driver to use the regmap API for accessing the registers of the different models it manages, making the driver code more generic. The series has been tested on the following touchscreen models: - M06 - M09 - M12 - EP0430MLF0M - generic ft5x06 (05) The series also includes some code cleaning and optimization patches. Dario Binacchi (9): Input: edt-ft5x06 - fix indentation Input: edt-ft5x06 - remove unnecessary blank lines Input: edt-ft5x06 - add spaces to ensure format specification Input: edt-ft5x06 - don't recalculate the CRC Input: edt-ft5x06 - remove code duplication Input: edt-ft5x06 - don't print error messages with dev_dbg() Input: edt-ft5x06 - convert to use regmap API Input: edt-ft5x06 - unify the crc check Input: edt-ft5x06: Calculate points data length only once drivers/input/touchscreen/edt-ft5x06.c | 496 +++++++++++++------------ 1 file changed, 251 insertions(+), 245 deletions(-) -- 2.32.0