public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/5] Match data improvements for rt1711h driver
@ 2023-09-06  8:06 Biju Das
  2023-09-06  8:06 ` [PATCH v3 1/5] usb: typec: tcpci_rt1711h: Remove trailing comma in the terminator entry for OF table Biju Das
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Biju Das @ 2023-09-06  8:06 UTC (permalink / raw)
  To: Guenter Roeck, Heikki Krogerus
  Cc: Biju Das, Greg Kroah-Hartman, linux-usb, linux-kernel, Biju Das,
	Andy Shevchenko

This patch series extend support for retrieving match data for ID lookup
by using i2c_get_match_data().

The first patch is cleanups for OF/ID table and second patch
convert enum->pointer for constification of data and extending match data
support for ID table. The third and fourth patches replaces comparison of
did against hardware differences with data and feature variable. The last
patch drop CONFIG_OF ifdeffery.

This patch series is only compile tested.

v2->v3:
 * Added Rb tag from Andy.
 * Dropped updating I2C driver data in ID table as there is no user yet.
 * Updated commit header and description for patch#1
 * Updated commit description for ACPI with PRP0001 magic for patch#5.
v1->v2:
 * Drop space from ID table
 * Remove trailing comma in the terminator entry for OF table.
 * Updated commit description for patch#2.
 * Swapped the rxdz_sel variable in struct rt1711h_chip_info to avoid
   holes.
 * Changed enable_pd30_extended_message variable type to bool.
 * Added patch for dropping CONFIG_OF ifdeffery for OF table.

Biju Das (5):
  usb: typec: tcpci_rt1711h: Remove trailing comma in the terminator
    entry for OF table
  usb: typec: tcpci_rt1711h: Convert enum->pointer for data in the match
    tables
  usb: typec: tcpci_rt1711h: Add rxdz_sel variable to struct
    rt1711h_chip_info
  usb: typec: tcpci_rt1711h: Add enable_pd30_extended_message variable
    to struct rt1711h_chip_info
  usb: typec: tcpci_rt1711h: Drop CONFIG_OF ifdeffery

 drivers/usb/typec/tcpm/tcpci_rt1711h.c | 46 ++++++++++++++++----------
 1 file changed, 29 insertions(+), 17 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2023-09-08 10:40 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-06  8:06 [PATCH v3 0/5] Match data improvements for rt1711h driver Biju Das
2023-09-06  8:06 ` [PATCH v3 1/5] usb: typec: tcpci_rt1711h: Remove trailing comma in the terminator entry for OF table Biju Das
2023-09-08  8:20   ` Heikki Krogerus
2023-09-06  8:06 ` [PATCH v3 2/5] usb: typec: tcpci_rt1711h: Convert enum->pointer for data in the match tables Biju Das
2023-09-08  8:48   ` Heikki Krogerus
2023-09-06  8:06 ` [PATCH v3 3/5] usb: typec: tcpci_rt1711h: Add rxdz_sel variable to struct rt1711h_chip_info Biju Das
2023-09-08  8:49   ` Heikki Krogerus
2023-09-06  8:06 ` [PATCH v3 4/5] usb: typec: tcpci_rt1711h: Add enable_pd30_extended_message " Biju Das
2023-09-08 10:34   ` Heikki Krogerus
2023-09-06  8:06 ` [PATCH v3 5/5] usb: typec: tcpci_rt1711h: Drop CONFIG_OF ifdeffery Biju Das
2023-09-08 10:40   ` Heikki Krogerus

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