Re: [PATCH] dt-bindings: qcom,pdc: convert to YAML

From: Maulik Shah
Date: Mon Dec 20 2021 - 07:24:56 EST


Hi Luca,

On 12/13/2021 8:52 PM, Luca Weiss wrote:
Convert the PDC interrupt controller bindings to YAML.

Signed-off-by: Luca Weiss <luca.weiss@xxxxxxxxxxxxx>
---
This patch depends on the following patch, which fixed sm8250 & sm8350
compatibles and adds sm6350.
https://lore.kernel.org/linux-arm-msm/20211213082614.22651-4-luca.weiss@xxxxxxxxxxxxx/

Also, if somebody has a better suggestion for the register names,
the second one is pulled from downstream commit message which calls it
both "SPI config registers" and "interface registers":
https://source.codeaurora.org/quic/la/kernel/msm-4.19/commit/?id=cdefb63745e051a5bcf69663ac9d084d7da1eeec

Thanks for the patch. Please use "apss-shared-spi-cfg" name for the second reg.

It was intended in [1] to remove it since there are no user in upstream for second reg. but it should be fine to convert existing to yaml first and then look to fix that.

[1] https://patchwork.kernel.org/project/linux-arm-msm/list/?series=449725&state=%2A&archive=both

[2] https://patchwork.kernel.org/project/linux-arm-msm/patch/1616409015-27682-1-git-send-email-mkshah@xxxxxxxxxxxxxx/

Thanks,
Maulik

.../interrupt-controller/qcom,pdc.txt | 77 -----------------
.../interrupt-controller/qcom,pdc.yaml | 86 +++++++++++++++++++
2 files changed, 86 insertions(+), 77 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/interrupt-controller/qcom,pdc.txt
create mode 100644 Documentation/devicetree/bindings/interrupt-controller/qcom,pdc.yaml