Commit 4e7ab1bb authored by Amit Sunil Dhamne's avatar Amit Sunil Dhamne
Browse files

BACKPORT: FROMGIT: usb: typec: tcpm: Add support for parsing time dt properties



Add support for DT time properties to allow users to define platform
specific timing deadlines of certain timers rather than using hardcoded
ones. For values that have not been explicitly defined in DT using this
property, default values will be set therefore, making this change
backward compatible.

Signed-off-by: default avatarAmit Sunil Dhamne <amitsd@google.com>
Reviewed-by: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20241022-pd-dt-time-props-v1-2-fea96f51b302@google.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

Bug: 296723174
(cherry picked from commit 33a03024
 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/


 usb-next)
[amitsd: Patch didn't cleanly apply due to non-existing fields in
 `struct tcpm_port` in ack]
Change-Id: Id803c980419593dbee4f9387ee6f78a6c2f5361f
Signed-off-by: default avatarAmit Sunil Dhamne <amitsd@google.com>
parent c99834d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment