From: Hans de Goede <hdegoede@redhat.com>
To: Jun Li <jun.li@nxp.com>,
"gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
"robh+dt@kernel.org" <robh+dt@kernel.org>,
"mark.rutland@arm.com" <mark.rutland@arm.com>,
"heikki.krogerus@linux.intel.com"
<heikki.krogerus@linux.intel.com>,
"linux@roeck-us.net" <linux@roeck-us.net>,
"rmfrfs@gmail.com" <rmfrfs@gmail.com>,
"yueyao.zhu@gmail.com" <yueyao.zhu@gmail.com>
Cc: "linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
dl-linux-imx <linux-imx@nxp.com>
Subject: Re: [PATCH 2/5] usb: typec: fusb302: remove max_snk_* for sink config
Date: Wed, 21 Mar 2018 13:16:06 +0100 [thread overview]
Message-ID: <96e2a4bd-3213-0abb-c47d-91727741c7f5@redhat.com> (raw)
In-Reply-To: <VI1PR0402MB391738D930AA33B26A53E96289AA0@VI1PR0402MB3917.eurprd04.prod.outlook.com>
Hi,
On 21-03-18 12:19, Jun Li wrote:
>
>> -----Original Message-----
>> From: Hans de Goede [mailto:hdegoede@redhat.com]
>> Sent: 2018年3月20日 20:29
>> To: Jun Li <jun.li@nxp.com>; gregkh@linuxfoundation.org;
>> robh+dt@kernel.org; mark.rutland@arm.com;
>> heikki.krogerus@linux.intel.com; linux@roeck-us.net; rmfrfs@gmail.com;
>> yueyao.zhu@gmail.com
>> Cc: linux-usb@vger.kernel.org; devicetree@vger.kernel.org; dl-linux-imx
>> <linux-imx@nxp.com>
>> Subject: Re: [PATCH 2/5] usb: typec: fusb302: remove max_snk_* for sink
>> config
>>
>> Hi,
>>
>> On 20-03-18 11:26, Li Jun wrote:
>>> Since max_snk_* is to be deprecated, so remove max_snk_* by adding a
>>> variable PDO for sink config.
>>
>> NACK there are actual users of the device-properties which you are now
>> breaking. As I mentioned in another thread, you need to instead add the pdo
>> array to the fusb302_chip struct (so that it is no longer
>> const) and generate a PDO_VAR pdo based on the device-properties.
>>
>
> OK, I did a search of those properties in dts dir of upstream kernel
> but didn't find any user of them,
Note that these properties are not accessed through the dt APIs but through the
generic device-properties API. And these are set as device-properties by the
driver instantiating the fusb302 i2c-client on (some) x86 boards:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/platform/x86/intel_cht_int33fe.c
> if there are actual of users, I will create
> a PDO_VAR pdo based on dt in v2.
Thank you.
Regards,
Hans
next prev parent reply other threads:[~2018-03-21 12:16 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-20 10:26 [PATCH 0/5] usb: typec: remove max_snk_* Li Jun
2018-03-20 10:26 ` [PATCH 1/5] usb: typec: tcpm: source pdo selection update Li Jun
2018-03-20 12:26 ` Hans de Goede
2018-03-21 11:13 ` Jun Li
2018-03-23 10:50 ` Jun Li
2018-03-20 10:26 ` [PATCH 2/5] usb: typec: fusb302: remove max_snk_* for sink config Li Jun
2018-03-20 12:29 ` Hans de Goede
2018-03-21 11:19 ` Jun Li
2018-03-21 12:16 ` Hans de Goede [this message]
2018-03-20 10:26 ` [PATCH 3/5] dt-bindings: usb: fusb302: remove max-sink-* properties Li Jun
2018-03-20 10:26 ` [PATCH 4/5] usb: typec: wcove: remove max_snk_* for sink config Li Jun
2018-03-20 10:26 ` [PATCH 5/5] usb: typec: tcpm: remove max_snk_mv/ma/mw Li Jun
2018-03-20 10:26 ` [PATCH 5/5] usb: typec: tcpm: remove max_snk_* Li Jun
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=96e2a4bd-3213-0abb-c47d-91727741c7f5@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).