Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp28021970rwd; Tue, 4 Jul 2023 11:26:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6w/r5HBDwI2jNonu9TKtBj0sUQ3m7myBY9QzPhI6il5NeVB48FvJ06BHXqCj1y/gpUo+Kw X-Received: by 2002:a05:6830:1388:b0:6b8:9c8d:50ba with SMTP id d8-20020a056830138800b006b89c8d50bamr13652543otq.30.1688495166362; Tue, 04 Jul 2023 11:26:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688495166; cv=none; d=google.com; s=arc-20160816; b=sBqE9swsfQAKCm3SamM7JhP2T7vNGHYh3YPWPZ3oOJHG8LbTeYtwq7ay7KtInuDI6y srfNCrI0F4YtlnnhRFXWOFhRcQ0in02yRtWGKagORdpIPlCTLwNTl4xHc99DFFON1TNM zkWub/z1WsabRiDu2l5gXT7qsB87H3Nd480wjTIKUVo8F23hYeEqwHtdokd82HSoHts9 BZF8UJ/5g0Pkg738/ylBXszmevIU8BTS5t67EfMDpOO5gFbICkLVIP+wNUH3585ceI3j 5/bKizyyjSyql16cARkdxbJmhw1W1YUAChPv2hYb5iOlOHQxeLWluMpjDs3zXvGyvuGI l3ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=nNIWfih+PFK3OLIF8G59ioAmdnhh2DrduAI1lh/uY1U=; fh=eFkCXHfSV3T6IcVC4o9UwL32sRnttR9MLf857W1a01Q=; b=LG2qrUGnqO2KdBggNTi7TnXt1QYveCRt+GHvXJH6gcnlxLiE9vKcAU1JhASjD4vC9k xpgolchRgjRJzqO10Yt9qipkZNrXfcUGIL/AzorSz0a58+60/zdbgKD0+GkYJHtDCUyr deiiWuvw9vcU3SVnjaLijSneLjEMNgTf8aP5XAxVYhDkjh0EI9q8XozI2kmgWO3ot3aN QLJuTHptMW+ExwIKk8gvo9RntwPvUBDnZCSfC4P9QlAGlAw/Gp+7w+I1dk6CK9g3HW2H jiev4EbXGXXPeOWEVFfd0wef2ODco8LIKNtF5v1iUqVdNRn5MsItF18z3e4/I9IR5Ugx Q1Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=O94hBhVD; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h129-20020a636c87000000b0055b53a564efsi10588371pgc.834.2023.07.04.11.25.50; Tue, 04 Jul 2023 11:26:06 -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=O94hBhVD; 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 S230242AbjGDSG1 (ORCPT + 99 others); Tue, 4 Jul 2023 14:06:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231398AbjGDSGZ (ORCPT ); Tue, 4 Jul 2023 14:06:25 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9465810D7 for ; Tue, 4 Jul 2023 11:06:23 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-4faaaa476a9so9471999e87.2 for ; Tue, 04 Jul 2023 11:06:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688493982; x=1691085982; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=nNIWfih+PFK3OLIF8G59ioAmdnhh2DrduAI1lh/uY1U=; b=O94hBhVDk2edtOpkmJVM4EEoGpOXzzJ5Rg1g3pUi+QQMBdAN1my4vlUwZokzsFZJjd egHsvmcO3NLC0jzdPEHfzBtc5w2ZJDdyZsd/tND/3pU0S3BkZux5W9+f2c0vSevu/VYd Py52sSlgsSY+x4AsQqn016OpFEwdXNk7RxgGDUBdqNdU2HPOTI1jGsoj0dn7Jm5eDyWy YVl8UwE0tBvXHBTx6ahL+pYaRlmmEIHZlIjhVTf6BXpoTKHN3loSEzO6ee066as79jMi bM7U720DnZOT8VSYLUbpaXnM8Dqmr0jRvqakX+Mo7tkw8OJyci6nMm4F2nUNdvtKChKI lTZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688493982; x=1691085982; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=nNIWfih+PFK3OLIF8G59ioAmdnhh2DrduAI1lh/uY1U=; b=BEECihB9wIVDf3A85IlBQvTJlzq9CdW4Al2x+i5u0wMLXd5VCMvuXygZ9yMPggvIlp u9HPe72XYjg5wOaJSRUY+mjZdxN+TF0d3pKRvITEwP14N3J9xzlUNCKgjoZeA8z4gRVR xht02l6TzeE5dMkzaW37Z0ltplT9+7NQ3FxK0yA7058kai+7Ve7TtBD83wNruSgR+Zy/ 9JMn5r/KTSqLJc3x5qGjJsJY8jcaXp0Gwtj2/TJDRh+0P1R/8i6SqES5YcT9px4u2UFA 3xcoXNbMw/GQFmA3IDvXnUKfnRt8KS29vlUDcgqxFBfzIgYNsmo603w54v66yvqPS6B9 W34w== X-Gm-Message-State: ABy/qLau6qPHZmC8tvPWvkv8QRsj9RsIaTVVuRSaDu5Lus4M1u0VJ2mc BLEZrh6G3VOyLyW23RKxb5nArVxeeuHns4fuX6RwQA== X-Received: by 2002:a05:6512:3f1:b0:4f7:6976:2070 with SMTP id n17-20020a05651203f100b004f769762070mr8485265lfq.40.1688493981774; Tue, 04 Jul 2023 11:06:21 -0700 (PDT) Received: from [192.168.1.101] (abyj26.neoplus.adsl.tpnet.pl. [83.9.29.26]) by smtp.gmail.com with ESMTPSA id y25-20020ac255b9000000b004fbb20791f3sm1456202lfg.31.2023.07.04.11.06.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Jul 2023 11:06:21 -0700 (PDT) Message-ID: <8ba85d65-51b7-8a66-f721-edb68e7617a8@linaro.org> Date: Tue, 4 Jul 2023 20:06:19 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH 5/7] arm64: dts: qcom: pm6150: Add resin and rtc nodes Content-Language: en-US To: David Wronek , Andy Gross , Bjorn Andersson , 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 References: <20230704163848.169853-2-davidwronek@gmail.com> <20230704163848.169853-7-davidwronek@gmail.com> From: Konrad Dybcio In-Reply-To: <20230704163848.169853-7-davidwronek@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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: X-Mailing-List: linux-kernel@vger.kernel.org On 4.07.2023 18:31, David Wronek wrote: > 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..9a7c532f7a12 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 (GIC_SPI is a property of the ARM GIC, SPMI uses the interrupts field in a rather hacky and specific way) [...] > + rtc@6000 { > + compatible = "qcom,pm8941-rtc"; > + reg = <0x6000>, <0x6100>; > + reg-names = "rtc", "alarm"; > + interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>; IRQ_TYPE_EDGE_RISING Konrad > + }; > + > pm6150_gpios: gpio@c000 { > compatible = "qcom,pm6150-gpio", "qcom,spmi-gpio"; > reg = <0xc000>;