From patchwork Thu Feb 16 22:22:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aidan MacDonald X-Patchwork-Id: 5526 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp562724wrn; Thu, 16 Feb 2023 14:32:09 -0800 (PST) X-Google-Smtp-Source: AK7set9EaR2GmwBdnI+EYPhW6Z/JHrtodsY3svzQ6fjRlp/CfNpgpQvaAvomK3/L/HyYk4JiX+Ah X-Received: by 2002:aa7:d4c5:0:b0:4ac:bdac:ce20 with SMTP id t5-20020aa7d4c5000000b004acbdacce20mr7793758edr.35.1676586729629; Thu, 16 Feb 2023 14:32:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676586729; cv=none; d=google.com; s=arc-20160816; b=F/620tiEfreUuoPj3X0vzVzwX+YulFR5uBBeEo+6H6AUraUjKYq87T7+tzyu6qZJaw 4F5d8YDl9aZMuArS9uaBfbmnWvdEZlHbmdpDiutawTNtiA3RuhIGDQga6QXFAN9nedWX fRQNKv2Z7X7lft/O2fLZc0iVfQvi0pFzt6fzn3C/0Rt4tOruOQR3IAqf0bx8I+rOaVr+ y23o+D20CTV+8avfIb6b+w1azc2RwNVyWVw6tolHVmYtjlYCTBN8MOPMGR4sulq1ehlw 4asoniyFwDEAVnaDQL98osKFnSgcGGn4sE7PaXhYoRX7pUw2LEwpD/xLwIKJ70cJYeCc MusA== 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=djRJcRnLz3UuMeAMlpIwsfFMBrpOvHwci8jrszcMSY8=; b=derQBp9deGTtvWrLoFDTbf9w37OJ59qtP0zsG+lwS03Gxw4Q8EbC8GYMP/H43X2/X3 7nIwxnexoSn7aDRPT+WaAky0LccOUKvznacOVfPhuCuo6SS2vtXSTytettyO7Svp5t39 8/Jp8T3A2n/PbM5/0UkKCKY4BTbXEuUY0wE2eXXXE/MqlkjLgPUWmI2ZSAvF/vHYAIph kgI2Zbx+qiB83yVIRN0QGemnVUGBqmECkEEIWnVI4jV1f7BVTHxTO3CGt0fGRscZF03b lxzzTovtsCMbqPWzGHy52PmPTijNOpXWeVjKKoK6XZwlq6fXMyRDFfF/VIMCLypllS/t 35Fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fyHOewIQ; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k16-20020aa7d8d0000000b004ad0c7d39b0si3247405eds.297.2023.02.16.14.31.45; Thu, 16 Feb 2023 14:32:09 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=fyHOewIQ; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230260AbjBPWWm (ORCPT + 99 others); Thu, 16 Feb 2023 17:22:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229793AbjBPWWl (ORCPT ); Thu, 16 Feb 2023 17:22:41 -0500 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 EB8CD4BE9F; Thu, 16 Feb 2023 14:22:40 -0800 (PST) Received: by mail-wm1-x331.google.com with SMTP id p5so2664925wmg.4; Thu, 16 Feb 2023 14:22:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=djRJcRnLz3UuMeAMlpIwsfFMBrpOvHwci8jrszcMSY8=; b=fyHOewIQvLHx4+njac7ZkzJh0/fSovezrBM9rXs5qpIA4BvNRlvPUJ7FTRQmr5d2nZ 5jLTJBZ3dhtBkNbs0PouT1rc0evpJd/t+tyVd0N+ehqMprwaUE/I0MvjPR0IXd+ibcXe y54lUSpYnfV2ah6hUrNMXY9bz8XKZnLw4fqs563OInOqt/jfwS6xw9ZrxUi3nIrd79ds 33K5eINfZ/grEoDqU6iqwMkFALIW8hLRvZGVWIRiJf2fF1zYBeILi4RLlRxezOAxjxp4 Dkb7Y43VIKUPZ/QtoCJQbsDJktRww6JwARbBUc3C5ChP2m2ERDd9nIaIYbsQ3hxMJtkE EeLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=djRJcRnLz3UuMeAMlpIwsfFMBrpOvHwci8jrszcMSY8=; b=ajXEpmoc/f/AdvNpKmLV2gSEhYANWkcu6B7xOYcNJdWEfLoOWepvnFOsVgPQLDxZeK xMnCWiLNzQXOAooPw7HYVgYRsQh/g64mVkQ1sM+Yb3Y8fWjLPpYcrR9p3W1VEYOFV2Pu Dqz+YRMkhF1J72xIDJN+PzBZoun10br6T9T9MUDWiVVDFm0MnhcKwGdUR5XijIFiihrI 3fJKyETU+0JKElft2OpWYDqoXIDATd0ONVdVmHBPkUtOH7kSo4wigwTW/wH8yun6xCsn dcera8O7EnbwfMZNbr+eyDvOl0mOvaJsAHHZFEF68rRF2mZN/g6a/eI6R5DnqoDSsEyi pwtg== X-Gm-Message-State: AO0yUKWQEGj8IPRAYMYoqQLOw1+AkIrqYetVy1vTHMcf7TiDgEaeg+GX w3QE3DF7FbaeR/XL4hb7Tk4QGXs3tFE= X-Received: by 2002:a05:600c:1c11:b0:3dc:576c:ab07 with SMTP id j17-20020a05600c1c1100b003dc576cab07mr5884435wms.14.1676586159269; Thu, 16 Feb 2023 14:22:39 -0800 (PST) Received: from localhost (94.197.187.145.threembb.co.uk. [94.197.187.145]) by smtp.gmail.com with ESMTPSA id t14-20020a05600c198e00b003db0ee277b2sm6875402wmq.5.2023.02.16.14.22.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 14:22:38 -0800 (PST) From: Aidan MacDonald To: agross@kernel.org, andersson@kernel.org, lee@kernel.org Cc: konrad.dybcio@linaro.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 0/4] regmap-irq fixes for qcom-pm8008 Date: Thu, 16 Feb 2023 22:22:10 +0000 Message-Id: <20230216222214.138671-1-aidanmacdonald.0x0@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758028606948130134?= X-GMAIL-MSGID: =?utf-8?q?1758028606948130134?= The PM8008 driver is the last one using a bunch of deprecated features in regmap-irq. Replace these with more generally useful equivalents so the deprecated stuff can finally be removed. Note, I have not tested any of these patches. Aidan MacDonald (4): mfd: qcom-pm8008: Fix swapped mask/unmask in irq chip mfd: qcom-pm8008: Convert irq chip to config regs mfd: qcom-pm8008: Use .get_irq_reg() for irq chip mfd: qcom-pm8008: Remove workaround for a regmap-irq quirk drivers/mfd/qcom-pm8008.c | 131 ++++++++++++++------------------------ 1 file changed, 48 insertions(+), 83 deletions(-)