Message ID | 20230320154841.327908-5-brgl@bgdev.pl |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp1306268wrt; Mon, 20 Mar 2023 09:19:53 -0700 (PDT) X-Google-Smtp-Source: AK7set/TFqgDNR83GUB8KKv45SZMkb55NfsD3eT+6iDQSMBzlrpCX7JX+N7ZpILQLEUR8N+kFt2F X-Received: by 2002:a17:903:4052:b0:19c:ca14:59ef with SMTP id n18-20020a170903405200b0019cca1459efmr13619597pla.34.1679329192911; Mon, 20 Mar 2023 09:19:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679329192; cv=none; d=google.com; s=arc-20160816; b=zD8FWlgNCu+u83wOBicVc5jQT2FS6z0kuMIPOZw6EIZUl5XyPs/jya9NvDOHs7zq7Z OvfJHon6fFtlJOs7tmv8i7yJLEA0QmlYHmspAU+LPDSqoPEmPMOO74SXlrqiJ/QiPMb8 YspNX/5oETUIfA82rGFQftNVvGQvRku0u4urlHq2tHLmCOmLoXOzQBIqccF1Cg64he8K +5XVDGwHkrZhfhpA+M8ralr1M2g/Egyu7R3cQKnhDdtmi/gNAvLoHjYLErVn3Bj5Or7e irN8MH9R3E0aCX2lWBpyW/rDGaX+yufAsgtaa/qbw6pvAfcITZ+P8+B5obcrD0PP/+HI n79w== 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=XQr/OUg3XddVb1DIA1hszXHQGXx64+DAC9AKsawwCi0=; b=vijvth1Pkc52NRuIJ0zjgQJmbF2LL4WnFRfa1glmqioiTdz3fr+CrHAK2DN8ZjalDH 56WvRkW68T1bb+F33kaVfwAPUyAdJXcu+aKyHAPP1t8Pc1/oRsvI8j9TMNCR2jLOE3kj hhFBrPoG2ZmvqNFbxMRGTevCgvb4nnWZliRmt5F+TH/IX7UI5GAH4Qohbmg6uG0JZgtK PC2FGuC46kZSgrV7nXiv9iiK9YPSDC2qGWfu1Odt5Av2qEruibifyGZRhJQtJJsb1/XT RP7w/h/niQ1PVlCLdjAem+OFquH0WeVgSCvxhKP7m1ebFFhqigeeifDYvDlS8qbEmyu7 mXLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=gbu7wnyZ; 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 c6-20020a170902b68600b00199385bd2c9si10604427pls.214.2023.03.20.09.19.37; Mon, 20 Mar 2023 09:19:52 -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=gbu7wnyZ; 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 S231996AbjCTP6V (ORCPT <rfc822;pusanteemu@gmail.com> + 99 others); Mon, 20 Mar 2023 11:58:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232094AbjCTP5f (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 20 Mar 2023 11:57:35 -0400 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C234B3864F for <linux-kernel@vger.kernel.org>; Mon, 20 Mar 2023 08:49:02 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id j2so10808581wrh.9 for <linux-kernel@vger.kernel.org>; Mon, 20 Mar 2023 08:49:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1679327334; 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=XQr/OUg3XddVb1DIA1hszXHQGXx64+DAC9AKsawwCi0=; b=gbu7wnyZ1SMWjQkKZ9UlUaFuhu6gvYQY3R3aitHzbK2C7yOjgrGprYwoex8URZunTM eckEYo/fotUblWFgg/QGGXyqu/jf3K8WYt6cVmOHnv0TI8x1bv5SRgOeAWa2XV8/3AZ8 E3mdhaTAqjiETh/P35Tkj5E4F5UStDVw8DrqUa0T4i5qwnWCxwe8A5u765MFj6oUkpBu HcSujLr3VniVMW5dc6nZ6s+DKTUcNjzOYqUyh2PLvHXugCYjaPPWJA+OvqOCewu7QPoV HqIGhHgQdNYPOqo9HR2uJwsPbHcMYa/m95UU8u68epK8/2qxqWMFT5zHISo3JVS1mM3k QOFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679327334; 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=XQr/OUg3XddVb1DIA1hszXHQGXx64+DAC9AKsawwCi0=; b=wIJykQu7D1ovEjg/Y2ug5lleI9Va7i4bmRTFNz4wB42f27Iwi5dfhwe8bi36Yy18Wa otd6NUSwVYAnVsoiVfrDzAxPUjBfpHcZkDEDKy2tpH2O08JC/IO2vJ5M/wsr4PRCkUYE XIOY+9VtyR1FUBldi4K+Aw08wHsBslJrjmMrjxkrv9luTwXOArvBZm0INDjSgQ7HFqXY ty8fxdF6vN336yomKZmg7nnNv7osOgaIFmq+LqocnEX8tFWDtCWLvhtpcEqpx1EOCjza ZnF4uTt1ZEdYc+G9veTK1aFhnNvh7zpjYFyq+ZyufC++8IC1cvGzLx/arimAcrMGaMdt vyrQ== X-Gm-Message-State: AO0yUKVA+114saZqYnSPh94ZSp3QsOmXtrxit2j9pY2FYc7o69VN8CR3 dOPaK70mvffGbvefZ0aSEzncIw== X-Received: by 2002:adf:de10:0:b0:2cf:ea38:ef29 with SMTP id b16-20020adfde10000000b002cfea38ef29mr14344325wrm.44.1679327334698; Mon, 20 Mar 2023 08:48:54 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:d7d9:4f38:38b4:82b4]) by smtp.gmail.com with ESMTPSA id o6-20020adfeac6000000b002c71a32394dsm9202578wrn.64.2023.03.20.08.48.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 08:48:54 -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 v2 04/15] arm64: dts: qcom: sa8775p: add the pdc node Date: Mon, 20 Mar 2023 16:48:30 +0100 Message-Id: <20230320154841.327908-5-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230320154841.327908-1-brgl@bgdev.pl> References: <20230320154841.327908-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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?1760904287807103945?= X-GMAIL-MSGID: =?utf-8?q?1760904287807103945?= |
Series |
arm64: dts: qcom: sa8775p: add basic PMIC support
|
|
Commit Message
Bartosz Golaszewski
March 20, 2023, 3:48 p.m. UTC
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Add the Power Domain Controller node for SA8775p. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> --- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 41 +++++++++++++++++++++++++++ 1 file changed, 41 insertions(+)
Comments
On 20.03.2023 16:48, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> > > Add the Power Domain Controller node for SA8775p. > > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> > --- > arch/arm64/boot/dts/qcom/sa8775p.dtsi | 41 +++++++++++++++++++++++++++ > 1 file changed, 41 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi > index 296ba69b81ab..797af99227e4 100644 > --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi > +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi > @@ -591,6 +591,47 @@ tcsr_mutex: hwlock@1f40000 { > #hwlock-cells = <1>; > }; > > + pdc: interrupt-controller@b220000 { > + compatible = "qcom,sa8775p-pdc", "qcom,pdc"; > + reg = <0x0 0x0b220000 0x0 0x30000>, > + <0x0 0x17c000f0 0x0 0x64>; > + qcom,pdc-ranges = <0 480 40>, > + <40 140 14>, > + <54 263 1>, > + <55 306 4>, > + <59 312 3>, > + <62 374 2>, > + <64 434 2>, > + <66 438 2>, > + <70 520 1>, > + <73 523 1>, > + <118 568 6>, > + <124 609 3>, > + <159 638 1>, > + <160 720 3>, > + <169 728 30>, > + <199 416 2>, > + <201 449 1>, > + <202 89 1>, > + <203 451 1>, > + <204 462 1>, > + <205 264 1>, > + <206 579 1>, > + <207 653 1>, > + <208 656 1>, > + <209 659 1>, > + <210 122 1>, > + <211 699 1>, > + <212 705 1>, > + <213 450 1>, > + <214 643 2>, > + <216 646 5>, > + <221 390 5>; My sources say <226 700 2>, <228 440 1>, <229 663 1>, <230 524 2>, <232 612 3>, <235 723 5>; should be there too, please doublecheck. Konrad > + #interrupt-cells = <2>; > + interrupt-parent = <&intc>; > + interrupt-controller; > + }; > + > tlmm: pinctrl@f000000 { > compatible = "qcom,sa8775p-tlmm"; > reg = <0x0 0x0f000000 0x0 0x1000000>;
diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi index 296ba69b81ab..797af99227e4 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi @@ -591,6 +591,47 @@ tcsr_mutex: hwlock@1f40000 { #hwlock-cells = <1>; }; + pdc: interrupt-controller@b220000 { + compatible = "qcom,sa8775p-pdc", "qcom,pdc"; + reg = <0x0 0x0b220000 0x0 0x30000>, + <0x0 0x17c000f0 0x0 0x64>; + qcom,pdc-ranges = <0 480 40>, + <40 140 14>, + <54 263 1>, + <55 306 4>, + <59 312 3>, + <62 374 2>, + <64 434 2>, + <66 438 2>, + <70 520 1>, + <73 523 1>, + <118 568 6>, + <124 609 3>, + <159 638 1>, + <160 720 3>, + <169 728 30>, + <199 416 2>, + <201 449 1>, + <202 89 1>, + <203 451 1>, + <204 462 1>, + <205 264 1>, + <206 579 1>, + <207 653 1>, + <208 656 1>, + <209 659 1>, + <210 122 1>, + <211 699 1>, + <212 705 1>, + <213 450 1>, + <214 643 2>, + <216 646 5>, + <221 390 5>; + #interrupt-cells = <2>; + interrupt-parent = <&intc>; + interrupt-controller; + }; + tlmm: pinctrl@f000000 { compatible = "qcom,sa8775p-tlmm"; reg = <0x0 0x0f000000 0x0 0x1000000>;