mbox series

[v3,0/6] dt-bindings: media: camss: Fix interrupt types

Message ID 20241127122950.885982-1-vladimir.zapolskiy@linaro.org (mailing list archive)
Headers show
Series dt-bindings: media: camss: Fix interrupt types | expand

Message

Vladimir Zapolskiy Nov. 27, 2024, 12:29 p.m. UTC
It was discovered that on a few Qualcomm platforms types of interrupts
do not match the type given by the Qualcomm IP catalog, the type in
downstream code and the type requested by the CAMSS driver itself.

The mismatched interrupt type between firmware and the correspondent CAMSS
driver leads to known problems, similar to the ones which were discussed
previously:

  https://lore.kernel.org/lkml/20220530080842.37024-4-manivannan.sadhasivam@linaro.org/

Here the situation is essentially the same, namely a repeated bind of
the CAMSS device is not possible due to a wrongly specified interrupt type,
and it may lead to an issue in runtime manifested like this:

  irq: type mismatch, failed to map hwirq-509 for interrupt-controller@17a00000!

Changes from v2 to v3:
* gave clear commit messages addressing Qualcomm IP, thanks to Depeng Shao,
* hence keep Krzysztof Acked-by tag, since the only expressed concern was
  a missing reference to the hardware specs,
* added Reviewed-by tags from Bryan,

Link to v2 of the changeset:

  https://lore.kernel.org/all/20240923072827.3772504-1-vladimir.zapolskiy@linaro.org/

Changes from v1 to v2:
* added gained Acked-by, Tested-by and Reviewed-by tags,
* per patch review requests from Krzysztof deduplicated "media:" from subjects.

Link to v1 of the changeset:

  https://lore.kernel.org/all/20240905164142.3475873-1-vladimir.zapolskiy@linaro.org/

Vladimir Zapolskiy (6):
  dt-bindings: media: qcom,sc8280xp-camss: Fix interrupt types
  dt-bindings: media: qcom,sdm845-camss: Fix interrupt types
  dt-bindings: media: qcom,sm8250-camss: Fix interrupt types
  arm64: dts: qcom: sc8280xp: Fix interrupt type of camss interrupts
  arm64: dts: qcom: sdm845: Fix interrupt types of camss interrupts
  arm64: dts: qcom: sm8250: Fix interrupt types of camss interrupts

 .../bindings/media/qcom,sc8280xp-camss.yaml   | 40 +++++++++----------
 .../bindings/media/qcom,sdm845-camss.yaml     | 20 +++++-----
 .../bindings/media/qcom,sm8250-camss.yaml     | 28 ++++++-------
 arch/arm64/boot/dts/qcom/sc8280xp.dtsi        | 40 +++++++++----------
 arch/arm64/boot/dts/qcom/sdm845.dtsi          | 20 +++++-----
 arch/arm64/boot/dts/qcom/sm8250.dtsi          | 28 ++++++-------
 6 files changed, 88 insertions(+), 88 deletions(-)