From patchwork Fri Apr 15 15:36:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabien Parent X-Patchwork-Id: 12815174 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 A7124C433F5 for ; Fri, 15 Apr 2022 16:13:02 +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=BFaiJNNzPH5CGEK38yrnqDq97WG4EKW8VFJObhK/raY=; b=DnO0k3J+Pa33R8 NoincsagQwWkX2rm7MQXM00OOW8ANO5kei0gsFRXUkRS2/GHbCEjTmv9pWfxB9NItQtovHCgUfysF REwCISihojyzs0chlUwooZbfeVPdQbcjcTuqRIiR+/ydUs4FJKZTS1TlaH+GTUmaosVCE3VDW/cW9 7G3Xh6UgiGYo2x3I1ZhFBlvA30uHgDRura+yHtyirFUn6nUQ5RXl+zAFPgpRyjVHOfYlvvskk5Ujr zR5S/SjVCHKtvBWQvyewNu2eXgfisC0pETUny+4LmhAbKf6H+AnS7Mzn84Az9UNl3+VnRSV2t7+n0 KYpawZCcR49thPi1m9rg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nfOY6-00ApWI-Tq; Fri, 15 Apr 2022 16:11:55 +0000 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nfO0Q-00AbUu-HV for linux-arm-kernel@lists.infradead.org; Fri, 15 Apr 2022 15:37:08 +0000 Received: by mail-wm1-x32d.google.com with SMTP id l62-20020a1c2541000000b0038e4570af2fso5221034wml.5 for ; Fri, 15 Apr 2022 08:37:06 -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=k5Hrv/6P14wuxEAoJwZ4UjPTdo8Z9vjBoCCIqwWWzR0=; b=KcwavP/bNwYUDWjOLWTRjKSPXsBlI7T5EpiuJmJHyK758VWcq/UQxaolWi2DTzsz9t kJuNEMoCZHya0SOybBjkjd6emwgywcjD49HjNWfdyZPD7Bd81Y+hnXD04fVhoPUBrk8Y fgT9MkofQkarujUGccZVT1ZoMCQdjGBvWUpmpZ6uDiFtXJQwNHdkpyzkLT1xIPpI/4yP SuZI10jpSceLhZ3RJXMHKZ6QYkcI/3Ta8+0hbgXXjc9+rqa5EVtgBDGn/iMYqpqLBQAv F8yHel57Vmpjzl7LYT368XTN3hQhvJTTXXKPyscFT7yD73vOZP+1J6QAOlVIaLx5LGAe p9/w== 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=k5Hrv/6P14wuxEAoJwZ4UjPTdo8Z9vjBoCCIqwWWzR0=; b=GdwBgLTcU7+pXusYGMaTH8d4ddawnb//Vd5xXY9Pd2syft+aHjJV34LpNLoo5hQuny eWqQXFgy5VP87MNOVUAjpu79gaSS/+o8JP/SrELblvr8ib0x9X5iQAPZgzON4/LOJcYn VQPlN1Fqo4y3rkrc3oXMl/ExD/cLms9R7YY4r4GMLfTZiY0KrEfovh1JyWafjA49ShEp mevSq4U5bMBAT9aANe98X9mZeimSq7Wr0e8GWrn/7/nazZkbud8AXB/IMm8FExVw6WBk Ooq6i4yI9267za9AScD2r+WC3JBp73YuK+GdVthPLJnNu4PvsJ/N2LfFI8bEycmDDAan +uFg== X-Gm-Message-State: AOAM531+hTI8gFJC/xOEpB6MkQx32GAKbnVB8M0Ymt08cyNshesgJ9QH 0j5uXUS5HuzBS+U4a5puKnNq6A== X-Google-Smtp-Source: ABdhPJxP2hHLChu7w5jeTrumBfb7Vqd/IYiSc2LBN1TOeIrWhbLE73c5LQrfRoy450OfnBz2o7LoOg== X-Received: by 2002:a1c:4c05:0:b0:38e:b736:350 with SMTP id z5-20020a1c4c05000000b0038eb7360350mr3878657wmf.65.1650037025270; Fri, 15 Apr 2022 08:37:05 -0700 (PDT) Received: from localhost.localdomain ([88.160.162.107]) by smtp.gmail.com with ESMTPSA id c24-20020a7bc018000000b0038a18068cf5sm8459292wmb.15.2022.04.15.08.37.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 08:37:04 -0700 (PDT) From: Fabien Parent To: Rob Herring , Krzysztof Kozlowski , Matthias Brugger Cc: Fabien Parent , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 7/7] arm64: dts: mediatek: mt6359: add node for PMIC keys support Date: Fri, 15 Apr 2022 17:36:29 +0200 Message-Id: <20220415153629.1817202-8-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_083706_720536_9C40D014 X-CRM114-Status: GOOD ( 11.04 ) 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 node for the MT6359 PMIC keyboard in mt6359.dtsi. Signed-off-by: Fabien Parent --- Dependency on: https://patchwork.kernel.org/project/linux-mediatek/patch/1622011927-359-9-git-send-email-hsin-hsiung.wang@mediatek.com/ arch/arm64/boot/dts/mediatek/mt6359.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt6359.dtsi b/arch/arm64/boot/dts/mediatek/mt6359.dtsi index 18c0d5325c22..dcafe1ff23ae 100644 --- a/arch/arm64/boot/dts/mediatek/mt6359.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt6359.dtsi @@ -3,6 +3,8 @@ * Copyright (c) 2021 MediaTek Inc. */ +#include + &pwrap { pmic: pmic { compatible = "mediatek,mt6359"; @@ -294,5 +296,18 @@ mt6359_vsram_others_sshub_ldo: ldo_vsram_others_sshub { mt6359rtc: mt6359rtc { compatible = "mediatek,mt6358-rtc"; }; + + mt6359keys: keyboard { + compatible = "mediatek,mt6359-keys"; + + key-0 { + linux,keycodes = ; + wakeup-source; + }; + + key-1 { + linux,keycodes = ; + }; + }; }; };