Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp3022077lqt; Tue, 23 Apr 2024 08:21:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUdnFgMjJzHWyQpErlOmVYErMCRcne0jdYT1KgIDw40Lkzn/eov2l6nAwle+xcKMxV8Ul/IPjnZsdgvtYlsqGfbeVTD/ySHGCjiuHCvhQ== X-Google-Smtp-Source: AGHT+IHyKORXfpPvOxIkI+TlCZmrDPn46Ftd2YCvX/T6cx1Q6Udzjh4tS0+OU/Vt4r4qlPZL4b/H X-Received: by 2002:adf:ce06:0:b0:347:f94b:94d8 with SMTP id p6-20020adfce06000000b00347f94b94d8mr12509813wrn.62.1713885670333; Tue, 23 Apr 2024 08:21:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713885670; cv=pass; d=google.com; s=arc-20160816; b=PkNg7PadbhQT0SU64mwxCFxOMUujtmpDXxJq9CvfroM7Bkt+35zUKCZEboOYFFpCgH tJWxXtdK9dTyX0m7EMHK+s0qXfTcW71WOnaF2q5x6lc7oiMNO9S7xCPvOsqa5G5bB7Sp FUCL3dGOxybzhajjBM5wd7R7i6iQ6s4g9Vs+NVRqF1ZLrXVa90aOsqJIzdWYqPaNtzuu n/65I2JpDpfqgA9Ljbl6dOqglwdb+l6VYNQEJrFvQG8vEPokX00H25EuelVzBLoUoMIn cO5cWbICOJ2XDis2aLy0c+SiKeY/9vjIm2PYkd/fmwjDrn6q+V5IHgJas3+p5jLb3nTU KO8Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:dkim-signature:message-id; bh=CGvSIl1osJHCOXh6CXAvpDqVr+q8BgO5ZKZGPwPjjn0=; fh=6s5K6av4F4wOeYfB0dOqv4Vy2xTBjAF+4Gkj07ehe0g=; b=xwbB1jIZE1sQfooEO0ZoPp2tOwWeBIsMiXiELzHkVWKrbCoLa2oflTacC7poIVfDcV ae42Sw+v8TybQNAE8NvhItOfuo4OLr8pyrzUhN0kDhzwO+Wu1zo08YiJnxzc8/To+uPM 9eMoquNN8mtLezPr1k/ZcMkvesNFWs2OYQz7OpNai2s+2qtVSs/q9mW6s/FmMMfC3IMS 0M82wxg+l/RkGoAK0jU9+xP/bTuagmQVXPRu7OIW8nctmJ5PbSOdybat8KEX+mWVTztB RjAz/tWqkKiFQiyuUza1WSe1kqn2QKcR4zZfAScbj9/49DmNakIKrqDrtYeFOwZtuazm AmqQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=goGdSdfp; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-155459-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155459-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id go37-20020a1709070da500b00a5586025824si6691950ejc.894.2024.04.23.08.21.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 08:21:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-155459-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=goGdSdfp; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-155459-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155459-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 111E71F22331 for ; Tue, 23 Apr 2024 15:21:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9679013E889; Tue, 23 Apr 2024 15:18:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="goGdSdfp" Received: from out-176.mta0.migadu.com (out-176.mta0.migadu.com [91.218.175.176]) (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 F285013E8B2 for ; Tue, 23 Apr 2024 15:18:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713885523; cv=none; b=tAdyuArgp5qDIYYaD6K5bHefveXcbmy4EgUSZphoZlORuEfaeitKqybwp+OuxQL1V0YV3pmIe1TrHR9pfWxNLcPo0C98HOBl77rl1UmwRKmELKqsM3JXm69UxuaJVeREb0d/ncx0/kLC75JOuhERnz82bmjjBKIEtGybpFr9AYk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713885523; c=relaxed/simple; bh=pgLp28/QcaA3s1GmbB+76qIhKAGtQdBbHcoW27wTxVs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=u1HI3WzgBAxKVaKp0RuPCjVNKH94huUvAMTnP6VLgTgK77duvI0IRjKsWhobkH2yJI8x3tIJkBPHQ4t/xNxvijpDh5NgX661+FZrDl5HtTEOCZGtyP48rlfqjO8YshVfvAcEEJhFWOhwIhfDcnLfF18eo7bhsUrjAc0koFT4ObU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=goGdSdfp; arc=none smtp.client-ip=91.218.175.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1713885519; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CGvSIl1osJHCOXh6CXAvpDqVr+q8BgO5ZKZGPwPjjn0=; b=goGdSdfpsSWeQFMqZHmnSvmvOXJtmcErujWRs38CJsP+nyuQbbK+eRjw9n/xWYUUvhn3oc 7xmu9HV8BSB1uq15d7HBp6IeZa1e4vr6CI4HP05EIACkbYuiotPOQu99d+Nzsvw5RZRY1v RH7uW2gAdkQxI2zD896KtU07qEvaUo0= Date: Tue, 23 Apr 2024 11:18:34 -0400 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH 1/7] dt-bindings: pci: xilinx-nwl: Add phys To: Rob Herring Cc: Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_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 References: <20240422195904.3591683-1-sean.anderson@linux.dev> <20240422195904.3591683-2-sean.anderson@linux.dev> <20240423124456.GB4105016-robh@kernel.org> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Sean Anderson In-Reply-To: <20240423124456.GB4105016-robh@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 4/23/24 08:44, Rob Herring wrote: > 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. OK, I'll just remove them... --Sean