* [PATCH 0/6] media: dt-bindings: media: camss: Fix interrupt types
@ 2024-09-05 16:41 Vladimir Zapolskiy
2024-09-05 16:41 ` [PATCH 1/6] media: dt-bindings: media: qcom,sc8280xp-camss: " Vladimir Zapolskiy
` (5 more replies)
0 siblings, 6 replies; 18+ messages in thread
From: Vladimir Zapolskiy @ 2024-09-05 16:41 UTC (permalink / raw)
To: Robert Foss, Todor Tomov, Bryan O'Donoghue, Bjorn Andersson,
Konrad Dybcio
Cc: Mauro Carvalho Chehab, Hans Verkuil, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, linux-media,
devicetree
It was discovered that on a few Qualcomm platforms types of interrupts
do not match both downstream code and a type requested by the CAMSS driver.
The mismatched interrupt type between firmware and the correspondent
CAMSS driver leads to known problems, which were discussed previously:
https://lore.kernel.org/lkml/20220530080842.37024-4-manivannan.sadhasivam@linaro.org/
Here the situation is right the same, namely a repeated bind of 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!
Vladimir Zapolskiy (6):
media: dt-bindings: media: qcom,sc8280xp-camss: Fix interrupt types
media: dt-bindings: media: qcom,sdm845-camss: Fix interrupt types
media: 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(-)
--
2.45.2
^ permalink raw reply [flat|nested] 18+ messages in thread
* [PATCH 1/6] media: dt-bindings: media: qcom,sc8280xp-camss: Fix interrupt types
2024-09-05 16:41 [PATCH 0/6] media: dt-bindings: media: camss: Fix interrupt types Vladimir Zapolskiy
@ 2024-09-05 16:41 ` Vladimir Zapolskiy
2024-09-06 10:31 ` Krzysztof Kozlowski
2024-09-06 10:31 ` Krzysztof Kozlowski
2024-09-05 16:41 ` [PATCH 2/6] media: dt-bindings: media: qcom,sdm845-camss: " Vladimir Zapolskiy
` (4 subsequent siblings)
5 siblings, 2 replies; 18+ messages in thread
From: Vladimir Zapolskiy @ 2024-09-05 16:41 UTC (permalink / raw)
To: Robert Foss, Todor Tomov, Bryan O'Donoghue, Bjorn Andersson,
Konrad Dybcio
Cc: Mauro Carvalho Chehab, Hans Verkuil, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, linux-media,
devicetree
The expected type of all CAMSS interrupts is edge rising, fix it in
the documented example from CAMSS device tree bindings for sc8280xp.
Fixes: bc5191e5799e ("media: dt-bindings: media: camss: Add qcom,sc8280xp-camss binding")
Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
---
.../bindings/media/qcom,sc8280xp-camss.yaml | 40 +++++++++----------
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/Documentation/devicetree/bindings/media/qcom,sc8280xp-camss.yaml b/Documentation/devicetree/bindings/media/qcom,sc8280xp-camss.yaml
index c0bc31709873..9936f0132417 100644
--- a/Documentation/devicetree/bindings/media/qcom,sc8280xp-camss.yaml
+++ b/Documentation/devicetree/bindings/media/qcom,sc8280xp-camss.yaml
@@ -328,26 +328,26 @@ examples:
vdda-phy-supply = <&vreg_l6d>;
vdda-pll-supply = <&vreg_l4d>;
- interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 448 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 464 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 465 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 469 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 477 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 478 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 479 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 640 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 641 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 758 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 759 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 760 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 761 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 762 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 764 IRQ_TYPE_LEVEL_HIGH>;
+ interrupts = <GIC_SPI 359 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 360 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 448 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 464 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 465 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 466 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 467 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 468 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 469 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 477 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 478 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 479 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 640 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 641 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 758 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 759 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 760 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 761 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 762 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 764 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "csid1_lite",
"vfe_lite1",
--
2.45.2
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH 2/6] media: dt-bindings: media: qcom,sdm845-camss: Fix interrupt types
2024-09-05 16:41 [PATCH 0/6] media: dt-bindings: media: camss: Fix interrupt types Vladimir Zapolskiy
2024-09-05 16:41 ` [PATCH 1/6] media: dt-bindings: media: qcom,sc8280xp-camss: " Vladimir Zapolskiy
@ 2024-09-05 16:41 ` Vladimir Zapolskiy
2024-09-06 10:32 ` Krzysztof Kozlowski
2024-09-05 16:41 ` [PATCH 3/6] media: dt-bindings: media: qcom,sm8250-camss: " Vladimir Zapolskiy
` (3 subsequent siblings)
5 siblings, 1 reply; 18+ messages in thread
From: Vladimir Zapolskiy @ 2024-09-05 16:41 UTC (permalink / raw)
To: Robert Foss, Todor Tomov, Bryan O'Donoghue, Bjorn Andersson,
Konrad Dybcio
Cc: Mauro Carvalho Chehab, Hans Verkuil, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, linux-media,
devicetree
The expected type of all CAMSS interrupts is edge rising, fix it in
the documented example from CAMSS device tree bindings for sdm845.
Fixes: d1d5ce260165 ("media: dt-bindings: media: camss: Add qcom,sdm845-camss binding")
Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
---
.../bindings/media/qcom,sdm845-camss.yaml | 20 +++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/Documentation/devicetree/bindings/media/qcom,sdm845-camss.yaml b/Documentation/devicetree/bindings/media/qcom,sdm845-camss.yaml
index ec4380a0a03f..d32daaef1b50 100644
--- a/Documentation/devicetree/bindings/media/qcom,sdm845-camss.yaml
+++ b/Documentation/devicetree/bindings/media/qcom,sdm845-camss.yaml
@@ -296,16 +296,16 @@ examples:
"vfe_lite_cphy_rx",
"vfe_lite_src";
- interrupts = <GIC_SPI 464 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 477 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 478 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 479 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 448 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 465 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 469 IRQ_TYPE_LEVEL_HIGH>;
+ interrupts = <GIC_SPI 464 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 466 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 468 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 477 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 478 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 479 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 448 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 465 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 467 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 469 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "csid0",
"csid1",
--
2.45.2
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH 3/6] media: dt-bindings: media: qcom,sm8250-camss: Fix interrupt types
2024-09-05 16:41 [PATCH 0/6] media: dt-bindings: media: camss: Fix interrupt types Vladimir Zapolskiy
2024-09-05 16:41 ` [PATCH 1/6] media: dt-bindings: media: qcom,sc8280xp-camss: " Vladimir Zapolskiy
2024-09-05 16:41 ` [PATCH 2/6] media: dt-bindings: media: qcom,sdm845-camss: " Vladimir Zapolskiy
@ 2024-09-05 16:41 ` Vladimir Zapolskiy
2024-09-06 10:32 ` Krzysztof Kozlowski
2024-09-05 16:41 ` [PATCH 4/6] arm64: dts: qcom: sc8280xp: Fix interrupt type of camss interrupts Vladimir Zapolskiy
` (2 subsequent siblings)
5 siblings, 1 reply; 18+ messages in thread
From: Vladimir Zapolskiy @ 2024-09-05 16:41 UTC (permalink / raw)
To: Robert Foss, Todor Tomov, Bryan O'Donoghue, Bjorn Andersson,
Konrad Dybcio
Cc: Mauro Carvalho Chehab, Hans Verkuil, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, linux-media,
devicetree
The expected type of all CAMSS interrupts is edge rising, fix it in
the documented example from CAMSS device tree bindings for SM8250.
Fixes: 46f8ac8497c5 ("media: dt-bindings: media: camss: Add qcom,sm8250-camss binding")
Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
---
.../bindings/media/qcom,sm8250-camss.yaml | 28 +++++++++----------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/Documentation/devicetree/bindings/media/qcom,sm8250-camss.yaml b/Documentation/devicetree/bindings/media/qcom,sm8250-camss.yaml
index fa5073c0fd1e..06db2c1e6079 100644
--- a/Documentation/devicetree/bindings/media/qcom,sm8250-camss.yaml
+++ b/Documentation/devicetree/bindings/media/qcom,sm8250-camss.yaml
@@ -329,20 +329,20 @@ examples:
vdda-phy-supply = <&vreg_l5a_0p88>;
vdda-pll-supply = <&vreg_l9a_1p2>;
- interrupts = <GIC_SPI 477 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 478 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 479 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 448 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 464 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 465 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 469 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
+ interrupts = <GIC_SPI 477 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 478 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 479 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 448 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 86 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 89 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 464 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 466 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 468 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 359 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 465 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 467 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 469 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 360 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "csiphy0",
"csiphy1",
"csiphy2",
--
2.45.2
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH 4/6] arm64: dts: qcom: sc8280xp: Fix interrupt type of camss interrupts
2024-09-05 16:41 [PATCH 0/6] media: dt-bindings: media: camss: Fix interrupt types Vladimir Zapolskiy
` (2 preceding siblings ...)
2024-09-05 16:41 ` [PATCH 3/6] media: dt-bindings: media: qcom,sm8250-camss: " Vladimir Zapolskiy
@ 2024-09-05 16:41 ` Vladimir Zapolskiy
2024-09-06 11:12 ` Bryan O'Donoghue
2024-09-06 14:31 ` Johan Hovold
2024-09-05 16:41 ` [PATCH 5/6] arm64: dts: qcom: sdm845: Fix interrupt types " Vladimir Zapolskiy
2024-09-05 16:41 ` [PATCH 6/6] arm64: dts: qcom: sm8250: " Vladimir Zapolskiy
5 siblings, 2 replies; 18+ messages in thread
From: Vladimir Zapolskiy @ 2024-09-05 16:41 UTC (permalink / raw)
To: Robert Foss, Todor Tomov, Bryan O'Donoghue, Bjorn Andersson,
Konrad Dybcio
Cc: Mauro Carvalho Chehab, Hans Verkuil, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, linux-media,
devicetree
The expected type of all CAMSS interrupts is edge rising, fix it in
the CAMSS device tree node for sc8280xp platform.
Fixes: 5994dd60753e ("arm64: dts: qcom: sc8280xp: camss: Add CAMSS block definition")
Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
---
arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 40 +++++++++++++-------------
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
index 80a57aa22839..aa2678eb3bcd 100644
--- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
@@ -3882,26 +3882,26 @@ camss: camss@ac5a000 {
"vfe3",
"csid3";
- interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 448 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 464 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 465 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 469 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 477 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 478 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 479 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 640 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 641 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 758 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 759 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 760 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 761 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 762 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 764 IRQ_TYPE_LEVEL_HIGH>;
+ interrupts = <GIC_SPI 359 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 360 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 448 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 464 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 465 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 466 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 467 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 468 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 469 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 477 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 478 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 479 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 640 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 641 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 758 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 759 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 760 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 761 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 762 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 764 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "csid1_lite",
"vfe_lite1",
"csiphy3",
--
2.45.2
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH 5/6] arm64: dts: qcom: sdm845: Fix interrupt types of camss interrupts
2024-09-05 16:41 [PATCH 0/6] media: dt-bindings: media: camss: Fix interrupt types Vladimir Zapolskiy
` (3 preceding siblings ...)
2024-09-05 16:41 ` [PATCH 4/6] arm64: dts: qcom: sc8280xp: Fix interrupt type of camss interrupts Vladimir Zapolskiy
@ 2024-09-05 16:41 ` Vladimir Zapolskiy
2024-09-06 11:12 ` Bryan O'Donoghue
2024-09-05 16:41 ` [PATCH 6/6] arm64: dts: qcom: sm8250: " Vladimir Zapolskiy
5 siblings, 1 reply; 18+ messages in thread
From: Vladimir Zapolskiy @ 2024-09-05 16:41 UTC (permalink / raw)
To: Robert Foss, Todor Tomov, Bryan O'Donoghue, Bjorn Andersson,
Konrad Dybcio
Cc: Mauro Carvalho Chehab, Hans Verkuil, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, linux-media,
devicetree
The expected type of all CAMSS interrupts is edge rising, fix it in
the CAMSS device tree node for sdm845 platform.
Fixes: d48a6698a6b7 ("arm64: dts: qcom: sdm845: Add CAMSS ISP node")
Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
---
arch/arm64/boot/dts/qcom/sdm845.dtsi | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
index 54077549b9da..0a0cef9dfcc4 100644
--- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
@@ -4326,16 +4326,16 @@ camss: camss@acb3000 {
"vfe1",
"vfe_lite";
- interrupts = <GIC_SPI 464 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 477 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 478 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 479 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 448 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 465 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 469 IRQ_TYPE_LEVEL_HIGH>;
+ interrupts = <GIC_SPI 464 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 466 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 468 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 477 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 478 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 479 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 448 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 465 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 467 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 469 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "csid0",
"csid1",
"csid2",
--
2.45.2
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH 6/6] arm64: dts: qcom: sm8250: Fix interrupt types of camss interrupts
2024-09-05 16:41 [PATCH 0/6] media: dt-bindings: media: camss: Fix interrupt types Vladimir Zapolskiy
` (4 preceding siblings ...)
2024-09-05 16:41 ` [PATCH 5/6] arm64: dts: qcom: sdm845: Fix interrupt types " Vladimir Zapolskiy
@ 2024-09-05 16:41 ` Vladimir Zapolskiy
2024-09-06 11:12 ` Bryan O'Donoghue
5 siblings, 1 reply; 18+ messages in thread
From: Vladimir Zapolskiy @ 2024-09-05 16:41 UTC (permalink / raw)
To: Robert Foss, Todor Tomov, Bryan O'Donoghue, Bjorn Andersson,
Konrad Dybcio
Cc: Mauro Carvalho Chehab, Hans Verkuil, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, linux-media,
devicetree
The expected type of all CAMSS interrupts is edge rising, fix it in
the CAMSS device tree node for sm8250 platform.
Fixes: 30325603b910 ("arm64: dts: qcom: sm8250: camss: Add CAMSS block definition")
Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
---
arch/arm64/boot/dts/qcom/sm8250.dtsi | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi
index 9d6c97d1fd9d..bd73ff97739c 100644
--- a/arch/arm64/boot/dts/qcom/sm8250.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi
@@ -4504,20 +4504,20 @@ camss: camss@ac6a000 {
"vfe_lite0",
"vfe_lite1";
- interrupts = <GIC_SPI 477 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 478 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 479 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 448 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 464 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 465 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 469 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
+ interrupts = <GIC_SPI 477 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 478 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 479 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 448 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 86 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 89 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 464 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 466 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 468 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 359 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 465 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 467 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 469 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 360 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "csiphy0",
"csiphy1",
"csiphy2",
--
2.45.2
^ permalink raw reply related [flat|nested] 18+ messages in thread
* Re: [PATCH 1/6] media: dt-bindings: media: qcom,sc8280xp-camss: Fix interrupt types
2024-09-05 16:41 ` [PATCH 1/6] media: dt-bindings: media: qcom,sc8280xp-camss: " Vladimir Zapolskiy
@ 2024-09-06 10:31 ` Krzysztof Kozlowski
2024-09-06 10:31 ` Krzysztof Kozlowski
1 sibling, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2024-09-06 10:31 UTC (permalink / raw)
To: Vladimir Zapolskiy
Cc: Robert Foss, Todor Tomov, Bryan O'Donoghue, Bjorn Andersson,
Konrad Dybcio, Mauro Carvalho Chehab, Hans Verkuil, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, linux-media,
devicetree
On Thu, Sep 05, 2024 at 07:41:37PM +0300, Vladimir Zapolskiy wrote:
> The expected type of all CAMSS interrupts is edge rising, fix it in
> the documented example from CAMSS device tree bindings for sc8280xp.
>
> Fixes: bc5191e5799e ("media: dt-bindings: media: camss: Add qcom,sc8280xp-camss binding")
> Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
> ---
> .../bindings/media/qcom,sc8280xp-camss.yaml | 40 +++++++++----------
> 1 file changed, 20 insertions(+), 20 deletions(-)
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 1/6] media: dt-bindings: media: qcom,sc8280xp-camss: Fix interrupt types
2024-09-05 16:41 ` [PATCH 1/6] media: dt-bindings: media: qcom,sc8280xp-camss: " Vladimir Zapolskiy
2024-09-06 10:31 ` Krzysztof Kozlowski
@ 2024-09-06 10:31 ` Krzysztof Kozlowski
2024-09-06 11:06 ` Vladimir Zapolskiy
1 sibling, 1 reply; 18+ messages in thread
From: Krzysztof Kozlowski @ 2024-09-06 10:31 UTC (permalink / raw)
To: Vladimir Zapolskiy
Cc: Robert Foss, Todor Tomov, Bryan O'Donoghue, Bjorn Andersson,
Konrad Dybcio, Mauro Carvalho Chehab, Hans Verkuil, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, linux-media,
devicetree
On Thu, Sep 05, 2024 at 07:41:37PM +0300, Vladimir Zapolskiy wrote:
> The expected type of all CAMSS interrupts is edge rising, fix it in
> the documented example from CAMSS device tree bindings for sc8280xp.
Subject: drop duplicated media. One media is enough (the first).
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 3/6] media: dt-bindings: media: qcom,sm8250-camss: Fix interrupt types
2024-09-05 16:41 ` [PATCH 3/6] media: dt-bindings: media: qcom,sm8250-camss: " Vladimir Zapolskiy
@ 2024-09-06 10:32 ` Krzysztof Kozlowski
0 siblings, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2024-09-06 10:32 UTC (permalink / raw)
To: Vladimir Zapolskiy
Cc: Robert Foss, Todor Tomov, Bryan O'Donoghue, Bjorn Andersson,
Konrad Dybcio, Mauro Carvalho Chehab, Hans Verkuil, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, linux-media,
devicetree
On Thu, Sep 05, 2024 at 07:41:39PM +0300, Vladimir Zapolskiy wrote:
> The expected type of all CAMSS interrupts is edge rising, fix it in
> the documented example from CAMSS device tree bindings for SM8250.
>
> Fixes: 46f8ac8497c5 ("media: dt-bindings: media: camss: Add qcom,sm8250-camss binding")
> Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
> ---
Subject - drop duplicated media.
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 2/6] media: dt-bindings: media: qcom,sdm845-camss: Fix interrupt types
2024-09-05 16:41 ` [PATCH 2/6] media: dt-bindings: media: qcom,sdm845-camss: " Vladimir Zapolskiy
@ 2024-09-06 10:32 ` Krzysztof Kozlowski
0 siblings, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2024-09-06 10:32 UTC (permalink / raw)
To: Vladimir Zapolskiy
Cc: Robert Foss, Todor Tomov, Bryan O'Donoghue, Bjorn Andersson,
Konrad Dybcio, Mauro Carvalho Chehab, Hans Verkuil, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, linux-media,
devicetree
On Thu, Sep 05, 2024 at 07:41:38PM +0300, Vladimir Zapolskiy wrote:
> The expected type of all CAMSS interrupts is edge rising, fix it in
> the documented example from CAMSS device tree bindings for sdm845.
>
> Fixes: d1d5ce260165 ("media: dt-bindings: media: camss: Add qcom,sdm845-camss binding")
> Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
> ---
> .../bindings/media/qcom,sdm845-camss.yaml | 20 +++++++++----------
> 1 file changed, 10 insertions(+), 10 deletions(-)
>
Same issues with subject.
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 1/6] media: dt-bindings: media: qcom,sc8280xp-camss: Fix interrupt types
2024-09-06 10:31 ` Krzysztof Kozlowski
@ 2024-09-06 11:06 ` Vladimir Zapolskiy
2024-09-06 12:43 ` Krzysztof Kozlowski
0 siblings, 1 reply; 18+ messages in thread
From: Vladimir Zapolskiy @ 2024-09-06 11:06 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Robert Foss, Todor Tomov, Bryan O'Donoghue, Bjorn Andersson,
Konrad Dybcio, Mauro Carvalho Chehab, Hans Verkuil, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, linux-media,
devicetree
Hi Krzysztof,
On 9/6/24 13:31, Krzysztof Kozlowski wrote:
> On Thu, Sep 05, 2024 at 07:41:37PM +0300, Vladimir Zapolskiy wrote:
>> The expected type of all CAMSS interrupts is edge rising, fix it in
>> the documented example from CAMSS device tree bindings for sc8280xp.
>
> Subject: drop duplicated media. One media is enough (the first).
>
thank you for review, here I've attemted to follow the established practice.
% git log -n 500 --oneline Documentation/devicetree/bindings/media/ | grep "media:.*media:" | wc -l
166
So 1/3 of relevant commits to the folder have the duplicated "media:"
in the subject, the reason is not totally clear to me, thus I've just
inflowed into the same.
--
Best wishes,
Vladimir
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 4/6] arm64: dts: qcom: sc8280xp: Fix interrupt type of camss interrupts
2024-09-05 16:41 ` [PATCH 4/6] arm64: dts: qcom: sc8280xp: Fix interrupt type of camss interrupts Vladimir Zapolskiy
@ 2024-09-06 11:12 ` Bryan O'Donoghue
2024-09-06 14:31 ` Johan Hovold
1 sibling, 0 replies; 18+ messages in thread
From: Bryan O'Donoghue @ 2024-09-06 11:12 UTC (permalink / raw)
To: Vladimir Zapolskiy, Robert Foss, Todor Tomov, Bjorn Andersson,
Konrad Dybcio
Cc: Mauro Carvalho Chehab, Hans Verkuil, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, linux-media,
devicetree
On 05/09/2024 17:41, Vladimir Zapolskiy wrote:
> The expected type of all CAMSS interrupts is edge rising, fix it in
> the CAMSS device tree node for sc8280xp platform.
>
> Fixes: 5994dd60753e ("arm64: dts: qcom: sc8280xp: camss: Add CAMSS block definition")
> Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
> ---
> arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 40 +++++++++++++-------------
> 1 file changed, 20 insertions(+), 20 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
> index 80a57aa22839..aa2678eb3bcd 100644
> --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
> @@ -3882,26 +3882,26 @@ camss: camss@ac5a000 {
> "vfe3",
> "csid3";
>
> - interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 448 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 464 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 465 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 469 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 477 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 478 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 479 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 640 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 641 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 758 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 759 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 760 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 761 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 762 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 764 IRQ_TYPE_LEVEL_HIGH>;
> + interrupts = <GIC_SPI 359 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 360 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 448 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 464 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 465 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 466 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 467 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 468 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 469 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 477 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 478 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 479 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 640 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 641 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 758 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 759 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 760 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 761 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 762 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 764 IRQ_TYPE_EDGE_RISING>;
> interrupt-names = "csid1_lite",
> "vfe_lite1",
> "csiphy3",
Yep, downstream defines these as rising.
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 5/6] arm64: dts: qcom: sdm845: Fix interrupt types of camss interrupts
2024-09-05 16:41 ` [PATCH 5/6] arm64: dts: qcom: sdm845: Fix interrupt types " Vladimir Zapolskiy
@ 2024-09-06 11:12 ` Bryan O'Donoghue
0 siblings, 0 replies; 18+ messages in thread
From: Bryan O'Donoghue @ 2024-09-06 11:12 UTC (permalink / raw)
To: Vladimir Zapolskiy, Robert Foss, Todor Tomov, Bjorn Andersson,
Konrad Dybcio
Cc: Mauro Carvalho Chehab, Hans Verkuil, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, linux-media,
devicetree
On 05/09/2024 17:41, Vladimir Zapolskiy wrote:
> The expected type of all CAMSS interrupts is edge rising, fix it in
> the CAMSS device tree node for sdm845 platform.
>
> Fixes: d48a6698a6b7 ("arm64: dts: qcom: sdm845: Add CAMSS ISP node")
> Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
> ---
> arch/arm64/boot/dts/qcom/sdm845.dtsi | 20 ++++++++++----------
> 1 file changed, 10 insertions(+), 10 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
> index 54077549b9da..0a0cef9dfcc4 100644
> --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
> @@ -4326,16 +4326,16 @@ camss: camss@acb3000 {
> "vfe1",
> "vfe_lite";
>
> - interrupts = <GIC_SPI 464 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 477 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 478 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 479 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 448 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 465 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 469 IRQ_TYPE_LEVEL_HIGH>;
> + interrupts = <GIC_SPI 464 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 466 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 468 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 477 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 478 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 479 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 448 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 465 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 467 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 469 IRQ_TYPE_EDGE_RISING>;
> interrupt-names = "csid0",
> "csid1",
> "csid2",
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 6/6] arm64: dts: qcom: sm8250: Fix interrupt types of camss interrupts
2024-09-05 16:41 ` [PATCH 6/6] arm64: dts: qcom: sm8250: " Vladimir Zapolskiy
@ 2024-09-06 11:12 ` Bryan O'Donoghue
0 siblings, 0 replies; 18+ messages in thread
From: Bryan O'Donoghue @ 2024-09-06 11:12 UTC (permalink / raw)
To: Vladimir Zapolskiy, Robert Foss, Todor Tomov, Bjorn Andersson,
Konrad Dybcio
Cc: Mauro Carvalho Chehab, Hans Verkuil, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, linux-media,
devicetree
On 05/09/2024 17:41, Vladimir Zapolskiy wrote:
> The expected type of all CAMSS interrupts is edge rising, fix it in
> the CAMSS device tree node for sm8250 platform.
>
> Fixes: 30325603b910 ("arm64: dts: qcom: sm8250: camss: Add CAMSS block definition")
> Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
> ---
> arch/arm64/boot/dts/qcom/sm8250.dtsi | 28 ++++++++++++++--------------
> 1 file changed, 14 insertions(+), 14 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi
> index 9d6c97d1fd9d..bd73ff97739c 100644
> --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi
> @@ -4504,20 +4504,20 @@ camss: camss@ac6a000 {
> "vfe_lite0",
> "vfe_lite1";
>
> - interrupts = <GIC_SPI 477 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 478 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 479 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 448 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 464 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 465 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 469 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
> + interrupts = <GIC_SPI 477 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 478 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 479 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 448 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 86 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 89 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 464 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 466 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 468 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 359 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 465 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 467 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 469 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 360 IRQ_TYPE_EDGE_RISING>;
> interrupt-names = "csiphy0",
> "csiphy1",
> "csiphy2",
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 1/6] media: dt-bindings: media: qcom,sc8280xp-camss: Fix interrupt types
2024-09-06 11:06 ` Vladimir Zapolskiy
@ 2024-09-06 12:43 ` Krzysztof Kozlowski
0 siblings, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2024-09-06 12:43 UTC (permalink / raw)
To: Vladimir Zapolskiy
Cc: Robert Foss, Todor Tomov, Bryan O'Donoghue, Bjorn Andersson,
Konrad Dybcio, Mauro Carvalho Chehab, Hans Verkuil, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, linux-media,
devicetree
On 06/09/2024 13:06, Vladimir Zapolskiy wrote:
> Hi Krzysztof,
>
> On 9/6/24 13:31, Krzysztof Kozlowski wrote:
>> On Thu, Sep 05, 2024 at 07:41:37PM +0300, Vladimir Zapolskiy wrote:
>>> The expected type of all CAMSS interrupts is edge rising, fix it in
>>> the documented example from CAMSS device tree bindings for sc8280xp.
>>
>> Subject: drop duplicated media. One media is enough (the first).
>>
>
> thank you for review, here I've attemted to follow the established practice.
>
> % git log -n 500 --oneline Documentation/devicetree/bindings/media/ | grep "media:.*media:" | wc -l
> 166
>
> So 1/3 of relevant commits to the folder have the duplicated "media:"
> in the subject, the reason is not totally clear to me, thus I've just
> inflowed into the same.
People like to repeat same mistakes, but just because 166 times someone
did a mistake, is not a reason to do the same.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 4/6] arm64: dts: qcom: sc8280xp: Fix interrupt type of camss interrupts
2024-09-05 16:41 ` [PATCH 4/6] arm64: dts: qcom: sc8280xp: Fix interrupt type of camss interrupts Vladimir Zapolskiy
2024-09-06 11:12 ` Bryan O'Donoghue
@ 2024-09-06 14:31 ` Johan Hovold
2024-09-06 21:42 ` Vladimir Zapolskiy
1 sibling, 1 reply; 18+ messages in thread
From: Johan Hovold @ 2024-09-06 14:31 UTC (permalink / raw)
To: Vladimir Zapolskiy
Cc: Robert Foss, Todor Tomov, Bryan O'Donoghue, Bjorn Andersson,
Konrad Dybcio, Mauro Carvalho Chehab, Hans Verkuil, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, linux-media,
devicetree
On Thu, Sep 05, 2024 at 07:41:40PM +0300, Vladimir Zapolskiy wrote:
> The expected type of all CAMSS interrupts is edge rising, fix it in
> the CAMSS device tree node for sc8280xp platform.
>
> Fixes: 5994dd60753e ("arm64: dts: qcom: sc8280xp: camss: Add CAMSS block definition")
> Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Camera still works on the X13s. Didn't try to reproduce the probe
deferral issue.
Tested-by: Johan Hovold <johan+linaro@kernel.org>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 4/6] arm64: dts: qcom: sc8280xp: Fix interrupt type of camss interrupts
2024-09-06 14:31 ` Johan Hovold
@ 2024-09-06 21:42 ` Vladimir Zapolskiy
0 siblings, 0 replies; 18+ messages in thread
From: Vladimir Zapolskiy @ 2024-09-06 21:42 UTC (permalink / raw)
To: Johan Hovold
Cc: Robert Foss, Todor Tomov, Bryan O'Donoghue, Bjorn Andersson,
Konrad Dybcio, Mauro Carvalho Chehab, Hans Verkuil, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, linux-media,
devicetree
Hi Johan,
On 9/6/24 17:31, Johan Hovold wrote:
> On Thu, Sep 05, 2024 at 07:41:40PM +0300, Vladimir Zapolskiy wrote:
>> The expected type of all CAMSS interrupts is edge rising, fix it in
>> the CAMSS device tree node for sc8280xp platform.
>>
>> Fixes: 5994dd60753e ("arm64: dts: qcom: sc8280xp: camss: Add CAMSS block definition")
>> Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
>
> Camera still works on the X13s. Didn't try to reproduce the probe
> deferral issue.
>
> Tested-by: Johan Hovold <johan+linaro@kernel.org>
thank you for testing!
One of the simplest ways to reproduce the fixed problem would be to
unbind/bind the camss device:
% echo -n ac5a000.camss > /sys/bus/platform/drivers/qcom-camss/unbind
% echo -n ac5a000.camss > /sys/bus/platform/drivers/qcom-camss/bind
I don't have access to the X13s, but I believe that it should display the issue.
--
Best wishes,
Vladimir
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2024-09-06 21:43 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-05 16:41 [PATCH 0/6] media: dt-bindings: media: camss: Fix interrupt types Vladimir Zapolskiy
2024-09-05 16:41 ` [PATCH 1/6] media: dt-bindings: media: qcom,sc8280xp-camss: " Vladimir Zapolskiy
2024-09-06 10:31 ` Krzysztof Kozlowski
2024-09-06 10:31 ` Krzysztof Kozlowski
2024-09-06 11:06 ` Vladimir Zapolskiy
2024-09-06 12:43 ` Krzysztof Kozlowski
2024-09-05 16:41 ` [PATCH 2/6] media: dt-bindings: media: qcom,sdm845-camss: " Vladimir Zapolskiy
2024-09-06 10:32 ` Krzysztof Kozlowski
2024-09-05 16:41 ` [PATCH 3/6] media: dt-bindings: media: qcom,sm8250-camss: " Vladimir Zapolskiy
2024-09-06 10:32 ` Krzysztof Kozlowski
2024-09-05 16:41 ` [PATCH 4/6] arm64: dts: qcom: sc8280xp: Fix interrupt type of camss interrupts Vladimir Zapolskiy
2024-09-06 11:12 ` Bryan O'Donoghue
2024-09-06 14:31 ` Johan Hovold
2024-09-06 21:42 ` Vladimir Zapolskiy
2024-09-05 16:41 ` [PATCH 5/6] arm64: dts: qcom: sdm845: Fix interrupt types " Vladimir Zapolskiy
2024-09-06 11:12 ` Bryan O'Donoghue
2024-09-05 16:41 ` [PATCH 6/6] arm64: dts: qcom: sm8250: " Vladimir Zapolskiy
2024-09-06 11:12 ` Bryan O'Donoghue
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox