]> www.infradead.org Git - users/jedix/linux-maple.git/commit
usb: typec: tcpm: Add support for parsing time dt properties
authorAmit Sunil Dhamne <amitsd@google.com>
Wed, 23 Oct 2024 03:55:49 +0000 (20:55 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Oct 2024 03:33:39 +0000 (04:33 +0100)
commit33a0302455d664f18a4a65fd5a9997c0cef6bd39
tree7860bd90efeae25708a111ad063a483befb13942
parenteea54570f85fc360b5332170588300bc09f49bc3
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: Amit Sunil Dhamne <amitsd@google.com>
Reviewed-by: Heikki 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/tcpm/tcpm.c