Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp461269pxb; Fri, 15 Apr 2022 03:52:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwS/XahNujXjgVWX0xgXEhDfI3gY0Wd/E5fvHtOEFgZjwZir+9F8U/ocKyspafXMGHjMyVO X-Received: by 2002:a17:90b:350f:b0:1c7:7769:3cc6 with SMTP id ls15-20020a17090b350f00b001c777693cc6mr3481541pjb.120.1650019959903; Fri, 15 Apr 2022 03:52:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650019959; cv=none; d=google.com; s=arc-20160816; b=LuM81ZheFwlpsFAntBPh7W4KcO4T6og5aHI3RVw6xFhg4OOtqFQNKfHqUvU0/5Z5B0 TJ3ULgh1OBlfwQTJTivhaO2R/N5Fu3wO9y5HvcZ7rXoKheV0fkGGsDbjGV4Koi2IMRND m3rTmCzhr8kgufzi/UAkSBa+Y12c2NKBfUNJw/u5kwgmlQDh6DGCkpI5DXEPcc4/LXGl i69LapDbjLXLcVh/z0o4luYdg+cL6KtHhkjqLl4J2XNa8joNeX9wRNmnX+8Y2xpmqr5n l1uMmDfIH9yQzDGgL3+C71LnTVxyZMf1mws08+6TC9gT/Etu+icGT3EIkZAMhjKH31Uf 2mAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=KW+SorKMV4vhtl+rF3BxQo8k7h795kq02Ppox+xbn6k=; b=OICfkRXhoZH/STwrPPTtdAwEuIDu+1G7J8t8xx2uugvPDCJEV9MOtOW34U7NXcaLSP eZHQLn00EgBHAPq7GutHXLxWZ7E8f3e/Mb8coQIjmikGMIEHZY+9y2cF9CP55/9D5L1M yG5wpGD4578JYv0UNhixNaY/su/dPxWUIytB1UIQXALSyKHRTRu9srdakav8iTHzPVDT PKbIBFLP40VIh2fO6Un93ngj/iVzlYVtSdnbSj1ZUC3xu3xlYLgs9L/Tr+1kcH/JAHPr Ek7zk2D8XC57g6UQxw4hNgPJmzAMPJMfcTV17D02So3LhRoF6G4O+CvhpzQDxyvdwupC YifA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JkEC3OGQ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q18-20020a170902e31200b00153b2d16540si896768plc.328.2022.04.15.03.52.03; Fri, 15 Apr 2022 03:52:39 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JkEC3OGQ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345596AbiDNTaD (ORCPT + 99 others); Thu, 14 Apr 2022 15:30:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345598AbiDNTaB (ORCPT ); Thu, 14 Apr 2022 15:30:01 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFF37ECB1A; Thu, 14 Apr 2022 12:27:33 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5CD7C61D46; Thu, 14 Apr 2022 19:27:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6E3CFC385A1; Thu, 14 Apr 2022 19:27:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649964452; bh=KnMJB1zO5X3qgQXNARs/Rriw7wFtyJlRQ7Vu8tNqNNs=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=JkEC3OGQavU5xCzgOxJRs8/hPF6uB7IexQKFtClIx00CflVCUdm/+GAUuYgjdl4W2 QKWFuNf75EJ/ieS8U1kPssWKsQEf6HA5VDhIiYJ28xs+kY4iGk2UWfQd/C/V1uvDS2 qiW31TXWqYa+s+7GWadfSA9DGE2jJwftVOJL7dx8MSs5BAdTM9ZtDZoGcw7O9YnZ3c Eei8MVf2YeepVsvvLYUNQa3qVEDDZ3VqUkjVC/ymyWhdQsVXHoQp9ISUsJsjF62AYy zLkC3SJPLN+uT3VR8CzR4nogeWL5QjjWvfCW0CZ9OWAMui3bvLJ3lXu2EgBwAXWeHY OzsUouLfPpPNw== Date: Thu, 14 Apr 2022 14:27:30 -0500 From: Bjorn Helgaas To: Li Yang Cc: Bjorn Helgaas , Hou Zhiqiang , Rob Herring , linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 1/4] dt-bindings: pci: layerscape-pci: Add a optional property big-endian Message-ID: <20220414192730.GA763552@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220311234938.8706-2-leoyang.li@nxp.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 Fri, Mar 11, 2022 at 05:49:35PM -0600, Li Yang wrote: > 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 > --- > 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 f36efa73a470..215d2ee65c83 100644 > --- a/Documentation/devicetree/bindings/pci/layerscape-pci.txt > +++ b/Documentation/devicetree/bindings/pci/layerscape-pci.txt > @@ -40,6 +40,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. What's the purpose of this? I don't see any code that uses this property. I guess this might be related to of_device_is_big_endian()? I do see some code that uses of_device_is_big_endian(), but nothing that looks relevant to layerscape in particular. > Example: > > pcie@3400000 { > -- > 2.25.1 >