From: Stephen Boyd <sboyd@codeaurora.org>
To: Rob Clark <robdclark@gmail.com>
Cc: linux-arm-msm <linux-arm-msm@vger.kernel.org>,
Andy Gross <agross@codeaurora.org>
Subject: Re: [PATCH] Revert "arm64: dts: qcom: Collapse usb support into one node"
Date: Thu, 13 Jul 2017 15:02:31 -0700 [thread overview]
Message-ID: <20170713220231.GD22780@codeaurora.org> (raw)
In-Reply-To: <CAF6AEGte6tXrWPOKm4KXGPgGotf-37X5u=R_fX3XzEDf__S+ag@mail.gmail.com>
On 07/13, Rob Clark wrote:
> On Thu, Jul 13, 2017 at 2:09 AM, Stephen Boyd <sboyd@codeaurora.org> wrote:
> > Was device mode working on v4.12? I wonder if we could change
> > dr_mode to host and configure the pmic gpio to mux out the right
> > lines to the hub. Then we could retain host mode on db410c (which
> > is probably all that people care about). It would be a smaller
> > fix for this release while we work out the role switch patches.
> > Like this patch? I still need to test it tomorrow, but this may
> > work and allow us to delete the ehci-msm driver sooner.
>
> yup, was working on v4.12 so this patch that I reverted was a
> regression. At least for host mode. (I don't really use device mode
> much outside of android, so never tried that on v4.12, but it did work
> in the past)
Ok.
>
> I can try other patches.. although a bit wary of deleting ehci-msm or
> a big dt change in general since some people seem to think taking dt
> and kernel from two different places is a sane thing)
I'm fine to leave ehci-msm driver in place for anyone wanting to
use DT from somewhere outside the kernel, just hoping to push
anybody I can towards the chipidea driver, which is a cleaner
solution in the long run. It's scary that we have two usb drivers
operating the same hardware with the DT in v4.12.
I tested out my patch and it works well enough to get host mode
working for me so I'll send it out as a proper regression fix.
When we add role switching support we'll have to adjust the DT to
support it and people who care to gain support for gadgets can
use the updated DT.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
next prev parent reply other threads:[~2017-07-13 22:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-12 12:50 [PATCH] Revert "arm64: dts: qcom: Collapse usb support into one node" Rob Clark
2017-07-13 6:09 ` Stephen Boyd
2017-07-13 9:35 ` Rob Clark
2017-07-13 22:02 ` Stephen Boyd [this message]
2017-07-13 22:17 ` Rob Clark
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=20170713220231.GD22780@codeaurora.org \
--to=sboyd@codeaurora.org \
--cc=agross@codeaurora.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=robdclark@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.