Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2915711lqt; Tue, 23 Apr 2024 05:48:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUceWOvg7cr2iRTakbQD/chrOBIbEO9axLVdtarBA0DIZz6bexHCwNevPYJdqxNHWWnPKRXU+o2RNUWePAQWPs5KG6lrFjiWZjel6RvTw== X-Google-Smtp-Source: AGHT+IELTmAqtYIRv/CZSW9C+uOdXDuihQ0s1zExe0wmQIIURrM7WQ5fUqbMj/va4EIr4yaFWxg9 X-Received: by 2002:a05:620a:5a09:b0:790:829c:91a7 with SMTP id wv9-20020a05620a5a0900b00790829c91a7mr1730523qkn.24.1713876516002; Tue, 23 Apr 2024 05:48:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713876515; cv=pass; d=google.com; s=arc-20160816; b=Sif9wY5o743vV61iT9UDirGTvd/+2pH+5Q5/aC2A4yZKpdPn37bthMGkFwEFeL+6TQ BrEltVhBA3CYBk+G+Lw0CP09/7s7GplTte7iNCGGup3jRCqLMxGpBuvusFeeSk+h6cfm JZfwWKFee8vwOGgVU62VePq0ZQmoYVacvFLZi95XKS+z3TK7pj4E30gamspxSjelCNyf V+ijcmqcYgKJwItgUTbJfkXqEXdwAy0ONeFr39+7HUltcxepubXdv9w1YqD2Fhz4q0jE hwJO0865IWWb+S59cmY/ADcfj3LGciWn8BVcHU99lMexpFtMiaav8J/DRMEkkiAhPiXi TPWQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=t/F8fpef/UZR3lmYslMqZPqOuyFs6BRJ6GvY6QOiwIw=; fh=3dMAxSAMiVoJWqMXdId6I5NwvWUFXuY/t49SJ2YgDEs=; b=pnGrC66Zvn4pCQnaQv4Qf8HHdQGWPo6i+sBDqqdRg7Ep1/NBE2rEkDSJ7Tij6TfsAA H7atJJ1JfmeIngt1PbKBK4BKIf3X3NXvZ6tSdPa9IBfmcsfrLKj80LHiE4e5eBVXshJM sEOf06/0xHhKPyqrLMu1kPNoRjd5lCmoiWmuC3G/sNFHMtMCZjHNRf661qqqp8VHpwhQ VcG6LkLnPWuX/p2BE4Il9v8A7kmDEE7xFfJKsuovk9coGZbIYHI60kE4Jth9KzeP/dkF bKyX/+Q0J7R05n4bkqlL3Csot8R8SXr+P+DTw+T7RGz+PhyA/mw71nwU321399ew65YL 3bzQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="kKY/7MhB"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-155208-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155208-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id pc2-20020a05620a840200b0078edc088d1asi12157468qkn.160.2024.04.23.05.48.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 05:48:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-155208-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="kKY/7MhB"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-155208-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155208-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 5A9A61C21733 for ; Tue, 23 Apr 2024 12:48:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8CE75131734; Tue, 23 Apr 2024 12:45:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kKY/7MhB" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AC02D85C48; Tue, 23 Apr 2024 12:44:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713876299; cv=none; b=mTkTd0ajOYaMsKw8P/BJJGEIJacZ/YUt+wKUnvPX4VFXWBEowCMKhU8nkNeF5nLslbXNHHOsevuR81UiuYA1tsjrqqQjmBh0EqmC6YdfkFbIukfT2cR/mmWUfiZvsBZ/ZFP8Z0MNfQXe/DrJ9z5dwXvX6F4oIG+oKlUdnHyuJp8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713876299; c=relaxed/simple; bh=cTXx+iD2wmjxxov1qX3iubOa9Y20RoJrqWIrv/7Wz0U=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=lk16loD62knNnz5V3UlkUb6PBWeweXHcGotd5G2Tg70yu+2Kli9oP8m/oK3GaNxMBT5RFxps+29qcjirq7PsWHfWz79pYzGTTrai8m8a/Y6Z35a6pfspY+Zqt2FvIrk0+pLWngcG5vEu7fQcxQN+ysOvFUk+cJxniNQHgzo+rYI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kKY/7MhB; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E753EC116B1; Tue, 23 Apr 2024 12:44:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713876299; bh=cTXx+iD2wmjxxov1qX3iubOa9Y20RoJrqWIrv/7Wz0U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kKY/7MhBGou+3DqZ/lN9QH+aKZ7FDa9tbgHIKuxifPyXktA/MznLQJ1uuwRhwD2lB OmyXEgOTk60IOS1FJJrXEK1huQIM5Njl3G/q+fg3GtKaWH1Kz6tGsCsiJ42M43z0Lo QtZc/bPi71errt/8feNSEc1qXa2sQd3EPwoPzJmlDQVbmsEZwOtaaczeUP4rZAqUNr dyi7rVBAQN0aHCWrbllEil1GKKrufWjy28e/dnnNBB9g1bj3kKqtrSrzliOjuuiYwu vuCT6Am90rSjErLhmETtvcXPFOwHGQyoxUFJiN0B87fYFip+YA9uRq2wHtYlgMMNJa TKXfcsBb5u59A== Date: Tue, 23 Apr 2024 07:44:56 -0500 From: Rob Herring To: Sean Anderson Cc: Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Thippeswamy Havalige , Michal Simek , Bjorn Helgaas , Conor Dooley , Krzysztof Kozlowski , devicetree@vger.kernel.org Subject: Re: [PATCH 1/7] dt-bindings: pci: xilinx-nwl: Add phys Message-ID: <20240423124456.GB4105016-robh@kernel.org> References: <20240422195904.3591683-1-sean.anderson@linux.dev> <20240422195904.3591683-2-sean.anderson@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240422195904.3591683-2-sean.anderson@linux.dev> On Mon, Apr 22, 2024 at 03:58:58PM -0400, Sean Anderson wrote: > Add phys properties so Linux can power-on/configure the GTR > transcievers. > > Signed-off-by: Sean Anderson > --- > > Documentation/devicetree/bindings/pci/xlnx,nwl-pcie.yaml | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/Documentation/devicetree/bindings/pci/xlnx,nwl-pcie.yaml b/Documentation/devicetree/bindings/pci/xlnx,nwl-pcie.yaml > index 426f90a47f35..02315669b831 100644 > --- a/Documentation/devicetree/bindings/pci/xlnx,nwl-pcie.yaml > +++ b/Documentation/devicetree/bindings/pci/xlnx,nwl-pcie.yaml > @@ -61,6 +61,14 @@ properties: > interrupt-map: > maxItems: 4 > > + phys: > + maxItems: 4 > + > + phy-names: > + maxItems: 4 > + items: > + - pattern: '^pcie-phy[0-3]$' The names here are pointless and redundant. Names are local to the device, so 'pcie' is redundant. They only refer to PHYs, so 'phy' is redundant too. All you are left with is the index of the entry. Now if PCIe can work on only lanes 2 and 3 or similar, then maybe -names becomes useful. Rob