Message ID | 20230320154841.327908-11-brgl@bgdev.pl |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp1306473wrt; Mon, 20 Mar 2023 09:20:22 -0700 (PDT) X-Google-Smtp-Source: AK7set+zDY8tqUujvX2lOPF8p51B0NCWdXDIY6ysAx3wvsIXOLW9E0dn2DEq4l3n5gVOqxGw0TVb X-Received: by 2002:a17:902:e3cd:b0:199:1b8a:42a8 with SMTP id r13-20020a170902e3cd00b001991b8a42a8mr13597545ple.6.1679329222011; Mon, 20 Mar 2023 09:20:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679329221; cv=none; d=google.com; s=arc-20160816; b=Fj/yt7i2/3W4zZysIDUCOsBgOQCGYgKLTR1g63kPmwWR/ftcGW99ul7gQYBs5WXsKU ypbdqISR+hZX6YzEGxcYAlAJWcivx4yB0tohzMO68fA34EdGTAThfMO2nWdMl5l5KqSj MH528cbLyzPeSNncIzODxX/GNhgdolBNvYldtlxqBRzIDQDabaB2KllwF6jvJaMAL+aD a/PjZw6AZOHfSEOACo1AR9sEX0Y8RJ5LKu6je9JNzOJVxKpsDvQtarICXThhMfgNYWsk achaR4v9dV/oRLtdFKThMuOHlKKTaaZd+77JlRXOEyTjdtUBwUsQhgH/VtlqJos41LIY Ev8Q== 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=1nLJZiXwqxY+Yg8uo1itt5FvWTiY9tzGpl6uBO3+sbw=; b=G8IMG5CVd4kFSw5s7GuFlI949fZbJngiQcGURAHq8HL4aMi/qNWbFXX3uz+CP0JaIN QQk1UMmuBao7kqrrdzpoX0UeCvSi3KL0mDP6f2MtPCH9s2qd1eq7ghIO01mZ/A3KXFCC vENrhqQDC1ozgMU/1QcPz+GcJSouQtXYzC6j3GC4q5VYHBrAfqtsIAkpQ6L77ulB/x7T /ZVDO4PMSC+yw/sF2KHLvNGM9KgcMK+dYwf/PwzfK4Sn4fDgn61lJ0ZniARFHzg8nzZQ 7CZ2FATAQk4gKR+rRcdCC2yrl+X/NU1gvoau00R1u3yg8OL3hv6SocByOAl6+EB74Pd2 dhcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=L0VbHTAS; 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 j5-20020a17090276c500b00198a715d260si10525459plt.565.2023.03.20.09.20.09; Mon, 20 Mar 2023 09:20:21 -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=L0VbHTAS; 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 S233321AbjCTP6m (ORCPT <rfc822;pusanteemu@gmail.com> + 99 others); Mon, 20 Mar 2023 11:58:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232042AbjCTP5v (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 20 Mar 2023 11:57:51 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 929A77A84 for <linux-kernel@vger.kernel.org>; Mon, 20 Mar 2023 08:49:13 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id t15so10813950wrz.7 for <linux-kernel@vger.kernel.org>; Mon, 20 Mar 2023 08:49:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1679327340; 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=1nLJZiXwqxY+Yg8uo1itt5FvWTiY9tzGpl6uBO3+sbw=; b=L0VbHTASXTj1ZTPH7+wXYtsqSDLLvo2z9/zb2/zNwQ+c5LqE0xoarKw8VzouIoTmFX yocEjeOSJduPvn2KmbgDj/5uNsXhxLiRE3IAdVqpYcveUr497TiD4IT0UDi5qTAbdPoW H7HeIHGohEepPEZmZuwoVp4rmbfqo+brW3oX6Eaz3/QH3WRHt6jka6nTLP/5Nf3JiFbo QQnn6B0hVHDpvQu10EZVj+fOxwZap9XOWWXrasLGPMD5+1IjdRcxifK1ouoLF4n5/y89 5p9nej7/lhFRF7swFN+cnzIb3mL+ppL/v9pf2C12BMxbxoO2S2nIRJ3YywpUEBgr1eAV R/KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679327340; 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=1nLJZiXwqxY+Yg8uo1itt5FvWTiY9tzGpl6uBO3+sbw=; b=ySWWjYxw/OJ4RL6cnkcoPz/DMb9noLRFl0pvOkWQQzr9ruJNYARbBeU2kPiO53jkjb zUeD7mOsLzLqSWq0rkRr7KoUYnsFlOXR7reF06Yj171MguwYdIAiJu9LzFl3EKJxTk2B ekhpMyPtS7uQ48Gc4eBhA+YcJFvGF4ichMooyhbG811FsYtfCo6TqvYgT9WrgXg91iUb hXptoa/EgG4SUm/K/WK8PPG+p+aNCgytB8rWvWc0Gecr2h+SDisZs7xeyVZMVoNj4Sbs HPgKmqml+Dv7rttIL70E6pqR3OtcEsvyY4j7w6A2mr8jW+09kA+budAzm7mKDv6lYoE0 1JDg== X-Gm-Message-State: AO0yUKVjlB5A9dQZbUU9jVDex+cNhujARaGdReecoVfL3z5Jehvg25sw mqDl5pSgk87dV8esBMPYKs93Dw== X-Received: by 2002:a5d:6990:0:b0:2ce:a898:a896 with SMTP id g16-20020a5d6990000000b002cea898a896mr14773032wru.30.1679327340679; Mon, 20 Mar 2023 08:49:00 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:d7d9:4f38:38b4:82b4]) by smtp.gmail.com with ESMTPSA id o6-20020adfeac6000000b002c71a32394dsm9202578wrn.64.2023.03.20.08.48.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 08:49:00 -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 v2 10/15] arm64: dts: qcom: sa8775p: pmic: add the power key Date: Mon, 20 Mar 2023 16:48:36 +0100 Message-Id: <20230320154841.327908-11-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230320154841.327908-1-brgl@bgdev.pl> References: <20230320154841.327908-1-brgl@bgdev.pl> 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,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?1760904318431532344?= X-GMAIL-MSGID: =?utf-8?q?1760904318431532344?= |
Series |
arm64: dts: qcom: sa8775p: add basic PMIC support
|
|
Commit Message
Bartosz Golaszewski
March 20, 2023, 3:48 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> --- arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)
Comments
On 20.03.2023 16:48, Bartosz Golaszewski wrote: > 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> Konrad > 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>; > + }; > }; > }; >
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>; + }; }; };