Devicetree
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: usb: qcom,pmic-typec: Drop redundant port
@ 2026-05-19 10:00 Krzysztof Kozlowski
  2026-05-19 10:00 ` [PATCH 2/2] USB: typec: qcom-pmic-typec: Drop redundant header includes Krzysztof Kozlowski
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2026-05-19 10:00 UTC (permalink / raw)
  To: Bryan O'Donoghue, Greg Kroah-Hartman, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Heikki Krogerus, linux-arm-msm,
	linux-usb, devicetree, linux-kernel
  Cc: Krzysztof Kozlowski

The binding defines both "port" and "connector" properties, where the
"port" is claimed to be for "data-role switching messages".  There is no
such dedicated data port for this device and role switching is part of
connector ports - the port going to the USB controller.

The driver does not use the "port" property and there is no upstream DTS
which would have it.  It looks like it's left-over of early versions of
this patchset and is completely redundant now, so let's drop it.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
 Documentation/devicetree/bindings/usb/qcom,pmic-typec.yaml | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/Documentation/devicetree/bindings/usb/qcom,pmic-typec.yaml b/Documentation/devicetree/bindings/usb/qcom,pmic-typec.yaml
index 6d3fa2bc9cee..975032ba6004 100644
--- a/Documentation/devicetree/bindings/usb/qcom,pmic-typec.yaml
+++ b/Documentation/devicetree/bindings/usb/qcom,pmic-typec.yaml
@@ -84,11 +84,6 @@ properties:
   vdd-pdphy-supply:
     description: VDD regulator supply to the PDPHY.
 
-  port:
-    $ref: /schemas/graph.yaml#/properties/port
-    description:
-      Contains a port which produces data-role switching messages.
-
 required:
   - compatible
   - reg
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 2/2] USB: typec: qcom-pmic-typec: Drop redundant header includes
  2026-05-19 10:00 [PATCH 1/2] dt-bindings: usb: qcom,pmic-typec: Drop redundant port Krzysztof Kozlowski
@ 2026-05-19 10:00 ` Krzysztof Kozlowski
  2026-05-19 10:15   ` Bryan O'Donoghue
                     ` (2 more replies)
  2026-05-19 10:14 ` [PATCH 1/2] dt-bindings: usb: qcom,pmic-typec: Drop redundant port Bryan O'Donoghue
                   ` (2 subsequent siblings)
  3 siblings, 3 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2026-05-19 10:00 UTC (permalink / raw)
  To: Bryan O'Donoghue, Greg Kroah-Hartman, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Heikki Krogerus, linux-arm-msm,
	linux-usb, devicetree, linux-kernel
  Cc: Krzysztof Kozlowski

Unlike other units in this module, this one does not request interrupts
or regulator supplies.  It does not use OF graph, USB role switching or
TypeC muxing APIs.  Drop redundant header includes to speed up
preprocessor.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
 drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c b/drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c
index 3766790c1548..35320f89dad2 100644
--- a/drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c
+++ b/drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c
@@ -4,19 +4,14 @@
  */
 
 #include <linux/err.h>
-#include <linux/interrupt.h>
 #include <linux/kernel.h>
 #include <linux/mod_devicetable.h>
 #include <linux/module.h>
 #include <linux/of.h>
-#include <linux/of_graph.h>
 #include <linux/platform_device.h>
 #include <linux/regmap.h>
-#include <linux/regulator/consumer.h>
 #include <linux/slab.h>
-#include <linux/usb/role.h>
 #include <linux/usb/tcpm.h>
-#include <linux/usb/typec_mux.h>
 
 #include <drm/bridge/aux-bridge.h>
 
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH 1/2] dt-bindings: usb: qcom,pmic-typec: Drop redundant port
  2026-05-19 10:00 [PATCH 1/2] dt-bindings: usb: qcom,pmic-typec: Drop redundant port Krzysztof Kozlowski
  2026-05-19 10:00 ` [PATCH 2/2] USB: typec: qcom-pmic-typec: Drop redundant header includes Krzysztof Kozlowski
@ 2026-05-19 10:14 ` Bryan O'Donoghue
  2026-05-19 10:30 ` Konrad Dybcio
  2026-05-19 10:34 ` Dmitry Baryshkov
  3 siblings, 0 replies; 8+ messages in thread
From: Bryan O'Donoghue @ 2026-05-19 10:14 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Greg Kroah-Hartman, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Heikki Krogerus, linux-arm-msm,
	linux-usb, devicetree, linux-kernel

