Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp224540pxm; Fri, 25 Feb 2022 06:59:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJxWkepOmKJcUnQ2Q6qyh2modaHcfwGVeG2eh/Nb7K/tozD5w3r5mEDqfmkPfR2pKgPm3H1L X-Received: by 2002:a63:6381:0:b0:36e:4ae4:a178 with SMTP id x123-20020a636381000000b0036e4ae4a178mr6488092pgb.193.1645801156290; Fri, 25 Feb 2022 06:59:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645801156; cv=none; d=google.com; s=arc-20160816; b=AHHauaNAYSZi0gW8eCklaLEmGz4j57U0ejGIwb3UVawOvmH9WrztCcqXHWWJS+bWbP DNfltk/6PbX61N664+E05M7hvKDLs4F87rFDiHrJHKM1g2lpoOIJWm/YlXMHERGw1C5Y +Wn/TXkHoq5ix9OZJwNu9l9bMP2aAqZR9XmmGICk3Cs1K7XZZaP7bu9JbbEOKnrCaLh2 F4eFkvu+Tkf4fQxC20Tmf24SdbjAxdAvfFdCKqQClewp9GKFXOBLd4w9TKpVd8zveUK0 IFEJHiP1e/bTdHP0rGYlZgUrBg7T0MA0wd2MCfiDfXYb7ydZ7Vcv5n1l4JhFiJOAO9zU d5vQ== 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; bh=lfqUuYXmw1k0o3cuxK8/mPIefxuELcWQc5ybyiKwLRA=; b=1DzkC369I1nCYPy+R2QdB/ZKRmUUtEe+ToBn0w9XETt7xLxaV3KnopER7AZbEmRh0Y +32tApfmZAGv1mEAFa4bNf9EDETBeX0J/0NmMrunMbQXxGd6Vbvn7AyHE7JHMaJs0OTy vuxaQQi8IV2tiMhkWEUQseEuFCMYzq2Vl91zHAylTqU2zFkeGzo8BwwXrnx8fWr4kMeh qBLms2DuE0fECbhJN9uXsxlTewZeD9Z1UYGtvNIujAIPbh+IkZRAFW7uLYUv/mAp3CK1 udDd4DQSEzxKC+60MnPYGrPXojNTJMS58F/TvnHrDNk1z0z5EmFmm51c49Aza5d/vld9 /K4Q== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j16-20020a634a50000000b003757e8c9f01si2031369pgl.187.2022.02.25.06.58.59; Fri, 25 Feb 2022 06:59:16 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241668AbiBYOPO (ORCPT + 99 others); Fri, 25 Feb 2022 09:15:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234943AbiBYOPL (ORCPT ); Fri, 25 Feb 2022 09:15:11 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4B0921DA016; Fri, 25 Feb 2022 06:14:39 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id EF705106F; Fri, 25 Feb 2022 06:14:38 -0800 (PST) Received: from [10.57.39.47] (unknown [10.57.39.47]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id A17A63F5A1; Fri, 25 Feb 2022 06:14:36 -0800 (PST) Message-ID: <2939d801-586d-85fd-97ef-d42925ddecce@arm.com> Date: Fri, 25 Feb 2022 14:14:31 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCH v2 1/4] arm64: dts: rockchip: move power domain PD_PIPE to rk356x Content-Language: en-GB To: Michael Riesch , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Rob Herring , Heiko Stuebner , Greg Kroah-Hartman , Frank Wunderlich , Sascha Hauer , Liang Chen , Peter Geis , Johan Jonker , Simon Xue , Yifeng Zhao , Nicolas Frattaroli References: <20220225131602.2283499-1-michael.riesch@wolfvision.net> <20220225131602.2283499-2-michael.riesch@wolfvision.net> From: Robin Murphy In-Reply-To: <20220225131602.2283499-2-michael.riesch@wolfvision.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_HI,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 On 2022-02-25 13:15, Michael Riesch wrote: > The power domain PD_PIPE was moved to the RK3568 specific dtsi but > is available on the RK3566 as well. Move it back to the shared dtsi. Note that a corresponding definition does already exist in rk3568.dtsi. That one *could* inherit the base definition and only override the "pm_qos" property, but looking back to the original patch series it seems like not doing that was a deliberate choice. Robin. > Signed-off-by: Michael Riesch > --- > arch/arm64/boot/dts/rockchip/rk3568.dtsi | 16 ---------------- > arch/arm64/boot/dts/rockchip/rk356x.dtsi | 14 ++++++++++++++ > 2 files changed, 14 insertions(+), 16 deletions(-) > > diff --git a/arch/arm64/boot/dts/rockchip/rk3568.dtsi b/arch/arm64/boot/dts/rockchip/rk3568.dtsi > index 91a0b798b857..ecc0f3015915 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3568.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3568.dtsi > @@ -100,19 +100,3 @@ opp-1992000000 { > opp-microvolt = <1150000 1150000 1150000>; > }; > }; > - > -&power { > - power-domain@RK3568_PD_PIPE { > - reg = ; > - clocks = <&cru PCLK_PIPE>; > - pm_qos = <&qos_pcie2x1>, > - <&qos_pcie3x1>, > - <&qos_pcie3x2>, > - <&qos_sata0>, > - <&qos_sata1>, > - <&qos_sata2>, > - <&qos_usb3_0>, > - <&qos_usb3_1>; > - #power-domain-cells = <0>; > - }; > -}; > diff --git a/arch/arm64/boot/dts/rockchip/rk356x.dtsi b/arch/arm64/boot/dts/rockchip/rk356x.dtsi > index 8b9fae3d348a..742f5adcdf2b 100644 > --- a/arch/arm64/boot/dts/rockchip/rk356x.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk356x.dtsi > @@ -490,6 +490,20 @@ power-domain@RK3568_PD_RKVENC { > <&qos_rkvenc_wr_m0>; > #power-domain-cells = <0>; > }; > + > + power-domain@RK3568_PD_PIPE { > + reg = ; > + clocks = <&cru PCLK_PIPE>; > + pm_qos = <&qos_pcie2x1>, > + <&qos_pcie3x1>, > + <&qos_pcie3x2>, > + <&qos_sata0>, > + <&qos_sata1>, > + <&qos_sata2>, > + <&qos_usb3_0>, > + <&qos_usb3_1>; > + #power-domain-cells = <0>; > + }; > }; > }; >