[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1644246970-18305-1-git-send-email-u0084500@gmail.com>
Date: Mon, 7 Feb 2022 23:16:08 +0800
From: cy_huang <u0084500@...il.com>
To: robh+dt@...nel.org, heikki.krogerus@...ux.intel.com
Cc: gregkh@...uxfoundation.org, devicetree@...r.kernel.org,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
cy_huang@...htek.com, will_lin@...htek.com, th_chuang@...htek.com
Subject: [PATCH v3 0/2] Add Richtek RT1719 USBPD controller support
From: ChiYuan Huang <cy_huang@...htek.com>
Since v3:
1. Fix checkpatch.pl consistent space error in line 332.
2. Refine some error codes to more appropriate one.
3. In psy_set_property, except prop VOLTAGE_NOW, directly return -EINVAL.
4. Use devm_kasprintf to replace devm_kzalloc and snprintf in psy_register function.
Since v2:
1. Fix below kernel test robot build warning.
>> drivers/usb/typec/rt1719.c:492:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
492 | RT1719_EVALMODE_MASK | src_sel + 1);
| ~~~~~~~~^~~
ChiYuan Huang (2):
dt-bindings: usb: rt1719: Add binding for Richtek RT1719
usb: typec: rt1719: Add support for Richtek RT1719
.../devicetree/bindings/usb/richtek,rt1719.yaml | 85 ++
drivers/usb/typec/Kconfig | 12 +
drivers/usb/typec/Makefile | 1 +
drivers/usb/typec/rt1719.c | 970 +++++++++++++++++++++
4 files changed, 1068 insertions(+)
create mode 100644 Documentation/devicetree/bindings/usb/richtek,rt1719.yaml
create mode 100644 drivers/usb/typec/rt1719.c
--
2.7.4
Powered by blists - more mailing lists