public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] usb: typec: hd3ss3220: enhance driver with port type, power opmode, and role preference settings
@ 2024-11-14  8:02 Oliver Facklam
  2024-11-14  8:02 ` [PATCH v2 1/4] usb: typec: hd3ss3220: configure advertised power opmode based on fwnode property Oliver Facklam
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Oliver Facklam @ 2024-11-14  8:02 UTC (permalink / raw)
  To: Heikki Krogerus, Biju Das, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Benedict von Heyl, Mathis Foerst,
	Michael Glettig, Oliver Facklam

The TI HD3SS3220 Type-C controller supports configuring the port type,
the advertised power operation mode, and its role preference
through its I2C register map.

This patch series adds support for configuring these registers
based on existing fwnode properties and typec_operations.

Signed-off-by: Oliver Facklam <oliver.facklam@zuehlke.com>
---
Changes in v2:
- Better support optional fwnode properties being absent by setting
  defaults in struct typec_capability and checking return code of
  typec_get_fw_cap()
- Link to v1: https://lore.kernel.org/r/20241107-usb-typec-controller-enhancements-v1-0-3886c1acced2@zuehlke.com

---
Oliver Facklam (4):
      usb: typec: hd3ss3220: configure advertised power opmode based on fwnode property
      usb: typec: hd3ss3220: use typec_get_fw_cap() to fill typec_cap
      usb: typec: hd3ss3220: support configuring port type
      usb: typec: hd3ss3220: support configuring role preference based on fwnode property and typec_operation

 drivers/usb/typec/hd3ss3220.c | 172 ++++++++++++++++++++++++++++++++++++------
 1 file changed, 148 insertions(+), 24 deletions(-)
---
base-commit: 59b723cd2adbac2a34fc8e12c74ae26ae45bf230
change-id: 20241104-usb-typec-controller-enhancements-6871249429f0

Best regards,
-- 
Oliver Facklam <oliver.facklam@zuehlke.com>


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

end of thread, other threads:[~2024-12-02 14:39 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-14  8:02 [PATCH v2 0/4] usb: typec: hd3ss3220: enhance driver with port type, power opmode, and role preference settings Oliver Facklam
2024-11-14  8:02 ` [PATCH v2 1/4] usb: typec: hd3ss3220: configure advertised power opmode based on fwnode property Oliver Facklam
2024-11-18 10:02   ` Heikki Krogerus
2024-11-14  8:02 ` [PATCH v2 2/4] usb: typec: hd3ss3220: use typec_get_fw_cap() to fill typec_cap Oliver Facklam
2024-11-18 10:03   ` Heikki Krogerus
2024-11-14  8:02 ` [PATCH v2 3/4] usb: typec: hd3ss3220: support configuring port type Oliver Facklam
2024-11-18 11:49   ` Heikki Krogerus
2024-11-18 14:00     ` Facklam, Olivér
2024-11-25 10:28       ` Heikki Krogerus
2024-11-27  8:02         ` Facklam, Olivér
2024-11-27  8:47           ` Biju Das
2024-12-02 14:27             ` Facklam, Olivér
2024-12-02 14:39               ` Biju Das
2024-11-28 13:15           ` Heikki Krogerus
2024-11-28 13:31             ` Facklam, Olivér
2024-11-14  8:02 ` [PATCH v2 4/4] usb: typec: hd3ss3220: support configuring role preference based on fwnode property and typec_operation Oliver Facklam

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