From patchwork Fri Apr 15 15:36:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabien Parent X-Patchwork-Id: 12815163 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 5B96DC433FE for ; Fri, 15 Apr 2022 16:09:56 +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=ICk8N3xjPCEaIvFhaUiQ/hi+PV7/OJrXoGy/yOZTAA4=; b=RgNC9dqLJenzRF QKZsW0dLj5ivseOGGPPHtVzzOqXDuXEbxCJVJDR0nkBNu5TSeWyMJaGP1FscgGEtDs9FWBrjxY+9H MsN1if9SzquHfEVWcFpmNR+9nZGklPsGyRVd7ahZP6tXK5YY4iI6vSavPjMF9fzUT088CCJfKhVhI 6VEonU3ulh99vdRK4l/dJ/ZLZGHqQDp1WRwa2fB/6j3IyNHj4ZgkEpnFrtj7v5ASuQxxRzWMyDyEe 9rZ628RZoHtcyBevMbnEEIG1TxnAzROkbtkfShJWcmAidwU54ZdTwQ76CmxJMDwPw1EJEsJ63PMAh Qa6q7AqHGdYiR3Gdbwbg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nfOUz-00Ao4i-13; Fri, 15 Apr 2022 16:08:42 +0000 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nfO0K-00AbOe-7c for linux-arm-kernel@lists.infradead.org; Fri, 15 Apr 2022 15:37:02 +0000 Received: by mail-wr1-x434.google.com with SMTP id i20so11022580wrb.13 for ; Fri, 15 Apr 2022 08:36:59 -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=M8lmuusreyEB7Gud7csUtw7tpltYDp61Pfem/SE6pZk=; b=Td7opDcQaMHI3JFBSWitUPOiGjC1BZcN+VXkNxXfzTacxCPZd+RlBamsom/P6pj6hg EQXrRuHGXiNXFQtSrR3QL1QbiiNbjPTITd8XdGNJyB82Ht5mkqdGh5NTUY6JlXUr5pcI 1GhmEzwbf39+IAX+BfrK0XFv21dUff4s5Uie+EEAFN6tGnT8k7GalPtJr0bbWKkJ/t+I LCf964j2RpBGLIc9wst5Vwsn1c4F+klbJrplVP42wMIlCUMJwMzI+m5JAQXDMcnvfCSy EI6YeGHcj7aHLbpDBaAkPXjZMQojCrSqhAnsraX9fvf0KOLJVNgLWd+mzHnJMKoTfYCv CaNA== 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=M8lmuusreyEB7Gud7csUtw7tpltYDp61Pfem/SE6pZk=; b=qP+IyEMn6FdIgTCXBfYvg8ZtPm9GJOXac79fEzrqpbFauLjEFgZNpoMN5Pt+3SMLWE zfPDvIXtwnvIaas0cJqeC4ZpHCcfeCrumSmlNU1a9Ihm7fhFxTUyPV2Y10SB6qcZOkse SnTZyrHbTFTa6TmhbL70xvzK2eHcazeyHs0K7/AFOu6SJaZ9RdoSpva+zd7PmuSqXRLa UaayFF9uCLav94lUTQCq5GG14OixocrzkUcfudvKjJf/khoz8OjXPca4Qq+acRI0Qiwn ilL8AmKQ5cYczrnE5zQiuYSHEEvb0Vt58LzPT7fL2P1w20ZTyVFZYKM2VtBWHcee/p6V Ab4w== X-Gm-Message-State: AOAM531JHPpp4hW/euch6KXifODYBfAOHFsH6AYhIsjWh1S0PwLU3if9 EYnFRK9rdNh/8J0HBcoBtlc3tg== X-Google-Smtp-Source: ABdhPJyicB0kEbhTFgNRydBA+wCxkMiQhnsXg+5hKIJU185vpb3FHT12FRvF9HoZokb6+MthOFW4HA== X-Received: by 2002:adf:d1e3:0:b0:20a:7841:b9b4 with SMTP id g3-20020adfd1e3000000b0020a7841b9b4mr4299001wrd.61.1650037018548; Fri, 15 Apr 2022 08:36:58 -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.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 08:36:58 -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 2/7] mfd: add missing defines necessary for mtk-pmic-keys support Date: Fri, 15 Apr 2022 17:36:24 +0200 Message-Id: <20220415153629.1817202-3-fparent@baylibre.com> X-Mailer: git-send-email 2.35.2 In-Reply-To: <20220415153629.1817202-1-fparent@baylibre.com> References: <20220415153629.1817202-1-fparent@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220415_083700_308137_A5A06EC1 X-CRM114-Status: GOOD ( 10.91 ) 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 --- 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