mbox series

[0/5] Updated qcom dts for new USB driver

Message ID 20170127004728.22490-1-stephen.boyd@linaro.org
Headers show
Series Updated qcom dts for new USB driver | expand

Message

Stephen Boyd Jan. 27, 2017, 12:47 a.m. UTC
This set of patches updates the existing usb chipidea bindings
for the newly merged usb driver. It allows us to move
away from the split ehci-msm and ci_hdrc_msm drivers, and unify
them with one chipidea driver.

I've left out HSIC, so it can be sent seperately.

Bird, Tim (1):
  ARM: dts: qcom: add charger otg regulator

Stephen Boyd (4):
  ARM: dts: qcom: Remove s4/5vs1,2 from RPM pm8941 control
  ARM: dts: qcom-msm8974: Add HS usb node and OTG detection mechanisms
  ARM: dts: qcom-apq8064: Collapse usb support into one node
  arm64: dts: qcom: Collapse usb support into one node

 .../arm/boot/dts/qcom-apq8064-arrow-sd-600eval.dts |  49 +++----
 arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts |  21 +--
 arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts        |  54 ++++---
 arch/arm/boot/dts/qcom-apq8064-ifc6410.dts         |  54 ++++---
 .../arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dts |  16 +--
 arch/arm/boot/dts/qcom-apq8064.dtsi                | 156 ++++++++++++---------
 arch/arm/boot/dts/qcom-apq8074-dragonboard.dts     |  20 +++
 .../boot/dts/qcom-msm8974-sony-xperia-honami.dts   |   1 -
 arch/arm/boot/dts/qcom-msm8974.dtsi                |  53 ++++++-
 arch/arm/boot/dts/qcom-pm8941.dtsi                 |  36 ++++-
 arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi          |  34 ++---
 arch/arm64/boot/dts/qcom/msm8916.dtsi              |  62 ++++----
 12 files changed, 321 insertions(+), 235 deletions(-)

-- 
2.10.0.297.gf6727b0

--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

John Stultz Feb. 28, 2017, 11:50 p.m. UTC | #1
On Thu, Jan 26, 2017 at 4:47 PM, Stephen Boyd <stephen.boyd@linaro.org> wrote:
> We currently have three device nodes for the same USB hardware

> block, as evident by the reuse of the same reg address multiple

> times. Now that the chipidea driver fully supports OTG with the

> MSM wrapper we can collapse the three nodes into one USB device

> node, reflecting the true nature of the hardware.

>

> Since we're here, we also mark the irq trigger flags correctly,

> as IRQ_TYPE_LEVEL_HIGH instead of IRQ_TYPE_NONE.

>

> Cc: Bjorn Andersson <bjorn.andersson@linaro.org>

> Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>

> Cc: Nicolas Dechesne <nicolas.dechesne@linaro.org>

> Cc: John Stultz <john.stultz@linaro.org>

> Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org>



Applies with noise now, but I was able to get USB working with this
and some changes to my config.

Hotplug still doesn't work, but that was the same situation before as
well, so I need to dig on that.

So..
Tested-by: John Stultz <john.stultz@linaro.org>


thanks
-john
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Bjorn Andersson May 24, 2017, 7:18 p.m. UTC | #2
On Thu 26 Jan 16:47 PST 2017, Stephen Boyd wrote:

> These regulators are controlled by the SPMI regulator driver

> instead of the RPM regulator driver in the downstream android

> kernel sources. Let's remove them from the DTS here because

> they'll never be used by the RPM regulator driver.

> 

> Cc: Bjorn Andersson <bjorn.andersson@linaro.org>


Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>


But the same vin_5vs-supply property can be found in
qcom-apq8074-dragonboard.dts, so that should probably also go.

Regards,
Bjorn

> Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org>

> ---

>  arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts | 1 -

>  arch/arm/boot/dts/qcom-msm8974.dtsi                   | 4 ----

>  2 files changed, 5 deletions(-)

> 

> diff --git a/arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts b/arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts

> index e7c1577d56f4..50966378f9e4 100644

> --- a/arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts

> +++ b/arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts

> @@ -92,7 +92,6 @@

>  					vdd_l9_l10_l17_l22-supply = <&vreg_boost>;

>  					vdd_l13_l20_l23_l24-supply = <&vreg_boost>;

>  					vdd_l21-supply = <&vreg_boost>;

> -					vin_5vs-supply = <&pm8941_5v>;

>  

>  					s1 {

>  						regulator-min-microvolt = <1300000>;

> diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi

> index 0e9bbede860d..6c167c031368 100644

> --- a/arch/arm/boot/dts/qcom-msm8974.dtsi

> +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi

> @@ -735,7 +735,6 @@

>  					pm8941_s1: s1 {};

>  					pm8941_s2: s2 {};

>  					pm8941_s3: s3 {};

> -					pm8941_5v: s4 {};

>  

>  					pm8941_l1: l1 {};

>  					pm8941_l2: l2 {};

> @@ -765,9 +764,6 @@

>  					pm8941_lvs1: lvs1 {};

>  					pm8941_lvs2: lvs2 {};

>  					pm8941_lvs3: lvs3 {};

> -

> -					pm8941_5vs1: 5vs1 {};

> -					pm8941_5vs2: 5vs2 {};

>  				};

>  			};

>  		};

> -- 

> 2.10.0.297.gf6727b0

> 

--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html