From patchwork Tue May 24 09:35:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 12859897 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 861AFC433FE for ; Tue, 24 May 2022 09:35:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235688AbiEXJfO (ORCPT ); Tue, 24 May 2022 05:35:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235685AbiEXJfO (ORCPT ); Tue, 24 May 2022 05:35:14 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [46.235.227.227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86FCC5FF36; Tue, 24 May 2022 02:35:13 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: kholk11) with ESMTPSA id 8719C1F42BE7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1653384912; bh=HPhSCFsRWt1WRYsQVwuXJfLERolxskKrILtU/HHC2QY=; h=From:To:Cc:Subject:Date:From; b=QRpNuS60XWbSPl2Q/45n7UwTA7/71z36HzZZwU+6jRJbt6Wfe4YAjV5IWbLPUYWAn cq3pw96Fo2Z+QyjZ4DF/PTXju3aHl+JSefwagEB6dMmpWKMMMfgZ+xYm6TQMdeq/bG YSIV4w48bCZPc5gC+AqmpUDnq9/EmFjwtJJGeg8GJd1ITyGJH++zGEux1Sjz3JW2wP OWZ4YQOkjRO/Fp2SI38vP7D9tAtzK6RAu/Wu+I4xs00k2rlEObjEGpiLsuDm7G88w5 i1dt/3BYN8XnxTsqkxF9eSP9kUWUkMZrl1XQ5dMK66AjWlzuxJukU+3lJqdNweZLrR qgBbC3O81NOxQ== From: AngeloGioacchino Del Regno To: dmitry.torokhov@gmail.com Cc: matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, mkorpershoek@baylibre.com, linux-input@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/3] MediaTek Helio X10 MT6795 - MT6331 PMIC Keys Date: Tue, 24 May 2022 11:35:02 +0200 Message-Id: <20220524093505.85438-1-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org In an effort to give some love to the apparently forgotten MT6795 SoC, I am upstreaming more components that are necessary to support platforms powered by this one apart from a simple boot to serial console. This series performs some cleanups in mtk-pmic-keys and adds support for the MT6331 PMIC's keys. Adding support to each driver in each subsystem is done in different patch series as to avoid spamming uninteresting patches to maintainers. This series depends on another two series series [1], [2] named "MediaTek Helio X10 MT6795 - MT6331/6332 PMIC Wrapper" and "MediaTek Helio X10 MT6795 - MT6331/6332 PMIC MFD integration" Tested on a MT6795 Sony Xperia M5 (codename "Holly") smartphone. [1]: https://lore.kernel.org/lkml/20220520124039.228314-1-angelogioacchino.delregno@collabora.com/T/#t [2]: https://lore.kernel.org/lkml/20220520124617.228808-1-angelogioacchino.delregno@collabora.com/T/#t Changes in v2: - Dropped first two patches, as Dmitry pushed a different solution - Refactored on top of [3] - Dropped Mattijs R-b tags from patches [1/3], [2/3] due to the refactoring [3]: https://patchwork.kernel.org/project/linux-mediatek/list/?series=644484 AngeloGioacchino Del Regno (3): Input: mtk-pmic-keys - Transfer per-key bit in mtk_pmic_keys_regs Input: mtk-pmic-keys - Move long press debounce mask to mtk_pmic_regs Input: mtk-pmic-keys - Add support for MT6331 PMIC keys drivers/input/keyboard/mtk-pmic-keys.c | 66 +++++++++++++++++++------- 1 file changed, 49 insertions(+), 17 deletions(-)