linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] DeviceTree Support for USB-HID Devices and CP2112
@ 2023-02-05 14:54 Danny Kaehn
  2023-02-05 14:54 ` [PATCH v3 1/4] dt-bindings: input: Add CP2112 HID USB to SMBus Bridge Danny Kaehn
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Danny Kaehn @ 2023-02-05 14:54 UTC (permalink / raw)
  To: robh+dt, krzysztof.kozlowski+dt, jikos, benjamin.tissoires
  Cc: devicetree, linux-input, ethan.twardy

This patchset allows USB-HID devices to have DeviceTree bindings through sharing
the USB of_node with the HID driver, and adds such a binding and driver
implementation for the CP2112 USB to SMBus Bridge (which necessitated the
USB-HID change). This change allows a CP2112 permanently attached in hardware to
be described in DT and interoperate with other drivers, and exposed the threaded
interrupt bug fixed in patch 0003.

Changes in v3:
 - Additional fixups to silabs,cp2112.yaml to address comments

Changes in v2:
 - Added more detail to silabs,cp2112.yaml dt-binding
 - Moved silabs,cp2112.yaml to /Documentation/devicetree/bindings/input
 - Added support for setting smbus clock-frequency from DT in hid-cp2112.c
 - Added freeing of of_nodes on error paths of _probe in hid-cp2112.c

Danny Kaehn (4):
  dt-bindings: input: Add CP2112 HID USB to SMBus Bridge
  HID: usbhid: Share USB device devicetree node with child HID device
  HID: cp2112: Fix driver not registering GPIO IRQ chip as threaded
  HID: cp2112: Devicetree Support

 .../bindings/input/silabs,cp2112.yaml         | 112 ++++++++++++++++++
 drivers/hid/hid-cp2112.c                      |  23 +++-
 drivers/hid/usbhid/hid-core.c                 |   2 +
 3 files changed, 135 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/input/silabs,cp2112.yaml

-- 
2.25.1


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

end of thread, other threads:[~2023-02-09 21:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-05 14:54 [PATCH v3 0/4] DeviceTree Support for USB-HID Devices and CP2112 Danny Kaehn
2023-02-05 14:54 ` [PATCH v3 1/4] dt-bindings: input: Add CP2112 HID USB to SMBus Bridge Danny Kaehn
2023-02-06  7:59   ` Krzysztof Kozlowski
2023-02-06 13:15     ` Daniel Kaehn
2023-02-06 13:37       ` Krzysztof Kozlowski
2023-02-06 16:51   ` Rob Herring
2023-02-05 14:54 ` [PATCH v3 2/4] HID: usbhid: Share USB device devicetree node with child HID device Danny Kaehn
2023-02-05 14:54 ` [PATCH v3 3/4] HID: cp2112: Fix driver not registering GPIO IRQ chip as threaded Danny Kaehn
2023-02-05 14:54 ` [PATCH v3 4/4] HID: cp2112: Devicetree Support Danny Kaehn
2023-02-06 16:39   ` Rob Herring
2023-02-09 21:01     ` Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).