Message ID | 20221027063006.9056-5-manivannan.sadhasivam@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp62780wru; Wed, 26 Oct 2022 23:32:12 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6jB0QK9JW7MG0jug7iTCK1JwfwLlvwBr8X2fQPRED9xQhVZQsQvhtVO0/70HDQ8FcbYZbc X-Received: by 2002:a63:4a4b:0:b0:439:837:cc8d with SMTP id j11-20020a634a4b000000b004390837cc8dmr7040200pgl.199.1666852331730; Wed, 26 Oct 2022 23:32:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666852331; cv=none; d=google.com; s=arc-20160816; b=XhliDDMfgcXOSx9m9sUn0URbYhdIRcQ1psii51i+yy768b2xgNnfdsHeO2Uz9wFXRA BcDI+CItmjOUDGW0RZUvQUHtAk1Q8PULbGKC+LYVVy4j80mXZxdTrO4t+z5xfevy8P24 YN/wChZFSWUhwfc61DbXiGmlQb3Lg0nJLiCtOKzh6aycF6SuS8CP/IS3sNaNQLcKvCez 0JDthI5XY5+VBQ0UV9Cqay4OPLfH4a0+1y8qB2vB9bzvvNlB3uuR3CUUWRRUL1eqTRN4 iyT0/2nqxzARqtrblaD0MLY1Q46NlcjHQcJJfaHAXtw/KDz/E0unNb3IQp9UzbY0HELq 0lKw== 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=+oNMWjwF5SpspioafdolHZIqZWxnCSDsNsWJlArBnr0=; b=0Ktdj3po4XT6EHUTzgxj+lqRb+CQmSx1Gt0mFfyZ5KhKAuxGAFx2aaRM1sVGF7YInW RiB0QOXGJKvAmnFOgdwr8P+s93e4pHYumrfTpeVxe3zXEM0Oeg6mPDhdTZAS8REJo7Qe m7s42eVkwyiW4AVj8VQSkEJXd0Xqjhxwqd2xRJyy4UoqB2u+4JPXtrxlvxAR3GG5we6F /3EF2MScWwBS+R7wqQl8FSRNQ0Aot0Q1e1kVx7H/QdjMcR8OSklMdC9LlIt2gSHVzk1m uSaflEvtLBg0rsULP35PTlhCE1qN4qTOsl1gcuNGYH5RoOM7VW/IO9oHUo4d8sa46Fy/ E4vQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JJheuPFr; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c8-20020a630d08000000b0046ec396db31si556925pgl.857.2022.10.26.23.31.58; Wed, 26 Oct 2022 23:32:11 -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=@linaro.org header.s=google header.b=JJheuPFr; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234260AbiJ0GbB (ORCPT <rfc822;chrisfriedt@gmail.com> + 99 others); Thu, 27 Oct 2022 02:31:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234451AbiJ0Gaq (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 27 Oct 2022 02:30:46 -0400 Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D79C816087E for <linux-kernel@vger.kernel.org>; Wed, 26 Oct 2022 23:30:35 -0700 (PDT) Received: by mail-pf1-x432.google.com with SMTP id y13so558197pfp.7 for <linux-kernel@vger.kernel.org>; Wed, 26 Oct 2022 23:30:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=+oNMWjwF5SpspioafdolHZIqZWxnCSDsNsWJlArBnr0=; b=JJheuPFrZj1MnqzU6PMWCSrD8v+QV387IuiqqR2iAiaQ/gYzyf/do0vznbussRzQti ynIRsPmYNdm2KCDwPRYDVkjy++9JVIpdIkJ4/BSVoWF4nVh5uVSTHvIFJ4xL8wVvWTho 96Z9POS8G/YhIZYINKRsknfo1DieqEV3+H8DrUcb4hr/LpWhlNODoqrqXppIccpvmYTa YJQZKBBhPSORBNz9X/63lsa8ua93V1vqPw9zNJgWWzl/2PMCpaI9+AHgqu81LCons3cR Ctee1yK+fGiZXY+B6rQmBmFXaPX5YcwvLo96qZWmp+5zFNIa4OpmHxE7W43yEOQnMcEv 4Tog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=+oNMWjwF5SpspioafdolHZIqZWxnCSDsNsWJlArBnr0=; b=2I0095ihQv9+VGDnBKYLzJqMMHVogUasP+GwxPbIPoBQCLY3yLkKfFZMcxH4gkPwC3 qCjuwF79fDhO+cD66jUItUYuBwnjx3bnBNBaXGHHekZ8Re5ZzLmxVZrGgCll8RpgnV2r qLEBlyzN90q6o8HSt5jceha0CgCHTlg3u6Xs08S51BpV9fG0YvjOCwzq4wryWvbOrRA0 G8oJKbIQn1PfeFmEA30q4NOcv6Rxrqs2flqN9GIr9YL7764EcazatLQsYaTjV2niT2Lu EozzexSG57CdThkAuePEWIeoE7DZNctKVpmZNwEgkKhnm9Jg4N60lbP0iqAgCL2SXox/ XSKA== X-Gm-Message-State: ACrzQf0OgYdG7dan2SetkXS3HpFLqgo5ScntlU8qOFw7sSilhxToHsLx lTlFNcvNZm0WhqcCd4gwbuWe X-Received: by 2002:a63:5425:0:b0:450:738:9a78 with SMTP id i37-20020a635425000000b0045007389a78mr39812555pgb.429.1666852235394; Wed, 26 Oct 2022 23:30:35 -0700 (PDT) Received: from localhost.localdomain ([117.193.208.123]) by smtp.gmail.com with ESMTPSA id i126-20020a626d84000000b00561d79f1064sm446041pfc.57.2022.10.26.23.30.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Oct 2022 23:30:34 -0700 (PDT) From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> To: andersson@kernel.org Cc: konrad.dybcio@somainline.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, johan+linaro@kernel.org, quic_jprakash@quicinc.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Subject: [PATCH 04/11] arm64: dts: qcom: sc8280xp-pmics: Add support for PMK8280 RESIN input Date: Thu, 27 Oct 2022 11:59:59 +0530 Message-Id: <20221027063006.9056-5-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221027063006.9056-1-manivannan.sadhasivam@linaro.org> References: <20221027063006.9056-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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?1747821350427198847?= X-GMAIL-MSGID: =?utf-8?q?1747821350427198847?= |
Series |
Updates to sc8280xp-pmic
|
|
Commit Message
Manivannan Sadhasivam
Oct. 27, 2022, 6:29 a.m. UTC
The RESIN input can be used to reset the PMK8280 PMIC. Enabling the
RESIN block allows the PMK8280 to detect reset input via RESIN_N pin.
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---
arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
Comments
On 27/10/2022 02:29, Manivannan Sadhasivam wrote: > The RESIN input can be used to reset the PMK8280 PMIC. Enabling the > RESIN block allows the PMK8280 to detect reset input via RESIN_N pin. > > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> > --- Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi index 397ff4995003..4a3464f5e6e9 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi @@ -68,6 +68,12 @@ pmk8280_pon_pwrkey: pwrkey { linux,code = <KEY_POWER>; status = "disabled"; }; + + pmk8280_pon_resin: resin { + compatible = "qcom,pmk8350-resin"; + interrupts = <0x0 0x13 0x6 IRQ_TYPE_EDGE_BOTH>; + status = "disabled"; + }; }; };