Skip to contentSkip to conversation

arm64: dts: exynos: gs101: Enable AVS APDO

PATCH Superseded Badhri Jagan Sridharan 2 participants 4 messages Feb 26 – Feb 27

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: exynos: gs101: Enable AVS APDO

Enable USB PD SPR AVS for gs101 by adding SPR AVS APDO to the sink caps pusblished by gs101.

---
Depends-on:https://lore.kernel.org/lkml/[email protected]/

 arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi +1 -0
index 93892adaa679..5a689be61432 100644
@@ -174,6 +174,7 @@ connector {
 						| PDO_FIXED_HIGHER_CAP
 						| PDO_FIXED_DUAL_ROLE))
 				     PDO_FIXED(9000, 2200, 0)
+				     PDO_SPR_AVS_SNK_APDO(3000, 3000)
 				     PDO_PPS_APDO(5000, 11000, 3000)>;
 			sink-vdos = <VDO_IDH(1, 1, IDH_PTYPE_PERIPH, 0,
 					     IDH_PTYPE_DFP_HOST, 2, 0x18d1)

base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
prerequisite-patch-id: 4dacd8bc550e317d67134d030814765fb9f4c6e1
prerequisite-patch-id: e863378fc602b6bee2e9fdd8c568003c00b2a38e
prerequisite-patch-id: 202a9e1e9cf27a0b9ff7ebea76eb45cdac2cb581
prerequisite-patch-id: f3817c560d0e701d7499fa1fb9ee40d22816c09e
prerequisite-patch-id: c071913307a6eaa417d1345485d7a9c165d40834

Signature · 1 line
2.53.0.414.gf7e9f6c205-goog
#1 lore raw
Quoted 6 lines · Badhri Jagan Sridharan

Enable USB PD SPR AVS for gs101 by adding SPR AVS APDO to the sink caps pusblished by gs101.

---
Depends-on:https://lore.kernel.org/lkml/[email protected]/

Really, how? If it depends on that, it is wrong and cannot be applied. DTS cannot depend on the hardware. NAK.

Quoted 17 lines
 arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi +1 -0
index 93892adaa679..5a689be61432 100644
@@ -174,6 +174,7 @@ connector {
 						| PDO_FIXED_HIGHER_CAP
 						| PDO_FIXED_DUAL_ROLE))
 				     PDO_FIXED(9000, 2200, 0)
+				     PDO_SPR_AVS_SNK_APDO(3000, 3000)
 				     PDO_PPS_APDO(5000, 11000, 3000)>;
 			sink-vdos = <VDO_IDH(1, 1, IDH_PTYPE_PERIPH, 0,
 					     IDH_PTYPE_DFP_HOST, 2, 0x18d1)
Quoted 6 lines

base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
prerequisite-patch-id: 4dacd8bc550e317d67134d030814765fb9f4c6e1
prerequisite-patch-id: e863378fc602b6bee2e9fdd8c568003c00b2a38e
prerequisite-patch-id: 202a9e1e9cf27a0b9ff7ebea76eb45cdac2cb581
prerequisite-patch-id: f3817c560d0e701d7499fa1fb9ee40d22816c09e
prerequisite-patch-id: c071913307a6eaa417d1345485d7a9c165d40834

5 patches here. This is confusing.

Best regards,
Krzysztof

#2 lore raw
Quoted 10 lines · Krzysztof Kozlowski
Quoted 6 lines · Badhri Jagan Sridharan

Enable USB PD SPR AVS for gs101 by adding SPR AVS APDO to the sink caps pusblished by gs101.

---
Depends-on:https://lore.kernel.org/lkml/[email protected]/

Really, how? If it depends on that, it is wrong and cannot be applied. DTS cannot depend on the hardware. NAK.

s/hardware/drivers/ obviously...

Quoted 18 lines
Quoted 18 lines

 arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi +1 -0
index 93892adaa679..5a689be61432 100644
@@ -174,6 +174,7 @@ connector {
 						| PDO_FIXED_HIGHER_CAP
 						| PDO_FIXED_DUAL_ROLE))
 				     PDO_FIXED(9000, 2200, 0)
+				     PDO_SPR_AVS_SNK_APDO(3000, 3000)
 				     PDO_PPS_APDO(5000, 11000, 3000)>;
 			sink-vdos = <VDO_IDH(1, 1, IDH_PTYPE_PERIPH, 0,
 					     IDH_PTYPE_DFP_HOST, 2, 0x18d1)
Quoted 8 lines
Quoted 6 lines

base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
prerequisite-patch-id: 4dacd8bc550e317d67134d030814765fb9f4c6e1
prerequisite-patch-id: e863378fc602b6bee2e9fdd8c568003c00b2a38e
prerequisite-patch-id: 202a9e1e9cf27a0b9ff7ebea76eb45cdac2cb581
prerequisite-patch-id: f3817c560d0e701d7499fa1fb9ee40d22816c09e
prerequisite-patch-id: c071913307a6eaa417d1345485d7a9c165d40834

5 patches here. This is confusing.

Best regards,
Krzysztof

#3 lore raw
Quoted 6 lines · Krzysztof Kozlowski
Quoted 4 lines · Krzysztof Kozlowski
Quoted 3 lines · Badhri Jagan Sridharan

Enable USB PD SPR AVS for gs101 by adding SPR AVS APDO to the sink caps pusblished by gs101.

Quoted 35 lines
Quoted 6 lines
Quoted 3 lines

---
Depends-on:https://lore.kernel.org/lkml/[email protected]/

Really, how? If it depends on that, it is wrong and cannot be applied. DTS cannot depend on the hardware. NAK.

s/hardware/drivers/ obviously...

Quoted 26 lines
Quoted 18 lines

 arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi +1 -0
index 93892adaa679..5a689be61432 100644
@@ -174,6 +174,7 @@ connector {
                                             | PDO_FIXED_HIGHER_CAP
                                             | PDO_FIXED_DUAL_ROLE))
                                  PDO_FIXED(9000, 2200, 0)
+                                 PDO_SPR_AVS_SNK_APDO(3000, 3000)
                                  PDO_PPS_APDO(5000, 11000, 3000)>;
                     sink-vdos = <VDO_IDH(1, 1, IDH_PTYPE_PERIPH, 0,
                                          IDH_PTYPE_DFP_HOST, 2, 0x18d1)
Quoted 6 lines

base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
prerequisite-patch-id: 4dacd8bc550e317d67134d030814765fb9f4c6e1
prerequisite-patch-id: e863378fc602b6bee2e9fdd8c568003c00b2a38e
prerequisite-patch-id: 202a9e1e9cf27a0b9ff7ebea76eb45cdac2cb581
prerequisite-patch-id: f3817c560d0e701d7499fa1fb9ee40d22816c09e
prerequisite-patch-id: c071913307a6eaa417d1345485d7a9c165d40834

5 patches here. This is confusing.

Apologies for the confusion Krzysztof. This DTS change depends only on the binding defined in the topic:
https://lore.kernel.org/lkml/[email protected]/).
I will drop the prerequisite-patch-id and will add the following in V2 where just the binding from topic is marked depends-on by this patch. i.e.

Depends-on: https://lore.kernel.org/lkml/[email protected]/

Quoted 3 lines

Best regards,
Krzysztof