[RFC 0/2] Add support for "pd-timers" DT property in TCPM
From: Amit Sunil Dhamne
Date: Tue Sep 10 2024 - 20:07:44 EST
USB PD specification defines a bunch of timers that can have a range
of acceptable values instead of specific values. These values have to
be tuned based on the platform. However, TCPM currently sets them to
a default value without providing a mechanism to set platform specific
values.
This patchset adds a new DT property called "pd-timers" to allow users
to define platform specific values.
Amit Sunil Dhamne (2):
dt-bindings: connector: Add property to set pd timer values
usb: typec: tcpm: Add support for pd-timers DT property
.../bindings/connector/usb-connector.yaml | 23 ++++
drivers/usb/typec/tcpm/tcpm.c | 110 +++++++++++++++---
include/dt-bindings/usb/pd.h | 8 ++
3 files changed, 123 insertions(+), 18 deletions(-)
base-commit: f299cd11f7539482e87b2d2d527968a26b33f0ec
--
2.46.0.598.g6f2099f65c-goog