Message ID | 20240108-dt-bindings-pci-qcom-split-v1-0-d541f05f4de0@linaro.org |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-19689-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:37c1:b0:101:2151:f287 with SMTP id y1csp1048428dyq; Mon, 8 Jan 2024 06:20:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IH6RpznC68bMPJNBX0jNNKwfVoDWI41p//An+Mt8iJbxzKIzZCusq1F0eWv/OFhihnF19RS X-Received: by 2002:a17:902:ea0c:b0:1d4:3af0:8650 with SMTP id s12-20020a170902ea0c00b001d43af08650mr1665460plg.38.1704723622500; Mon, 08 Jan 2024 06:20:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704723622; cv=none; d=google.com; s=arc-20160816; b=hbuHDAn1aB9+gEeXJxWPdzCWfBLXnR0TlEkbg10vfe8nFeb2daWzc7SSOxN5DwJzuE H4zVbXgrB/h2sOFDwTW2iHxCeF9O9ythPRf/761leGa49m65j9KU12/a76cAw9B/qmeG S88jVDvOSx34nHQhv2K5yKDAO+v4XEoRWwM/tRcdXuuDcOtA+TBpz3ei2ublpa2Kggv6 mvkSfyIOaPYKXqLtPgdGPFi1g9gnEwCwsLB0Zc9BeK9bEVN1+6OEfjeemlDeX6wwiuon 0Gd0VaiB9Olqwid01xnGG1ZtKk+UlmpAFYtq3snnwpRCYLxGb7duZcVIwr9kMpFnEjHQ 3RGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=G8PDv2FSbg+fpG2pH/cK5nA4S/4L/t4rfemMnRunnf4=; fh=pocB0uQcN7YJooxal9GHefAy45fJT9rN9wZk3KaIGrk=; b=U2fpmwklSZ2GGvRRVIYKri/5t4QuXHK2iI6O3nNCIN/oWvWiJbKJNDSpqmloHtu2Y/ Yx0Jo9+z3kn5VO5AvL/xlk2TxN6NUMsbHANoOcKGXZTeJ1loYuO5nHbHU/GY341yyr7v 26wAts2xysLWADXiqZqS0qunllmVYKiKx0TNEdL2+yXknH7aaQb1F0iz+YYFsCqXJo4o tm+l6fkM+TluptD38l6JGxbcjqXFv81eQNSW2ZuE2XA/bYX2TPviaUNs3nqGfVU04QgS CW1CFGWrd0ZzrQ0s6IRYAAHOmhvC4BzWqezQgfpvpIhm1hdXyldQutrWEHm0pUa4HiQm U/UQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xIjQ5Dv3; spf=pass (google.com: domain of linux-kernel+bounces-19689-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19689-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id jv11-20020a170903058b00b001d4ae8f7fa5si6151103plb.173.2024.01.08.06.20.22 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 06:20:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19689-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xIjQ5Dv3; spf=pass (google.com: domain of linux-kernel+bounces-19689-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19689-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id BB6FFB21F19 for <ouuuleilei@gmail.com>; Mon, 8 Jan 2024 14:19:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7BBC246443; Mon, 8 Jan 2024 14:19:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="xIjQ5Dv3" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 259D34776F for <linux-kernel@vger.kernel.org>; Mon, 8 Jan 2024 14:19:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f53.google.com with SMTP id 4fb4d7f45d1cf-5534dcfdd61so3303893a12.0 for <linux-kernel@vger.kernel.org>; Mon, 08 Jan 2024 06:19:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704723570; x=1705328370; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=G8PDv2FSbg+fpG2pH/cK5nA4S/4L/t4rfemMnRunnf4=; b=xIjQ5Dv3h3Cyhi3fK4GHpbkBvGDDccVM5xgclKzgycJ6WmFpBQqdQ6x6ORLkhQWbH5 SEdYSN2rjufoWXzM7TRiq5/NWUbxO0VkmzAmeksSLBD23ydPOWgX25fUvm238697ZbhT GOhT57soBWk74MgXJ9shz7wSXF4Xf0nS8vLhGkDT2l4+DhKP4D/wEFLF49uPFSjPYJki 5vOxYx2lE6YUMDPpFDmfq3H02gdsYI32qCc+B0BxCoT8QCTGhGrIGaTtzjHnuaRhNnnk u+DEKD5YguXQcATiUKN0Ol2HKPKWihsTkzPIT8G4L5DN5NxofUrlseDMK4pM+qbXM1ZW civQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704723570; x=1705328370; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=G8PDv2FSbg+fpG2pH/cK5nA4S/4L/t4rfemMnRunnf4=; b=ka5i6btm846ZICJ8CDTqlwb7NhICyAZU3cYTD+dqXAuYWPTCJmCThRqD5BZVxN1MEc 5PQjiowzXx24PgkgEa3iIFC450MVb7RROISc2mi4xwkvy3VTotHxhaxDBWigBN/EX+OH o7rRyWmTID8yN0adV6JSgksiMrggD378NS+Wdc9F0uM+NREEYYxUicgU3rehbz1L1qA1 NJwrSoPSbRh906nssnwMlXfzxZUcFhZQ1R3wJ7+kiA2q7+Lk0f8ozoVaOM3FqRQ01QXr EscvgXD1BXjc4FUeette9PMGKdUpK41f156pqTMB8FTAp1rUac5aQcC+njEptxdgJuIJ 6pKw== X-Gm-Message-State: AOJu0YwobMFNDXfcUFjPg84MHUgaWOmE6vZ1DA9F7DwfbM4atCKKo1jk 8GHTSqgx36AtuiFV76R3f7bJgSP6DfsPwA== X-Received: by 2002:aa7:cd66:0:b0:557:e391:ec65 with SMTP id ca6-20020aa7cd66000000b00557e391ec65mr303770edb.20.1704723570516; Mon, 08 Jan 2024 06:19:30 -0800 (PST) Received: from [127.0.1.1] ([178.197.223.112]) by smtp.gmail.com with ESMTPSA id cm25-20020a0564020c9900b00556ee10cfe3sm4319832edb.92.2024.01.08.06.19.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 06:19:30 -0800 (PST) From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Subject: [PATCH 0/6] dt-bindings: PCI: qcom: move to dedicated schema (part one) Date: Mon, 08 Jan 2024 15:19:13 +0100 Message-Id: <20240108-dt-bindings-pci-qcom-split-v1-0-d541f05f4de0@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAGIEnGUC/x3MQQqDMBAF0KvIrDsQoxjpVUoXmoz6wcY0I6Ug3 t3g8m3eQSoZovSsDsryg2KLBfWjIr8McRZGKCZrbGtq03PYeUQMiLNy8uCv3z6sacXOnW1d4yY 3Dp2jEqQsE/53/nqf5wUeFGbsbAAAAA== To: Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Lorenzo Pieralisi <lpieralisi@kernel.org>, =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= <kw@linux.com>, Bjorn Helgaas <bhelgaas@google.com>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Rob Herring <robh+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Manivannan Sadhasivam <mani@kernel.org> Cc: linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1747; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=GC+f3neoLgboHBTEPpZpMMiPSHU1n1ZZEPHaW9LLjhU=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBlnARqEm5SplphLQerlWKUpiXfjyylIZF+WYM4O jjNDw5npXCJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZZwEagAKCRDBN2bmhouD 12A8EACQi7ZJlgmYenQmBoez5cmbXSh7W6TxErWQFuATKx8vqI8nrdjeJC4VXQi/gzQTMlQ8Sky r+tQmPMQ4yA71THsXQ/yGhG/5MKXzp+vwHF4uHETumYwpM+2TvK4i0YtSGlcsgK9fGDi24t1Z6y s59NuoBYhGDA18QFCgtsJEsjsVpLipzjiVTNextHSjLxu72QsqPgM3sUJLhdt8gP6cCM7Ww9urz xG2Tt80coNRwac7f9JIB+JAK/+NziBCxaAwPTHZbi8g0zAQSQL4ou+IGCxsAuPXFBHzcDHGyHWQ V2qIkRZ2zU4XqCyM36zXD7XDhfIiC7E5wnGn4R4cEQViv/TAxbNc6bESuFgZ+CVyNMcznkDnH6n TsKb07iWgU3XG1xCqD+/794fMMygfH5L0X3XZ0R7EOuHAPMxyLT6CWGIM5DQau4r/qxpsaysWRg 8TO/p8xTIThWv1fAhtsAgNayTjabFZ79R0nc4AyhIz0o6Vn6s64hzvQxFn9475TyBK/I6GG4+i4 ei4D4lWIqBI0J2UWhr8PFZHUYLMk/0+0sY7oRXxXs6CrMAiDFWZfy5HuMCjwc2TUhcwWTtq+Nti b7bG0A+HiMnjIk+RmvaGaSo7Ghp60pJ11yHiHMpnRyA7Zk3fItpak2Rb1p3tp3ZxQQ2BTqbFlRX im4/kdb8gGE2I+w== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787532277270566707 X-GMAIL-MSGID: 1787532277270566707 |
Series |
dt-bindings: PCI: qcom: move to dedicated schema (part one)
|
|
Message
Krzysztof Kozlowski
Jan. 8, 2024, 2:19 p.m. UTC
Hi, The qcom,pcie.yaml containing all devices results in huge allOf: section with a lot of if:then: clauses making review and changes quite difficult. Split common parts into common schema and then move few devices to dedicated files, so that each file will be easier to review. I did not split/move all devices yet, so if this gets accepted I plan to send more patches. Best regards, Krzysztof --- Krzysztof Kozlowski (6): dt-bindings: PCI: qcom,pcie-sm8550: move SM8550 to dedicated schema dt-bindings: PCI: qcom,pcie-sm8450: move SM8450 to dedicated schema dt-bindings: PCI: qcom,pcie-sm8250: move SM8250 to dedicated schema dt-bindings: PCI: qcom,pcie-sm8150: move SM8150 to dedicated schema dt-bindings: PCI: qcom,pcie-sm8350: move SM8350 to dedicated schema dt-bindings: PCI: qcom,pcie-sc8280xp: move SC8280XP to dedicated schema .../devicetree/bindings/pci/qcom,pcie-common.yaml | 98 ++++++++ .../bindings/pci/qcom,pcie-sc8280xp.yaml | 180 ++++++++++++++ .../devicetree/bindings/pci/qcom,pcie-sm8150.yaml | 157 ++++++++++++ .../devicetree/bindings/pci/qcom,pcie-sm8250.yaml | 180 ++++++++++++++ .../devicetree/bindings/pci/qcom,pcie-sm8350.yaml | 169 +++++++++++++ .../devicetree/bindings/pci/qcom,pcie-sm8450.yaml | 215 +++++++++++++++++ .../devicetree/bindings/pci/qcom,pcie-sm8550.yaml | 171 +++++++++++++ .../devicetree/bindings/pci/qcom,pcie.yaml | 268 --------------------- 8 files changed, 1170 insertions(+), 268 deletions(-) --- base-commit: a0bf076e449e022944b440174491f5c583753d84 change-id: 20240108-dt-bindings-pci-qcom-split-624737f7ba67 Best regards,
Comments
On Mon, Jan 08, 2024 at 03:19:13PM +0100, Krzysztof Kozlowski wrote: > Hi, > > The qcom,pcie.yaml containing all devices results in huge allOf: section > with a lot of if:then: clauses making review and changes quite > difficult. > > Split common parts into common schema and then move few devices to > dedicated files, so that each file will be easier to review. > > I did not split/move all devices yet, so if this gets accepted I plan to > send more patches. > Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> - Mani > Best regards, > Krzysztof > > --- > Krzysztof Kozlowski (6): > dt-bindings: PCI: qcom,pcie-sm8550: move SM8550 to dedicated schema > dt-bindings: PCI: qcom,pcie-sm8450: move SM8450 to dedicated schema > dt-bindings: PCI: qcom,pcie-sm8250: move SM8250 to dedicated schema > dt-bindings: PCI: qcom,pcie-sm8150: move SM8150 to dedicated schema > dt-bindings: PCI: qcom,pcie-sm8350: move SM8350 to dedicated schema > dt-bindings: PCI: qcom,pcie-sc8280xp: move SC8280XP to dedicated schema > > .../devicetree/bindings/pci/qcom,pcie-common.yaml | 98 ++++++++ > .../bindings/pci/qcom,pcie-sc8280xp.yaml | 180 ++++++++++++++ > .../devicetree/bindings/pci/qcom,pcie-sm8150.yaml | 157 ++++++++++++ > .../devicetree/bindings/pci/qcom,pcie-sm8250.yaml | 180 ++++++++++++++ > .../devicetree/bindings/pci/qcom,pcie-sm8350.yaml | 169 +++++++++++++ > .../devicetree/bindings/pci/qcom,pcie-sm8450.yaml | 215 +++++++++++++++++ > .../devicetree/bindings/pci/qcom,pcie-sm8550.yaml | 171 +++++++++++++ > .../devicetree/bindings/pci/qcom,pcie.yaml | 268 --------------------- > 8 files changed, 1170 insertions(+), 268 deletions(-) > --- > base-commit: a0bf076e449e022944b440174491f5c583753d84 > change-id: 20240108-dt-bindings-pci-qcom-split-624737f7ba67 > > Best regards, > -- > Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> >