Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp3705007rwp; Sat, 15 Jul 2023 07:53:25 -0700 (PDT) X-Google-Smtp-Source: APBJJlErnQKKyCSSRe7jK11hIcM6hMBN0TqdPl9Tf7gCOOVhsDg48c3Pg8WoHIlfHYYEOMykP2IV X-Received: by 2002:a17:90b:370e:b0:25b:88bc:bb6b with SMTP id mg14-20020a17090b370e00b0025b88bcbb6bmr2104672pjb.2.1689432805431; Sat, 15 Jul 2023 07:53:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689432805; cv=none; d=google.com; s=arc-20160816; b=z4l3FQ2ykVSAQ81vXMqXZZ0SpbRVYbXbJyNeJqYihGun10vp0XsaaqqUnaO3jXd/Yi RVq80xiF9nlQ/8rl67cXwIHB4CzrDseGg2sG9ex6/7tap+rHVnYh6exqeZNOGIez7r6w 44Wz7LLt5Lfz5wAMhvXiD9ocvjeCEjBnideHY1KHF1ZZn0EgoHxBXvzapBFki2l1VH76 6aeMqcEBSsfpE5mc5mVki1B9WNDHphK9g5kbOcKH+AyoDpsapeamsj1YcEEkA4JqZb1S DR5826VVOpgZnUltdpOKJ7Lf3KILzO81IkqF/lNnBIHSF+PJzZZN5SW0k7Us1E0GeeTj 0r1g== 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=u4EcfZJuKQ20RuePztd2+oZPnl4lVWexyu50zCxyk80=; fh=z1RER9BYwljvUQCsIU/4h+pbphMGCZ6Ct0N/zbvGRes=; b=qOIHCX8/a5wIgB6kEduaxsHQjpeOtqihfy2F6p3tkCHg8IHnIHjLeJjkPnnaEISKkC eHAYZWNkWtSzGEK65xLzv6KBd2gL/uoCDpo6pGU5zXhV3GNgRitYg77Kna30xOgIZAqk afUCXtkXhOf1BtSxzrYY4eSn7gu7thbmX3DOx0EgXMeGYqVqerCx5D2nxKTDNH0A6n// OnKN61mRbg8RvW8VWCN6VVmc6sYQF1iAHOPY0VS661QI4K1FdZa7c+xc6eS0Mz5GypBZ VOCJZ+EgS0JLTx2jFqvExnRqTk3fx8fm26iMsP9wRlVYhDSrbRHPCUjal/IijdDW7xvh m4XA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bHcBYV2l; 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 b18-20020a17090a991200b00263051bbd63si1807024pjp.159.2023.07.15.07.53.13; Sat, 15 Jul 2023 07:53:25 -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=bHcBYV2l; 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 S230056AbjGOOpY (ORCPT + 99 others); Sat, 15 Jul 2023 10:45:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230288AbjGOOpX (ORCPT ); Sat, 15 Jul 2023 10:45:23 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB0992715 for ; Sat, 15 Jul 2023 07:45:20 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-4fb863edcb6so4862889e87.0 for ; Sat, 15 Jul 2023 07:45:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689432319; x=1692024319; 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=u4EcfZJuKQ20RuePztd2+oZPnl4lVWexyu50zCxyk80=; b=bHcBYV2lGQ5yXfUUDnNTpUS5sLmA/OsHsZPCH6ZXM2IoFZTRkhfGaIF2Pws3q4BJQG rOD9hIRBttzzoflwQknVukwJd5gOX9EBBmhqWjHInCyWLseaTWgHn6JZxj1QRlKdqkUN 9j0aTYF+eJ5lExCG0wNNF0Nz8usncmV06q/P42UyyS1HkD5PeE8YLk3tqw9vbI/6tXrh /xlakgYkFf8pqjjR1jDapfFYOjVvCLHwdIgyss2WcCJYRuYdYwApdaZJ02UgtUBp2eUk tcMejnlI43xp8vpCvWYQqiTlUQYgPNQzzpEwEKZiBPBEBs/MpmGjZjrGqOjPywoOhN+l q5MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689432319; x=1692024319; 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=u4EcfZJuKQ20RuePztd2+oZPnl4lVWexyu50zCxyk80=; b=bzXRJSwhAZ6+xL0+xlE+8Z10/AdQkCf8iTuAuv7N/CXqeGDDGZTI65lFyqOwV1E/hK ierEk6AKIEMqxGbTBc31tjc2K7nwy7s897weYOJep1ajWCO+1ASIwGDtU8wCwACMyfRo NC3S7tO7xFBqBewsqNy5E4aO9tCVsZ4LbZkduRmrrU+Qxr1IajuZPu7GFIRjCeDs33nF dgbHntT//4EvBNv50PdsUfaugiWx92MJpn+kT9oUqkQbiMWIEOFuBvGbzXigAyIfn5X7 vVDI9yJwywMFy0EwbmYbmlbWY7D+uazy0HwOW6CA2/i6D9MTbstTB8WYEw6juS8wKZbn P/jQ== X-Gm-Message-State: ABy/qLaRJ7enHSuiN/+pSpXCouBJRzsct+MPmRPTawq/BFArTCYMG9WB af2wfU/sIN1kf6Gu73LLwxB/oQ== X-Received: by 2002:a05:6512:3d8a:b0:4f8:70b8:12b1 with SMTP id k10-20020a0565123d8a00b004f870b812b1mr5735526lfv.4.1689432319095; Sat, 15 Jul 2023 07:45:19 -0700 (PDT) Received: from [192.168.1.101] (abxi167.neoplus.adsl.tpnet.pl. [83.9.2.167]) by smtp.gmail.com with ESMTPSA id w2-20020a05651203c200b004f87024742fsm1905710lfp.235.2023.07.15.07.45.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 15 Jul 2023 07:45:18 -0700 (PDT) Message-ID: Date: Sat, 15 Jul 2023 16:45:16 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v3 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, cros-qcom-dts-watchers@chromium.org, Nikita Travkin References: <20230715091932.161507-1-davidwronek@gmail.com> <20230715091932.161507-6-davidwronek@gmail.com> From: Konrad Dybcio In-Reply-To: <20230715091932.161507-6-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_BLOCKED,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 15.07.2023 11:16, 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, both disabled by default. > > Signed-off-by: David Wronek > Tested-by: Nikita Travkin > --- Reviewed-by: Konrad Dybcio Konrad > arch/arm64/boot/dts/qcom/pm6150.dtsi | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/pm6150.dtsi b/arch/arm64/boot/dts/qcom/pm6150.dtsi > index 2e6afa296141..af51eb0646ba 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,14 @@ pm6150_adc_tm: adc-tm@3500 { > status = "disabled"; > }; > > + pm6150_rtc: rtc@6000 { > + compatible = "qcom,pm8941-rtc"; > + reg = <0x6000>, <0x6100>; > + reg-names = "rtc", "alarm"; > + interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>; > + status = "disabled"; > + }; > + > pm6150_gpios: gpio@c000 { > compatible = "qcom,pm6150-gpio", "qcom,spmi-gpio"; > reg = <0xc000>;