From patchwork Tue Apr 26 13:53:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabien Parent X-Patchwork-Id: 12827246 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 714DBC433EF for ; Tue, 26 Apr 2022 13:57:15 +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:References:In-Reply-To: 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: List-Owner; bh=ne5JRMrX2O8rawO8O3/3bVhNIonXrNfem+SLiyt5ckg=; b=RLvmdvid49uejG M6CeGCmNFVb2UGhb3zDQ32/RD1Ouf4yQykJw5bsdAm9rW8ri+OAObeqMwBVX1wbDWCGbA3M1iV+Sn YVpLQ/lr4LVOx3K5hLi3Uak+IrqX2MsqS5sNDjpMew5p7Csds70QBgTKfaY/uK9DiWbRBeyllUFgx uJD+AxuxhaiSJ+G1vM6eVwucaz893ydZvQ8scSCd2ZAgdG0uzQPsjY4h8gtL1ZIC+nQYzeyyIX2m7 KUAne51OVoWWHkopo8oPdtVdCY0xL4Opz5nrB64WDu0EFPx3xipozvIailugnjMkhq7pMbypL2cu1 GFjicbP6sQOgamfl8h6w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1njLfb-00EnAg-Vo; Tue, 26 Apr 2022 13:56:00 +0000 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1njLdF-00EluB-83 for linux-arm-kernel@lists.infradead.org; Tue, 26 Apr 2022 13:53:39 +0000 Received: by mail-wm1-x330.google.com with SMTP id m22-20020a05600c3b1600b00393ed50777aso1584997wms.3 for ; Tue, 26 Apr 2022 06:53:30 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=O7C9NN9G3/VfFHK1hDC66w+I6RP44XESXFga9fGsvyQ=; b=tvheqM8129dHvRZRBu7eeqqeRCM5zcWIoyp0MYoLVisR2OMbV/2v283zxjT66rouye 5avtcvaH1yVKGh15dLNfmXNusMYxJ7mg1wJP9YPUjf/JBKol92NH0gKtznk9VC7U0EHQ ZUpIsqQ87rA04mqnsXj8oO+DUAZUDlBBS+5C3dE7K5ecyOVx1gztKy9lZnCuTQ+3Ycrr +mWdc13Bo1NsQmPmH26x6IYKM9ttZJNOfWy6g2/rl1nwE7flvbB37anBZuwswHt/9ILT XRrcN27MzUu8wcjBCBiEEwA5B6dmJiRDEO+L+x0rvKESJVNUzyDSTjS3XG9eQ1Ut+i50 2kpA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=O7C9NN9G3/VfFHK1hDC66w+I6RP44XESXFga9fGsvyQ=; b=KFam6bU+g7bt1rN3QL4ZgVZzeMHefFyDHWNvOs+W3TiYuEYDGEd8m6YT2LUprZqYwZ 2FPS/XZCB3aqGveCMwrO8VIdHrXF4zmasbL1haIyPJwfyI0Q4Jnr9OjL4s+LKJ3qko/Z 8JobNJF9CEcZn4QcNvSfac4GwZoqINbhpmEWnPg35XJrC7aFSjcIoF+15lvYDoEjAOpB eqFhNXNmqUhUXYriH6qrPWsZuQnsSHrRQDIZb0zoLqatWquRL0O7qeYot94zdWlICq0b /+dCkN5/lvmONR/8jlONzz0RFIVNCnVHt0fOiR+DjZkFhgvbG6j7cPFBlUwN/zXNvni0 NFrg== X-Gm-Message-State: AOAM531+6N+ReML+OEV2KNBlL6hUM7t4cTNY1JZViNgRsIrZS4AiKivq gbYGDVkdPC40G6TQwhRakqgP6w== X-Google-Smtp-Source: ABdhPJw0ZGVy+y/bwlTwEjpHrS4+Dbi7BbtJsqhdkSs7+FHhkoD0AQ/BVfojKRZ5IKflw2xirTOtSg== X-Received: by 2002:a7b:c84f:0:b0:393:e729:e670 with SMTP id c15-20020a7bc84f000000b00393e729e670mr13275808wml.153.1650981209590; Tue, 26 Apr 2022 06:53:29 -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.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Apr 2022 06:53:29 -0700 (PDT) From: Fabien Parent To: Lee Jones , Matthias Brugger Cc: Fabien Parent , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/8] mfd: add missing defines necessary for mtk-pmic-keys support Date: Tue, 26 Apr 2022 15:53:07 +0200 Message-Id: <20220426135313.245466-3-fparent@baylibre.com> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220426135313.245466-1-fparent@baylibre.com> References: <20220426135313.245466-1-fparent@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220426_065333_360454_3DDF933C X-CRM114-Status: GOOD ( 11.27 ) 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 Add 2 missing MT6359 registers that are needed to implement the keyboard driver. Signed-off-by: Fabien Parent Reviewed-by: Macpaul Lin --- v2: no changes include/linux/mfd/mt6359/registers.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/mfd/mt6359/registers.h b/include/linux/mfd/mt6359/registers.h index 2135c9695918..2a4394a27b1c 100644 --- a/include/linux/mfd/mt6359/registers.h +++ b/include/linux/mfd/mt6359/registers.h @@ -8,6 +8,8 @@ /* PMIC Registers */ #define MT6359_SWCID 0xa +#define MT6359_TOPSTATUS 0x2a +#define MT6359_TOP_RST_MISC 0x14c #define MT6359_MISC_TOP_INT_CON0 0x188 #define MT6359_MISC_TOP_INT_STATUS0 0x194 #define MT6359_TOP_INT_STATUS0 0x19e