[v2,11/15] arm64: dts: qcom: sa8775p: pmic: add support for the pmm8654 RESIN input
Message ID | 20230320154841.327908-12-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 j10csp1306697wrt; Mon, 20 Mar 2023 09:20:44 -0700 (PDT) X-Google-Smtp-Source: AK7set/CNHX/j7Qs8bvbFVi61FTYA0mUdvJ3SUtVm70/Ys2bJOBdRhnFWkfD6Z73oF2rBBSTDwcW X-Received: by 2002:a62:4e83:0:b0:627:dfb8:f30d with SMTP id c125-20020a624e83000000b00627dfb8f30dmr6858087pfb.27.1679329244603; Mon, 20 Mar 2023 09:20:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679329244; cv=none; d=google.com; s=arc-20160816; b=PsJN6YnB1tG7Cf+SW7M4OBEsvZbapglUojQDJ6O0AMxNMKTr2H3OIn8dr3SeUCaRVS JQzapxpp626qJj5ycVcWU62tkPumJIEWORFJDQv5R2dyLDViWi/N6c9zXSrDtzzP7EaD rmk8hZtFTOx6wviK/6ngix9vjn7oNN1mZMj2uwrrycCPuPxLWhqEOOP9wLlfTfSgCiKg EYy3gKxoAB64iSov7ZqUhPQYXxuQdtuOQfJa+NJEBDijE9yN1pIRnWbCIlRPbtqnjKOO 4v2zdUbY8edVdNbyIxOpaBS9FrTnluhW0bwNs7gaDsgokVf5XLp83Imln/3BUS4oZnFi rQmg== 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=bRiWX/hg2WHOlY5Q4SxUV8r3xOlR6eC5PLcwIju2Pjs=; b=BBmY3MNhJeKQsQMxni+JoE28rRSMlgkM/tMWX9W1f6be5ZOs50rkuL5OE/uD+xIUzn f7SeQHlKtZ8RF0W5TaBJDBajT487ZiyOLj3xT/qyaFXskD9xpjRtg8kkd1hv+bVdKhtp FfXMvqyFtT8x/QXBKP1ss54AfJ3MMTI/B+Cx0jnjwjD5sLgBKiaPB6PhinyfIET0omCZ lxiNgQ+7hf54wTGHeJY8XpUNTcNOLMmtjuTWCqqZ1s3eddo2qrXPCNwPTWFOUBD+icqt 3GzPljOdJq+WRTdnKzRVHl0YQWiHBpoar2PuAGXpObPrj4eaiQnI0Ego08dOOtJONPKk A1Qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=U8Mt6W8d; 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 y70-20020a62ce49000000b00623e3bcfbd2si10729083pfg.11.2023.03.20.09.20.29; Mon, 20 Mar 2023 09:20:44 -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=U8Mt6W8d; 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 S233361AbjCTP7H (ORCPT <rfc822;pusanteemu@gmail.com> + 99 others); Mon, 20 Mar 2023 11:59:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232252AbjCTP55 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 20 Mar 2023 11:57:57 -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 D869A974D for <linux-kernel@vger.kernel.org>; Mon, 20 Mar 2023 08:49:18 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id o7so10822622wrg.5 for <linux-kernel@vger.kernel.org>; Mon, 20 Mar 2023 08:49:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1679327341; 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=bRiWX/hg2WHOlY5Q4SxUV8r3xOlR6eC5PLcwIju2Pjs=; b=U8Mt6W8drFShZryD8lCf6PZgzBtdwxFTZVnm2NC4vD7xXp4fBbWHn6a8R38Ahmh2rL oMMW3/JsyUJfHI0YlJx0A4KIxzksKV2EY9Srp7gdkZuTlhuXOtG1ARrUmy/GavRScCYi 7fAVLjMWScnmxLSFcZuiMliQc1RQLCExD0k7cgZr7B2IIljsr+IhyS9ua2zL7jYUEI+q QhOCQd9/KEM5PTSnLzD13vqwu7jy1T+a9sJILDMCGnQEFwNbO8u3rH3aNqPxLBejHtGh F3v/506njXf9+Oo+bAyIQUmcMXRp3xmcYLwEH/80ij/9L35yn08EmP6oPCZFaoysomNI LKew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679327341; 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=bRiWX/hg2WHOlY5Q4SxUV8r3xOlR6eC5PLcwIju2Pjs=; b=XF+veulOGJlTlPeR2Y7Ke/OYrdbMfxcz6t1qCISGethTKjoxStzTNDR25yUQ+lG2AX UMlVmQtrvflHAX3L9k/QjoavIEoXlouqqHXzSZDhbFehHuj4gxnRtNLeKyJ3gbKs/Yeb YFxq5QpzhPQbZkD1yNzB0lS85TnqWGQ7UMMLPg7jezNUnDFgnVSzSsP5hLsuz1PrKly6 1EmbfxFgsT3Jp/yPHi2WXO1zfubnQvtlSkYUeMxgCZgaiMXkCuIbU1HGLCCAVtSdORiQ nTN1YlsAup/6/4+J59GFi0Rm6g3aBtvAwWBCbshIgTylQA75sT+QUJlxrkfkb7u0kMAR MJCg== X-Gm-Message-State: AO0yUKXclzXpT4y1PIGIVM4GHirb0OiiZ4qEnbRrd/F+3NIJNODFF3VQ z4KqqwlVn9Q4v+VpL86x0U2P2w== X-Received: by 2002:a5d:5686:0:b0:2c5:4af3:3d26 with SMTP id f6-20020a5d5686000000b002c54af33d26mr14387094wrv.9.1679327341666; Mon, 20 Mar 2023 08:49:01 -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.49.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 08:49:01 -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 11/15] arm64: dts: qcom: sa8775p: pmic: add support for the pmm8654 RESIN input Date: Mon, 20 Mar 2023 16:48:37 +0100 Message-Id: <20230320154841.327908-12-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=ham 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?1760904341637371705?= X-GMAIL-MSGID: =?utf-8?q?1760904341637371705?= |
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 RESIN input for sa8775p platforms' PMIC. 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 RESIN input for sa8775p platforms' PMIC. > > 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 f421d4d64c8e..8616ead3daf5 100644 > --- a/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi > +++ b/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi > @@ -26,6 +26,13 @@ pmm8654au_0_pon_pwrkey: pwrkey { > linux,code = <KEY_POWER>; > debounce = <15625>; > }; > + > + pmm8654au_0_pon_resin: resin { > + compatible = "qcom,pmk8350-resin"; > + interrupts-extended = <&spmi_bus 0x0 0x12 0x6 IRQ_TYPE_EDGE_BOTH>; > + debounce = <15625>; > + status = "disabled"; > + }; > }; > }; >
diff --git a/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi b/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi index f421d4d64c8e..8616ead3daf5 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi @@ -26,6 +26,13 @@ pmm8654au_0_pon_pwrkey: pwrkey { linux,code = <KEY_POWER>; debounce = <15625>; }; + + pmm8654au_0_pon_resin: resin { + compatible = "qcom,pmk8350-resin"; + interrupts-extended = <&spmi_bus 0x0 0x12 0x6 IRQ_TYPE_EDGE_BOTH>; + debounce = <15625>; + status = "disabled"; + }; }; };