Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp30416186rwd; Thu, 6 Jul 2023 05:45:54 -0700 (PDT) X-Google-Smtp-Source: APBJJlH8rROr8bftR5ZIiuqOFUZvFKuW5VlBDMH29cY6qFTNkoS3S5bkfuU1omdmieudMac01Oyt X-Received: by 2002:a17:903:32c9:b0:1b8:9598:6508 with SMTP id i9-20020a17090332c900b001b895986508mr2017164plr.18.1688647554374; Thu, 06 Jul 2023 05:45:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688647554; cv=none; d=google.com; s=arc-20160816; b=dhVR+PXilDQPRGdcvCRQRBRYNJhCLjgK//fQBdTAUCriJFaXYnP8HH0JRQPtHZagFr cNx1ovUyRMaeyplewcUuzis2pZXjH84W89zlwL7y8kGkrtv48FDmW73n4MzyJA2VqtvG SVXe9g3nXOBOC2/gZKgmpptpj3YeisOnRiuQQxaZQ78HnO6ZBaLGyarsTZIJvY5Hxzrk w18CpocWEP85cGjboHZC2GQpRBMIh/j/1U6teKe4Bg/G28v5x15AznaYvHvam4tmB/A7 HAxH6LCRe1sJwDBhrU1P3XLgdHOAJPfhnh95BOzn120lwTSoOTgh72cnCZi1vZlwuv3B eA0Q== 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=7TE1n+MGQuKs3FdA5Q59+sPT4axcOEYjNeOfcfoQUrI=; fh=6RhnfB61LX1kDAt6NPEkvWpTxtA5bwPmnnUbf+c525Q=; b=Mp7jHpaXIefTgonIc5YQpQlAedXZJR3bXki2oF5BwdOgS/OeD7hamwxUyvyKRt7qrl eg9AIxCmbPmgWyBKBkydsNEysJWIrc/sATKnWXnNKS0QN4XrcICCHrcu8gGUUuJQsHKE kyoQpfQoUedRz8GKMsMhMrPHTO+N3m960yebLxOMsWS0P8QRP1rwM5uNY5M4K6XSAj4l ZUprhm6UCzQeNfAUV58hx/qPrrWVhZjfkm89zUyATSjX20b6sOzaHwrOEK1cX65PBKCH 7/+IucnqMuVAJp8ZWUzunECJ2bPzdEcofQxAoWvRab+LjIWEzrUm9VloNEHMCdejO6ux 0cJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=ToqjMYUc; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jy7-20020a17090342c700b001afc602cd5esi1212301plb.90.2023.07.06.05.45.40; Thu, 06 Jul 2023 05:45:54 -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=@gmail.com header.s=20221208 header.b=ToqjMYUc; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231630AbjGFMom (ORCPT + 99 others); Thu, 6 Jul 2023 08:44:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232006AbjGFMof (ORCPT ); Thu, 6 Jul 2023 08:44:35 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E40531BF0; Thu, 6 Jul 2023 05:44:02 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-51dec0b6fecso947657a12.1; Thu, 06 Jul 2023 05:44:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688647436; x=1691239436; 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=7TE1n+MGQuKs3FdA5Q59+sPT4axcOEYjNeOfcfoQUrI=; b=ToqjMYUcVhSZGh/fmk+F2ssrFSqxuIIt4Zn3zOICqukfLcAUDWS5bIly0svw61bGDJ eHkGzLzbhbPw1jIXNcaHxNIozx60JzblQzlX7Gw3JrbflF8eLzV6JcZAAxnoivRuFlly YAdJoX2ONIh1UWqCk0K3MZB/gC9o0kdiMoaxdFuCzxTwB3W1tGILdsXnLP+uaDBxR0Po iKwSI57EUwmro56XsYEM9Y2dBSXHOpEOMIdQMqjWtuTRKUMF8VWJF+At68Gg9Y3Qlb9L agBDXYL8ShSvGfPWVzaCdAw1ekek1XSju/5w0DUbJXYmSw8c2aWyFuuDf4ZFCMIT+r/u 6/+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688647436; x=1691239436; 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=7TE1n+MGQuKs3FdA5Q59+sPT4axcOEYjNeOfcfoQUrI=; b=kCtH1S9OwAzDT9zUeyebymPbYd1kG9Z8UBzk+dIusP3fB4kgcCzEkbxVzRagwKDp/w VxWCs7VOCQOZhyg/0BE3Eb+45Ahd7vK4JjdiZWmfJ5pf46pV66dy6eRkhUryG497uPW3 Ny1gzKqgT407Ru6i54bL2vdpYS9tIo8d1T6T1parRIH2RPN5Q68KHe1v/jo/Rl9plVri qUqN66wo76y6/+4HZjjqDyLwVfEou8Wr1xqSWn02hA4Zeu1p5TMKFTIZhzeRYr/byi7X TdDHtkqLjs1Gf6Bp1WDz7eQRBSrhrrqsmMrncj9/0+NA6cNHJ/q44CbVzVkzPYqbqs+k dEhg== X-Gm-Message-State: ABy/qLaXDsM8QPcuus3X0uIK4XG45bTSp3dZbC1JnFBIckNGFHEOBtRV slHyDdp7Fg5EkZHbwbW1JHE= X-Received: by 2002:a17:906:2201:b0:973:e79c:3da8 with SMTP id s1-20020a170906220100b00973e79c3da8mr1305851ejs.17.1688647436195; Thu, 06 Jul 2023 05:43:56 -0700 (PDT) Received: from david-ryuzu.fritz.box (ipbcc3a9b0.dynamic.kabel-deutschland.de. [188.195.169.176]) by smtp.googlemail.com with ESMTPSA id w14-20020a170906b18e00b00992ca779f42sm775915ejy.97.2023.07.06.05.43.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jul 2023 05:43:55 -0700 (PDT) From: David Wronek To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd , Taniya Das Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, David Wronek Subject: [PATCH v2 5/7] arm64: dts: qcom: pm6150: Add resin and rtc nodes Date: Thu, 6 Jul 2023 14:40:24 +0200 Message-ID: <20230706124339.134272-6-davidwronek@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230706124339.134272-1-davidwronek@gmail.com> References: <20230706124339.134272-1-davidwronek@gmail.com> 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,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org Add support for the RTC which is the same as on other PMICs and add the resin child node to the PM6150 PON device and disable it by default. Signed-off-by: David Wronek --- arch/arm64/boot/dts/qcom/pm6150.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pm6150.dtsi b/arch/arm64/boot/dts/qcom/pm6150.dtsi index 2e6afa296141..43c50f890e8b 100644 --- a/arch/arm64/boot/dts/qcom/pm6150.dtsi +++ b/arch/arm64/boot/dts/qcom/pm6150.dtsi @@ -53,6 +53,14 @@ pm6150_pwrkey: pwrkey { bias-pull-up; linux,code = ; }; + + pm6150_resin: resin { + compatible = "qcom,pm8941-resin"; + interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>; + debounce = <15625>; + bias-pull-up; + status = "disabled"; + }; }; pm6150_temp: temp-alarm@2400 { @@ -88,6 +96,13 @@ pm6150_adc_tm: adc-tm@3500 { status = "disabled"; }; + rtc@6000 { + compatible = "qcom,pm8941-rtc"; + reg = <0x6000>, <0x6100>; + reg-names = "rtc", "alarm"; + interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>; + }; + pm6150_gpios: gpio@c000 { compatible = "qcom,pm6150-gpio", "qcom,spmi-gpio"; reg = <0xc000>; -- 2.41.0