Kyle Tso
2d5c7aedc0
FROMGIT: dt-bindings: connector: Replace BIT macro with generic bit ops
...
BIT macro is not defined. Replace it with generic bit operations.
Fixes: 630dce2810b9 ("dt-bindings: connector: Add SVDM VDO properties")
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Kyle Tso <kyletso@google.com >
Link: https://lore.kernel.org/r/20210527121029.583611-1-kyletso@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
(cherry picked from commit 9257bd80b917cc7908abd27ed5a5211964563f62
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-next)
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: Ie50316127234f5d9f154ed081989ffce5f383f45
2021-06-07 06:15:29 +00:00
Kyle Tso
4c323ffd1c
FROMGIT: dt-bindings: connector: Add PD rev 2.0 VDO definition
...
Add the VDO definition for USB PD rev 2.0 in the bindings and define a
new property snk-vdos-v1 containing legacy VDOs as the responses to the
port partner which only supports PD rev 2.0.
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Kyle Tso <kyletso@google.com >
Link: https://lore.kernel.org/r/20210601123151.3441914-3-kyletso@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
(cherry picked from commit 55b54c269beef13d88dc30544df34763a90dc815
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-next)
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: I674ab18f59d3a3bc17ae42e6966030abd3761d3f
2021-06-07 06:13:23 +00:00
Kyle Tso
6c3fd852fa
UPSTREAM: dt-bindings: connector: Add SVDM VDO properties
...
Add bindings of VDO properties of USB PD SVDM so that they can be
used in device tree.
Reviewed-by: Rob Herring <robh@kernel.org >
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com >
Signed-off-by: Kyle Tso <kyletso@google.com >
Link: https://lore.kernel.org/r/20210205033415.3320439-7-kyletso@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
(cherry picked from commit 630dce2810b9f09d312aed4189300e785254c24b
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-next)
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: I9119816ffca55072fa322536f2b9b817200e697a
2021-02-09 11:55:09 +01:00
Badhri Jagan Sridharan
dc635c8835
UPSTREAM: dt-bindings: connector: Add property to set initial current cap for FRS
...
This change adds frs-typec-current which allows setting the initial current
capability of the new source when vSafe5V is applied during PD3.0
sink Fast Role Swap.
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20201020093627.256885-2-badhri@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
(cherry picked from commit 5ed132db5ad4f58156ae9d28219396b6f764a9cb
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-next)
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: I008e35dd43f1c3bffe8b0834e0b0b5c71d587b05
2021-02-09 11:54:55 +01:00
Adam Thomson
63f59b73e8
dt-bindings: connector: Add support for USB-PD PPS APDOs to bindings
...
Add support for PPS APDOs to connector bindings so a port controller
can specify support for PPS, as per existing FIXED/BATT/VAR PDOs.
Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2018-09-20 12:56:02 +02:00
Li Jun
7a846d3c43
dt-bindings: connector: add properties for typec
...
Add bindings supported by current typec driver, so user can pass
all those properties via dt.
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Li Jun <jun.li@nxp.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2018-06-28 19:49:47 +09:00