Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2327646lqo; Mon, 13 May 2024 15:12:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUJBNZCWBzTUxS697oGoU6NPsCXE/wQgrH//Iu2cdRg/rYlgxYXrAOuZcVCBZdBt5eMj6hsqKf7I4hPA8Y2hkgdXWtuyebmWvMb7soneA== X-Google-Smtp-Source: AGHT+IE/ix/gjDSJtEO3R4vcg9dveQP5FsK2sVSynjF78PepZ3riZk81rVL8VFD3tDl2KnG1bz4z X-Received: by 2002:a05:6214:3906:b0:6a0:ab13:e058 with SMTP id 6a1803df08f44-6a168160125mr142278246d6.16.1715638373679; Mon, 13 May 2024 15:12:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715638373; cv=pass; d=google.com; s=arc-20160816; b=RI7OdN+M7pj6xC6EEQPh6cD/vnoywVaSnt8J+dKTe9O3gybnymCia2Fe8iP1z5KnzV Q+uZ6ua2GW9ibMgAwQ0GtgSrVPg1d9MSMkRA4X7HXp9Xsb67S48Ibe+83Q1P5h61UYoN P0cehkju5dg4yJ9vpafgDyAL+syjU41ip7BUN86pLiWxcX1LfP75us0gBsmDLJ5NOOTv W2hqpWhnq578dC6OD9vVxWKVyfHmNgHj8VAg9wZge+vrmCWkDA1LW7liOQzBgll6dUTh AYQxeuTEJCOZuUvE/iBpNgIZFSR6o+ySgGZAa018jTZh/zXV9rtQ6edUAkobZcX3s6qE 2vEw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:message-id:references:in-reply-to:cc:to:from:mime-version :list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:date:dkim-signature; bh=rFmdJNLZj2Eashu8uU+UOo3bUdz/vykDSQ2gF9H3CKw=; fh=AdHNhCtWvzQ4m3gvjLcQf/A8N+/eciSOcHcuwEtxpDw=; b=QUwkPtlWt2QUlT1Hq3RDDiLzwvcB6wQw5WW53p8Pn+Q8Ut623fVv4MdaKjAyTVCKqT RApH0eDWIAQnT0be7adnb/QmfxXmcC5EDmr01dHSKIp7zxcnG6BwQQPziBzYyqQBZ8bC jX70ITwd5kYorB6cjDT98q8i3dRMHsEmlAxmBWjr1bPX8M+gqN0Yft9w9I1+dAQ2PxDi YcLqcBvkpfd/D+r8WeSRMdKjfzwqlJTUrPmCpXnQEagLSl+Q+xPZAGhrGYeWGKpJiKs/ KWDiqE+ZT0qx8o2fSvogA68Ib7PgCmwayR2PWceebCps5HjRl+t8jWseKTdMZQ2D7Bsc 04QA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MqEHOgEc; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-178135-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178135-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. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6a15f2e162esi104454826d6.425.2024.05.13.15.12.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 15:12:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-178135-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MqEHOgEc; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-178135-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178135-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 122F81C21480 for ; Mon, 13 May 2024 22:12:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BFD8F84D0E; Mon, 13 May 2024 22:12:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="MqEHOgEc" 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 E44C52C1A9; Mon, 13 May 2024 22:12:44 +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=1715638365; cv=none; b=F5tPzp0XQCagnupLwNiZipNADnU87ZyrsDNrc4LYg8CRGllu1+PGLZ4pH4wypEjwIzt4DxCCW3hyRns2SjeWlo3MIzjA1sCT4qrWvrNdIKep5I2fJZ83rN9WLs5kGixVuklAlHrfU4VrhVjptTIBpQU8DCxI8fikFxJnoSuFkYo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715638365; c=relaxed/simple; bh=sA2GkAzui82ivR8UWlwQO0jUVrYnIPKmWlnjf5dHsTg=; h=Date:Content-Type:MIME-Version:From:To:Cc:In-Reply-To:References: Message-Id:Subject; b=rU4OtOwJhGykXowkzlYzGdGycprHND30zri35620UGGrlNUru7Hx1ogMzzTfJzeC4DdcrVS1p4Dy9xr0VjrCni1cmkpThn0ldarCIam0jaf5ynjMi5jATLhNSbU9Zc7Ti2NdbE+/hK1o0WWdoa8ddehXskQyo9W3bh1z9TVyDv4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MqEHOgEc; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E7FBC113CC; Mon, 13 May 2024 22:12:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715638364; bh=sA2GkAzui82ivR8UWlwQO0jUVrYnIPKmWlnjf5dHsTg=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=MqEHOgEcUb69CXqiQog9QH+6VVlTLgTEXv6JmxVuzbqPhcH+7kcWPwj4a+GjCq7na cBButhe4Lpa/Re8mJHsScIwhnNcSIwJmCpTxScnyFZEsgmF1L4086aNbEoENXB7nwe lgA50/jJmSZx/yo4hVGtVTAM03hE6st0QnXM41Ovtihj419lmDE0cW48Em6KvcA3/N RlLdM/7Z/noQ/oP2PMTFAU82V8VbL1p6LvYO2UClv1MEdBecsP14XiRk62Fl84Ug6w 4g6UZz7gENVJohd0u68YAwkKOM3t/VZ+0Dd3u+wHHUcHlSslvKUkBvxv6/qJP3qSPK PpoeHYYHyy9oQ== Date: Mon, 13 May 2024 17:12:42 -0500 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: "Rob Herring (Arm)" To: matthew.gerlach@linux.intel.com Cc: linux-kernel@vger.kernel.org, conor+dt@kernel.org, lpieralisi@kernel.org, krzysztof.kozlowski+dt@linaro.org, kw@linux.com, bhelgaas@google.com, linux-pci@vger.kernel.org, devicetree@vger.kernel.org In-Reply-To: <20240513205913.313592-1-matthew.gerlach@linux.intel.com> References: <20240513205913.313592-1-matthew.gerlach@linux.intel.com> Message-Id: <171563836233.3319279.14962600621083837198.robh@kernel.org> Subject: Re: [PATCH v5] dt-bindings: PCI: altera: Convert to YAML On Mon, 13 May 2024 15:59:13 -0500, matthew.gerlach@linux.intel.com wrote: > From: Matthew Gerlach > > Convert the device tree bindings for the Altera Root Port PCIe controller > from text to YAML. > > Signed-off-by: Matthew Gerlach > --- > v5: > - add interrupt-conntroller #interrupt-cells to required field > - don't touch original example dts > > v4: > - reorder reg-names to match original binding > - move reg and reg-names to top level with limits. > > v3: > - Added years to copyright > - Correct order in file of allOf and unevaluatedProperties > - remove items: in compatible field > - fix reg and reg-names constraints > - replace deprecated pci-bus.yaml with pci-host-bridge.yaml > - fix entries in ranges property > - remove device_type from required > > v2: > - Move allOf: to bottom of file, just like example-schema is showing > - add constraint for reg and reg-names > - remove unneeded device_type > - drop #address-cells and #size-cells > - change minItems to maxItems for interrupts: > - change msi-parent to just "msi-parent: true" > - cleaned up required: > - make subject consistent with other commits coverting to YAML > - s/overt/onvert/g > --- > .../devicetree/bindings/pci/altera-pcie.txt | 50 ---------- > .../bindings/pci/altr,pcie-root-port.yaml | 93 +++++++++++++++++++ > 2 files changed, 93 insertions(+), 50 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/pci/altera-pcie.txt > create mode 100644 Documentation/devicetree/bindings/pci/altr,pcie-root-port.yaml > My bot found errors running 'make dt_binding_check' on your patch: yamllint warnings/errors: dtschema/dtc warnings/errors: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/pci/altr,pcie-root-port.example.dtb: pcie@c00000000: interrupt-map: [[0, 0, 0, 1, 2, 1, 0, 0, 0], [2, 2, 2, 0, 0, 0, 3, 2, 3], [0, 0, 0, 4, 2, 4]] is too short from schema $id: http://devicetree.org/schemas/altr,pcie-root-port.yaml# doc reference errors (make refcheckdocs): Warning: MAINTAINERS references a file that doesn't exist: Documentation/devicetree/bindings/pci/altera-pcie.txt MAINTAINERS: Documentation/devicetree/bindings/pci/altera-pcie.txt See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20240513205913.313592-1-matthew.gerlach@linux.intel.com The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.