diff options
| author | Samuel Holland <samuel@sholland.org> | 2022-02-14 08:01:16 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-02-17 18:21:57 +0300 |
| commit | 2e7dfb0e9cacad0f1adbc4b97f0b96ba35027f24 (patch) | |
| tree | c1d013edb59863bc5b88661948533bc5caa79979 /include/linux/input | |
| parent | 71c16066a53f6ac7e925476070c4dbecfbeceee0 (diff) | |
| download | linux-2e7dfb0e9cacad0f1adbc4b97f0b96ba35027f24.tar.xz | |
usb: typec: Factor out non-PD fwnode properties
Basic programmable non-PD Type-C port controllers do not need the full
TCPM library, but they share the same devicetree binding and the same
typec_capability structure. Factor out a helper for parsing those
properties which map to fields in struct typec_capability, so the code
can be shared between TCPM and basic non-TCPM drivers.
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Link: https://lore.kernel.org/r/20220214050118.61015-4-samuel@sholland.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/input')
0 files changed, 0 insertions, 0 deletions
