Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp590772pxb; Wed, 27 Jan 2021 16:04:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJwmmo4jA76S5neQ4mPXUbqLQpOvSSblAQ5zCJloNZR0NkkUH/gtbPLlS1fuepJIME+QPf77 X-Received: by 2002:a17:906:191b:: with SMTP id a27mr8825151eje.472.1611792240647; Wed, 27 Jan 2021 16:04:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611792240; cv=none; d=google.com; s=arc-20160816; b=PBpHj03MZthjef94qqEm9A75k3PJB9cK3GsHJ8424OORzqu21T4uqJp8u6q0Uuv/Gs mvH+rm6kG7YTAsEM5WUTkfjP6aCrENfvjFQnY1XQ1God5Ch4VUyURG8s66ueTYTOcOi1 ELkNnrKP3JbYWowH+sNqfWhkmMMFosmexjp3qvMQaByVqKD+vj2BZmJzwzcgAAjaafGK njzKGaom/4rR0sYYQZf9WPtCqQwTtnYI1a+9ke9GsG7Ag3GG2Vzviu6K17Q7E6AAWLgT bjhxAHjSocVLivXRGzJsWa8YsiVgw2ayvj8lR0kU3c7gu2Dzh2lH+U4Wz7msmoyX3bnZ Eb5Q== 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:to:from; bh=l/GndvfAFyDo0KXAmL8UmnbUVFVr+hwmQBhuglmzvZs=; b=XtVWXJPtAEEHoA+6D0oAuV8XbVlU2A61XGUgDxwWmd8QbSMRtS4k2u0xze0IAQEPeP dSjuHhWu2eF1/P9/tL2xmzEZP84SGy3IPtZZSh+64bbk9kyrllP3DdjNpsX/yJVEOrsK KOSsve6hPkXx2pnqg5Sviv6H5P6zKNasRllrkJtt30B56yulXj9QP7GoSy9g1X7iP1Ze 1QdnvQJZ+bEJFmCDnB0HCkVk10zPdiH2gzvFIoni3mXKmnIKJ+94593XkzkPJdFOtDtA Q7BEqW/qjE8WAbZU6nC040aDGZL94CCI/62yOCb8seN9Hd7z+PLUyKwIHSwtyQtLu2JH YPBA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n16si1785915edt.539.2021.01.27.16.03.36; Wed, 27 Jan 2021 16:04:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236526AbhA0Pnr (ORCPT + 99 others); Wed, 27 Jan 2021 10:43:47 -0500 Received: from mout.kundenserver.de ([212.227.126.133]:35141 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236387AbhA0Pic (ORCPT ); Wed, 27 Jan 2021 10:38:32 -0500 Received: from envy.fritz.box ([82.207.222.125]) by mrelayeu.kundenserver.de (mreue012 [213.165.67.97]) with ESMTPSA (Nemesis) id 1MsrV2-1lxhr70MA4-00t9iD; Wed, 27 Jan 2021 16:35:37 +0100 From: mail@richard-neumann.de To: nehal-bakulchandra.shah@amd.com, sandeep.singh@amd.com, mail@richard-neumann.de, jikos@kernel.org, benjamin.tissoires@redhat.com, arnd@arndb.de, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org Subject: [PATCH v1 0/3] Add quirks to AMD Sensor Fusion Hub driver Date: Wed, 27 Jan 2021 16:35:30 +0100 Message-Id: <20210127153533.21560-1-mail@richard-neumann.de> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:CMPioaqx58GGGmL/cKH7V7Y5fCUxAj9kTdxp2cuKApCVZGtMVGm Hdz5Mq5CL810tc2uqwGQNzm6a82ixotDdMVmMlmBJWGlU9N0arr8WVZ5ImcdLPceLJHjrOy yNwvwgP/t4OUgVdoAfQvjStDtVNzx3Eg9YkKfZ8tkGngr907K80w+nrcQRVlcbOiXKm95X+ s56+Z6p9YXofnIW8pdJmw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:DdsZPyuWxlw=:J7uNjQVOrfKHIlw+wNIImv hilKmBKHhC1PHgSzD3w6F+dOAufQvW1H8vnpcHCOBrdxDKNCZxwhwm/vthqxiwwHx2cfp7ho+ NFSSAFLl0Au5sV0xUUDhrnOdZN8i3GbvG7V4B6YHnrft4LBGytpExT+hPVtJRzXILRqdQiDpm K9sj37+0Q1QtM58cQsytQMftXdFSxyMnRRKvX0a64mLrBOzSEPr5DMD6WUZa4Bi9L00jPGcMv Sz2JaXIxg9L8lKlYayGoAiTxDQ5EcphZ4hTaqy814RUJa9R9nZ/xx/Dd8BVL/5UdKLcIvWeRC VEV2a2mMQqVEEwJQ1ccWmX9jMoXmGon13vY2Zv4c8Dk1jjwxfwnf8Im8El5q6JNNIZ4Cu1VFa oHZXYQGEeCXTlSBKrkOHyEtPfB5a9oByDLYuDjT3qT+tPKlG4FztFI3TJ9k5P+eo8xjaXAFG1 UdJE87tdVQ== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Richard Neumann This patch adds quirks to the upstream (v8) version of the AMD Sensor Fusion Hub driver. The quirks provide a function to detect the sensor mask for systems that do not have it stored in the AMD_P2C_MSG3 register. The information about the systems IDs and available sensors was taken from: https://bugzilla.kernel.org/show_bug.cgi?id=199715 Richard Neumann (3): Outsourced sensor masks to PCI driver header. Added quirks to detect sensor masks. Updated MAINTAINERS MAINTAINERS | 1 + drivers/hid/amd-sfh-hid/amd_sfh_pcie.c | 16 +++---- drivers/hid/amd-sfh-hid/amd_sfh_pcie.h | 15 +++++++ drivers/hid/amd-sfh-hid/amd_sfh_quirks.c | 55 ++++++++++++++++++++++++ 4 files changed, 78 insertions(+), 9 deletions(-) create mode 100644 drivers/hid/amd-sfh-hid/amd_sfh_quirks.c -- 2.30.0