From patchwork Fri Apr 15 15:36:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabien Parent X-Patchwork-Id: 12815162 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EF255C433EF for ; Fri, 15 Apr 2022 16:09:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=wcKKMq9SHjQExW4/vav6SsR0jNS76x+DGYl1vm75jiE=; b=K/S0zouoN+HcRf q06vKBb/q/HC2Z8ctOenaIje/qmxzmr48vLglUGgVWyQsrVl0NrZHJrLvjOgsg5Kr/uaF3rnpKL/D XbDJFMS5NuHzmgGUXYx6FcQDjFe7wuQSxcdbHAVRloXATiT07IR6IyMhGVcs3YMBk1Jn4NhbRlr2x y/PuMxJVdcBCmXdtxlavBzDTdWSVAKEYBzTbPtbzNx+WxoK7U/JQK+lFGV597TOwAujuJnw4LeEg2 WVeZwEWI6hQkH6RJypCjX8ozxFkMYsKZ2QuBumV1uPW5LAP0b/mUEMKmK2pbAI1sG3jejWRXG8jxG XKewqlnwxn44Yethrmpg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nfOUF-00AnnS-2w; Fri, 15 Apr 2022 16:07:56 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nfO0I-00AbMk-F4 for linux-arm-kernel@lists.infradead.org; Fri, 15 Apr 2022 15:37:01 +0000 Received: by mail-wm1-x32b.google.com with SMTP id m15-20020a7bca4f000000b0038fdc1394b1so4439294wml.2 for ; Fri, 15 Apr 2022 08:36:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=JhEtTen/OTg3PJJ7iqAml5q25LdqyTzaqfuuqefiN5c=; b=2F5kkZXslQBZQDEVI1eT07zwv/QhNjHIl/mMuqCoLThy3XYmXTZhUxRkwe/wXR72d+ H/oyq0BkXdf8TgyvhP1C7zlIoaFLiLy40XUXLZy4iDEYtMGwmpBZxZ0sWa+latx2rykY 9jiuwJt6kl+GEOJW2pDZFz9mmKrAQP1/W+WMrkYr8GcxAGmct84yEo99m8HtwwcGIVRj uFRJUnQunFxy8fQZQuOKF9VJMhoZScUKJWGMp5EZk0W225l5nEvO7S+mWNW4o9K8bCz4 /ZeCU/NFpn5O2XbyA+/et+I+vj855vu2fIsyOhLu+rzxjsnSTEkNn7xejiiBohmy77Rn EeeQ== 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=JhEtTen/OTg3PJJ7iqAml5q25LdqyTzaqfuuqefiN5c=; b=dFU+HjRDW/zhiUMAiUPR1WgIWSDJhfM/6UR/mcXp0GjWwQECV5E+8N2VtKp4N7zedP gfpNGEDIjN4xwV32YAxl9Y9kj2GYFHo6xGM7mtMqBalBvLrTaw2GkOwxVMiBwdaxgv6s G+BQKBlPTfpELE5Qvk0nfG78HCAJQzfnrcUz/4CATmdcxoXyktCgBdW9qECLXBugEkny 1p2aPcddUDa3bGHnyKIXcvfkhNFfe2qTJ2gDMaiCTi6c4/ZCwBI85RPU0JRQjH3VMiUf 5qOXEqLhVhXM+MJrkI3em2agQoRR4YwZCSFLilDBlKLzzzmMKrvHSln8AO75UAWRa6uh Oz0g== X-Gm-Message-State: AOAM530A5IUKQ9Xq4aNrl22q1mM00l9Al2Wjtr9VEDBvY56FK3zqVCCB PnuVprkaaj255cDS10uA8uguOJrQRkmDvg== X-Google-Smtp-Source: ABdhPJyh7Z0Z00QWiNLIy+5j3/O8XdYvaMyMfjr7hPlt34IcdXBMTAfRZ5G2nW7+HUfJyvgJOzNe7Q== X-Received: by 2002:a05:600c:3c9b:b0:38e:4c59:68b9 with SMTP id bg27-20020a05600c3c9b00b0038e4c5968b9mr3758734wmb.105.1650037015922; Fri, 15 Apr 2022 08:36:55 -0700 (PDT) Received: from localhost.localdomain ([88.160.162.107]) by smtp.gmail.com with ESMTPSA id c24-20020a7bc018000000b0038a18068cf5sm8459292wmb.15.2022.04.15.08.36.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 08:36:55 -0700 (PDT) From: Fabien Parent To: Matthias Brugger Cc: Fabien Parent , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH 0/7] Input: mtk-pmic-keys: Add support for MT6359 PMIC Date: Fri, 15 Apr 2022 17:36:22 +0200 Message-Id: <20220415153629.1817202-1-fparent@baylibre.com> X-Mailer: git-send-email 2.35.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220415_083658_599723_46117D3B X-CRM114-Status: GOOD ( 11.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch serie adds support for the MT6359 PMIC keyboard driver. The last commit has a dependency on: https://patchwork.kernel.org/project/linux-mediatek/patch/1622011927-359-9-git-send-email-hsin-hsiung.wang@mediatek.com/ Fabien Parent (7): dt-bindings: input: mtk-pmic-keys: add MT6359 binding definition mfd: add missing defines necessary for mtk-pmic-keys support mfd: mt6397-core: add resources for PMIC keys for MT6359 Input: mtk-pmic-keys: rename platform data struct Input: mtk-pmic-keys: add field to store if PMIC has key release IRQs Input: keyboard: mtk-pmic-keys: add support for MT6359 arm64: dts: mediatek: mt6359: add node for PMIC keys support .../bindings/input/mtk-pmic-keys.txt | 1 + arch/arm64/boot/dts/mediatek/mt6359.dtsi | 15 +++++++ drivers/input/keyboard/mtk-pmic-keys.c | 41 +++++++++++++------ drivers/mfd/mt6397-core.c | 13 ++++++ include/linux/mfd/mt6359/registers.h | 2 + 5 files changed, 60 insertions(+), 12 deletions(-)