From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
To: Andy Gross <agross@kernel.org>,
Bjorn Andersson <bjorn.andersson@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
Jingoo Han <jingoohan1@gmail.com>,
Gustavo Pimentel <gustavo.pimentel@synopsys.com>,
Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>,
Bjorn Helgaas <bhelgaas@google.com>,
Stanimir Varbanov <svarbanov@mm-sol.com>,
Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: Vinod Koul <vkoul@kernel.org>,
linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org,
devicetree@vger.kernel.org
Subject: [PATCH v6 0/8] dt-bindings: YAMLify pci/qcom,pcie schema
Date: Fri, 6 May 2022 18:20:59 +0300 [thread overview]
Message-ID: <20220506152107.1527552-1-dmitry.baryshkov@linaro.org> (raw)
Convert pci/qcom,pcie schema to YAML description. The first patch
introduces several warnings which are fixed by the other patches in the
series.
Note regarding the snps,dw-pcie compatibility. The Qualcomm PCIe
controller uses Synopsys PCIe IP core. However it is not just fused to
the address space. Accessing PCIe registers requires several clocks and
regulators to be powered up. Thus it can be assumed that the qcom,pcie
bindings are not fully compatible with the snps,dw-pcie schema.
Changes since v5:
- s/stance/stanza (pointed out by Bjorn Helgaas)
Changes since v4:
- Change subjects to follow convention (suggested by Bjorn Helgaas)
Changes since v3:
- Rebase on linux-next to include sm8150 patches
Changes since v2 (still kudos to Krzyshtof):
- Readded reg-names conversion patch
- Mention wake-gpio update in the commit message
- Remove extra quotes in the schema
Changes since v1 (all kudos to Krzyshtof):
- Dropped the reg-names patch. It will be handled separately
- Squashed the snps,dw-pcie removal (from schema) into the first patch
- Replaced deprecated perst-gpio and wake-gpio with perst-gpios and
wake-gpios in the examples and in DT files
- Moved common clocks/clock-names, resets/reset-names and power-domains
properties to the top level of the schema, leaving only platform
specifics in the conditional branches
- Dropped iommu-map/iommu-map-mask for now
- Added (missed) interrupt-cells, clocks, clock-names, resets,
reset-names properties to the required list (resets/reset-names are
removed in the next patch, as they are not used on msm8996)
- Fixed IRQ flags in the examples
- Merged apq8064/ipq8064 into the single condition statement
- Added extra empty lines
Dmitry Baryshkov (8):
dt-bindings: PCI: qcom: Convert to YAML
dt-bindings: PCI: qcom: Do not require resets on msm8996 platforms
dt-bindings: PCI: qcom: Specify reg-names explicitly
dt-bindings: PCI: qcom: Add schema for sc7280 chipset
arm64: dts: qcom: stop using snps,dw-pcie falback
arm: dts: qcom: stop using snps,dw-pcie falback
arm: dts: qcom-*: replace deprecated perst-gpio with perst-gpios
arm64: dts: qcom: replace deprecated perst-gpio with perst-gpios
.../devicetree/bindings/pci/qcom,pcie.txt | 398 ----------
.../devicetree/bindings/pci/qcom,pcie.yaml | 714 ++++++++++++++++++
arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 2 +-
arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 2 +-
arch/arm/boot/dts/qcom-apq8064.dtsi | 2 +-
arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi | 2 +-
.../boot/dts/qcom-ipq4019-ap.dk07.1-c1.dts | 2 +-
arch/arm/boot/dts/qcom-ipq4019.dtsi | 2 +-
arch/arm/boot/dts/qcom-ipq8064.dtsi | 6 +-
arch/arm64/boot/dts/qcom/apq8096-db820c.dts | 6 +-
arch/arm64/boot/dts/qcom/ipq8074-hk01.dts | 4 +-
arch/arm64/boot/dts/qcom/ipq8074-hk10.dtsi | 4 +-
.../dts/qcom/msm8996-sony-xperia-tone.dtsi | 4 +-
arch/arm64/boot/dts/qcom/msm8996.dtsi | 6 +-
arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 2 +-
arch/arm64/boot/dts/qcom/qcs404.dtsi | 2 +-
.../arm64/boot/dts/qcom/sc7280-herobrine.dtsi | 2 +-
arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 2 +-
arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 4 +-
arch/arm64/boot/dts/qcom/sdm845.dtsi | 4 +-
arch/arm64/boot/dts/qcom/sm8250.dtsi | 6 +-
21 files changed, 746 insertions(+), 430 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/pci/qcom,pcie.txt
create mode 100644 Documentation/devicetree/bindings/pci/qcom,pcie.yaml
--
2.35.1
next reply other threads:[~2022-05-06 15:21 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-06 15:20 Dmitry Baryshkov [this message]
2022-05-06 15:21 ` [PATCH v6 1/8] dt-bindings: PCI: qcom: Convert to YAML Dmitry Baryshkov
2022-05-10 16:26 ` Rob Herring
2022-05-06 15:21 ` [PATCH v6 2/8] dt-bindings: PCI: qcom: Do not require resets on msm8996 platforms Dmitry Baryshkov
2022-05-10 16:46 ` Rob Herring
2022-05-06 15:21 ` [PATCH v6 3/8] dt-bindings: PCI: qcom: Specify reg-names explicitly Dmitry Baryshkov
2022-05-10 16:48 ` Rob Herring
2022-05-06 15:21 ` [PATCH v6 4/8] dt-bindings: PCI: qcom: Add schema for sc7280 chipset Dmitry Baryshkov
2022-05-10 16:50 ` Rob Herring
2022-05-06 15:21 ` [PATCH v6 5/8] arm64: dts: qcom: stop using snps,dw-pcie falback Dmitry Baryshkov
2022-05-06 15:21 ` [PATCH v6 6/8] arm: " Dmitry Baryshkov
2022-05-06 15:21 ` [PATCH v6 7/8] arm: dts: qcom-*: replace deprecated perst-gpio with perst-gpios Dmitry Baryshkov
2022-05-06 15:21 ` [PATCH v6 8/8] arm64: dts: qcom: " Dmitry Baryshkov
2022-05-10 16:50 ` [PATCH v6 0/8] dt-bindings: YAMLify pci/qcom,pcie schema Rob Herring
2022-05-11 10:13 ` Dmitry Baryshkov
2022-05-11 13:09 ` Lorenzo Pieralisi
2022-05-11 13:53 ` Dmitry Baryshkov
2022-05-11 14:00 ` Lorenzo Pieralisi
2022-05-11 14:09 ` Dmitry Baryshkov
2022-05-11 14:18 ` (subset) " Lorenzo Pieralisi
2022-08-29 23:45 ` Bjorn Andersson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220506152107.1527552-1-dmitry.baryshkov@linaro.org \
--to=dmitry.baryshkov@linaro.org \
--cc=agross@kernel.org \
--cc=bhelgaas@google.com \
--cc=bjorn.andersson@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=gustavo.pimentel@synopsys.com \
--cc=jingoohan1@gmail.com \
--cc=krzk@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=lorenzo.pieralisi@arm.com \
--cc=manivannan.sadhasivam@linaro.org \
--cc=robh+dt@kernel.org \
--cc=svarbanov@mm-sol.com \
--cc=vkoul@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).