From patchwork Tue Dec 18 04:19:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Z.Q. Hou" X-Patchwork-Id: 10734719 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8213014E5 for ; Tue, 18 Dec 2018 04:19:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 724682A14F for ; Tue, 18 Dec 2018 04:19:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 639BA2A155; Tue, 18 Dec 2018 04:19:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 00E3C2A14F for ; Tue, 18 Dec 2018 04:19:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726592AbeLRETa (ORCPT ); Mon, 17 Dec 2018 23:19:30 -0500 Received: from mail-eopbgr60079.outbound.protection.outlook.com ([40.107.6.79]:61312 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726305AbeLRETa (ORCPT ); Mon, 17 Dec 2018 23:19:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CLaFn/5nWbwcR4KhCtZhN6G89jTJk0zh9QQ615G8x40=; b=bP/2+z8Ym6H8Olwr+MJEpjEXqEgxSOJUv9YhE8eUNpIBmzBXilQ038lwVKTD0cZzZ8l3agM65fdrenSn3SJ97dEbLv0TtT2km757adotN+50G1OOQvTFcEymzhpcYDrIdJbHB2/Lpyp2ehTqHltmxoe9CK9NoqQ2A1P+oh8vJJ4= Received: from AM6PR04MB5781.eurprd04.prod.outlook.com (20.179.2.80) by AM6PR04MB4102.eurprd04.prod.outlook.com (52.135.167.160) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1425.20; Tue, 18 Dec 2018 04:19:26 +0000 Received: from AM6PR04MB5781.eurprd04.prod.outlook.com ([fe80::4d2e:cf15:fcf7:56b2]) by AM6PR04MB5781.eurprd04.prod.outlook.com ([fe80::4d2e:cf15:fcf7:56b2%5]) with mapi id 15.20.1446.015; Tue, 18 Dec 2018 04:19:26 +0000 From: "Z.q. Hou" To: "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "shawnguo@kernel.org" , "robh+dt@kernel.org" , "bhelgaas@google.com" , "lorenzo.pieralisi@arm.com" , "jingoohan1@gmail.com" , "gustavo.pimentel@synopsys.com" , Leo Li CC: Roy Zang , Mingkai Hu , "M.h. Lian" , "Z.q. Hou" Subject: [PATCHv3 1/5] ARM: dts: ls1021a: add num-viewport property for PCIe DT nodes Thread-Topic: [PATCHv3 1/5] ARM: dts: ls1021a: add num-viewport property for PCIe DT nodes Thread-Index: AQHUlojcaP0IJPro20GOl/AtJzrryA== Date: Tue, 18 Dec 2018 04:19:26 +0000 Message-ID: <20181218041956.41809-2-Zhiqiang.Hou@nxp.com> References: <20181218041956.41809-1-Zhiqiang.Hou@nxp.com> In-Reply-To: <20181218041956.41809-1-Zhiqiang.Hou@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: HK0PR03CA0075.apcprd03.prod.outlook.com (2603:1096:203:72::15) To AM6PR04MB5781.eurprd04.prod.outlook.com (2603:10a6:20b:aa::16) x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.73] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AM6PR04MB4102;6:szRO7lCWL8Y4dk3rodhubZOuAzdjdpgRbltc4ZXDfLYIhU/iHjY3pXwodF7KyndFb9DWObiiMM5RoKoQFKJY9oWBSurhMkrK694Gf4a0y/Pm9BvgGUUkeYbuFd4R2Iw393Ly6s9U3V/68ieKdg8oAY/uiWOMJCQI1GQ3Fy01nPoiW2WgYLKyU96/lnSw5bcBoBBp9ErMdtO2LtsHCT8sJkoUi2oXLGL8+rqx6m6T4HGEUDvEe0+Pi14hjmcaPGrpXy1uxv1pB4zIZ6p6YVVR6blnfyJRm3WyHIJ45vLMie8/8ytz1939x0PrBTVFHtJoCJmPMhuR9BQkdNgUHIG2gyIDHYPKnqlZ/4v1uYB+vgUDesVxN4YjJZmLCRJM6+Gx3JlqKYHdQtbEJ1NaJlwiuEt4OlwsPTR1ELhFOngkZRrbgbKNe2/OLEV8/WcqN/TFyTZSGFanfBZTNXtxpzzloA==;5:iSpbjkw3yW9IM+CnIG95QPHlDxMjOnZjDIdDTzjl3ftynnSF4TnpJF3ZYp9bx8umnWSEODz4gWv1zbQqQRr91EFp0YZ/nwtT0E2BcsDRYRM/KYBkzhj5kvAsqIJ4Tc9yEEdUkihJWScX7MVg4TS0brpCB61zQHZPjqAISAK8Spw=;7:s76Puyx9HRPrHj6th61I0WQWRv2MX7HbLy8Flt4sinHR9grQXUqyHsGoyVNvWywNFCXuQO4bT8T4cXJ4WA/Rws1wepuW4SKdzL6uMwFc/O1n/CfFg7RLWGWCCaE32oIAbWgxFYSHCV9NjJ3Stfkk1g== x-ms-office365-filtering-correlation-id: 41720138-a907-443a-f35b-08d6649ffee4 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:AM6PR04MB4102; x-ms-traffictypediagnostic: AM6PR04MB4102: authentication-results: spf=none (sender IP is ) smtp.mailfrom=zhiqiang.hou@nxp.com; x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(3230021)(999002)(5005020)(6040522)(2401047)(8121501046)(93006095)(93001095)(3231475)(944501520)(52105112)(3002001)(10201501046)(6055026)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123558120)(20161123560045)(201708071742011)(7699051)(76991095);SRVR:AM6PR04MB4102;BCL:0;PCL:0;RULEID:;SRVR:AM6PR04MB4102; x-forefront-prvs: 08902E536D x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(366004)(396003)(136003)(346002)(376002)(199004)(189003)(52116002)(7736002)(97736004)(7416002)(68736007)(25786009)(4326008)(36756003)(316002)(106356001)(102836004)(6636002)(105586002)(99286004)(2616005)(71200400001)(486006)(305945005)(11346002)(186003)(6506007)(386003)(110136005)(54906003)(76176011)(6486002)(1076003)(5660300001)(71190400001)(446003)(476003)(26005)(2501003)(2906002)(2201001)(86362001)(575784001)(6436002)(256004)(3846002)(6116002)(39060400002)(81166006)(66066001)(8936002)(81156014)(8676002)(478600001)(6512007)(53936002)(14454004)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR04MB4102;H:AM6PR04MB5781.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 2SvgwclkNAostjIRNvI70+guik3bkOESmc5KNp4FCyUUXak2uEnkX4ztL0swk9Vj5UE3IyJSSop56LOFn0yIZSIrH2+IdyaI7aAUWQoU9wliWGyRrGWZZMy4+OAqw4wPxo2d5ByvnSKfdb3XHZ7hd0GGqpWTbTl7jNR5cTKUTF83IHmSfhqs0EklDCjX64Ba/eHH1e1TAaU44uKanN/liKOT5h4yeFq2vuEZH305YIpFRZtuGNmfKM5UQgrCjorhtyhOG2EEby23udHwEvaIlgoJh4I+lmCO4xy14qH0ZqmGmv618Ynd/88aRWmyItJS spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 41720138-a907-443a-f35b-08d6649ffee4 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Dec 2018 04:19:26.6624 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4102 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Hou Zhiqiang Add num-viewport property for PCIe DT nodes to specify how many viewports are implemented. Signed-off-by: Hou Zhiqiang --- V3: - New patch arch/arm/boot/dts/ls1021a.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index b769e0e40553..b455acc7afb4 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -726,6 +726,7 @@ #size-cells = <2>; device_type = "pci"; num-lanes = <4>; + num-viewport = <6>; bus-range = <0x0 0xff>; ranges = <0x81000000 0x0 0x00000000 0x40 0x00010000 0x0 0x00010000 /* downstream I/O */ 0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ @@ -750,6 +751,7 @@ #size-cells = <2>; device_type = "pci"; num-lanes = <4>; + num-viewport = <6>; bus-range = <0x0 0xff>; ranges = <0x81000000 0x0 0x00000000 0x48 0x00010000 0x0 0x00010000 /* downstream I/O */ 0x82000000 0x0 0x40000000 0x48 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */