[v3,10/18] arm64: dts: qcom: sa8775p: pmic: add support for the pmm8654 RESIN input
Message ID | 20230327125316.210812-11-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 b10csp1493373vqo; Mon, 27 Mar 2023 06:03:34 -0700 (PDT) X-Google-Smtp-Source: AKy350ZfZZQR4aeCTH8JzouRa3TPGq3v1c9JnJ8E+HP0FV+Z8P4FLQtruuTVDmTUjDuv+qs8E5FW X-Received: by 2002:a62:7b44:0:b0:622:8a8e:8cf8 with SMTP id w65-20020a627b44000000b006228a8e8cf8mr11476350pfc.14.1679922213879; Mon, 27 Mar 2023 06:03:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679922213; cv=none; d=google.com; s=arc-20160816; b=EkBdPpNHZ4uZf2icuJsO1qRySKc9vxk9SXbBr6l8tcvFhScCC6S7Kfr5YREx0VR0mX 9pQZq9eyws8ZyPzBfW14L4ovOCq7de/UnxPlxLfmRnC7aukyHL3ck1lj3t/u457A9gPZ PAxmOqbElKCPhKHGd1/gZQ6flu5KpxMS0CpBX82VnDIkOhySX86/hjvWni2/6Ct1DoPy fXDI+kBFJWI9XcBcXsMl2bwLxlRMGlBzHE4tlVhdNhp8MBlBxRuy/1tSYdVldo/7mwsk Y2Z3+SCDthNLnZCc/6yZxwl5DV25ZD+dmEMJkMZue2o4/xZpVzHB+sLRzB4fLZzZjTc4 7oIg== 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=9xLbshkx8RN3Dp5pV4JMfPJgexrRDb08ZnEhmNgvIW8=; b=p4hub+kIqBAjTZGeKSfa41jPFcUAJ3tsKxRJRdfb/wNbGtfNfF0tmGqxlBqARXYVY3 kW2DceCklrA5vAj0MXKIgf9fcRkOqacz8/AWh9AfNFtlm9ubO2IYZC2yBrOTdJv/F9yY j6+qUKerIASC5x57HE/8U+P0Ok3j8E7+E4ITUDQjq41PlURhS5oRlOn6O66suMz9RdAt gdILApWGX4VFJtJsSMjpbFCezy3O6qK7ByWFwXMW75ek9cFaiKNQ25nnQMXul4NQp27S eNLav7abNzk+lyadxeHbA5DtbCX+EIoq6C2iYNXjonqkD/0fzcf4K9l7Co1x5I9vRdwm c8UA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=DN5zlzT8; 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 q3-20020a056a00088300b005dd4ab3a2c3si11352748pfj.182.2023.03.27.06.03.16; Mon, 27 Mar 2023 06:03:33 -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=DN5zlzT8; 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 S232802AbjC0Mxv (ORCPT <rfc822;makky5685@gmail.com> + 99 others); Mon, 27 Mar 2023 08:53:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232480AbjC0Mxa (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 27 Mar 2023 08:53:30 -0400 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42C1910F3 for <linux-kernel@vger.kernel.org>; Mon, 27 Mar 2023 05:53:29 -0700 (PDT) Received: by mail-wm1-x32f.google.com with SMTP id s13so4984972wmr.4 for <linux-kernel@vger.kernel.org>; Mon, 27 Mar 2023 05:53:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1679921609; 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=9xLbshkx8RN3Dp5pV4JMfPJgexrRDb08ZnEhmNgvIW8=; b=DN5zlzT8lBCRiq18EenA9tEbn5n8IpWw4jH6eQi+f7ZGyZUGT3RNp2lPyQ+nSTPnw8 g5cpS5ACzV/j8UyIyCbYakip31FlVZrcSwNhyXHEgqQcEujcGEd/XdN6p6/a+sKk/7SX Bhbjyk9BBl7Vg+fyf9dPeVYNvh1PQMycMKQy+RxOpvEiREEIrWuupNEhYGlVsop2I2DR FaXcT78CGQyQqBmZswzFMc8pEJqcTFcB0lRuOPn7d7IofcIVyrEySTIARP8bsyUjvnS1 fpYrFUAT3+IGewuV5yv95R5EIzZGdx6sN8AIcIX/DnrelZ+yKnODEW8w+X+nwuSdpRLs T4AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679921609; 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=9xLbshkx8RN3Dp5pV4JMfPJgexrRDb08ZnEhmNgvIW8=; b=5P0Ql9a+aFogdjrcY1Js0wGpnc316AYbG0vP1fZX8X92ZDlRvO91Dw2+qpu1d0PB4K HRf9b9eXX/PlAK+LdfJWsaLOdrJcD74X7xMbUro3/YkkjNUM727BePv9B1tEeKpWveQV tViCCdy7Vl6ZZ++dZnNEMAQSadZm6Q4eLTv+EBQclSFO1uw3iNskgRKAma6+2S7zNTAm qFoapiSa4oHIkj/a3twxrxBiqdKMOMZ7GbsSHeWN6hKPoc++XdUanvoeMhy7ziBhKmz8 N5kqLHHo90ynLeyrTnr3+DRlcp7QLkiEO7rsH5XsgSnoSKtU1DDD2AXQsYXTp3G4vEcr yjiA== X-Gm-Message-State: AO0yUKV9eY7FSKfJ+5O/bivZvOREaHl9o6BzDUSTFJKaXuSfWHeh/M9Q 9vUSdQGLhDcmp1C7QXJaVMiVDQ== X-Received: by 2002:a05:600c:258:b0:3ea:d611:f8 with SMTP id 24-20020a05600c025800b003ead61100f8mr9758392wmj.38.1679921608872; Mon, 27 Mar 2023 05:53:28 -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.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Mar 2023 05:53:28 -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 10/18] arm64: dts: qcom: sa8775p: pmic: add support for the pmm8654 RESIN input Date: Mon, 27 Mar 2023 14:53:08 +0200 Message-Id: <20230327125316.210812-11-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?1761526114905639989?= X-GMAIL-MSGID: =?utf-8?q?1761526114905639989?= |
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 RESIN input for sa8775p platforms' PMIC. 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 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"; + }; }; };