Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp408664rdb; Thu, 15 Feb 2024 04:10:43 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUv2vS4pgQFlVEbev4w1/e6vG4yoFjbpS4dlwii2vFYty44p5ocnlxckFKmIX+1CY0e7Zo8QED3vlEZri3lJPryNRi7ApGasay28aUalA== X-Google-Smtp-Source: AGHT+IHv94hwlAm+tLUyxSmP+Fnh6Oq2yKRN2jaTJRs108JENa7+d6BNjcOrh+TUgpVwwCEDS5bW X-Received: by 2002:a17:906:c40c:b0:a3d:568:966e with SMTP id u12-20020a170906c40c00b00a3d0568966emr1295684ejz.6.1707999043068; Thu, 15 Feb 2024 04:10:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707999043; cv=pass; d=google.com; s=arc-20160816; b=dXE8hwvNAOzIJcrCiu3SKX7XYQT3t+DqAE83yHRfvifWD2/MY42GFpnKvYqLyvcW9Y CGV6v6pGU4ujFdVbczhlJTtc1QImqMG/Ya3C4Hq4EfSQ+NpIn5TCNirW9NrcKhTvB1ZG z/D2KoMhEckqwPvUPTFdYbUeJBXAFSfvrGEa5pGhirAW7O2eNKohaXB9qO17AO2diL+p 5VzMLrYEXg3+2APh39uVIFTav92YA6+1KD/gN1HrCVzg6VY6Y8NDcHrpM2Bxc6tO+9MB ot6FtHcc5FLUWB12B1iJsNNnkOZ2gGVd6vKMuOnBCp6zGcO7Vpw1wFAl+HWz5FqMoUxz v7qQ== 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=+/oYRxWq5T6AJKJHhf+NGeaMpoi6iFl9yTGimQ9kFXg=; fh=lf1G4UwNdzoEMbBI3eOo7Swq8rwA5SBsriabG80K/Vg=; b=oONIoKzKjOfCAZR96hJKvTJUIeKaG8TYN6m5eRiYVlRGv9Vc335rDolhW5yD5ekyjX OKl3p8JpZ0IYaH5VSn80g/cDwnONx0QayRvTSzIW9mkQss4jVg6XMC58VoJodrDumEWk 7Z2K4SRzdZLEgnvJCy9+qIny0fUlZAVtC/HeHGNzwDEIX4p8YolHDioPaL0pioy6czeS EosdNR2kr+hvsmrKw71iT8coPHjsa6wiIkVEl1a/swfsw3SBRvysxWvty0WwpIAdYrHN Vy+ktoIQMXMi72oxBSKuM6Y/Qe2BVg/nZjXvREOYJXvHEM4hCf+hzAsaSouDMr6F9l7H vzjw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Z6418sY/"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-66861-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66861-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id op23-20020a170906bcf700b00a3c47ed3aaasi579555ejb.797.2024.02.15.04.10.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 04:10:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66861-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=@kernel.org header.s=k20201202 header.b="Z6418sY/"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-66861-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66861-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 am.mirrors.kernel.org (Postfix) with ESMTPS id CCBC41F23FF7 for ; Thu, 15 Feb 2024 12:10:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E776612BF1A; Thu, 15 Feb 2024 12:10:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Z6418sY/" 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 1468412AAD0; Thu, 15 Feb 2024 12:10:35 +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=1707999035; cv=none; b=tAqSpEHxYbnFd6ieK5GJMXzy8QSEDd6qIWH+wzaiJ7by4i4n/y3d2IGiXXM4EF29kQ7ApRflHNRxihaF3ox8KDJ1eyOL1wdMRxJaecygdU9wSKR4O78byzjiFTwnt9lKHgBxZCrnAJ/QhxRPNP6aqiqUcy+hC8g+RpftsIcr0aY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707999035; c=relaxed/simple; bh=X+cpHChC0wGcaQ0N4qOfZYEM60I1r/cY+ZKYxnXTLIE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=J7Om/9q/546Daw1iP2hZ1IXragWzvWHxfOWLQTM3kiEnyll4lWKqjBRpLAxrij8YOQfi48FyHWH+0g4d2qvyEtrSY2PGXukm11QXKam+8aDWYoZ6ZSfcUymOwt+jlpbJBTFnwfJ0S3ZQn+9N6VvY+R8zyBdg8BVbI/2dXIoNoqs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Z6418sY/; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7D007C433F1; Thu, 15 Feb 2024 12:10:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707999034; bh=X+cpHChC0wGcaQ0N4qOfZYEM60I1r/cY+ZKYxnXTLIE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Z6418sY/CB8xHWluKd5CO0ZXsXUNm09RpFOAF9mHwEVr5tQVEJasazIUYFkm5dCWY uEUhI3Y0vofrylUtLZwWzVbE1+wP71k+VYtqulW9BKGAlMJ6kPj0cznABQPpzdP/c9 6lXcFapkrcqA9dkqE5bpXzeE5E6tUdHLDvzipDZkFK3FpTslkgY5iUnVlo3zbg+qnG wVwBNwdoV6cM6/scGSbjS4qUx6IqMpOcFfA2wmZYQgqvxp+D9AAQpj0+uEQURLI2oy TppILAPvRx6f62nveMQsH+xJXiJnvOgNJ6sPLPIwFddXaWjdNOylP7yJDjsWrrrl+7 39c9uxcTBHEig== Date: Thu, 15 Feb 2024 06:10:31 -0600 From: Rob Herring To: Jan Kiszka Cc: Conor Dooley , Krzysztof Kozlowski , "linux-pci@vger.kernel.org" , devicetree , Linux Kernel Mailing List , Kishon Vijay Abraham I , Lorenzo Pieralisi , Nishanth Menon , "Andrew F. Davis" , Bjorn Helgaas , "Lopes Ivo, Diogo Miguel (T CED IFD-PT)" Subject: Re: [PATCH] dt-bindings: PCI: ti,am65: Fix remaining binding warnings Message-ID: <20240215121031.GA3671826-robh@kernel.org> References: 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: On Thu, Feb 15, 2024 at 09:14:47AM +0100, Jan Kiszka wrote: > From: Jan Kiszka > > This adds the missing num-viewport, phys and phy-name properties to the > schema. Based on driver code, num-viewport is required for the root > complex, phys are optional. Their number corresponds to the number of > lanes. The AM65x supports up to 2 lanes. This is DW controller, right? num-viewport shouldn't be required. The number of iATU entries is determined at runtime now. If it stays, it should be deprecated. > > Signed-off-by: Jan Kiszka > --- > .../bindings/pci/ti,am65-pci-host.yaml | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) > > diff --git a/Documentation/devicetree/bindings/pci/ti,am65-pci-host.yaml b/Documentation/devicetree/bindings/pci/ti,am65-pci-host.yaml > index a20dccbafd94..cdd6834f6a6f 100644 > --- a/Documentation/devicetree/bindings/pci/ti,am65-pci-host.yaml > +++ b/Documentation/devicetree/bindings/pci/ti,am65-pci-host.yaml > @@ -55,6 +55,20 @@ properties: > > dma-coherent: true > > + num-viewport: > + $ref: /schemas/types.yaml#/definitions/uint32 > + > + phys: > + description: per-lane PHYs > + minItems: 1 > + maxItems: 2 > + > + phy-names: > + minItems: 1 > + maxItems: 2 > + items: > + pattern: '^pcie-phy[0-9]+$' 0-1 only > + > required: > - compatible > - reg > @@ -74,6 +88,7 @@ then: > - dma-coherent > - power-domains > - msi-map > + - num-viewport > > unevaluatedProperties: false > > @@ -98,9 +113,13 @@ examples: > ti,syscon-pcie-id = <&scm_conf 0x0210>; > ti,syscon-pcie-mode = <&scm_conf 0x4060>; > bus-range = <0x0 0xff>; > + num-viewport = <16>; > max-link-speed = <2>; > dma-coherent; > interrupts = ; > msi-map = <0x0 &gic_its 0x0 0x10000>; > device_type = "pci"; > + num-lanes = <1>; > + phys = <&serdes0 PHY_TYPE_PCIE 0>; > + phy-names = "pcie-phy0"; > }; > -- > 2.35.3