From patchwork Tue Apr 26 13:53:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabien Parent X-Patchwork-Id: 12827244 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 0AD6EC433EF for ; Tue, 26 Apr 2022 13:55:01 +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=r+TBAac5MHtYI0u93pFOVqGDl4Ta040onsg7avsJTWg=; b=qXWAxkrT27QiGb RIT43D2v4c4THnP1yQBKV7go/VskDOanpcfS5jpT6+CWBiSHsE19f5Mp9l22QhWur3CSMlfbnGYG7 drLptEtrXozoEMwLxLB2ft1Q4PR1ClmXj5VTtyxxiytNQxPxXIWIKd3VGDzUCdd5CzbT+enNqqaca gNo2ZwWNMTSWsA9teMDwwpakSktMnhDJnq1autYS/mJmbuBm4e6yyEykDNyfPxaKQbdx0ottht5NI rViAiofk+hB+ZKiUu0E+gi8xRb23NzDjb7HCXxfMMFQL9NV/2+ValkyEGEfjUbScl34NzF2izBUlt LcgNAPpe2H6Z412qQpwA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1njLdV-00Em2J-RM; Tue, 26 Apr 2022 13:53:52 +0000 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1njLdC-00ElsM-GK for linux-arm-kernel@lists.infradead.org; Tue, 26 Apr 2022 13:53:32 +0000 Received: by mail-wm1-x32a.google.com with SMTP id q20so11260544wmq.1 for ; Tue, 26 Apr 2022 06:53:28 -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=HLJnz9MokKkB+U5oQzpDA9G/KHSO8v4jgfZFYkQ81pM=; b=puzYB7lEhhrKLWmXSnF+wAqJuTYyKb9kgmhuFP7bzPkxXiLtDR0ZcdHClTAOr3KqtI aS/uIVRKlLYA1eD30qVYa5k5Vv3SYFPu3aUDs9meykBy+qNTUp/WpX4ZD5YG8/JodX9E lrPDKOQrRS/ia+J7XqMJMYkJ4VUuRpWKYhF5zklouogG0Cm06GYZ+LpB+bFJnFeVmG/H RKpdRVrO0WDjQT5u6DRlF63Ho3zWjHx/X2zPnQPdT90INIabsZqrD6ytcfgwr09QA/ZS Czh3KTkqFPcpfG4idJ9LXahALcebBTsY0vFBC0mjCER2RGES+wvgH/+cEP90UGDONBOS k4/A== 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=HLJnz9MokKkB+U5oQzpDA9G/KHSO8v4jgfZFYkQ81pM=; b=j25v0cxU1rCGaicMHWi9cHjT2rP/z/Xa+do2lIbiXURISuHu6XZEvbZ0V+WsBPZZ0s MMLRHkJYpZpnFihNX/IMvd9i2O5hlTC2ntVceTuMuPZOxyGqZJ2/Bzrm4XhjDm/22xya oNBfoWKXyjDLUe2W9s4zpTb9xJQip4YlYzEplamwtThm+mmBtfaJo2SgzL040yNi4IpK N+gmO9I2WUlfWmTfWDxUSfjJx4Kij/sxlo5F7p60YOHx0yv6EJwzOMEAdYf+rDRWI3zW +Q/FiGQOnTv1sWAyRXbOTORhdRhNPdWqLqq5olmgzolkH89Cn6dRA7cDPo1gNcNkGOA9 6uEQ== X-Gm-Message-State: AOAM532kM1Le8Dv/b0dhWUHoc08nbgrbYwGSaI7+CD/GngAvfncPoUi/ nu9ljitmhGiVFXmSi0HpLOuoCA== X-Google-Smtp-Source: ABdhPJx5WaScokUfQfZ6wBpQBnFbYiDUItwrUt7kmSWN9s7oUNqrW99/BpoHXPPyuxL0ub5y3Y/Y5w== X-Received: by 2002:a05:600c:5c8:b0:393:eba0:8ac7 with SMTP id p8-20020a05600c05c800b00393eba08ac7mr9901074wmd.108.1650981206986; Tue, 26 Apr 2022 06:53:26 -0700 (PDT) Received: from localhost.localdomain ([88.160.162.107]) by smtp.gmail.com with ESMTPSA id m35-20020a05600c3b2300b00393ebe201a6sm5504775wms.44.2022.04.26.06.53.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Apr 2022 06:53:26 -0700 (PDT) From: Fabien Parent To: Matthias Brugger Cc: Fabien Parent , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 0/8] Input: mtk-pmic-keys: Add support for MT6359 PMIC Date: Tue, 26 Apr 2022 15:53:05 +0200 Message-Id: <20220426135313.245466-1-fparent@baylibre.com> X-Mailer: git-send-email 2.36.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220426_065330_604979_28A748FF X-CRM114-Status: GOOD ( 11.98 ) 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. This patch series is based on the MediaTek Maintainer for-next branch: [0] [0] https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/log/?h=for-next Fabien Parent (8): 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 arm64: dts: mediatek: mt8195-demo: define PMIC keys available .../bindings/input/mtk-pmic-keys.txt | 1 + arch/arm64/boot/dts/mediatek/mt6359.dtsi | 4 ++ arch/arm64/boot/dts/mediatek/mt8195-demo.dts | 11 +++++ drivers/input/keyboard/mtk-pmic-keys.c | 41 +++++++++++++------ drivers/mfd/mt6397-core.c | 13 ++++++ include/linux/mfd/mt6359/registers.h | 2 + 6 files changed, 60 insertions(+), 12 deletions(-)