From: Hans de Goede <hdegoede@redhat.com>
To: Li Jun <jun.li@nxp.com>,
gregkh@linuxfoundation.org, robh+dt@kernel.org,
mark.rutland@arm.com, heikki.krogerus@linux.intel.com
Cc: linux@roeck-us.net, rmfrfs@gmail.com, yueyao.zhu@gmail.com,
linux-usb@vger.kernel.org, devicetree@vger.kernel.org,
linux-imx@nxp.com
Subject: Re: [PATCH v2 0/5] usb: typec: remove max_snk_mv/ma/mw
Date: Tue, 3 Apr 2018 17:27:51 +0200 [thread overview]
Message-ID: <e7ca276c-df03-738f-7a66-5e589e20b040@redhat.com> (raw)
In-Reply-To: <1521817127-23061-1-git-send-email-jun.li@nxp.com>
Hi,
On 23-03-18 15:58, Li Jun wrote:
> 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.
>
> 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.
Thank you for the new version.
I've replied with some comments to patches 1 and 2, the other
3 patches look good to me.
Regards,
Hans
>
> 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 | 51 +++++---
> drivers/usb/typec/tcpm.c | 139 +++++++++++++--------
> drivers/usb/typec/typec_wcove.c | 4 +-
> include/linux/usb/tcpm.h | 9 --
> 5 files changed, 128 insertions(+), 81 deletions(-)
>
prev parent reply other threads:[~2018-04-03 15:27 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-23 14:58 [PATCH v2 0/5] usb: typec: remove max_snk_mv/ma/mw Li Jun
2018-03-23 14:58 ` [PATCH v2 1/5] usb: typec: tcpm: pdo matching optimization Li Jun
2018-04-03 15:17 ` Hans de Goede
2018-04-09 6:06 ` Jun Li
2018-03-23 14:58 ` [PATCH v2 2/5] usb: typec: fusb302: remove max_snk_* for sink config Li Jun
2018-04-03 15:25 ` Hans de Goede
2018-04-09 7:04 ` Jun Li
2018-04-04 12:06 ` Mats Karrman
2018-04-04 20:12 ` Hans de Goede
2018-04-09 9:03 ` Jun Li
2018-04-09 8:48 ` Jun Li
2018-03-23 14:58 ` [PATCH v2 3/5] dt-bindings: usb: fusb302: remove max-sink-* properties Li Jun
2018-03-26 22:25 ` Rob Herring
2018-03-23 14:58 ` [PATCH v2 4/5] usb: typec: wcove: remove max_snk_* for sink config Li Jun
2018-03-23 14:58 ` [PATCH v2 5/5] usb: typec: tcpm: remove max_snk_mv/ma/mw Li Jun
2018-04-03 15:27 ` Hans de Goede [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e7ca276c-df03-738f-7a66-5e589e20b040@redhat.com \
--to=hdegoede@redhat.com \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=heikki.krogerus@linux.intel.com \
--cc=jun.li@nxp.com \
--cc=linux-imx@nxp.com \
--cc=linux-usb@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=mark.rutland@arm.com \
--cc=rmfrfs@gmail.com \
--cc=robh+dt@kernel.org \
--cc=yueyao.zhu@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).