On 19/05/2026 11:00, Krzysztof Kozlowski wrote:
> The binding defines both "port" and "connector" properties, where the
> "port" is claimed to be for "data-role switching messages".  There is no
> such dedicated data port for this device and role switching is part of
> connector ports - the port going to the USB controller.
> 
> The driver does not use the "port" property and there is no upstream DTS
> which would have it.  It looks like it's left-over of early versions of
> this patchset and is completely redundant now, so let's drop it.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> ---
>   Documentation/devicetree/bindings/usb/qcom,pmic-typec.yaml | 5 -----
>   1 file changed, 5 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/usb/qcom,pmic-typec.yaml b/Documentation/devicetree/bindings/usb/qcom,pmic-typec.yaml
> index 6d3fa2bc9cee..975032ba6004 100644
> --- a/Documentation/devicetree/bindings/usb/qcom,pmic-typec.yaml
> +++ b/Documentation/devicetree/bindings/usb/qcom,pmic-typec.yaml
> @@ -84,11 +84,6 @@ properties:
>     vdd-pdphy-supply:
>       description: VDD regulator supply to the PDPHY.
>   
> -  port:
> -    $ref: /schemas/graph.yaml#/properties/port
> -    description:
> -      Contains a port which produces data-role switching messages.
> -
>   required:
>     - compatible
>     - reg

True, the ports are in the connector now.

Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>

---
bod

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 2/2] USB: typec: qcom-pmic-typec: Drop redundant header includes
  2026-05-19 10:00 ` [PATCH 2/2] USB: typec: qcom-pmic-typec: Drop redundant header includes Krzysztof Kozlowski
@ 2026-05-19 10:15   ` Bryan O'Donoghue
  2026-05-19 10:35   ` Konrad Dybcio
  2026-05-19 13:58   ` Heikki Krogerus
  2 siblings, 0 replies; 8+ messages in thread
From: Bryan O'Donoghue @ 2026-05-19 10:15 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Greg Kroah-Hartman, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Heikki Krogerus, linux-arm-msm,
	linux-usb, devicetree, linux-kernel

On 19/05/2026 11:00, Krzysztof Kozlowski wrote:
> Unlike other units in this module, this one does not request interrupts
> or regulator supplies.  It does not use OF graph, USB role switching or
> TypeC muxing APIs.  Drop redundant header includes to speed up
> preprocessor.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> ---
>   drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c | 5 -----
>   1 file changed, 5 deletions(-)
> 
> diff --git a/drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c b/drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c
> index 3766790c1548..35320f89dad2 100644
> --- a/drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c
> +++ b/drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c
> @@ -4,19 +4,14 @@
>    */
>   
>   #include <linux/err.h>
> -#include <linux/interrupt.h>
>   #include <linux/kernel.h>
>   #include <linux/mod_devicetable.h>
>   #include <linux/module.h>
>   #include <linux/of.h>
> -#include <linux/of_graph.h>
>   #include <linux/platform_device.h>
>   #include <linux/regmap.h>
> -#include <linux/regulator/consumer.h>
>   #include <linux/slab.h>
> -#include <linux/usb/role.h>
>   #include <linux/usb/tcpm.h>
> -#include <linux/usb/typec_mux.h>
>   
>   #include <drm/bridge/aux-bridge.h>
>   

Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>

---
bod

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 1/2] dt-bindings: usb: qcom,pmic-typec: Drop redundant port
  2026-05-19 10:00 [PATCH 1/2] dt-bindings: usb: qcom,pmic-typec: Drop redundant port Krzysztof Kozlowski
  2026-05-19 10:00 ` [PATCH 2/2] USB: typec: qcom-pmic-typec: Drop redundant header includes Krzysztof Kozlowski
  2026-05-19 10:14 ` [PATCH 1/2] dt-bindings: usb: qcom,pmic-typec: Drop redundant port Bryan O'Donoghue
@ 2026-05-19 10:30 ` Konrad Dybcio
  2026-05-19 10:34 ` Dmitry Baryshkov
  3 siblings, 0 replies; 8+ messages in thread
From: Konrad Dybcio @ 2026-05-19 10:30 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Bryan O'Donoghue, Greg Kroah-Hartman,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heikki Krogerus,
	linux-arm-msm, linux-usb, devicetree, linux-kernel

On 5/19/26 12:00 PM, Krzysztof Kozlowski wrote:
> The binding defines both "port" and "connector" properties, where the
> "port" is claimed to be for "data-role switching messages".  There is no
> such dedicated data port for this device and role switching is part of
> connector ports - the port going to the USB controller.
> 
> The driver does not use the "port" property and there is no upstream DTS
> which would have it.  It looks like it's left-over of early versions of
> this patchset and is completely redundant now, so let's drop it.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 1/2] dt-bindings: usb: qcom,pmic-typec: Drop redundant port
  2026-05-19 10:00 [PATCH 1/2] dt-bindings: usb: qcom,pmic-typec: Drop redundant port Krzysztof Kozlowski
                   ` (2 preceding siblings ...)
  2026-05-19 10:30 ` Konrad Dybcio
