From patchwork Fri Jan 15 03:26:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 363525 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp1050367jap; Thu, 14 Jan 2021 18:58:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJwq8tlyHNpwinr1ef+FM/PqNEa3FhkdfZllKz/6sQHknOdD4QS+75V8jlUhvXzztKwSLXsO X-Received: by 2002:a17:906:7b8d:: with SMTP id s13mr7180936ejo.479.1610679510814; Thu, 14 Jan 2021 18:58:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1610679510; cv=pass; d=google.com; s=arc-20160816; b=eOtSsf8E7TRZ8spb1yz5emPfvw1chyENQFx6a261ZQjJu8pORfBROs+cdEnqJbcfJj qUKHAQpPPIT0jSl3unz/eyxVYT6Pgt+bbVv/BJkFLWPqgl574FIdGyzFHqAZi+0oCyL9 Vpro4cOaF1+dyzAiCaHz1HeZHeT2v5h6hrQ7hEaazS9azydqy6EiVOL7w2HFeI9Dt9ro TuFMx6NwUoTnwoCQLwtcEvfe+ULrnVn3N3Zzwcw+S1XkI3Mb3zPIV0HZzJ+RhzPZpl63 hR0MJebGtrCISScO5dxqMak4Wj+CcU2hMshsBzQlBhXVCVPn0AigPhlV/9Q9Dvk/qPCP HytQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=Q4KkLJmzCS/HTFWj8OjtTZVVsRx+jWPUIc0U65M9Kp0=; b=lEsArXav+IrGI8Q6dac+VhDFp/rjvXSUUoXa7dnBlIkuYBsYcRKllucGh6O9Dr/yk0 gYEi4yl4H82mG31ZKF9AjwmXurJ9Dg7Y0y3723xc/By5T5VV1pvynfW1uoytz/pUVfjr ZYlkyH4fnCalzafSApRzFv3w24yGogqDu367ev7eChi6JZpKEyC6hlxEXd+FSflFuYzB cA19f/gRcHn/PS4Gkc5VbcVEGBGhUx4QF0Ld+AidQgi2bdkKOsw65vNyy4offs8tn/1V RsFghpkEayjNqu6cAmNJF82nNerB/aDP4OgT+7cjigEtiGcpwMju3g4Yk/ulLvIuSzxG 8sLg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=Ac9VNDqG; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ga14si1015817ejb.267.2021.01.14.18.58.30; Thu, 14 Jan 2021 18:58:30 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=Ac9VNDqG; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732271AbhAOC63 (ORCPT + 6 others); Thu, 14 Jan 2021 21:58:29 -0500 Received: from mail-vi1eur05on2052.outbound.protection.outlook.com ([40.107.21.52]:38689 "EHLO EUR05-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726239AbhAOC63 (ORCPT ); Thu, 14 Jan 2021 21:58:29 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=grLCcE7j2nGvKxJIx8REOpgRWp431mex+tXlrri5d1jFOL3FSu5Z3yHwLckF7GaAHkrOBqK7WnW7yi8c5LuiEnQydSpdhtPHIgp74jjBq4q6iqhuaeW0kk/DwQ51l9ho/zMCc5JNm6AGLB3fRJRNfJNslUn+uF73yf0CbPAs9mIlMDnoaizz62h29gVeOOaQG14xodv3wINb9wz3xMtT1JO1luWQRkq7oX50JsijrTXzhi/4hf8A4hEDQ4jXaUOhT1e7Psu6pk+o06sxuAW/8wtX1+GNo7lDxnAAIK3sxKVbRbC4vDPgop05FnGCgcQ9tbmDiP83N8zCW6T6GBuz/Q== 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-SenderADCheck; bh=Q4KkLJmzCS/HTFWj8OjtTZVVsRx+jWPUIc0U65M9Kp0=; b=XcG+CCgx2y7pcenyPS13FT+3k3uxtldSyCLpp8iOx99AIpoefi9Q2qabk0QmWJU8A6CU9kul/n2k6CewT/nmC0yJJhAtjUF+HvKCv6X4Eej5qnwl/wnxGW0pLu/LYycGJn5hAqz5dsQb8RJ04GEOhaoZVgP4CyR1h2tTZqqMJ8MgU+p2AS5HXuGdGnmW+rytiSDy63L/dTT7T+t/V5SV/adoJQh7GMrOeEXPKSJavbuiEh17rkGmm4jZwIjOkfV3V1hFj48KnHEDqta2EJMvXHjyEQC3iJquq6Z6hrciWSmu0DEUVkIOZTnw2mxVHr/zbRuxZwP2rXW/7tl7OHqWdg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Q4KkLJmzCS/HTFWj8OjtTZVVsRx+jWPUIc0U65M9Kp0=; b=Ac9VNDqG13VAROxCSRoN/2K7HQbqjsINseVmMurM8lDdOGcPcS0I8MFfje+jnveutUBhl54sLaFd2zD6ByUM1mIIrwK9VcpoKTafsINTSyLK6eINJf7LpxPSE8jxPTsmvz6RM8QrMEkJ11m+QRp1p7cFqcJUtwyMINAWfTmZNUc= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; kernel.org; dmarc=none action=none header.from=oss.nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB8PR04MB6617.eurprd04.prod.outlook.com (2603:10a6:10:10f::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.11; Fri, 15 Jan 2021 02:57:40 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c964:9:850a:fc5]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c964:9:850a:fc5%10]) with mapi id 15.20.3742.012; Fri, 15 Jan 2021 02:57:40 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan , Richard Zhu Subject: [PATCH] arm64: dts: imx8mq: use_dt_domains for pci node Date: Fri, 15 Jan 2021 11:26:57 +0800 Message-Id: <20210115032657.15390-1-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.28.0 X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: SG2PR02CA0083.apcprd02.prod.outlook.com (2603:1096:4:90::23) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from linux-1xn6.ap.freescale.net (119.31.174.71) by SG2PR02CA0083.apcprd02.prod.outlook.com (2603:1096:4:90::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.9 via Frontend Transport; Fri, 15 Jan 2021 02:57:36 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: f1c87d54-edca-433e-195c-08d8b9015217 X-MS-TrafficTypeDiagnostic: DB8PR04MB6617: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2887; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9oY9XC486bOwoNH2tjqXY8Ai4A3p8JEpQZX8Gyb7uZ5iPUDgD+yjxyuNih0lqYeu2WtkFR/m/oMNGYFPVdaOcZoPGUhvDqRqTxuqY6BFy6YVpgs8K6C7qxIAv7oau5KPZ4RFfS6YmIGorUk/WJmfL/Dnbg2Djmm33vPnlaS75mv/DqCJc9FS0Tw9mMKUkD8S/BLKtqh4QfF8HKTWmOchGpetBOViuYDuUK7+9z9hiWLGp6/BVbmFHhCiN/5boFTKzdWvt8XAk/H6/1Q08odvJnp6hNRsi1zjNvtcLpWmzcsMeI6gQ9HpqexFPGKZZzzI/2HHPxmzInzCICPHf+HZaM0ZV6Us6BtNvsVAhCwd9a/I6KzhOmzAUVjR7DIRiHvAAIE1E4+GPGC+GVqLi3+hvHS/yP+J1UY2ySaMtUrhVVsRpayPpjRAcJeZD0FG5Zra X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0402MB2760.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(396003)(376002)(136003)(39860400002)(366004)(26005)(6666004)(52116002)(86362001)(478600001)(1076003)(316002)(8936002)(5660300002)(54906003)(6486002)(8676002)(186003)(6506007)(956004)(2616005)(2906002)(6512007)(16526019)(66556008)(66946007)(66476007)(4326008)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: pq+rrSQvHPHHzJ3CtkGvCy+c6AuEU+D8coJ8x3/uh+AkV5pmn0SbC1PpKJuVRF3Cbi6bqm74QEGZI3x/ik5IYG4bVcegwUsvhpLTf2QlEEe4SRJlYURF5tTduT9VDOyATg3QtPaY1KQv4K794kRZ3RFnNVzQKJA4Ecest3i7klg/9J/ipag/zXJYFtpOaaD7rmGfm8njeA+qbMHEgxMVO6G21fRGcc4inU3oXudaRLrj2JYZ1Rj2D1V1PhE6glHRj8zcUrBwVp1GlikAmqdWCfRnQnyYa1MadMLIjd/VyycUotBYTEPbevw/XtpR89DHVyzPpX/tmyQ80Eck39gqAC2wJkAUs2v6vzcCihfUjwkaeBqRjM93fXgD23EUPmXxM5ooaTFA09mSROKWD3tfaU6zvmRai+XNTluK+DkSrlJq5eDTUv/t/Sssb4nUYrXFhHq2U6cFTUEnObx65fHSUr4F/SjdQVUhMr/INOMmb9KwDcA0umA0uresHmLWqrI3Zu9i3Rw/tIdy1afEdnEu2QNobhG6EIrHGkr3hRUzLH3zwH4GsxrnieKQgF1z7ejHL4TwskAxxuzJZYMzgXG31DR4uuie6zjijvY1mM1YTH5w/ZFp6PwPYa5sV1er+pGtJ/WVbz/AByP3sQEvZgDj1hgClW6fsuqQFjzcLauuSarTFI6yHT5Blv6X2CXATsRqLOFG41wX79N6uuPaVXFE1X4Du7kHodzZjf917MmDrWNoUYe4zrD30YlnFgPlkL8t3aNHs5NOtnnF0KAAD/hk7WKXfCZ9c64+4gqLOoRM+nM7+pI3RiiUn68mrOzp7j46ug027pRvfLQQWhtgHJfpiz9iSA3ROSX3P50fCppHv/+HS3FybMyGuWXnZDJ3SPTNSWGON8t+4A8ZLy8XkoUZJ0A8Afygbb87clp5EedqsbLH1CxNZh1+sGoxkPZCNrQ+a1PWRlAYQXGvxmKaOtl1IS6TJ3DdRhKRGC9NFAo1iZHkZxdfavsGq9oJEkWPKXZL X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f1c87d54-edca-433e-195c-08d8b9015217 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jan 2021 02:57:39.9135 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: di/1qxnCrPiGKXbjJlxqnPX/TriVAWg/Qb7EAEw9ZXo3CW4mpCu7OGBPmo06/HWntVxeBgnTxJBdj2kKDL3vjg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6617 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Peng Fan We are using Jailhouse Hypervsior which has virtual pci node that use dt domains. so also use dt domains for pci node, this will avoid conflict with Jailhouse Hypervisor to trigger the following error: pr_err("Inconsistent \"linux,pci-domain\" property in DT\n"); Reviewed-by: Richard Zhu Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 2 ++ 1 file changed, 2 insertions(+) -- 2.28.0 diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index a841a023e8e0..ac37cc86ad39 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -1315,6 +1315,7 @@ pcie0: pcie@33800000 { <0 0 0 3 &gic GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, <0 0 0 4 &gic GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>; fsl,max-link-speed = <2>; + linux,pci-domain = <0>; power-domains = <&pgc_pcie>; resets = <&src IMX8MQ_RESET_PCIEPHY>, <&src IMX8MQ_RESET_PCIE_CTRL_APPS_EN>, @@ -1344,6 +1345,7 @@ pcie1: pcie@33c00000 { <0 0 0 3 &gic GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>, <0 0 0 4 &gic GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; fsl,max-link-speed = <2>; + linux,pci-domain = <1>; power-domains = <&pgc_pcie>; resets = <&src IMX8MQ_RESET_PCIEPHY2>, <&src IMX8MQ_RESET_PCIE2_CTRL_APPS_EN>,