Message ID | 20230317112019.9090-1-johan+linaro@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp279821wrt; Fri, 17 Mar 2023 04:24:35 -0700 (PDT) X-Google-Smtp-Source: AK7set8Z1dFbbyWYyGb0+sBjvLgQfZX2CWJ+nL3sHskTBiJrO4YLC3JvU7UdqIb3IV/TqxZvCkc+ X-Received: by 2002:a17:903:2c1:b0:1a0:7663:731b with SMTP id s1-20020a17090302c100b001a07663731bmr9682165plk.5.1679052275373; Fri, 17 Mar 2023 04:24:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679052275; cv=none; d=google.com; s=arc-20160816; b=GpnGay4T37hMaHvHSplV4031Qe2J439bxQn/zOvxK5hIVY41w8GyEpUaxQ1kRStxS5 E6jZS+PfPkTFlY4mWmOlW6NSOEpjZ54j3QYe06ZLSS8vbkx7zXoO8OLraItaCnETMp/T jEXroFQnykAapMhz+IA5adH9R4TnknJGOvhzFWF3GnXUS0Bqh11/BT2i2B18EigqIMCt /OEMgUjwO6Y0Je4PBcsLaMdSjw5dWLEmHs2ZpT8NGBjeoj8jlvVwibgU4bjShwQh9mQ5 KqZWMKZF43fSFXh2PccqtwmCCYBUHjcZFsk2EouCFg2bn/OfVcz/LzMTlxnuhPxUcF3I JYVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=S1buiyDWuWRKtyLpA7zI5++YIa9gX8Lf0DN2JmJ3mDs=; b=g9Ps4ZFpINGNx9YKcbJcMmnColgJSBXBRGYMIYAlIVGKmjep6a1yLLLaN9qDLJ7re1 ObhxDZyCqwovgY8Xk7L1wz9axkGBhhTstRuVck2F8A9x2K5FtGBUPqI/rq+5LfvBKIDt /qB+qWHkhuw3KzcknaZiNPLADGfxJgl9ST083DmqeSZxAfxB6O8nBodUXwnjU0Oshr79 o6m9McySjesxy4vCMcCL8c+MGmnM+SlO+PnLZfsZU6OSldl24jh+ZfB2uGqkcc5V1gl6 aiSNnwvwucmunvnWzDKtwF33HtB+awyieA2ea4RCWQ9gISmlZ6fe9/JEgGiHo3o5KAir DPZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XGAL9TIz; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r19-20020a170902e3d300b001a18e0c66a9si2145712ple.249.2023.03.17.04.24.19; Fri, 17 Mar 2023 04:24:35 -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=XGAL9TIz; 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 S229599AbjCQLTx (ORCPT <rfc822;chrisfriedt@gmail.com> + 99 others); Fri, 17 Mar 2023 07:19:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229488AbjCQLTv (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 17 Mar 2023 07:19:51 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D7D06A1DD; Fri, 17 Mar 2023 04:19:36 -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 7149662274; Fri, 17 Mar 2023 11:19:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D1F67C433EF; Fri, 17 Mar 2023 11:19:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679051974; bh=TgGenglMBJsZz/UjVeph1z0OkJF0UrTBZQRCyEkEbdg=; h=From:To:Cc:Subject:Date:From; b=XGAL9TIzOpKDjj8PZfSD95gW0GjJPdjr/uLBV4jxUr8hfVEManEGuWIpylfMBtTXp 7Q4/hEiABHwnfRg0VD8q+B+SxFG/+KCA2ohnL7an+sz2pEuWJg+8iZMiFRJBj5wQ0v ns4O172/8qcFdygR4V2wkTrhZVnlG8r7QuEdTAShB1XYdvxLH6yQEMxYj3jn5TpGoi krFiogBmdC1VVgTVa/woEoLQuP42ykActPXmojatxkFW+cm4SlFxli1AgngyxfEAHR puIOsya/WNemTVEdKepft+JioP3qKgh0LC/c2/MsCso8w9tsyVaiMKJwe63YbLxVIs Y89hyraNXBUiw== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from <johan+linaro@kernel.org>) id 1pd88c-0002N4-44; Fri, 17 Mar 2023 12:20:46 +0100 From: Johan Hovold <johan+linaro@kernel.org> To: Lorenzo Pieralisi <lpieralisi@kernel.org>, =?utf-8?q?Krzysztof_Wilczy?= =?utf-8?q?=C5=84ski?= <kw@linux.com> Cc: Rob Herring <robh@kernel.org>, Bjorn Helgaas <bhelgaas@google.com>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold <johan+linaro@kernel.org> Subject: [PATCH] dt-bindings: PCI: Fix unit address of example root port Date: Fri, 17 Mar 2023 12:20:19 +0100 Message-Id: <20230317112019.9090-1-johan+linaro@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760613918946099696?= X-GMAIL-MSGID: =?utf-8?q?1760613918946099696?= |
Series |
dt-bindings: PCI: Fix unit address of example root port
|
|
Commit Message
Johan Hovold
March 17, 2023, 11:20 a.m. UTC
Fix the unit address of the example root port which is identical to the
device number (i.e. 1).
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
---
Documentation/devicetree/bindings/pci/pci.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Fri, 17 Mar 2023 12:20:19 +0100, Johan Hovold wrote: > Fix the unit address of the example root port which is identical to the > device number (i.e. 1). > > Signed-off-by: Johan Hovold <johan+linaro@kernel.org> > --- > Documentation/devicetree/bindings/pci/pci.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Acked-by: Rob Herring <robh@kernel.org>
On Fri, Mar 17, 2023 at 12:20:19PM +0100, Johan Hovold wrote: > Fix the unit address of the example root port which is identical to the > device number (i.e. 1). > > Signed-off-by: Johan Hovold <johan+linaro@kernel.org> > --- This one hasn't showed up in linux-next yet. Could you pick it up for 6.4, Lorenzo? > Documentation/devicetree/bindings/pci/pci.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/pci/pci.txt b/Documentation/devicetree/bindings/pci/pci.txt > index 6a8f2874a24d..8b7c52436558 100644 > --- a/Documentation/devicetree/bindings/pci/pci.txt > +++ b/Documentation/devicetree/bindings/pci/pci.txt > @@ -76,7 +76,7 @@ Example: > pcie@10000000 { > compatible = "pci-host-ecam-generic"; > ... > - pcie@0008 { > + pcie@1 { > /* Root port 00:01.0 is external-facing */ > reg = <0x00000800 0 0 0 0>; > external-facing; Johan
On Wed, Apr 5, 2023 at 6:19 AM Johan Hovold <johan@kernel.org> wrote: > > On Fri, Mar 17, 2023 at 12:20:19PM +0100, Johan Hovold wrote: > > Fix the unit address of the example root port which is identical to the > > device number (i.e. 1). > > > > Signed-off-by: Johan Hovold <johan+linaro@kernel.org> > > --- > > This one hasn't showed up in linux-next yet. Could you pick it up for > 6.4, Lorenzo? On 2nd thought, I think it's time to just remove this file. The schema is just missing some descriptions and 1 property (external-facing). I've added all that here[1]. I didn't add the example to the schema because the example here is incomplete and won't validate. Rob [1] https://github.com/robherring/dt-schema/commit/8445eb010e61496681e2504faf400e9fbc5b1acf
On Wed, Apr 05, 2023 at 08:38:29AM -0500, Rob Herring wrote: > On Wed, Apr 5, 2023 at 6:19 AM Johan Hovold <johan@kernel.org> wrote: > > > > On Fri, Mar 17, 2023 at 12:20:19PM +0100, Johan Hovold wrote: > > > Fix the unit address of the example root port which is identical to the > > > device number (i.e. 1). > > > > > > Signed-off-by: Johan Hovold <johan+linaro@kernel.org> > > > --- > > > > This one hasn't showed up in linux-next yet. Could you pick it up for > > 6.4, Lorenzo? > > On 2nd thought, I think it's time to just remove this file. The schema > is just missing some descriptions and 1 property (external-facing). > I've added all that here[1]. Sounds good to me. Will you send a patch? > I didn't add the example to the schema because the example here is > incomplete and won't validate. Fair enough. Having a decent example in the tree would be helpful, but hopefully we can get the in-tree DT sources up to par at some point so that they can serve that purpose. Johan > [1] https://github.com/robherring/dt-schema/commit/8445eb010e61496681e2504faf400e9fbc5b1acf
diff --git a/Documentation/devicetree/bindings/pci/pci.txt b/Documentation/devicetree/bindings/pci/pci.txt index 6a8f2874a24d..8b7c52436558 100644 --- a/Documentation/devicetree/bindings/pci/pci.txt +++ b/Documentation/devicetree/bindings/pci/pci.txt @@ -76,7 +76,7 @@ Example: pcie@10000000 { compatible = "pci-host-ecam-generic"; ... - pcie@0008 { + pcie@1 { /* Root port 00:01.0 is external-facing */ reg = <0x00000800 0 0 0 0>; external-facing;