This patch set is to remove max_snk_mv/ma/mw configs, as we should define the sink capability by sink PDOs, the first patch update the source PDO match policy by compare the voltage range between source and sink PDOs no matter what type they are, the following patchs remove those 3 variables from 2 existing users by adding a variable PDO, then finial patch remove the max_snk_* from tcpm.
Change for v4: - Add Hans's reviewed-by tag for the whole patch set. Changes for v3: - Remove 3 variables: nr_fxied, nr_var and nr_batt from tcpm_port; so nr_type_pdos() is not needed and removed. - Simplify fusb302_composite_snk_pdo_array() by only considering existing setting as Hans suggested. - Add Rob's reviewed-by for dt-binding patch. Changes for v2: - rebase the 1st patch to be based on commit 6f566af34628 ("Revert "typec: tcpm: Only request matching pdos""). - Convert the device properties passing max_snk_* to be a variable sink pdo for fusb302. Li Jun (5): usb: typec: tcpm: pdo matching optimization usb: typec: fusb302: remove max_snk_* for sink config dt-bindings: usb: fusb302: remove max-sink-* properties usb: typec: wcove: remove max_snk_* for sink config usb: typec: tcpm: remove max_snk_mv/ma/mw .../devicetree/bindings/usb/fcs,fusb302.txt | 6 -- drivers/usb/typec/fusb302/fusb302.c | 34 +++--- drivers/usb/typec/tcpm.c | 114 ++++++++++++--------- drivers/usb/typec/typec_wcove.c | 4 +- include/linux/usb/tcpm.h | 9 -- 5 files changed, 86 insertions(+), 81 deletions(-) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html