@ 2026-05-19 10:34 ` Dmitry Baryshkov
  3 siblings, 0 replies; 8+ messages in thread
From: Dmitry Baryshkov @ 2026-05-19 10:34 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Bryan O'Donoghue, Greg Kroah-Hartman, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Heikki Krogerus, linux-arm-msm,
	linux-usb, devicetree, linux-kernel

On Tue, May 19, 2026 at 12:00:15PM +0200, Krzysztof Kozlowski wrote:
> The binding defines both "port" and "connector" properties, where the
> "port" is claimed to be for "data-role switching messages".  There is no
> such dedicated data port for this device and role switching is part of
> connector ports - the port going to the USB controller.
> 
> The driver does not use the "port" property and there is no upstream DTS
> which would have it.  It looks like it's left-over of early versions of
> this patchset and is completely redundant now, so let's drop it.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> ---
>  Documentation/devicetree/bindings/usb/qcom,pmic-typec.yaml | 5 -----
>  1 file changed, 5 deletions(-)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>


-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 2/2] USB: typec: qcom-pmic-typec: Drop redundant header includes
  2026-05-19 10:00 ` [PATCH 2/2] USB: typec: qcom-pmic-typec: Drop redundant header includes Krzysztof Kozlowski
  2026-05-19 10:15   ` Bryan O'Donoghue
@ 2026-05-19 10:35   ` Konrad Dybcio
  2026-05-19 13:58   ` Heikki Krogerus
  2 siblings, 0 replies; 8+ messages in thread
From: Konrad Dybcio @ 2026-05-19 10:35 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Bryan O'Donoghue, Greg Kroah-Hartman,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heikki Krogerus,
	linux-arm-msm, linux-usb, devicetree, linux-kernel

On 5/19/26 12:00 PM, Krzysztof Kozlowski wrote:
> Unlike other units in this module, this one does not request interrupts
> or regulator supplies.  It does not use OF graph, USB role switching or
> TypeC muxing APIs.  Drop redundant header includes to speed up
> preprocessor.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 2/2] USB: typec: qcom-pmic-typec: Drop redundant header includes
  2026-05-19 10:00 ` [PATCH 2/2] USB: typec: qcom-pmic-typec: Drop redundant header includes Krzysztof Kozlowski
  2026-05-19 10:15   ` Bryan O'Donoghue
  2026-05-19 10:35   ` Konrad Dybcio
@ 2026-05-19 13:58   ` Heikki Krogerus
  2 siblings, 0 replies; 8+ messages in thread
From: Heikki Krogerus @ 2026-05-19 13:58 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Bryan O'Donoghue, Greg Kroah-Hartman, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, linux-usb,
	devicetree, linux-kernel

On Tue, May 19, 2026 at 12:00:16PM +0200, Krzysztof Kozlowski wrote:
> Unlike other units in this module, this one does not request interrupts
> or regulator supplies.  It does not use OF graph, USB role switching or
> TypeC muxing APIs.  Drop redundant header includes to speed up
> preprocessor.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>

Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>

> ---
>  drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c b/drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c
> index 3766790c1548..35320f89dad2 100644
> --- a/drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c
> +++ b/drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c
> @@ -4,19 +4,14 @@
>   */
>  
>  #include <linux/err.h>
> -#include <linux/interrupt.h>
>  #include <linux/kernel.h>
>  #include <linux/mod_devicetable.h>
>  #include <linux/module.h>
>  #include <linux/of.h>
> -#include <linux/of_graph.h>
>  #include <linux/platform_device.h>
>  #include <linux/regmap.h>
> -#include <linux/regulator/consumer.h>
>  #include <linux/slab.h>
> -#include <linux/usb/role.h>
>  #include <linux/usb/tcpm.h>
> -#include <linux/usb/typec_mux.h>
>  
>  #include <drm/bridge/aux-bridge.h>
>  
> -- 
> 2.51.0

-- 
heikki

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-05-19 13:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-19 10:00 [PATCH 1/2] dt-bindings: usb: qcom,pmic-typec: Drop redundant port Krzysztof Kozlowski
2026-05-19 10:00 ` [PATCH 2/2] USB: typec: qcom-pmic-typec: Drop redundant header includes Krzysztof Kozlowski
2026-05-19 10:15   ` Bryan O'Donoghue
2026-05-19 10:35   ` Konrad Dybcio
2026-05-19 13:58   ` Heikki Krogerus
2026-05-19 10:14 ` [PATCH 1/2] dt-bindings: usb: qcom,pmic-typec: Drop redundant port Bryan O'Donoghue
2026-05-19 10:30 ` Konrad Dybcio
2026-05-19 10:34 ` Dmitry Baryshkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox