From patchwork Fri Jan 8 09:36:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Z.Q. Hou" X-Patchwork-Id: 12006153 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 11D94C433E6 for ; Fri, 8 Jan 2021 09:29:45 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AD3FB2231F for ; Fri, 8 Jan 2021 09:29:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AD3FB2231F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=UePJ/KtTWBe0GUhKcEfdi+1pViH/jqW1O4QB7RxLat0=; b=xZfFhvRBPLaqVkpVk0ypzS6AK bDQNRTbwZ87Gk9u/02HyaD+U38XBI1PJOo4lGtbn/yNjIiLv49LzkSLf7rU0VuwCqYjRQBxaf4wAL It6fNgy5EHSA15CcmriUkWMjNthc4+iWdct52SSZhEVBeENFQQxlXrQ35/eL2C1Coy4BJGuoU3K0H hLguXuJgrEKHLOyxE1OVHXYcicnHZdRHxUkSO9ni8Yxmo++DRPJRHmcxFTtyEbOq1JvrfsUsII1mK SQKlxlAAK5mTy0cjRc0C8VJ1rcsEYb7e+PnWstiQMsOSwp/0NbOa2DrsWiyH4BxvBvmipqkc+FvKD azqp4qqtw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kxo3i-0003np-KZ; Fri, 08 Jan 2021 09:27:50 +0000 Received: from mail-eopbgr80088.outbound.protection.outlook.com ([40.107.8.88] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kxo3b-0003kI-0G for linux-arm-kernel@lists.infradead.org; Fri, 08 Jan 2021 09:27:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hMlpQGGYfe8AvBO6KdTpGfv7nSPMyQfq4wuRL9EwbSj6xw2PtHc2wY7aMoxe80NlScLrkv/2e0RRSEkJvTX9RRoX4uNffeWpONBTJsWj84IJmow0faNQACPcalTkuM6dLcolEE9xyx8J0GUzQmGBl5n4olZbrI5Gis0YlID57W2xXPzMJ7MNpGDlXqWiVSArUT7gf6sVzM2uez0cvibnW1diy90lUcQsvZCcWYSsSvvJqx32OV9UriPalrKMLTF7V8ML7EnzkWhyAMmwtqpDUGQ3C1nLvotCiRmc3ZYrWjTliKce076l2OxEr/V+FVL9qn15ZAewiQtZP8oAQNBLkw== 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=GEZ/59/xm6HRVjgfVbBwCqDkQREI9hUe2D7/AhWtiC8=; b=GlSywlFjJ/vPNzMz9gZ3wDbIK8CguAJ/SBNliqj8qwz9pl07i0goZqkaZ87a6WYlZYw3Oje1PDeGpghbufH+brCDt9XXthwa3fz09ksuH+QCavdM1xsnM3qMYTfTPjOkuG2tcOhfmdH/t6gL7ZVkvYaOGp1NInLj0eBRhXwy0GIal8FoUpHPQJt0tVnBjLGJEF/A0D03tFhlsUqCKdE0btk23Xxy71Ecdeap82ip9T2ApofvaH8h4HZF5uf3YgnjTx51KrNkBZhkhzK2yhiAWsTjBpBQ7p9NFffq4Kcy58eZa6pn3AorHUdfqUE5u2wVJdc/jFRhiVumGve8yFYhgw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GEZ/59/xm6HRVjgfVbBwCqDkQREI9hUe2D7/AhWtiC8=; b=VIPU5hHDsihWVRmVtaLdvxjiBivl5oFSYn3w9b8OcfGPJbdh0Pr25We13nLi4DRj2xr21KO4EI09OQR1iYxo7HOjNEv/2GFuxId36hyCYUrdFs326190P2ZIjzh5jyQNxt5XwZR71uukmsaj0VZZZ47gUL2aHDrlc7zSUY/Z1Gk= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=nxp.com; Received: from HE1PR0402MB3371.eurprd04.prod.outlook.com (2603:10a6:7:85::27) by HE1PR0401MB2652.eurprd04.prod.outlook.com (2603:10a6:3:83::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.20; Fri, 8 Jan 2021 09:27:40 +0000 Received: from HE1PR0402MB3371.eurprd04.prod.outlook.com ([fe80::3194:64d6:5a70:a91d]) by HE1PR0402MB3371.eurprd04.prod.outlook.com ([fe80::3194:64d6:5a70:a91d%4]) with mapi id 15.20.3721.024; Fri, 8 Jan 2021 09:27:40 +0000 From: Zhiqiang Hou To: linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, lorenzo.pieralisi@arm.com, robh+dt@kernel.org, bhelgaas@google.com, shawnguo@kernel.org, leoyang.li@nxp.com, gustavo.pimentel@synopsys.com Subject: [PATCHv3 3/7] dt-bindings: pci: layerscape-pci: Add a optional property big-endian Date: Fri, 8 Jan 2021 17:36:06 +0800 Message-Id: <20210108093610.28595-4-Zhiqiang.Hou@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210108093610.28595-1-Zhiqiang.Hou@nxp.com> References: <20210108093610.28595-1-Zhiqiang.Hou@nxp.com> X-Originating-IP: [119.31.174.73] X-ClientProxiedBy: MAXPR0101CA0019.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:c::29) To HE1PR0402MB3371.eurprd04.prod.outlook.com (2603:10a6:7:85::27) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.73) by MAXPR0101CA0019.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:c::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.6 via Frontend Transport; Fri, 8 Jan 2021 09:27:34 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 31788afc-3ba9-44e9-bafa-08d8b3b7a50e X-MS-TrafficTypeDiagnostic: HE1PR0401MB2652: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6108; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QjyUmryt8rqGOx2fCFPjW7YX9NwjiWA0jqEcQOvx9KzcK0Pk98cD2JXsfe1Fxabq8S8z6SD0ieotPhOTEMlAqXJLR6PBmNhlEKWk1HhFk9CKIcikO8fEM5H7ZmKy163jZEAEqnlxVlHhLjMAmJPBn4qnSKcXZN1h7f8Wrf7WVHsqynVwKQeTEJC8oulOXKVU+e/aJMvmUoANiLn5mnrLFHsku1HwUtJS7kjVTZQXtgtDFSFGEnSuBX0I1jTb7ZGo47PTBX9aj+G3lH4pc6OOl46QFH9pYf0SvNo6kbmzy2y9bAFYY4tEie+8oVLGcJSEva2/tF1uK4aDfIOo/ZmFW0maUMF2XEYSGAgpOdpeTMsggzgXxuC7gdlXDrcaLg5mTYVdGFNQVzwyfj2rWXSuyzQNgNcn5pnh1quOt0FlLMvoq8Kc4w0CB2luYpWnvjCbrrBUzVSoA5cXbn3Co9s6kA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0402MB3371.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(376002)(136003)(39860400002)(366004)(396003)(316002)(478600001)(6506007)(6486002)(4326008)(52116002)(2616005)(36756003)(69590400011)(8936002)(66556008)(956004)(921005)(6512007)(1076003)(66476007)(5660300002)(66946007)(26005)(2906002)(6666004)(16526019)(8676002)(83380400001)(186003)(86362001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: SUPVJkQcLK2EBm+gyY5gndRrEmfuCSFDF2M6yZ/gSDXXQPiUp+nK8v8oBkzrEEi0tcvJCXyf7GJH/koFSmGdHWxSgEbuAXQHWC4YmhevxK8ZdpaOiFa9NXT6xekjhB6XCnnpA0TOrCk515I33eJRi3/ZG2wAQD2Bi2SNofkOkc5OUnpiE2LObv5etVbE+1Mi0p/1BsEvr2FkwD0YwDLx6bpEDCNQmF5J/o+l1o0mzKpDlx5GDPYEWXVYJRTKEx5/gvsje3ye31EgqoL8YPCQKo+n4SgFp9qiRseVNUzlASyLQFqT7MkuR2pa1MqflSyGOWuURkoPYh4g1XJHZ/tSdytIprJf5Vd2lGkisQsdh4K0tRjUEIQZ54A0qDb03nvueQrEeihWxFAK9/fBO3mBqvMGfpCsGiwlMejLD9RuP3tEWf+3ZlQsnmRqWESr7MoS/u5RYrllGbpcH3lKIDu5xuSY1Hk0WNdhSOTV5muAKuZc7wm3V0VUYI2RdzhL7w02pf6zQl7kQ1HB4UXGsPisMOCvhIu2djhYaIL/7CAKcZ7v9qi5ZrMSkZf2Pc5GXHTlVeFTaZoiPMTH0ySEXecEW+krofxs5L1ILYm1fx0tJ/DQebmlMRS/XSyFEqaRZn7mUde3wPFnMAPkUhR0849WFqNxNwfw6AExjPiKqr65NxH+7VmNmv9DMxqAwF16CPvOFsYg4Y9FKM9dH++n2hKJSk+c1R9SJ11WRmaTargY+WRFMYZBdKX5VJHqJXm0RxiCx7HKru+a6KmJd4aR4dP5j/xjOGzRn+cdx1WRRhpx9uczz5QHfgrSIKBlGDAfzuEtAf0osbDeEPZPxaekxpj02cN0gzYjOlcAlrQBgQwvXN3McAInhJVJgdtAnhqoclx8wyOV8Kdah4qgznKkw+gOg5ai8w/ETpYpcP49aRLTJ6nAuliAD7fBZ6MZFEH2PpL6vWG2UlbE2E7lvjBqL4D7t73VqD1/BFQ69GhT2ZNFv97SPyDa0OUaR/rlbJwfI6tG X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthSource: HE1PR0402MB3371.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jan 2021 09:27:40.0589 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-Network-Message-Id: 31788afc-3ba9-44e9-bafa-08d8b3b7a50e X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: PDxhHWdLW+ZZaErVSFgh3vHJNDlDPGxizb6dsrnGNkjBTHVNoPRMAgm/KZo1YfWT8d0spPWjkOzyG/OZYWB8lw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0401MB2652 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210108_042743_103811_C7CC9D4B X-CRM114-Status: GOOD ( 11.70 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: minghuan.Lian@nxp.com, Hou Zhiqiang , mingkai.hu@nxp.com, roy.zang@nxp.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Hou Zhiqiang This property is to indicate the endianness when accessing the PEX_LUT and PF register block, so if these registers are implemented in big-endian, specify this property. Signed-off-by: Hou Zhiqiang Acked-by: Rob Herring --- V3: - Rebased against the latest code base Documentation/devicetree/bindings/pci/layerscape-pci.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/layerscape-pci.txt b/Documentation/devicetree/bindings/pci/layerscape-pci.txt index daa99f7d4c3f..0033c898976e 100644 --- a/Documentation/devicetree/bindings/pci/layerscape-pci.txt +++ b/Documentation/devicetree/bindings/pci/layerscape-pci.txt @@ -39,6 +39,10 @@ Required properties: of the data transferred from/to the IP block. This can avoid the software cache flush/invalid actions, and improve the performance significantly. +Optional properties: +- big-endian: If the PEX_LUT and PF register block is in big-endian, specify + this property. + Example: pcie@3400000 {