Message ID | 20230327125316.210812-10-brgl@bgdev.pl |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1494828vqo; Mon, 27 Mar 2023 06:05:09 -0700 (PDT) X-Google-Smtp-Source: AKy350aP+rDhnXnp7mpCFjJoL7PN91Ab0AQ5l3bkwibNrxZhuyNt2iMPurwHTHbT4qM2SEvTg0Kt X-Received: by 2002:a17:902:f243:b0:19c:dedd:2ace with SMTP id j3-20020a170902f24300b0019cdedd2acemr9771574plc.18.1679922309541; Mon, 27 Mar 2023 06:05:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679922309; cv=none; d=google.com; s=arc-20160816; b=Ct3z8lAieCuSDOMAtOqf89xrsiv+ikQBT/aB+F3Yb0DN0+G8Gm0eAsbukuiTN6Thzm fbgZjXhRUdROoiIQ0SHevIGh86S9M86dyUYPBG5FdCZncLc1F0jds7qmm/Jx4VF6UD2v 1RjxL5Gwe8CekyxdvGmGX1b8Gc3Jf4m4/Rj18rGO3vxCuOIRK8tvPd7hZ8O0I+ohugTh 06Q/JOka/i2/k4vpa6ZeUZ007AfbFzyONahTUhXTQiJPFcP7uwo2Sy3ITlKSOCZ/DxOR ludU7Dqbx5Tg+8rSJlsixBI236WfEiKtH5ok6yUuaL9GZKqdvyotgS037LkDQAtQ/5Hu lUAg== 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=CCfaLfkFa9+r23DNhVQqZmyOO2Rn4kY0uWG6aZK0HR8=; b=jN+X0urS47YkRvojnQVnR88hIFfGVgRreQmJ3yXJMKvHoWs1DdxtXJjSIKLSXEiRvg TgHTskoHZlBjYfHo4D71G7u6kdZ7UNvXSNzhGAyIDUMi2m+1bPrWXrnJFUylBipEyAJG naQl0EtvqQjH5IK15vK9aPomwERSWKokqM7oOoU9x79x0PQG3GeC9LEnKYXob+HXBnTK ugD9qNsrfFGxtZlef/svhndZRsi59IjNPYWmhygZ+TYsjnrg7xdEnN0UPwUKzAwONWCD 0LeaSYpeGs01/mYmO9bPUMF7H0TVU9tpkWCTutrRvDOoZlGQSzdg2I+5TW+NXo6u5bSx 8/Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=PYBN+u4b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z1-20020a63e101000000b004fc2f19bacasi26903226pgh.120.2023.03.27.06.04.51; Mon, 27 Mar 2023 06:05:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=PYBN+u4b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232825AbjC0Mxz (ORCPT <rfc822;makky5685@gmail.com> + 99 others); Mon, 27 Mar 2023 08:53:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229887AbjC0Mxa (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 27 Mar 2023 08:53:30 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63A5810E5 for <linux-kernel@vger.kernel.org>; Mon, 27 Mar 2023 05:53:28 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id p34so4985781wms.3 for <linux-kernel@vger.kernel.org>; Mon, 27 Mar 2023 05:53:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1679921608; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=CCfaLfkFa9+r23DNhVQqZmyOO2Rn4kY0uWG6aZK0HR8=; b=PYBN+u4b1Gohk9bh2TKYaETvHvNPu8a/7/SNvTVGy8lroSQ6N6YNFD3LFHqGuO/OHn ucJyoCHrpNHTvFYD+Fve6MCPLWomRjMJDY4tdk0dReUgC0Iubjy6wOi0EnjCM7VlqALs e6Kcd8Rq66c5HJVX5lyvB6K19tmWa9bIc3HlGSYJ6VOzYJHWFRQkjPuqwS0j2G7nVNt9 zww0SLIMSbSoL5jE+xEL0vT1WI102PMMAimVnzzgwRMaSY3gFqTBTvU9fHorqjVoxPoD tFEoA5B4ta2xMRZjxrL+WEpST86DotAQTbi5djxeYLdk5irUAVW1e/iHTPS2dqvM/KN5 vQxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679921608; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CCfaLfkFa9+r23DNhVQqZmyOO2Rn4kY0uWG6aZK0HR8=; b=5EzIXjTc4FWWf+rUeMc5JcbnkoMoYx35QyP58Xd8YEK0kkla0PKXN3XeXijonfoC7L VCUb1UJLzX1+KGBkwf4kZdPWGerV1IHv7MkHZ+myj+V8f+I1g+/D3c9i9/c3GU3yhlu4 L6EGIIYcXzZYDYJ+Gf3Y1sGWrVD/yjNieLVVLnkHxdOd6bb0yray4Oi3o277QGUo+ELE UjIdSyoMVFtFgPA8dKqvArAloPGxhYbl2+byxUqDBx2bYNAmjsJdHbTYULJG168SN30T J8+Os/RzRv3vKQt2mz2AjkMdsvyZhkfnRvB8E090jRVbFz/m8NCd+asRV0v/uBcPUYao uy8g== X-Gm-Message-State: AO0yUKU//xyKx6YmTCka1X+Jx0d+buu2FuztwxcMVdOgBp7dkwgTg0JH RURw+sH3juPi0PmJaS/G6lmsCw== X-Received: by 2002:a1c:770b:0:b0:3ed:4b0f:5378 with SMTP id t11-20020a1c770b000000b003ed4b0f5378mr9168056wmi.27.1679921607876; Mon, 27 Mar 2023 05:53:27 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:313d:a304:2790:a949]) by smtp.gmail.com with ESMTPSA id q25-20020a1ce919000000b003ee58e8c971sm13572220wmc.14.2023.03.27.05.53.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Mar 2023 05:53:27 -0700 (PDT) From: Bartosz Golaszewski <brgl@bgdev.pl> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Subject: [PATCH v3 09/18] arm64: dts: qcom: sa8775p: pmic: add the power key Date: Mon, 27 Mar 2023 14:53:07 +0200 Message-Id: <20230327125316.210812-10-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230327125316.210812-1-brgl@bgdev.pl> References: <20230327125316.210812-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761526215353532774?= X-GMAIL-MSGID: =?utf-8?q?1761526215353532774?= |
Series |
arm64: dts: qcom: sa8775p: add basic PMIC support
|
|
Commit Message
Bartosz Golaszewski
March 27, 2023, 12:53 p.m. UTC
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Add the power key node under the PON node for PMIC #0 on sa8775p. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> --- arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi b/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi index dbc596e32253..f421d4d64c8e 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi @@ -19,6 +19,13 @@ pmm8654au_0_pon: pon@1200 { reg-names = "hlos", "pbs"; mode-recovery = <0x1>; mode-bootloader = <0x2>; + + pmm8654au_0_pon_pwrkey: pwrkey { + compatible = "qcom,pmk8350-pwrkey"; + interrupts-extended = <&spmi_bus 0x0 0x12 0x7 IRQ_TYPE_EDGE_BOTH>; + linux,code = <KEY_POWER>; + debounce = <15625>; + }; }; };