Linux USB
 help / color / mirror / Atom feed
* [PATCH v2 0/4] usb: typec: qcom-pmic-typec: properly tear down port on remove and shutdown
@ 2026-11-25 11:04 Neil Armstrong
  2026-11-25 11:04 ` [PATCH v2 1/4] usb: typec: qcom-pmic-typec: pdphy: disable the PD PHY on stop Neil Armstrong
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Neil Armstrong @ 2026-11-25 11:04 UTC (permalink / raw)
  To: Bryan O'Donoghue, Heikki Krogerus, Greg Kroah-Hartman,
	Guenter Roeck, Casey Connolly
  Cc: linux-arm-msm, linux-usb, Neil Armstrong

The current driver doesn't leave the port in the same
state as found when probing, and leaves the port enabled
on system shutdown.

Loosely depends on [1].

[1] https://lore.kernel.org/all/20261125-topic-tcpm-core-fixes-v2-0-aede2a3471f4@linaro.org/

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
---
Changes in v2:
- Add Fixes and review tags
- Also disable on remove
- New patch: switch to SNK_ONLY before DISABLE when disabling port
- New patch: detach the port on probe
- Link to v1: https://patch.msgid.link/20261120-topic-tcpm-qcom-fixes-v1-0-9a152f906fba@linaro.org

To: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
To: Heikki Krogerus <heikki.krogerus@linux.intel.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Guenter Roeck <linux@roeck-us.net>
To: Casey Connolly <casey.connolly@linaro.org>
Cc: linux-arm-msm@vger.kernel.org
Cc: linux-usb@vger.kernel.org

---
Neil Armstrong (4):
      usb: typec: qcom-pmic-typec: pdphy: disable the PD PHY on stop
      usb: typec: qcom-pmic-typec: detach the port on shutdown
      usb: typec: qcom-pmic-typec: switch to SNK_ONLY before DISABLE when disabling port
      usb: typec: qcom-pmic-typec: detach the port on probe

 drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c      | 12 ++++++++
 drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.h      |  1 +
 .../usb/typec/tcpm/qcom/qcom_pmic_typec_pdphy.c    |  2 +-
 drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_port.c | 32 ++++++++++++++++++++++
 4 files changed, 46 insertions(+), 1 deletion(-)
---
base-commit: 3dd8c790a7b7027abdd568e36db5e82ffaea7c77
change-id: 20261120-topic-tcpm-qcom-fixes-c9ce1e65c570

Best regards,
--  
Neil Armstrong <neil.armstrong@linaro.org>


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

end of thread, other threads:[~2026-11-25 11:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-25 11:04 [PATCH v2 0/4] usb: typec: qcom-pmic-typec: properly tear down port on remove and shutdown Neil Armstrong
2026-11-25 11:04 ` [PATCH v2 1/4] usb: typec: qcom-pmic-typec: pdphy: disable the PD PHY on stop Neil Armstrong
2026-11-25 11:04 ` [PATCH v2 2/4] usb: typec: qcom-pmic-typec: detach the port on shutdown Neil Armstrong
2026-11-25 11:18   ` sashiko-bot
2026-11-25 11:04 ` [PATCH v2 3/4] usb: typec: qcom-pmic-typec: switch to SNK_ONLY before DISABLE when disabling port Neil Armstrong
2026-11-25 11:04 ` [PATCH v2 4/4] usb: typec: qcom-pmic-typec: detach the port on probe Neil Armstrong
2026-11-25 11:13   ` sashiko-bot
2026-11-25 11:18 ` [PATCH v2 0/4] usb: typec: qcom-pmic-typec: properly tear down port on remove and shutdown sashiko-bot

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