From: Sergei Shtylyov <sergei.shtylyov@gmail.com>
To: Heikki Krogerus <heikki.krogerus@linux.intel.com>,
Prashant Malani <pmalani@chromium.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Benson Leung <bleung@chromium.org>,
Tzung-Bi Shih <tzungbi@kernel.org>,
Guenter Roeck <groeck@chromium.org>,
Emilie Roberts <hadrosaur@google.com>,
"Nyman, Mathias" <mathias.nyman@intel.com>,
"Regupathy, Rajaram" <rajaram.regupathy@intel.com>,
"Radjacoumar, Shyam Sundar" <ssradjacoumar@google.com>,
Samuel Jacob <samjaco@google.com>,
linux-usb@vger.kernel.org, chrome-platform@lists.linux.dev,
linux-kernel@vger.kernel.org, Uday Bhat <uday.m.bhat@intel.com>
Subject: Re: [PATCH 2/2] platform/chrome: cros_ec_typec: Make sure the USB role switch has PLD
Date: Wed, 7 Feb 2024 22:14:54 +0300 [thread overview]
Message-ID: <338756c8-af83-c023-c5b7-757d57c76fa2@gmail.com> (raw)
In-Reply-To: <20240207145851.1603237-3-heikki.krogerus@linux.intel.com>
On 2/7/24 5:58 PM, Heikki Krogerus wrote:
> The USB role switch does not always have the _PLD (Physical
> Location of Device) in ACPI tables. If it's missing,
> assigning the PLD hash of the port to the switch. That
> should guarantee that the USB Type-C port mapping code is
> always able to find the connection between the two (the port
> and the switch).
>
> Tested-by: Uday Bhat <uday.m.bhat@intel.com>
> Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
> ---
> drivers/platform/chrome/cros_ec_typec.c | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/drivers/platform/chrome/cros_ec_typec.c b/drivers/platform/chrome/cros_ec_typec.c
> index 2b2f14a1b711..5c14e8db08b5 100644
> --- a/drivers/platform/chrome/cros_ec_typec.c
> +++ b/drivers/platform/chrome/cros_ec_typec.c
[...]
> @@ -66,6 +67,16 @@ static int cros_typec_parse_port_props(struct typec_capability *cap,
> cap->prefer_role = ret;
> }
>
> + /* Assing the USB role switch the correct pld_crc if it's missing. */
Doing what?! :-P Maybe assign?
[...]
MBR, Sergey
next prev parent reply other threads:[~2024-02-07 19:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-07 14:58 [PATCH 0/2] platform/chrome: typec: xHCI DbC Heikki Krogerus
2024-02-07 14:58 ` [PATCH 1/2] usb: roles: Link the switch to its connector Heikki Krogerus
2024-02-07 14:58 ` [PATCH 2/2] platform/chrome: cros_ec_typec: Make sure the USB role switch has PLD Heikki Krogerus
2024-02-07 19:14 ` Sergei Shtylyov [this message]
2024-02-07 22:52 ` kernel test robot
2024-02-08 4:07 ` kernel test robot
2024-02-08 9:12 ` Heikki Krogerus
2024-02-08 18:14 ` Prashant Malani
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=338756c8-af83-c023-c5b7-757d57c76fa2@gmail.com \
--to=sergei.shtylyov@gmail.com \
--cc=bleung@chromium.org \
--cc=chrome-platform@lists.linux.dev \
--cc=gregkh@linuxfoundation.org \
--cc=groeck@chromium.org \
--cc=hadrosaur@google.com \
--cc=heikki.krogerus@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mathias.nyman@intel.com \
--cc=pmalani@chromium.org \
--cc=rajaram.regupathy@intel.com \
--cc=samjaco@google.com \
--cc=ssradjacoumar@google.com \
--cc=tzungbi@kernel.org \
--cc=uday.m.bhat@intel.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