Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4448334ioa; Wed, 27 Apr 2022 04:13:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznIwmAiYXli1pNYWzdeZVJHx4leOiyB7xKNkD1XXWPwBfXGij7zXWJqmAZ+7ysr5YSCFgr X-Received: by 2002:a17:902:8546:b0:15b:6752:d3fa with SMTP id d6-20020a170902854600b0015b6752d3famr28375110plo.89.1651057996728; Wed, 27 Apr 2022 04:13:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651057996; cv=none; d=google.com; s=arc-20160816; b=E+jz1u1WYglUS0QZ++c3RluNVYhV/3f/0R4T5Xqi2N1Lz460cOFJbyvZWbz5i9XLuc fSgnoEtrqWdT9GsXJeHNF6JnYiF9KLa5iC8DcRRsEE9U0D+PSjEECATP4cze//N2WFhE /Tm8XzVX6szljCd5D2iA8VU7inV5sar0hCgDhIq1w1tjmbUyRk8y0SkPrOuqz1Y53Lyu ylqv1+5r0wSGoIgkyTIVujT/xRxnwzI28O4tl5NZ0if+AMYkhPLdwxHDh6ZYQxDX5jvN a/Da/Ckrn6uGxaBxp3N0gZfk3JHkwrY6jQV8lyq91bYiUbhWaKvXfV+MyUaDc0fLfymp ULeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=hO8uVhyORBvP7WeUtfTUf8CcXBR+w7H1dVOkhTVX69o=; b=GsVZUSmHnoES5wSP7/ql76jvRxU05874dl7bC/aAkg1aJakoFZXJy+3febloHJK8Mj NVpC4JpygTb3pIPAFTjCqZUISDxZHTrnLhbx7a1mkrMqLHuVSxtax5svUkKQHe2dK2Qu 5x93SD9elgEDDU7Ae8RR04gg2NXq23OQuLXCrcI8FPNMs/37LwlnnYVwRCTbS1LilCXn YDYY7sD9ue/Iu9TQIeslDuKNf4l239Bdj7b9FIlLvV3guNjoc3l+ZmE/t7z1GDiYDYQn Ax38JW7+RbNw65XA5RzLOvCSElefQi0NI1CyTBrZW7R1kT4yDHRGi2Zsp738jLHssYtT VCRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=5D3rmP5i; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id b4-20020a170903228400b0015a79b65a35si1518840plh.198.2022.04.27.04.13.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 04:13:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=5D3rmP5i; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 200B8448CD1; Wed, 27 Apr 2022 03:07:01 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344504AbiDZN5N (ORCPT + 99 others); Tue, 26 Apr 2022 09:57:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351207AbiDZN4s (ORCPT ); Tue, 26 Apr 2022 09:56:48 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7453C15CEC8 for ; Tue, 26 Apr 2022 06:53:40 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id e24so5708979wrc.9 for ; Tue, 26 Apr 2022 06:53:40 -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=hO8uVhyORBvP7WeUtfTUf8CcXBR+w7H1dVOkhTVX69o=; b=5D3rmP5iwuE4GBHqGlhm38hSdktR2BWc+S8PxwVXPsTLn7jTcYbbwNacLE9HBYiXqO K7UqaSli/+RrDZMbUxSb+ef7+U0pkLlIZdLu42FAlMACYLy9CnPxoPymmOZoiMVF+5zR tMdSw3e+vvwXLKN61gt5RPMCrL3X1DoaMpq3MIwpPcexrcfPFqbZPx5q2CANFs2Mizcn KrciwOwA+N5X0ulwHbcXHvZTdYZHu8shJ2ocNsfUj6nNFjj3axvIuT0iaDKhDaFL0nqy 6/6YDGalUCpGPaS2ahHjiT9qcwAtLqVCxTzOGV9/a9HTKB7Iwjccj5r/PlD29FHAnFcS NosA== 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=hO8uVhyORBvP7WeUtfTUf8CcXBR+w7H1dVOkhTVX69o=; b=mjoGIII5w0eeMDrFFEQvjS+scigYLInDmCVLW8OqKpJa4cNW6X4Wyn49NXxJvnzq3t 0uMtwfSFiSs//y3ACK3izPGYSD6+4KI+ZAE7bpygpCUCxnV9hTmTa7G6/lW2fTO8gUvB qNOWefrOPJQ2CJ4r0+V12x96p4wlyCiScPSbv4MwBL8lqzciTOkXZx+Xu4m03In57C2r rln+wLS7BIVgAHN2N6YFqPFG1Xj8hKtGpZ4L1UTWWO/8Djoi9+v1iAMzcBa91996vLEP uCb6fJOPA0Ieb8eR3H0ZBL6Dq4hmhJbwopH2ZKWZI0cZ4zH8Q/qNOeEt74Gi4Hfg3fpP TC3Q== X-Gm-Message-State: AOAM530oGyKQT1bl9KcVTgPjpR/P+joS/npuIT6qLTOS7mQ+hvRSTzG9 zI+xz00fkKcsdBFHffOzV1qcjw== X-Received: by 2002:a5d:64a3:0:b0:20a:7931:5b91 with SMTP id m3-20020a5d64a3000000b0020a79315b91mr18423211wrp.388.1650981219106; Tue, 26 Apr 2022 06:53:39 -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.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Apr 2022 06:53:38 -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 v2 8/8] arm64: dts: mediatek: mt8195-demo: define PMIC keys available Date: Tue, 26 Apr 2022 15:53:13 +0200 Message-Id: <20220426135313.245466-9-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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The MT8195 Demo board has two push buttons connected to the PMIC: Home button and Power button. This commit adds support for both. Signed-off-by: Fabien Parent --- v2: new patch arch/arm64/boot/dts/mediatek/mt8195-demo.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8195-demo.dts b/arch/arm64/boot/dts/mediatek/mt8195-demo.dts index aa41df865c9c..810e69c5f7e0 100644 --- a/arch/arm64/boot/dts/mediatek/mt8195-demo.dts +++ b/arch/arm64/boot/dts/mediatek/mt8195-demo.dts @@ -246,6 +246,17 @@ &mmc1 { status = "okay"; }; +&mt6359keys { + key-0 { + linux,keycodes = ; + wakeup-source; + }; + + key-1 { + linux,keycodes = ; + }; +}; + &mt6359_vbbck_ldo_reg { regulator-always-on; }; -- 2.36.0