From patchwork Fri Feb 25 13:15:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 12760261 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EC5D6C433EF for ; Fri, 25 Feb 2022 13:18:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=cBofYAZ80ZHnedpOXb2wo9rTdJeP1QUT+gpW6+JzlDY=; b=e16kpqUlQ56cv8 My5x8omwTxpcedcJZSyLo0tOHHZJVayp4fGmM7wXF3xCmXR5YaZXHhSYzpPXeqZIiy/QVvmdGa0OA bSxzjAgGRo3IzLKBEeSIG35Uc46pcLy4kEhvWVuWk/vBz7IMnacijrFdZ4FvLYBaxW/Xv4KwlYdQA RIYJLzVdd8Siqyds1vxGw5Ih8bbf/pdIhU/k05iwmtoJwWzLl6H3McflJPz95PPBcCPl3CLB0/eH+ YS5lAL/h6yq3xN9dEX17ZTef1FYo/mq4eu3DoVvqnhXK5Q/+jMUa6wq3VSz59JRfCBVKR0Beh452r qnshceJcZDo4sEbvf4nQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNaSR-0051am-6w; Fri, 25 Feb 2022 13:16:27 +0000 Received: from mail-db8eur05on2060d.outbound.protection.outlook.com ([2a01:111:f400:7e1a::60d] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNaSK-0051XZ-0D; Fri, 25 Feb 2022 13:16:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M7FFMfkl2pe7l9jRq2uUQIQASuWUgakko/IH12KVtkQ6/5Nsa00FzlxXAVyORxd70rzw0gXHZCN22Q7AxoQO8XSkwmnHdxhIc+7tTh7wG1yqz8RzEFOgoTspgtST4t8dbZ8t+ExWOqRs7IcPPEDNwleZ+5oNbTU1Nmby91NL0/r8dnJU30HWhxG9/H8hPEbyEmhPJ2yFRVod9PN6+OAk1twn6s0Lo7HCRqnbLlFLRi8Y4cK4d0TX251kP7ihROJz8pploDJFSVsIMN0KvfFKywAP3q0kCzI1NEji5doWIMvY4B2xAFD7yRrmtqGUQoeu2PMLOKXaSPfqX5qLpLnTdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=z3kAs0swyfnpbUiF9qjTfOasD7sQzcfqY77EHcr8Q30=; b=QC6fMdH/lyH5gEk1tXL350RsvCDtKFNp8UUOA23hSoiu4WX21WYSp+PrT080OxwURANP0IhDaNBqMgKc19Eh5Qk/UW0JCtUQL0RIZqOaR1o/Z0kWPttGFfmhdd6wRFTfxD9X5FH693pA6xWTb2TZspDzGyCoaAWGo2qsS07ZWOnZ9GEY3xMmKZAPTWrRQIcPfUduZzXpvY77wAWJNJrh4cSdkbOpZ7OJH6ZY7wOG0+JOit0WUL+CyA63fA4By6ueCGAOv3aSjk5VFGsbfWRbsNGqn1zAA+QBIa8YYBCTATKQBf3KxRS2uoZryfiNP5aib5B+IVFE0+g+m/H7so1DsQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wolfvision.net; dmarc=pass action=none header.from=wolfvision.net; dkim=pass header.d=wolfvision.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=z3kAs0swyfnpbUiF9qjTfOasD7sQzcfqY77EHcr8Q30=; b=yIkBmcUWDIEXJDhGVyF8SpnuNnU1yYZJ36ldCsCuspYxzDmfqJfHStM+ldvR3yRYYuG/LIrl71+BWfEesyKzRRBFPct9HvHEcEcVSSq8EB94WhziKCIwVc8i4sekPcHQLZoKoZItSk2p7+Vy46cKEULa6MTdlsuDOXEIk1tbI/M= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) by PAXPR08MB6591.eurprd08.prod.outlook.com (2603:10a6:102:150::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.17; Fri, 25 Feb 2022 13:16:16 +0000 Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::f9ee:a333:b115:5049]) by HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::f9ee:a333:b115:5049%4]) with mapi id 15.20.4995.028; Fri, 25 Feb 2022 13:16:16 +0000 From: Michael Riesch To: 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 , Michael Riesch , Sascha Hauer , Liang Chen , Peter Geis , Johan Jonker , Simon Xue , Yifeng Zhao , Nicolas Frattaroli Subject: [PATCH v2 1/4] arm64: dts: rockchip: move power domain PD_PIPE to rk356x Date: Fri, 25 Feb 2022 14:15:59 +0100 Message-Id: <20220225131602.2283499-2-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220225131602.2283499-1-michael.riesch@wolfvision.net> References: <20220225131602.2283499-1-michael.riesch@wolfvision.net> X-ClientProxiedBy: ZR0P278CA0109.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:20::6) To HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9ce1fa9c-d02c-4db9-f81f-08d9f8610107 X-MS-TrafficTypeDiagnostic: PAXPR08MB6591:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7DoNLZui3Doeg9xmKxcw94EPQvgSqfOEzhytYGzth329iXBkp5PvbPFC2lhXXVou9bTkUc6GYXHr/MOiDWT6c1tr0181BqZt90f7z7w/ZIQGbaXZDmHUMnMNs6ReEBo8CQEOn369wdd7acKacSMf5gQOh6Zir97NTD05IyAu98KTV1zn4c/0Bm9tRL3/2pPkAU7VqPDlt9epZpnAZ9az8Zk/dyT1/bz+A3Yt1FrSDiQfiNjZLKy9NYbfxnqMXOstwrjGSHN3c2mMHAJg7UCx056gpJlu5FdmaVC4cB53QP/KJLBHqzAW4d4nuNw0j2qZTEnt1/UHJ2VYxdn/ZGB2Y8C8KAfmEZQdYjKNKISwoAZnX+RtyKHJiRuFFeftfT9rI6he0bL4hA1XdQEqQDjLqJroZ1LKIUUIbwtpn1LG/XA4oh5nwoseSuscx0wePw3jPxRuFWXQsqzzKvnjPrFr9lw0+I7UaEY0VlIwQbEr0Q+thLKrnxmaQod8Q6MbxKrNQcLWgsmD/ada756BAnYUSdX2YiPP3UMZSrGaliBwIX5A1dT2t+lFBf9gAnMdtuapJmYXuRIoWZ/VG6Tgx8kpjQdepULL4h81qwaocNqQwJs+JJt2IfhLX5jJRuFWGFicguVgAbD29yaowNL2DMaT/g== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0802MB2426.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(39850400004)(346002)(396003)(376002)(136003)(186003)(44832011)(6506007)(36756003)(83380400001)(1076003)(2906002)(8936002)(86362001)(8676002)(316002)(7416002)(4326008)(2616005)(52116002)(6666004)(508600001)(6512007)(38100700002)(66556008)(54906003)(5660300002)(66946007)(66476007)(6486002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: aCf1uKzj6I8xJxWzsZ5/nAleb+tguvmcXYTCbhMlXofEKrlRUl04jkfW58grsSpaGxuGG2MkgBU5lySPIHr2Md6PROzWbHr0W5xxASad4JGBwezxES9gQ8XLPI9jqi107wMyslr8I8GBDLKXIS30nQR6lXFZ84YVcB5sT1aHfsVu5k/ExC1VY436TqbFXn6bXJeCI6A3hp11++R51sMLhci2LYWuqkRWtrh93BBa7RfYpP3PIcLVpJTTdd0pzTHjWDlLCr2SMhx7xm0xe0rlGu1S6SGBCYePQnaVTeZk6aZT/QL0TMVqrK9Pvf4lhdV50XoSPQC/fpbiJWlUoxWfdvRyF6KZLnmGeg+E/gw6sepyrxxQwN94Eu6w8y6ByenXd+tVqt/LuZk53sAWvfdi2HA2dE2wCH4dITBrFLJLiV+t9GVQFWu6M2ZQRsl3SK1C78tnxPx7BcrktzMa8T7QNqeb82vt0ig8RSmE4rv4bBGQO9GWl32NI6GS6vl5owX5msztK+CcZT8Y59uNmlo1KEsv2P1IoZNn8R1Uk2BOImtUtuUmRQnrScY3Chj851v0m4GYBaStyPruAmZZ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JdFR7CAZ9ukzA5VDwFOukIBbiyOxiep3iH/OfYaAeMql+1L2XVs4teQ/9fW+fDqiYLvx+Y2nxGIFFISHCgXTyzkZIvnZkCQsPw1gXlyXWIyXyxY= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 9ce1fa9c-d02c-4db9-f81f-08d9f8610107 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0802MB2426.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Feb 2022 13:16:16.4795 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: esdpuyweA8lLFS8tFGrTWYSsqUVicjjXSE+ScoriP/adNgj+nqrlXon2TP71l/T8jTwQ55wgz8HhaAOzCmpF6AlHrHbdiL2rXBVlrlk/t4Y= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6591 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220225_051620_067247_85A32F87 X-CRM114-Status: UNSURE ( 9.88 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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. 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>; + }; }; };