All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] usb: chipidea: msm: Clean and fix glue layer driver
@ 2014-02-18 13:21 ` Ivan T. Ivanov
  0 siblings, 0 replies; 38+ messages in thread
From: Ivan T. Ivanov @ 2014-02-18 13:21 UTC (permalink / raw)
  To: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	Rob Landley, Peter Chen, Grant Likely
  Cc: Ivan T. Ivanov, Greg Kroah-Hartman, David Brown,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-doc-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-usb-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-msm-u79uwXL29TY76Z2rM5mHXA

From: "Ivan T. Ivanov" <iivanov-NEYub+7Iv8PQT0dZR+AlfA@public.gmane.org>

Hi, 

This series intend to fix driver, which was broken for a while. 
It is used to create peripheral role device, which in coordination
with phy-usb-msm driver will provide USB2.0 gadget support for
Qualcomm targets.

Changes since initial version.

 - Address comments from Peter - better description of the changes.
 - Drop patch 4 - till USB PHY driver is ready 

Ivan T. Ivanov (3):
  usb: chipidea: msm: Add device tree binding information
  usb: chipidea: msm: Add device tree support
  usb: chipidea: msm: Initialize offset of the capability registers

 .../devicetree/bindings/usb/msm-hsusb.txt          |   17 ++++++++++++++
 drivers/usb/chipidea/ci_hdrc_msm.c                 |   24 +++++++++++++++++++-
 2 files changed, 40 insertions(+), 1 deletion(-)

-- 
1.7.9.5

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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [PATCH v2 0/3] usb: chipidea: msm: Clean and fix glue layer driver
@ 2014-02-18 13:21 ` Ivan T. Ivanov
  0 siblings, 0 replies; 38+ messages in thread
From: Ivan T. Ivanov @ 2014-02-18 13:21 UTC (permalink / raw)
  To: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	Rob Landley, Peter Chen, Grant Likely
  Cc: Ivan T. Ivanov, Greg Kroah-Hartman, David Brown, devicetree,
	linux-doc, linux-kernel, linux-usb, linux-arm-msm

From: "Ivan T. Ivanov" <iivanov@mm-sol.com>

Hi, 

This series intend to fix driver, which was broken for a while. 
It is used to create peripheral role device, which in coordination
with phy-usb-msm driver will provide USB2.0 gadget support for
Qualcomm targets.

Changes since initial version.

 - Address comments from Peter - better description of the changes.
 - Drop patch 4 - till USB PHY driver is ready 

Ivan T. Ivanov (3):
  usb: chipidea: msm: Add device tree binding information
  usb: chipidea: msm: Add device tree support
  usb: chipidea: msm: Initialize offset of the capability registers

 .../devicetree/bindings/usb/msm-hsusb.txt          |   17 ++++++++++++++
 drivers/usb/chipidea/ci_hdrc_msm.c                 |   24 +++++++++++++++++++-
 2 files changed, 40 insertions(+), 1 deletion(-)

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 38+ messages in thread

* [PATCH v2 1/3] usb: chipidea: msm: Add device tree binding information
  2014-02-18 13:21 ` Ivan T. Ivanov
  (?)
@ 2014-02-18 13:21 ` Ivan T. Ivanov
  2014-02-18 16:13   ` Josh Cartwright
  2014-02-18 21:26   ` Courtney Cavin
  -1 siblings, 2 replies; 38+ messages in thread
From: Ivan T. Ivanov @ 2014-02-18 13:21 UTC (permalink / raw)
  To: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	Rob Landley
  Cc: Ivan T. Ivanov, Greg Kroah-Hartman, David Brown, devicetree,
	linux-doc, linux-kernel, linux-arm-msm

From: "Ivan T. Ivanov" <iivanov@mm-sol.com>

Document device tree binding information as required by
the Qualcomm USB controller.

Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
---
 .../devicetree/bindings/usb/msm-hsusb.txt          |   17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/Documentation/devicetree/bindings/usb/msm-hsusb.txt b/Documentation/devicetree/bindings/usb/msm-hsusb.txt
index 5ea26c6..d4e7e41 100644
--- a/Documentation/devicetree/bindings/usb/msm-hsusb.txt
+++ b/Documentation/devicetree/bindings/usb/msm-hsusb.txt
@@ -15,3 +15,20 @@ Example EHCI controller device node:
 		usb-phy = <&usb_otg>;
 	};
 
+CI13xxx (Chipidea) USB controllers
+
+Required properties:
+- compatible:   should contain "qcom,ci-hdrc"
+- reg:          offset and length of the register set in the memory map
+- interrupts:   interrupt-specifier for the controller interrupt.
+- usb-phy:      phandle for the PHY device
+- dr_mode:      Sould be "peripheral"
+
+	gadget@f9a55000 {
+		compatible = "qcom,ci-hdrc";
+		reg = <0xf9a55000 0x400>;
+		dr_mode = "peripheral";
+		interrupts = <0 134 0>;
+		usb-phy = <&usb_otg>;
+	};
+
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 38+ messages in thread

* [PATCH v2 2/3] usb: chipidea: msm: Add device tree support
  2014-02-18 13:21 ` Ivan T. Ivanov
@ 2014-02-18 13:21     ` Ivan T. Ivanov
  -1 siblings, 0 replies; 38+ messages in thread
From: Ivan T. Ivanov @ 2014-02-18 13:21 UTC (permalink / raw)
  To: Peter Chen, Grant Likely, Rob Herring
  Cc: Ivan T. Ivanov, Greg Kroah-Hartman,
	linux-usb-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-msm-u79uwXL29TY76Z2rM5mHXA

From: "Ivan T. Ivanov" <iivanov-NEYub+7Iv8PQT0dZR+AlfA@public.gmane.org>

Allows controller to be specified via device tree.
Pass PHY phandle specified in DT to core driver.

Signed-off-by: Ivan T. Ivanov <iivanov-NEYub+7Iv8PQT0dZR+AlfA@public.gmane.org>
---
 drivers/usb/chipidea/ci_hdrc_msm.c |   23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/drivers/usb/chipidea/ci_hdrc_msm.c b/drivers/usb/chipidea/ci_hdrc_msm.c
index 2d51d85..3f67f1f 100644
--- a/drivers/usb/chipidea/ci_hdrc_msm.c
+++ b/drivers/usb/chipidea/ci_hdrc_msm.c
@@ -57,9 +57,21 @@ static struct ci_hdrc_platform_data ci_hdrc_msm_platdata = {
 static int ci_hdrc_msm_probe(struct platform_device *pdev)
 {
 	struct platform_device *plat_ci;
+	struct usb_phy *phy;
 
 	dev_dbg(&pdev->dev, "ci_hdrc_msm_probe\n");
 
+	/*
+	 * OTG(PHY) driver takes care of PHY initialization, clock management,
+	 * powering up VBUS, mapping of registers address space and power
+	 * management.
+	 */
+	phy = devm_usb_get_phy_by_phandle(&pdev->dev, "usb-phy", 0);
+	if (IS_ERR(phy))
+		return PTR_ERR(phy);
+
+	ci_hdrc_msm_platdata.phy = phy;
+
 	plat_ci = ci_hdrc_add_device(&pdev->dev,
 				pdev->resource, pdev->num_resources,
 				&ci_hdrc_msm_platdata);
@@ -86,10 +98,19 @@ static int ci_hdrc_msm_remove(struct platform_device *pdev)
 	return 0;
 }
 
+static struct of_device_id msm_ci_dt_match[] = {
+	{ .compatible = "qcom,ci-hdrc", },
+	{ }
+};
+MODULE_DEVICE_TABLE(of, msm_ci_dt_match);
+
 static struct platform_driver ci_hdrc_msm_driver = {
 	.probe = ci_hdrc_msm_probe,
 	.remove = ci_hdrc_msm_remove,
-	.driver = { .name = "msm_hsusb", },
+	.driver = {
+		.name = "msm_hsusb",
+		.of_match_table = msm_ci_dt_match,
+	},
 };
 
 module_platform_driver(ci_hdrc_msm_driver);
-- 
1.7.9.5

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

^ permalink raw reply related	[flat|nested] 38+ messages in thread

* [PATCH v2 2/3] usb: chipidea: msm: Add device tree support
@ 2014-02-18 13:21     ` Ivan T. Ivanov
  0 siblings, 0 replies; 38+ messages in thread
From: Ivan T. Ivanov @ 2014-02-18 13:21 UTC (permalink / raw)
  To: Peter Chen, Grant Likely, Rob Herring
  Cc: Ivan T. Ivanov, Greg Kroah-Hartman, linux-usb, linux-kernel,
	devicetree, linux-arm-msm

From: "Ivan T. Ivanov" <iivanov@mm-sol.com>

Allows controller to be specified via device tree.
Pass PHY phandle specified in DT to core driver.

Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
---
 drivers/usb/chipidea/ci_hdrc_msm.c |   23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/drivers/usb/chipidea/ci_hdrc_msm.c b/drivers/usb/chipidea/ci_hdrc_msm.c
index 2d51d85..3f67f1f 100644
--- a/drivers/usb/chipidea/ci_hdrc_msm.c
+++ b/drivers/usb/chipidea/ci_hdrc_msm.c
@@ -57,9 +57,21 @@ static struct ci_hdrc_platform_data ci_hdrc_msm_platdata = {
 static int ci_hdrc_msm_probe(struct platform_device *pdev)
 {
 	struct platform_device *plat_ci;
+	struct usb_phy *phy;
 
 	dev_dbg(&pdev->dev, "ci_hdrc_msm_probe\n");
 
+	/*
+	 * OTG(PHY) driver takes care of PHY initialization, clock management,
+	 * powering up VBUS, mapping of registers address space and power
+	 * management.
+	 */
+	phy = devm_usb_get_phy_by_phandle(&pdev->dev, "usb-phy", 0);
+	if (IS_ERR(phy))
+		return PTR_ERR(phy);
+
+	ci_hdrc_msm_platdata.phy = phy;
+
 	plat_ci = ci_hdrc_add_device(&pdev->dev,
 				pdev->resource, pdev->num_resources,
 				&ci_hdrc_msm_platdata);
@@ -86,10 +98,19 @@ static int ci_hdrc_msm_remove(struct platform_device *pdev)
 	return 0;
 }
 
+static struct of_device_id msm_ci_dt_match[] = {
+	{ .compatible = "qcom,ci-hdrc", },
+	{ }
+};
+MODULE_DEVICE_TABLE(of, msm_ci_dt_match);
+
 static struct platform_driver ci_hdrc_msm_driver = {
 	.probe = ci_hdrc_msm_probe,
 	.remove = ci_hdrc_msm_remove,
-	.driver = { .name = "msm_hsusb", },
+	.driver = {
+		.name = "msm_hsusb",
+		.of_match_table = msm_ci_dt_match,
+	},
 };
 
 module_platform_driver(ci_hdrc_msm_driver);
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 38+ messages in thread

* [PATCH v2 3/3] usb: chipidea: msm: Initialize offset of the capability registers
  2014-02-18 13:21 ` Ivan T. Ivanov
                   ` (2 preceding siblings ...)
  (?)
@ 2014-02-18 13:21 ` Ivan T. Ivanov
  -1 siblings, 0 replies; 38+ messages in thread
From: Ivan T. Ivanov @ 2014-02-18 13:21 UTC (permalink / raw)
  To: Peter Chen
  Cc: Ivan T. Ivanov, Greg Kroah-Hartman, linux-usb, linux-kernel,
	linux-arm-msm

From: "Ivan T. Ivanov" <iivanov@mm-sol.com>

Since commit 62bb84e (usb: gadget: ci13xxx: convert to platform device)
start address of the capability registers is not passed correctly to
udc_probe(). Fix this.

Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
---
 drivers/usb/chipidea/ci_hdrc_msm.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/chipidea/ci_hdrc_msm.c b/drivers/usb/chipidea/ci_hdrc_msm.c
index 3f67f1f..7ed3fad 100644
--- a/drivers/usb/chipidea/ci_hdrc_msm.c
+++ b/drivers/usb/chipidea/ci_hdrc_msm.c
@@ -47,6 +47,7 @@ static void ci_hdrc_msm_notify_event(struct ci_hdrc *ci, unsigned event)
 
 static struct ci_hdrc_platform_data ci_hdrc_msm_platdata = {
 	.name			= "ci_hdrc_msm",
+	.capoffset		= DEF_CAPOFFSET,
 	.flags			= CI_HDRC_REGS_SHARED |
 				  CI_HDRC_REQUIRE_TRANSCEIVER |
 				  CI_HDRC_DISABLE_STREAMING,
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 38+ messages in thread

* Re: [PATCH v2 2/3] usb: chipidea: msm: Add device tree support
  2014-02-18 13:21     ` Ivan T. Ivanov
  (?)
@ 2014-02-18 14:08     ` Josh Cartwright
  2014-02-18 17:14       ` Ivan T. Ivanov
  -1 siblings, 1 reply; 38+ messages in thread
From: Josh Cartwright @ 2014-02-18 14:08 UTC (permalink / raw)
  To: Ivan T. Ivanov
  Cc: Peter Chen, Grant Likely, Rob Herring, Greg Kroah-Hartman,
	linux-usb, linux-kernel, devicetree, linux-arm-msm

Hey Ivan-

Nit below.

On Tue, Feb 18, 2014 at 03:21:20PM +0200, Ivan T. Ivanov wrote:
> From: "Ivan T. Ivanov" <iivanov@mm-sol.com>
> 
> Allows controller to be specified via device tree.
> Pass PHY phandle specified in DT to core driver.
> 
> Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
> ---
>  drivers/usb/chipidea/ci_hdrc_msm.c |   23 ++++++++++++++++++++++-
>  1 file changed, 22 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/usb/chipidea/ci_hdrc_msm.c b/drivers/usb/chipidea/ci_hdrc_msm.c
> index 2d51d85..3f67f1f 100644
> --- a/drivers/usb/chipidea/ci_hdrc_msm.c
> +++ b/drivers/usb/chipidea/ci_hdrc_msm.c
> @@ -57,9 +57,21 @@ static struct ci_hdrc_platform_data ci_hdrc_msm_platdata = {
>  static int ci_hdrc_msm_probe(struct platform_device *pdev)
>  {
>  	struct platform_device *plat_ci;
> +	struct usb_phy *phy;
>  
>  	dev_dbg(&pdev->dev, "ci_hdrc_msm_probe\n");
>  
> +	/*
> +	 * OTG(PHY) driver takes care of PHY initialization, clock management,
> +	 * powering up VBUS, mapping of registers address space and power
> +	 * management.
> +	 */
> +	phy = devm_usb_get_phy_by_phandle(&pdev->dev, "usb-phy", 0);
> +	if (IS_ERR(phy))
> +		return PTR_ERR(phy);
> +
> +	ci_hdrc_msm_platdata.phy = phy;
> +
>  	plat_ci = ci_hdrc_add_device(&pdev->dev,
>  				pdev->resource, pdev->num_resources,
>  				&ci_hdrc_msm_platdata);
> @@ -86,10 +98,19 @@ static int ci_hdrc_msm_remove(struct platform_device *pdev)
>  	return 0;
>  }
>  
> +static struct of_device_id msm_ci_dt_match[] = {

const?

> +	{ .compatible = "qcom,ci-hdrc", },
> +	{ }
> +};
> +MODULE_DEVICE_TABLE(of, msm_ci_dt_match);

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PATCH v2 1/3] usb: chipidea: msm: Add device tree binding information
  2014-02-18 13:21 ` [PATCH v2 1/3] usb: chipidea: msm: Add device tree binding information Ivan T. Ivanov
@ 2014-02-18 16:13   ` Josh Cartwright
  2014-02-18 17:27     ` Ivan T. Ivanov
  2014-02-18 21:26   ` Courtney Cavin
  1 sibling, 1 reply; 38+ messages in thread
From: Josh Cartwright @ 2014-02-18 16:13 UTC (permalink / raw)
  To: Ivan T. Ivanov
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	Rob Landley, Greg Kroah-Hartman, David Brown, devicetree,
	linux-doc, linux-kernel, linux-arm-msm

On Tue, Feb 18, 2014 at 03:21:19PM +0200, Ivan T. Ivanov wrote:
> From: "Ivan T. Ivanov" <iivanov@mm-sol.com>
> 
> Document device tree binding information as required by
> the Qualcomm USB controller.
> 
> Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
> ---
>  .../devicetree/bindings/usb/msm-hsusb.txt          |   17 +++++++++++++++++

Is this really the appropriate place to document this?  It seems like
this binding doc should be merged with the i.MX ci13xxx binding in a
common ci13xxx doc.

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PATCH v2 2/3] usb: chipidea: msm: Add device tree support
  2014-02-18 17:53         ` Sergei Shtylyov
@ 2014-02-18 17:14             ` Ivan T. Ivanov
  -1 siblings, 0 replies; 38+ messages in thread
From: Ivan T. Ivanov @ 2014-02-18 17:14 UTC (permalink / raw)
  To: Sergei Shtylyov
  Cc: Peter Chen, Grant Likely, Rob Herring, Greg Kroah-Hartman,
	linux-usb-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-msm-u79uwXL29TY76Z2rM5mHXA


Hi, 

On Tue, 2014-02-18 at 20:53 +0300, Sergei Shtylyov wrote: 
> Hello.
> 
> On 02/18/2014 04:21 PM, Ivan T. Ivanov wrote:
> 
> > From: "Ivan T. Ivanov" <iivanov-NEYub+7Iv8PQT0dZR+AlfA@public.gmane.org>
> 
> > Allows controller to be specified via device tree.
> > Pass PHY phandle specified in DT to core driver.
> 
> > Signed-off-by: Ivan T. Ivanov <iivanov-NEYub+7Iv8PQT0dZR+AlfA@public.gmane.org>
> > ---
> >   drivers/usb/chipidea/ci_hdrc_msm.c |   23 ++++++++++++++++++++++-
> >   1 file changed, 22 insertions(+), 1 deletion(-)
> 
>     You also need to describe the binding you're creating in 
> Documentation/devicetree/bindings/usb/<file>.txt.

Did you check "[PATCH v2 1/3]"?

Regards,
Ivan

> 
> WBR, Sergei
> 


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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PATCH v2 2/3] usb: chipidea: msm: Add device tree support
@ 2014-02-18 17:14             ` Ivan T. Ivanov
  0 siblings, 0 replies; 38+ messages in thread
From: Ivan T. Ivanov @ 2014-02-18 17:14 UTC (permalink / raw)
  To: Sergei Shtylyov
  Cc: Peter Chen, Grant Likely, Rob Herring, Greg Kroah-Hartman,
	linux-usb, linux-kernel, devicetree, linux-arm-msm


Hi, 

On Tue, 2014-02-18 at 20:53 +0300, Sergei Shtylyov wrote: 
> Hello.
> 
> On 02/18/2014 04:21 PM, Ivan T. Ivanov wrote:
> 
> > From: "Ivan T. Ivanov" <iivanov@mm-sol.com>
> 
> > Allows controller to be specified via device tree.
> > Pass PHY phandle specified in DT to core driver.
> 
> > Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
> > ---
> >   drivers/usb/chipidea/ci_hdrc_msm.c |   23 ++++++++++++++++++++++-
> >   1 file changed, 22 insertions(+), 1 deletion(-)
> 
>     You also need to describe the binding you're creating in 
> Documentation/devicetree/bindings/usb/<file>.txt.

Did you check "[PATCH v2 1/3]"?

Regards,
Ivan

> 
> WBR, Sergei
> 



^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PATCH v2 2/3] usb: chipidea: msm: Add device tree support
  2014-02-18 14:08     ` Josh Cartwright
@ 2014-02-18 17:14       ` Ivan T. Ivanov
  0 siblings, 0 replies; 38+ messages in thread
From: Ivan T. Ivanov @ 2014-02-18 17:14 UTC (permalink / raw)
  To: Josh Cartwright
  Cc: Peter Chen, Grant Likely, Rob Herring, Greg Kroah-Hartman,
	linux-usb, linux-kernel, devicetree, linux-arm-msm

On Tue, 2014-02-18 at 08:08 -0600, Josh Cartwright wrote: 
> Hey Ivan-
> 
> Nit below.
> 
> On Tue, Feb 18, 2014 at 03:21:20PM +0200, Ivan T. Ivanov wrote:

> >  
> > +static struct of_device_id msm_ci_dt_match[] = {
> 
> const?
> 

Thanks, will do.

Regards,
Ivan

> > +	{ .compatible = "qcom,ci-hdrc", },
> > +	{ }
> > +};
> > +MODULE_DEVICE_TABLE(of, msm_ci_dt_match);
> 

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PATCH v2 1/3] usb: chipidea: msm: Add device tree binding information
  2014-02-18 16:13   ` Josh Cartwright
@ 2014-02-18 17:27     ` Ivan T. Ivanov
  2014-02-18 19:07       ` Josh Cartwright
  0 siblings, 1 reply; 38+ messages in thread
From: Ivan T. Ivanov @ 2014-02-18 17:27 UTC (permalink / raw)
  To: Josh Cartwright
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	Rob Landley, Greg Kroah-Hartman, David Brown, devicetree,
	linux-doc, linux-kernel, linux-arm-msm


Hi, 

On Tue, 2014-02-18 at 10:13 -0600, Josh Cartwright wrote: 
> On Tue, Feb 18, 2014 at 03:21:19PM +0200, Ivan T. Ivanov wrote:
> > From: "Ivan T. Ivanov" <iivanov@mm-sol.com>
> > 
> > Document device tree binding information as required by
> > the Qualcomm USB controller.
> > 
> > Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
> > ---
> >  .../devicetree/bindings/usb/msm-hsusb.txt          |   17 +++++++++++++++++
> 
> Is this really the appropriate place to document this?  It seems like
> this binding doc should be merged with the i.MX ci13xxx binding in a
> common ci13xxx doc.
> 

This driver is a "glue" layer driver which control Qualcomm 
specific logic around Chipidea IP core. It is supposed to 
hold "non standard" Chipidea properties, but I suppose that
ci-hdrc-qcom.txt will be better name and will be similar to 
i.MX chosen name.


What do you think?

Regards,
Ivan

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PATCH v2 2/3] usb: chipidea: msm: Add device tree support
  2014-02-18 13:21     ` Ivan T. Ivanov
@ 2014-02-18 17:53         ` Sergei Shtylyov
  -1 siblings, 0 replies; 38+ messages in thread
From: Sergei Shtylyov @ 2014-02-18 17:53 UTC (permalink / raw)
  To: Ivan T. Ivanov, Peter Chen, Grant Likely, Rob Herring
  Cc: Greg Kroah-Hartman, linux-usb-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-msm-u79uwXL29TY76Z2rM5mHXA

Hello.

On 02/18/2014 04:21 PM, Ivan T. Ivanov wrote:

> From: "Ivan T. Ivanov" <iivanov-NEYub+7Iv8PQT0dZR+AlfA@public.gmane.org>

> Allows controller to be specified via device tree.
> Pass PHY phandle specified in DT to core driver.

> Signed-off-by: Ivan T. Ivanov <iivanov-NEYub+7Iv8PQT0dZR+AlfA@public.gmane.org>
> ---
>   drivers/usb/chipidea/ci_hdrc_msm.c |   23 ++++++++++++++++++++++-
>   1 file changed, 22 insertions(+), 1 deletion(-)

    You also need to describe the binding you're creating in 
Documentation/devicetree/bindings/usb/<file>.txt.

WBR, Sergei

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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PATCH v2 2/3] usb: chipidea: msm: Add device tree support
@ 2014-02-18 17:53         ` Sergei Shtylyov
  0 siblings, 0 replies; 38+ messages in thread
From: Sergei Shtylyov @ 2014-02-18 17:53 UTC (permalink / raw)
  To: Ivan T. Ivanov, Peter Chen, Grant Likely, Rob Herring
  Cc: Greg Kroah-Hartman, linux-usb, linux-kernel, devicetree, linux-arm-msm

Hello.

On 02/18/2014 04:21 PM, Ivan T. Ivanov wrote:

> From: "Ivan T. Ivanov" <iivanov@mm-sol.com>

> Allows controller to be specified via device tree.
> Pass PHY phandle specified in DT to core driver.

> Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
> ---
>   drivers/usb/chipidea/ci_hdrc_msm.c |   23 ++++++++++++++++++++++-
>   1 file changed, 22 insertions(+), 1 deletion(-)

    You also need to describe the binding you're creating in 
Documentation/devicetree/bindings/usb/<file>.txt.

WBR, Sergei


^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PATCH v2 2/3] usb: chipidea: msm: Add device tree support
  2014-02-18 17:14             ` Ivan T. Ivanov
  (?)
@ 2014-02-18 18:31             ` Sergei Shtylyov
       [not found]               ` <5303A71B.7060208-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
  -1 siblings, 1 reply; 38+ messages in thread
From: Sergei Shtylyov @ 2014-02-18 18:31 UTC (permalink / raw)
  To: Ivan T. Ivanov
  Cc: Peter Chen, Grant Likely, Rob Herring, Greg Kroah-Hartman,
	linux-usb, linux-kernel, devicetree, linux-arm-msm

On 02/18/2014 08:14 PM, Ivan T. Ivanov wrote:

>>> From: "Ivan T. Ivanov" <iivanov@mm-sol.com>

>>> Allows controller to be specified via device tree.
>>> Pass PHY phandle specified in DT to core driver.

>>> Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
>>> ---
>>>    drivers/usb/chipidea/ci_hdrc_msm.c |   23 ++++++++++++++++++++++-
>>>    1 file changed, 22 insertions(+), 1 deletion(-)

>>      You also need to describe the binding you're creating in
>> Documentation/devicetree/bindings/usb/<file>.txt.

> Did you check "[PATCH v2 1/3]"?

    Did you send it to 'linux-usb'? I just didn't get the patch.
(Typically, the bindings are described in the same patch the DT support is 
added to the driver bu YMMV, of course.)

> Regards,
> Ivan

WBR, Sergei

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PATCH v2 1/3] usb: chipidea: msm: Add device tree binding information
  2014-02-18 17:27     ` Ivan T. Ivanov
@ 2014-02-18 19:07       ` Josh Cartwright
  0 siblings, 0 replies; 38+ messages in thread
From: Josh Cartwright @ 2014-02-18 19:07 UTC (permalink / raw)
  To: Ivan T. Ivanov
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	Rob Landley, Greg Kroah-Hartman, David Brown, devicetree,
	linux-doc, linux-kernel, linux-arm-msm

On Tue, Feb 18, 2014 at 07:27:00PM +0200, Ivan T. Ivanov wrote:
> On Tue, 2014-02-18 at 10:13 -0600, Josh Cartwright wrote: 
> > On Tue, Feb 18, 2014 at 03:21:19PM +0200, Ivan T. Ivanov wrote:
> > >  .../devicetree/bindings/usb/msm-hsusb.txt          |   17 +++++++++++++++++
> > 
> > Is this really the appropriate place to document this?  It seems like
> > this binding doc should be merged with the i.MX ci13xxx binding in a
> > common ci13xxx doc.
> > 
>
> This driver is a "glue" layer driver which control Qualcomm 
> specific logic around Chipidea IP core. It is supposed to 
> hold "non standard" Chipidea properties, but I suppose that
> ci-hdrc-qcom.txt will be better name and will be similar to 
> i.MX chosen name.
>
> What do you think?

Sounds like an improvement to me.

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PATCH v2 1/3] usb: chipidea: msm: Add device tree binding information
  2014-02-18 13:21 ` [PATCH v2 1/3] usb: chipidea: msm: Add device tree binding information Ivan T. Ivanov
  2014-02-18 16:13   ` Josh Cartwright
@ 2014-02-18 21:26   ` Courtney Cavin
  2014-02-19 15:43     ` Ivan T. Ivanov
  1 sibling, 1 reply; 38+ messages in thread
From: Courtney Cavin @ 2014-02-18 21:26 UTC (permalink / raw)
  To: Ivan T. Ivanov
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	Rob Landley, Greg Kroah-Hartman, David Brown, devicetree,
	linux-doc, linux-kernel, linux-arm-msm

On Tue, Feb 18, 2014 at 02:21:19PM +0100, Ivan T. Ivanov wrote:
> From: "Ivan T. Ivanov" <iivanov@mm-sol.com>
> 
> Document device tree binding information as required by
> the Qualcomm USB controller.
> 
> Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
> ---
>  .../devicetree/bindings/usb/msm-hsusb.txt          |   17 +++++++++++++++++

Although you mentioned to Josh that this is intended for "non-standard"
Chipidea properties, I don't see any other than requiring that 'dr_mode'
must be "peripheral".  It would seem that this should all be integrated
into a ci3xxx.txt.

>  1 file changed, 17 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/usb/msm-hsusb.txt b/Documentation/devicetree/bindings/usb/msm-hsusb.txt
> index 5ea26c6..d4e7e41 100644
> --- a/Documentation/devicetree/bindings/usb/msm-hsusb.txt
> +++ b/Documentation/devicetree/bindings/usb/msm-hsusb.txt
> @@ -15,3 +15,20 @@ Example EHCI controller device node:
>  		usb-phy = <&usb_otg>;
>  	};
>  
> +CI13xxx (Chipidea) USB controllers
> +
> +Required properties:
> +- compatible:   should contain "qcom,ci-hdrc"

Is there nothing more specific you could put here?  Maybe a hardware
revision, or something?

> +- reg:          offset and length of the register set in the memory map
> +- interrupts:   interrupt-specifier for the controller interrupt.
> +- usb-phy:      phandle for the PHY device
> +- dr_mode:      Sould be "peripheral"

s/Sould/should/

-Courtney

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PATCH v2 2/3] usb: chipidea: msm: Add device tree support
  2014-02-18 18:31             ` Sergei Shtylyov
@ 2014-02-18 21:34                   ` Courtney Cavin
  0 siblings, 0 replies; 38+ messages in thread
From: Courtney Cavin @ 2014-02-18 21:34 UTC (permalink / raw)
  To: Sergei Shtylyov
  Cc: Ivan T. Ivanov, Peter Chen, Grant Likely, Rob Herring,
	Greg Kroah-Hartman, linux-usb-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-msm-u79uwXL29TY76Z2rM5mHXA

On Tue, Feb 18, 2014 at 07:31:55PM +0100, Sergei Shtylyov wrote:
> On 02/18/2014 08:14 PM, Ivan T. Ivanov wrote:
> 
> >>> From: "Ivan T. Ivanov" <iivanov-NEYub+7Iv8PQT0dZR+AlfA@public.gmane.org>
> 
> >>> Allows controller to be specified via device tree.
> >>> Pass PHY phandle specified in DT to core driver.
> 
> >>> Signed-off-by: Ivan T. Ivanov <iivanov-NEYub+7Iv8PQT0dZR+AlfA@public.gmane.org>
> >>> ---
> >>>    drivers/usb/chipidea/ci_hdrc_msm.c |   23 ++++++++++++++++++++++-
> >>>    1 file changed, 22 insertions(+), 1 deletion(-)
> 
> >>      You also need to describe the binding you're creating in
> >> Documentation/devicetree/bindings/usb/<file>.txt.
> 
> > Did you check "[PATCH v2 1/3]"?
> 
>     Did you send it to 'linux-usb'? I just didn't get the patch.
> (Typically, the bindings are described in the same patch the DT support is 
> added to the driver bu YMMV, of course.)

Although I would personally agree that this is the most logical method,
it would appear that the DT guys disagree with us [1].  Lately, they
seem to have either given up or are otherwise preoccupied, so perhaps
you can still slip a few patches by them. ;)

-Courtney

[1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/submitting-patches.txt
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PATCH v2 2/3] usb: chipidea: msm: Add device tree support
@ 2014-02-18 21:34                   ` Courtney Cavin
  0 siblings, 0 replies; 38+ messages in thread
From: Courtney Cavin @ 2014-02-18 21:34 UTC (permalink / raw)
  To: Sergei Shtylyov
  Cc: Ivan T. Ivanov, Peter Chen, Grant Likely, Rob Herring,
	Greg Kroah-Hartman, linux-usb, linux-kernel, devicetree,
	linux-arm-msm

On Tue, Feb 18, 2014 at 07:31:55PM +0100, Sergei Shtylyov wrote:
> On 02/18/2014 08:14 PM, Ivan T. Ivanov wrote:
> 
> >>> From: "Ivan T. Ivanov" <iivanov@mm-sol.com>
> 
> >>> Allows controller to be specified via device tree.
> >>> Pass PHY phandle specified in DT to core driver.
> 
> >>> Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
> >>> ---
> >>>    drivers/usb/chipidea/ci_hdrc_msm.c |   23 ++++++++++++++++++++++-
> >>>    1 file changed, 22 insertions(+), 1 deletion(-)
> 
> >>      You also need to describe the binding you're creating in
> >> Documentation/devicetree/bindings/usb/<file>.txt.
> 
> > Did you check "[PATCH v2 1/3]"?
> 
>     Did you send it to 'linux-usb'? I just didn't get the patch.
> (Typically, the bindings are described in the same patch the DT support is 
> added to the driver bu YMMV, of course.)

Although I would personally agree that this is the most logical method,
it would appear that the DT guys disagree with us [1].  Lately, they
seem to have either given up or are otherwise preoccupied, so perhaps
you can still slip a few patches by them. ;)

-Courtney

[1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/submitting-patches.txt

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PATCH v2 2/3] usb: chipidea: msm: Add device tree support
  2014-02-18 21:34                   ` Courtney Cavin
  (?)
@ 2014-02-18 23:32                   ` Sergei Shtylyov
  -1 siblings, 0 replies; 38+ messages in thread
From: Sergei Shtylyov @ 2014-02-18 23:32 UTC (permalink / raw)
  To: Courtney Cavin
  Cc: Ivan T. Ivanov, Peter Chen, Grant Likely, Rob Herring,
	Greg Kroah-Hartman, linux-usb, linux-kernel, devicetree,
	linux-arm-msm

Hello.

On 02/19/2014 12:34 AM, Courtney Cavin wrote:

>>>>> From: "Ivan T. Ivanov" <iivanov@mm-sol.com>

>>>>> Allows controller to be specified via device tree.
>>>>> Pass PHY phandle specified in DT to core driver.

>>>>> Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
>>>>> ---
>>>>>     drivers/usb/chipidea/ci_hdrc_msm.c |   23 ++++++++++++++++++++++-
>>>>>     1 file changed, 22 insertions(+), 1 deletion(-)

>>>>       You also need to describe the binding you're creating in
>>>> Documentation/devicetree/bindings/usb/<file>.txt.

>>> Did you check "[PATCH v2 1/3]"?

>>      Did you send it to 'linux-usb'? I just didn't get the patch.
>> (Typically, the bindings are described in the same patch the DT support is
>> added to the driver bu YMMV, of course.)

> Although I would personally agree that this is the most logical method,
> it would appear that the DT guys disagree with us [1].  Lately, they

    Thank you for the reference.

> seem to have either given up or are otherwise preoccupied, so perhaps
> you can still slip a few patches by them. ;)

    Yeah, I was at last able to get my Ethernet driver bindings applied. :-)

> -Courtney

> [1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/submitting-patches.txt

WBR, Sergei

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PATCH v2 0/3] usb: chipidea: msm: Clean and fix glue layer driver
  2014-02-18 13:21 ` Ivan T. Ivanov
                   ` (3 preceding siblings ...)
  (?)
@ 2014-02-19  6:21 ` Tim Bird
  2014-02-19 10:32   ` Ivan T. Ivanov
  2014-02-19 14:58   ` Ivan T. Ivanov
  -1 siblings, 2 replies; 38+ messages in thread
From: Tim Bird @ 2014-02-19  6:21 UTC (permalink / raw)
  To: Ivan T. Ivanov
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	Rob Landley, Peter Chen, Grant Likely, Greg Kroah-Hartman,
	David Brown, devicetree, Linux Kernel Mailing List, linux-usb,
	linux-arm-msm

Ivan,

I'm having tremendous problems getting this driver to initialize.  For
some reason, I can't get the driver to actually transition the
hardware into peripheral mode.  At first I was getting a lot of probe
deferrals, based on not finding the regulators early enough in the
boot, and I thought it was an issue with the gadget drivers loading
before the driver could complete its setup.  However, I switched
everything to loading via modules, and now have less probe deferrals,
but I still can't get the driver to activate.  I see zero interrupts.
In particular the routine hw_device_state (which turns on interrupts
in the controller) is never called, because I can't get
msm_otg_start_peripheral to actually kick the hardware.

I've sprinkled the code in drivers/usb/chipidea and
drivers/usb/phy/phy-msm-usb.c liberally with printks and WARNs to help
me see what's going on, but I'm having a hard time tracing it down.
I'm pretty sure I've got the DTS correct, but my USB config might not
match yours.  (Would you mind sharing your config?).

I tried configuring the qcom,otg-control for user controlled mode
setting (via debugfs), and even with doing "echo "peripheral"
>/sys/kernel/debug/msm_otg/mode, it just wouldn't start the hardware
(call hw_device_state(...1)).

Any ideas you can provide would be welcome (e.g. for things to try,
look at, etc.)

My kernel is based on an internal Sony 3.13-rc6 kernel with clock and
regulator patches applied, as well as your phy-msm-usb.c patches from
November and your chipidea patches from yesterday.

Thanks,
 -- Tim


In the printk dump below,
  UBTO=udc_bind_to_driver
  CIS=ci_udc_start
  MOSP=msm_otg_set_peripheral
  MOSW=msm_otg_sm_work

[10] platform_init()
[10] target_init()
[10] Display Init: Start
[10] display_init(),target_id=10.
[30] Config MIPI_VIDEO_PANEL.
[30] Turn on MIPI_VIDEO_PANEL.
[50] Video lane tested successfully
[50] Display Init: Done
[70] partition misc doesn't exist
[80] error in emmc_recovery_init
[80] No 'misc' partition found
[80] Error reading MISC partition
[80] failed to get ffbm cookie[90] use_signed_kernel=1, is_unlocked=0,
is_tampered=1.
[90] Loading boot image (7829504): start
[550] Loading boot image (7829504): done
[550] Found Appeneded Flattened Device tree
[550] cmdline: console=ttyMSM,115200,n8 androidboot.hardware=qcom
user_debug=31 maxcpus=2 msm_rtb.filter=0x37 ehci-hcd.park=3 earl
yprintk debug androidboot.emmc=true androidboot.serialno=40081a14
androidboot.baseband=apq
[570] Updating device tree: start
[570] Updating device tree: done
[580] booting linux @ 0x8000, ramdisk @ 0x2000000 (4234892),
tags/device tree @ 0x1e00000
[580] Turn off MIPI_VIDEO_PANEL.
[580] Continuous splash enabled, keeping panel alive.
Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] TRB: version 88888
[    0.000000] Linux version 3.13.0-rc6-00147-g00bb56a-dirty
(10102229@ussvlx8980) (gcc version 4.6.x-google 20120106 (prerelease)
 (GCC) ) #40 SMP PREEMPT Tue Feb 18 19:24:12 PST 2014
[    0.000000] CPU: ARMv7 Processor [512f06f0] revision 0 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] Machine model: Qualcomm APQ8074 Dragonboard
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 524288
[    0.000000] free_area_init_node: node 0, pgdat c0908d80,
node_mem_map c0980000
[    0.000000]   Normal zone: 1520 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 194560 pages, LIFO batch:31
[    0.000000]   HighMem zone: 2576 pages used for memmap
[    0.000000]   HighMem zone: 329728 pages, LIFO batch:31
[    0.000000] PERCPU: Embedded 8 pages/cpu @c1993000 s12224 r8192 d12352 u32768
[    0.000000] pcpu-alloc: s12224 r8192 d12352 u32768 alloc=8*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 522768
[    0.000000] Kernel command line: console=ttyMSM,115200,n8
androidboot.hardware=qcom user_debug=31 maxcpus=2 msm_rtb.filter=0x37
 ehci-hcd.park=3 earlyprintk debug androidboot.emmc=true
androidboot.serialno=40081a14 androidboot.baseband=apq
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 2067932K/2097152K available (4734K kernel code,
262K rwdata, 1912K rodata, 287K init, 446K bss, 29220K rese
rved, 1318912K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0208000 - 0xc0885ddc   (6648 kB)
[    0.000000]       .init : 0xc0886000 - 0xc08cdfc0   ( 288 kB)
[    0.000000]       .data : 0xc08ce000 - 0xc090fa2c   ( 263 kB)
[    0.000000]        .bss : 0xc090fa2c - 0xc097f41c   ( 447 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] Architected cp15 and mmio timer(s) running at 19.20MHz
(virt/virt).
[    0.000000] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps
every 3579139424256ns
[    0.000000] Switching to timer-based delay loop
[    0.000000] Console: colour dummy device 80x30
[    0.009136] Calibrating delay loop (skipped), value calculated
using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.019534] pid_max: default: 32768 minimum: 301
[    0.024381] Mount-cache hash table entries: 512
[    0.029531] CPU: Testing write buffer coherency: ok
[    0.033968] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.039532] Setting up static identity map for 0x67ea90 - 0x67eae8
[    0.119863] CPU1: failed to boot: -38
[    0.139882] CPU2: failed to boot: -38
[    0.159917] CPU3: failed to boot: -38
[    0.162642] Brought up 1 CPUs
[    0.165659] SMP: Total of 1 processors activated.
[    0.170461] CPU: All CPU(s) started in SVC mode.
[    0.184193] VFP support v0.3: implementor 51 architecture 0 part 6f
variant 2 rev 0
[    0.191979] pinctrl core: initialized pinctrl subsystem
[    0.196492] regulator-dummy: no parameters
[    0.200452] TRB: in really_probe, ret=0
[    0.204515] NET: Registered protocol family 16
[    0.209063] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.219081] TRB: in really_probe, ret=0
[    0.222545] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4
watchpoint registers.
[    0.230052] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.240106] bio: create slab <bio-0> at 0
[    0.243778] SCSI subsystem initialized
[    0.247152] usbcore: registered new interface driver usbfs
[    0.252612] usbcore: registered new interface driver hub
[    0.258004] usbcore: registered new device driver usb
[    0.263289] Advanced Linux Sound Architecture Driver Initialized.
[    0.270010] Switched to clocksource arch_sys_counter
[    0.274304] cfg80211: Calling CRDA to update world regulatory domain
[    0.309937] NET: Registered protocol family 2
[    0.313777] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.320513] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.327045] TCP: Hash tables configured (established 8192 bind 8192)
[    0.333444] TCP: reno registered
[    0.336696] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.342714] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.349283] NET: Registered protocol family 1
[    0.353842] RPC: Registered named UNIX socket transport module.
[    0.359519] RPC: Registered udp transport module.
[    0.364333] RPC: Registered tcp transport module.
[    0.369068] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.375803] Trying to unpack rootfs image as initramfs...
[    0.638795] Freeing initrd memory: 4132K (c2000000 - c2409000)
[    0.644038] using sfpb hardware mutex registers (auto)
[    0.649016] smem_of_init: initialized successfully
[    0.654077] parse_smd_devicetree: enable_irq_wake() failed on 57
[    0.659856] parse_smsm_devicetree: enable_irq_wake() failed on 58
[    0.666077] parse_smd_devicetree: enable_irq_wake() failed on 188
[    0.672205] parse_smsm_devicetree: enable_irq_wake() failed on 189
[    0.678432] parse_smd_devicetree: enable_irq_wake() failed on 174
[    0.684613] parse_smsm_devicetree: enable_irq_wake() failed on 176
[    0.690865] parse_smd_devicetree: enable_irq_wake() failed on 200
[    0.696972] SMD successfully initialized
[    0.701124] TRB: in really_probe, ret=0
[    0.786129] bounce pool size: 64 pages
[    0.794349] NFS: Registering the id_resolver key type
[    0.798479] Key type id_resolver registered
[    0.802739] Key type id_legacy registered
[    0.807215] fuse init (API version 7.22)
[    0.811077] msgmni has been set to 1471
[    0.816107] Block layer SCSI generic (bsg) driver version 0.4
loaded (major 253)
[    0.822620] io scheduler noop registered
[    0.826538] io scheduler deadline registered
[    0.831027] io scheduler cfq registered (default)
[    0.835887] msm_serial:
detecte�\x06��\x06~�`�\x1e��怞f���x�\x1e��~\x06��f��\x06~\x1e\x06������xx\x1e`�\x1e��怞f��\x1ef�x�~\x06x�������\x06�\x1efxf�\x06\x06��~`ff�\x1ef\x1e\x06��\x06~�\x1e
f������x�������\x06���f\x06����\x1e��f��fx�f�ff~`\x06��x\x1e\x1e�����\x02\x02\x02�r²������msm_serial:
console setup on port #0
[    0.867420] console [ttyMSM0] enabled
[    0.867420] console [ttyMSM0] enabled
[    0.874815] bootconsole [earlycon0] disabled
[    0.874815] bootconsole [earlycon0] disabled
[    0.883530] TRB: in really_probe, ret=0
[    0.883579] msm_serial: driver initialized
[    0.891693] brd: module loaded
[    0.894145] loop: module loaded
[    0.894631] SCSI Media Changer driver v0.25
[    0.897697] SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels,
max=256) (6 bit encapsulation enabled).
[    0.901819] CSLIP: code copyright 1989 Regents of the University of
California.
[    0.911274] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.918459] ehci_hcd: block sizes: qh 80 qtd 96 itd 160 sitd 96
[    0.925083] ehci-platform: EHCI generic platform driver
[    0.931057] mousedev: PS/2 mouse device common for all mice
[    0.936125] i2c /dev entries driver
[    0.941730] TRB: in really_probe, ret=0
[    0.945275] usbcore: registered new interface driver usbhid
[    0.948923] usbhid: USB HID core driver
[    0.954802] TRB: in really_probe, ret=0
[    0.958479] oprofile: no performance counters
[    0.962228] oprofile: using timer interrupt.
[    0.966744] TCP: cubic registered
[    0.970994] NET: Registered protocol family 17
[    0.974277] Key type dns_resolver registered
[    0.978649] Registering SWP/SWPB emulation handler
[    0.983713] 8841_s1: 675 <--> 1050 mV at 0 mV normal idle
[    0.987620] TRB: in really_probe, ret=0
[    0.993342] 8841_s1_ao: 675 <--> 1050 mV at 0 mV normal idle
[    0.996805] TRB: in really_probe, ret=0
[    1.002873] 8841_s1_so: 675 <--> 1050 mV at 675 mV normal idle
[    1.006355] TRB: in really_probe, ret=0
[    1.012231] TRB: in really_probe, ret=0
[    1.016323] 8841_s2: 500 <--> 1050 mV at 0 mV normal idle
[    1.019895] TRB: in really_probe, ret=0
[    1.025627] 8841_s2_corner: 0 <--> 0 mV at 0 mV normal idle
[    1.029183] TRB: in really_probe, ret=0
[    1.035252] 8841_s2_corner_ao: 0 <--> 0 mV at 0 mV normal idle
[    1.038656] TRB: in really_probe, ret=0
[    1.044715] 8841_s2_floor_corner: 0 <--> 0 mV at 0 mV normal idle
[    1.048373] TRB: in really_probe, ret=0
[    1.054592] TRB: in really_probe, ret=0
[    1.058597] 8841_s3: 1050 mV normal idle
[    1.062188] TRB: in really_probe, ret=0
[    1.066292] TRB: in really_probe, ret=0
[    1.070249] 8841_s4: 815 <--> 900 mV at 0 mV normal idle
[    1.073807] TRB: in really_probe, ret=0
[    1.079501] 8841_s4_corner: 0 <--> 0 mV at 0 mV normal idle
[    1.083026] TRB: in really_probe, ret=0
[    1.089056] 8841_s4_floor_corner: 0 <--> 0 mV at 0 mV normal idle
[    1.092488] TRB: in really_probe, ret=0
[    1.098671] TRB: in really_probe, ret=0
[    1.102721] 8941_s1: 1300 mV normal idle
[    1.106276] TRB: in really_probe, ret=0
[    1.110409] TRB: in really_probe, ret=0
[    1.114333] 8941_s2: 2150 mV normal idle
[    1.117899] TRB: in really_probe, ret=0
[    1.122041] TRB: in really_probe, ret=0
[    1.125965] 8941_s3: 1800 mV normal idle
[    1.129531] TRB: in really_probe, ret=0
[    1.133673] TRB: in really_probe, ret=0
[    1.137588] 8941_l1: 1225 mV normal idle
[    1.141192] TRB: in really_probe, ret=0
[    1.145285] TRB: in really_probe, ret=0
[    1.149226] 8941_l2: 1200 mV normal idle
[    1.152815] TRB: in really_probe, ret=0
[    1.156917] TRB: in really_probe, ret=0
[    1.160884] 8941_l3: 1200 mV normal idle
[    1.164426] TRB: in really_probe, ret=0
[    1.168548] TRB: in really_probe, ret=0
[    1.172515] 8941_l4: 1225 mV normal idle
[    1.176070] TRB: in really_probe, ret=0
[    1.180202] TRB: in really_probe, ret=0
[    1.184129] 8941_l5: 1800 mV normal idle
[    1.187691] TRB: in really_probe, ret=0
[    1.191833] TRB: in really_probe, ret=0
[    1.195758] 8941_l6: 1800 mV normal idle
[    1.199322] TRB: in really_probe, ret=0
[    1.203464] TRB: in really_probe, ret=0
[    1.207404] 8941_l7: 1800 mV normal idle
[    1.210972] TRB: in really_probe, ret=0
[    1.215077] TRB: in really_probe, ret=0
[    1.218824] TRB: in really_probe, ret=0
[    1.222858] 8941_l9: 1800 <--> 2950 mV at 2950 mV normal idle
[    1.226410] TRB: in really_probe, ret=0
[    1.232283] TRB: in really_probe, ret=0
[    1.236297] 8941_l10: 1800 <--> 2950 mV at 2950 mV normal idle
[    1.239861] TRB: in really_probe, ret=0
[    1.245738] TRB: in really_probe, ret=0
[    1.249827] 8941_l11: 1300 mV normal idle
[    1.253429] TRB: in really_probe, ret=0
[    1.257524] TRB: in really_probe, ret=0
[    1.261566] 8941_l12: 1800 mV normal idle
[    1.265119] TRB: in really_probe, ret=0
[    1.269432] 8941_l12_ao: 1800 mV normal idle
[    1.273039] TRB: in really_probe, ret=0
[    1.277489] TRB: in really_probe, ret=0
[    1.281449] 8941_l13: 1800 <--> 2950 mV at 2950 mV normal idle
[    1.284999] TRB: in really_probe, ret=0
[    1.290877] TRB: in really_probe, ret=0
[    1.294971] 8941_l14: 1800 mV normal idle
[    1.298542] TRB: in really_probe, ret=0
[    1.302682] TRB: in really_probe, ret=0
[    1.306687] 8941_l15: 2050 mV normal idle
[    1.310286] TRB: in really_probe, ret=0
[    1.314383] TRB: in really_probe, ret=0
[    1.318410] 8941_l16: 2700 mV normal idle
[    1.322002] TRB: in really_probe, ret=0
[    1.326100] TRB: in really_probe, ret=0
[    1.330150] 8941_l17: 2700 mV normal idle
[    1.333695] TRB: in really_probe, ret=0
[    1.337819] TRB: in really_probe, ret=0
[    1.341870] 8941_l18: 2850 mV normal idle
[    1.345415] TRB: in really_probe, ret=0
[    1.349539] TRB: in really_probe, ret=0
[    1.353590] 8941_l19: 3300 mV normal idle
[    1.357134] TRB: in really_probe, ret=0
[    1.361276] TRB: in really_probe, ret=0
[    1.365283] 8941_l20: 2950 mV normal idle
[    1.368852] TRB: in really_probe, ret=0
[    1.372996] TRB: in really_probe, ret=0
[    1.377007] 8941_l21: 2950 mV normal idle
[    1.380600] TRB: in really_probe, ret=0
[    1.384694] TRB: in really_probe, ret=0
[    1.388724] 8941_l22: 3000 mV normal idle
[    1.392312] TRB: in really_probe, ret=0
[    1.396413] TRB: in really_probe, ret=0
[    1.400467] 8941_l23: 2800 mV normal idle
[    1.404014] TRB: in really_probe, ret=0
[    1.408132] TRB: in really_probe, ret=0
[    1.412188] 8941_l24: 3075 mV normal idle
[    1.415728] TRB: in really_probe, ret=0
[    1.419850] TRB: in really_probe, ret=0
[    1.423897] 8941_lvs1: no parameters
[    1.427436] TRB: in really_probe, ret=0
[    1.431242] TRB: in really_probe, ret=0
[    1.435067] 8941_lvs2: no parameters
[    1.438634] TRB: in really_probe, ret=0
[    1.442439] TRB: in really_probe, ret=0
[    1.446267] 8941_lvs3: no parameters
[    1.449843] TRB: in really_probe, ret=0
[    1.453640] TRB: in really_probe, ret=0
[    1.457178] msm_rpm_dev_probe(): RPM probe completed successfully
[    1.461009] TRB: in really_probe, ret=0
[    1.467843] /home/CORPUSERS/10102229/work/dragonboard/APQ8074_M8974AAAAANLYA31050138_JB_V11/kernel-14-test-usb/drivers/rtc/hcto
sys.c: unable to open rtc device (rtc0)
[    1.471215] ALSA device list:
[    1.485853]   No soundcards found.
[    1.489327] Freeing unused kernel memory: 284K (c0886000 - c08cd000)
mkdir: can't create directory '/dev': File exists
sh: can't access tty; job control turned off
/ # cd lib
/lib # cd modules
/lib/modules # ls
ansi_cprng.ko        libcomposite.ko      udc-core.ko
ci_hdrc.ko           loadem.sh            usb_f_ecm.ko
ci_hdrc_imx.ko       phy-msm-usb.ko       usb_f_ecm_subset.ko
ci_hdrc_msm.ko       u_ether.ko           usb_f_rndis.ko
g_ether.ko           u_rndis.ko           usbmisc_imx.ko
/lib/modules # cat loadem.sh
#!/bin/sh

#insmod usb_common.ko
insmod phy-msm-usb.ko
insmod udc-core.ko
insmod ci_hdrc.ko
insmod ci_hdrc_msm.ko
insmod libcomposite.ko
insmod u_ether.ko
insmod u_rndis.ko
insmod usb_f_rndis.ko
insmod usb_f_ecm.ko
insmod usb_f_subset.ko
insmod ansi_cprng.ko
insmod g_ether.ko
/lib/modules # ./loadem.sh
[   22.390454] ------------[ cut here ]------------
[   22.390494] WARNING: CPU: 0 PID: 88 at
/home/CORPUSERS/10102229/work/dragonboard/APQ8074_M8974AAAAANLYA31050138_JB_V11/kernel-1
4-test-usb/drivers/usb/phy/phy-msm-usb.c:1581 msm_otg_probe+0x24/0x904
[phy_msm_usb]()
[   22.394146] TRB: in msm_otg_probe
[   22.426106] Modules linked in: phy_msm_usb(+)
[   22.429337] CPU: 0 PID: 88 Comm: insmod Not tainted
3.13.0-rc6-00147-g00bb56a-dirty #40
[   22.429629] [<c0214144>] (unwind_backtrace+0x0/0xf8) from
[<c0211ba8>] (show_stack+0x10/0x14)
[   22.437471] [<c0211ba8>] (show_stack+0x10/0x14) from [<c0674bec>]
(dump_stack+0x64/0xb4)
[   22.446132] [<c0674bec>] (dump_stack+0x64/0xb4) from [<c022afd8>]
(warn_slowpath_common+0x68/0x88)
[   22.454287] [<c022afd8>] (warn_slowpath_common+0x68/0x88) from
[<c022b08c>] (warn_slowpath_fmt+0x30/0x40)
[   22.463060] [<c022b08c>] (warn_slowpath_fmt+0x30/0x40) from
[<bf005024>] (msm_otg_probe+0x24/0x904 [phy_msm_usb])
[   22.472703] [<bf005024>] (msm_otg_probe+0x24/0x904 [phy_msm_usb])
from [<c04e2968>] (platform_drv_probe+0x18/0x48)
[   22.482936] [<c04e2968>] (platform_drv_probe+0x18/0x48) from
[<c04e10b4>] (driver_probe_device+0x18c/0x23c)
[   22.493176] [<c04e10b4>] (driver_probe_device+0x18c/0x23c) from
[<c04e11f0>] (__driver_attach+0x8c/0x90)
[   22.502812] [<c04e11f0>] (__driver_attach+0x8c/0x90) from
[<c04df910>] (bus_for_each_dev+0x60/0x94)
[   22.512531] [<c04df910>] (bus_for_each_dev+0x60/0x94) from
[<c04e0800>] (bus_add_driver+0xdc/0x1d0)
[   22.521300] [<c04e0800>] (bus_add_driver+0xdc/0x1d0) from
[<c04e180c>] (driver_register+0x78/0xf4)
[   22.530328] [<c04e180c>] (driver_register+0x78/0xf4) from
[<c0208860>] (do_one_initcall+0x110/0x174)
[   22.539340] [<c0208860>] (do_one_initcall+0x110/0x174) from
[<c0285740>] (load_module+0x185c/0x1c6c)
[   22.548646] [<c0285740>] (load_module+0x185c/0x1c6c) from
[<c0285c40>] (SyS_init_module+0xf0/0x100)
[   22.557759] [<c0285c40>] (SyS_init_module+0xf0/0x100) from
[<c020e3c0>] (ret_fast_syscall+0x0/0x30)
[   22.566534] ---[ end trace 9c437930835a2046 ]---
[   22.575629] TRB: in msm_otg_read_dt
[   22.580403] TRB: in msm_otg_read_dt, mode=2
[   22.583635] msm_otg f9a55000.usb: OTG regs = f009e000
[   22.588136] TRB: voltage initialized status=0
[   22.593864] TRB: in msm_usb_reset
[   22.597306] TRB: msm_otg_link_clk_reset, assert=1
[   22.601873] TRB: msm_otg_link_clk_reset, assert=0
[   22.605297] TRB: in msm_otg_reset
[   22.710108] TRB: in msm_otg_probe, mode=2, otg_control=1
[   22.710127] TRB: in really_probe, ret=0
[   22.790271] ------------[ cut here ]------------
[   22.790306] WARNING: CPU: 0 PID: 97 at
/home/CORPUSERS/10102229/work/dragonboard/APQ8074_M8974AAAAANLYA31050138_JB_V11/kernel-1
4-test-usb/drivers/usb/chipidea/ci_hdrc_msm.c:65
ci_hdrc_msm_probe+0x1c/0xc0 [ci_hdrc_msm]()
[   22.793963] TRB: in ci_hdrc_msm_probe()
[   22.819817] Modules linked in: ci_hdrc_msm(+) ci_hdrc udc_core phy_msm_usb
[   22.825309] CPU: 0 PID: 97 Comm: insmod Tainted: G        W
3.13.0-rc6-00147-g00bb56a-dirty #40
[   22.825686] [<c0214144>] (unwind_backtrace+0x0/0xf8) from
[<c0211ba8>] (show_stack+0x10/0x14)
[   22.834563] [<c0211ba8>] (show_stack+0x10/0x14) from [<c0674bec>]
(dump_stack+0x64/0xb4)
[   22.843144] [<c0674bec>] (dump_stack+0x64/0xb4) from [<c022afd8>]
(warn_slowpath_common+0x68/0x88)
[   22.851298] [<c022afd8>] (warn_slowpath_common+0x68/0x88) from
[<c022b08c>] (warn_slowpath_fmt+0x30/0x40)
[   22.860068] [<c022b08c>] (warn_slowpath_fmt+0x30/0x40) from
[<bf01c114>] (ci_hdrc_msm_probe+0x1c/0xc0 [ci_hdrc_msm])
[   22.869693] [<bf01c114>] (ci_hdrc_msm_probe+0x1c/0xc0
[ci_hdrc_msm]) from [<c04e2968>] (platform_drv_probe+0x18/0x48)
[   22.880298] [<c04e2968>] (platform_drv_probe+0x18/0x48) from
[<c04e10b4>] (driver_probe_device+0x18c/0x23c)
[   22.890796] [<c04e10b4>] (driver_probe_device+0x18c/0x23c) from
[<c04e11f0>] (__driver_attach+0x8c/0x90)
[   22.900343] [<c04e11f0>] (__driver_attach+0x8c/0x90) from
[<c04df910>] (bus_for_each_dev+0x60/0x94)
[   22.910064] [<c04df910>] (bus_for_each_dev+0x60/0x94) from
[<c04e0800>] (bus_add_driver+0xdc/0x1d0)
[   22.918814] [<c04e0800>] (bus_add_driver+0xdc/0x1d0) from
[<c04e180c>] (driver_register+0x78/0xf4)
[   22.927860] [<c04e180c>] (driver_register+0x78/0xf4) from
[<c0208860>] (do_one_initcall+0x110/0x174)
[   22.936892] [<c0208860>] (do_one_initcall+0x110/0x174) from
[<c0285740>] (load_module+0x185c/0x1c6c)
[   22.946178] [<c0285740>] (load_module+0x185c/0x1c6c) from
[<c0285c40>] (SyS_init_module+0xf0/0x100)
[   22.955291] [<c0285c40>] (SyS_init_module+0xf0/0x100) from
[<c020e3c0>] (ret_fast_syscall+0x0/0x30)
[   22.964063] ---[ end trace 9c437930835a2047 ]---
[   22.973172] TRB: done with WARN
[   22.977915] msm_hsusb f9a55000.gadget: ci_hdrc_msm_probe fa-la-la-la-la
[   22.980830] TRB: in ci_get_platdata
[   22.987375] TRB: in ci_get_platdata, dr_mode=2
[   22.991202] TRB: in hw_alloc_regmap, is_lpg=0
[   22.995364] TRB: ci hw_read: reg=f0192108, mask=00020000, val=00000000
[   22.999790] TRB: in hw_alloc_regmap, is_lpg=0
[   23.018442] TRB: ci hw_read: reg=f0192124, mask=0000001f, val=00000010
[   23.018465] TRB: ci hw_read: reg=f0192184, mask=00800000, val=00000000
[   23.023883] TRB: ci hw_write: reg=f0192148, mask=ffffffff, data=00000000
[   23.030391] TRB: ci hw_write: reg=f0192144, mask=ffffffff, data=ffffffff
[   23.037225] ci_hdrc ci_hdrc.0: ChipIdea HDRC found, lpm: 0; cap:
f0192100 op: f0192140
[   23.043932] ------------[ cut here ]------------
[   23.051666] WARNING: CPU: 0 PID: 97 at
/home/CORPUSERS/10102229/work/dragonboard/APQ8074_M8974AAAAANLYA31050138_JB_V11/kernel-1
4-test-usb/drivers/usb/phy/phy-msm-usb.c:461 msm_phy_init+0x1c/0x16c
[phy_msm_usb]()
[   23.056417] TRB: in msm_phy_init
[   23.074915] Modules linked in: ci_hdrc_msm(+) ci_hdrc udc_core phy_msm_usb
[   23.084785] CPU: 0 PID: 97 Comm: insmod Tainted: G        W
3.13.0-rc6-00147-g00bb56a-dirty #40
[   23.085153] [<c0214144>] (unwind_backtrace+0x0/0xf8) from
[<c0211ba8>] (show_stack+0x10/0x14)
[   23.094032] [<c0211ba8>] (show_stack+0x10/0x14) from [<c0674bec>]
(dump_stack+0x64/0xb4)
[   23.102624] [<c0674bec>] (dump_stack+0x64/0xb4) from [<c022afd8>]
(warn_slowpath_common+0x68/0x88)
[   23.110780] [<c022afd8>] (warn_slowpath_common+0x68/0x88) from
[<c022b08c>] (warn_slowpath_fmt+0x30/0x40)
[   23.119527] [<c022b08c>] (warn_slowpath_fmt+0x30/0x40) from
[<bf001af4>] (msm_phy_init+0x1c/0x16c [phy_msm_usb])
[   23.129195] [<bf001af4>] (msm_phy_init+0x1c/0x16c [phy_msm_usb])
from [<bf00f4e8>] (ci_hdrc_probe+0x218/0x7b4 [ci_hdrc])
[   23.139438] [<bf00f4e8>] (ci_hdrc_probe+0x218/0x7b4 [ci_hdrc]) from
[<c04e2968>] (platform_drv_probe+0x18/0x48)
[   23.150282] [<c04e2968>] (platform_drv_probe+0x18/0x48) from
[<c04e10b4>] (driver_probe_device+0x18c/0x23c)
[   23.160089] [<c04e10b4>] (driver_probe_device+0x18c/0x23c) from
[<c04df884>] (bus_for_each_drv+0x5c/0x88)
[   23.169785] [<c04df884>] (bus_for_each_drv+0x5c/0x88) from
[<c04e0ef4>] (device_attach+0x80/0x98)
[   23.179532] [<c04e0ef4>] (device_attach+0x80/0x98) from
[<c04e05d8>] (bus_probe_device+0x84/0xa8)
[   23.188386] [<c04e05d8>] (bus_probe_device+0x84/0xa8) from
[<c04debec>] (device_add+0x3a8/0x4d0)
[   23.197241] [<c04debec>] (device_add+0x3a8/0x4d0) from [<c04e25ac>]
(platform_device_add+0x100/0x22c)
[   23.206101] [<c04e25ac>] (platform_device_add+0x100/0x22c) from
[<bf00fdac>] (ci_hdrc_add_device+0x190/0x1dc [ci_hdrc])
[   23.215219] [<bf00fdac>] (ci_hdrc_add_device+0x190/0x1dc [ci_hdrc])
from [<bf01c168>] (ci_hdrc_msm_probe+0x70/0xc0 [ci_hdrc_msm
])
[   23.225806] [<bf01c168>] (ci_hdrc_msm_probe+0x70/0xc0
[ci_hdrc_msm]) from [<c04e2968>] (platform_drv_probe+0x18/0x48)
[   23.237608] [<c04e2968>] (platform_drv_probe+0x18/0x48) from
[<c04e10b4>] (driver_probe_device+0x18c/0x23c)
[   23.248197] [<c04e10b4>] (driver_probe_device+0x18c/0x23c) from
[<c04e11f0>] (__driver_attach+0x8c/0x90)
[   23.257745] [<c04e11f0>] (__driver_attach+0x8c/0x90) from
[<c04df910>] (bus_for_each_dev+0x60/0x94)
[   23.267465] [<c04df910>] (bus_for_each_dev+0x60/0x94) from
[<c04e0800>] (bus_add_driver+0xdc/0x1d0)
[   23.276234] [<c04e0800>] (bus_add_driver+0xdc/0x1d0) from
[<c04e180c>] (driver_register+0x78/0xf4)
[   23.285260] [<c04e180c>] (driver_register+0x78/0xf4) from
[<c0208860>] (do_one_initcall+0x110/0x174)
[   23.294288] [<c0208860>] (do_one_initcall+0x110/0x174) from
[<c0285740>] (load_module+0x185c/0x1c6c)
[   23.303577] [<c0285740>] (load_module+0x185c/0x1c6c) from
[<c0285c40>] (SyS_init_module+0xf0/0x100)
[   23.312694] [<c0285c40>] (SyS_init_module+0xf0/0x100) from
[<c020e3c0>] (ret_fast_syscall+0x0/0x30)
[   23.321464] ---[ end trace 9c437930835a2048 ]---
[   23.330483] TRB: ulpi_init() 1
[   23.335303] TRB: ulpi_init() 2
[   23.338168] TRB: ulpi_init() 3
[   23.341355] TRB: ulpi: write 0x63 to 0x81
[   23.344246] TRB: ulpi_init() 4
[   23.348325] TRB: ulpi_write 00000063 to reg 00000081
[   23.351322] TRB: ulpi_init() 5
[   23.356398] TRB: ulpi_init() 6
[   23.359261] TRB: ulpi_init() 7 - done
[   23.362338] TRB: did I see ulpi_init???
[   23.366075] TRB: ulpi_write 00000004 to reg 0000000d
[   23.369683] TRB: ulpi_write 00000004 to reg 00000010
[   23.374914] TRB: ci hw_read: reg=f0192124, mask=00000180, val=00000180
[   23.379843] ci_hdrc ci_hdrc.0: It is OTG capable controller
[   23.386194] TRB: ci hw_write: reg=f01921a4, mask=7f000000, data=00000000
[   23.391665] TRB: ci hw_write: reg=f01921a4, mask=007f0000, data=007f0000
[   23.398594] TRB: ci hw_read: reg=f0192124, mask=00000080, val=00000080
[   23.405352] TRB: in usb_add_gadget_udc_release()
[   23.411626] ------------[ cut here ]------------
[   23.416398] WARNING: CPU: 0 PID: 97 at
/home/CORPUSERS/10102229/work/dragonboard/APQ8074_M8974AAAAANLYA31050138_JB_V11/kernel-1
4-test-usb/drivers/usb/gadget/udc-core.c:206
usb_add_gadget_udc_release+0x28/0x1e0 [udc_core]()
[   23.421020] TRB: in usb_add_gadget_udc_release()
[   23.440531] Modules linked in: ci_hdrc_msm(+) ci_hdrc udc_core phy_msm_usb
[   23.451712] CPU: 0 PID: 97 Comm: insmod Tainted: G        W
3.13.0-rc6-00147-g00bb56a-dirty #40
[   23.452079] [<c0214144>] (unwind_backtrace+0x0/0xf8) from
[<c0211ba8>] (show_stack+0x10/0x14)
[   23.460951] [<c0211ba8>] (show_stack+0x10/0x14) from [<c0674bec>]
(dump_stack+0x64/0xb4)
[   23.469522] [<c0674bec>] (dump_stack+0x64/0xb4) from [<c022afd8>]
(warn_slowpath_common+0x68/0x88)
[   23.477702] [<c022afd8>] (warn_slowpath_common+0x68/0x88) from
[<c022b08c>] (warn_slowpath_fmt+0x30/0x40)
[   23.486475] [<c022b08c>] (warn_slowpath_fmt+0x30/0x40) from
[<bf008744>] (usb_add_gadget_udc_release+0x28/0x1e0 [udc_core])
[   23.496121] [<bf008744>] (usb_add_gadget_udc_release+0x28/0x1e0
[udc_core]) from [<bf012f0c>] (ci_hdrc_gadget_init+0x264/0x2d8
[ci_hdrc])
[   23.507057] [<bf012f0c>] (ci_hdrc_gadget_init+0x264/0x2d8
[ci_hdrc]) from [<bf00f7d4>] (ci_hdrc_probe+0x504/0x7b4 [ci_hdrc])
[   23.519552] [<bf00f7d4>] (ci_hdrc_probe+0x504/0x7b4 [ci_hdrc]) from
[<c04e2968>] (platform_drv_probe+0x18/0x48)
[   23.530831] [<c04e2968>] (platform_drv_probe+0x18/0x48) from
[<c04e10b4>] (driver_probe_device+0x18c/0x23c)
[   23.540639] [<c04e10b4>] (driver_probe_device+0x18c/0x23c) from
[<c04df884>] (bus_for_each_drv+0x5c/0x88)
[   23.550360] [<c04df884>] (bus_for_each_drv+0x5c/0x88) from
[<c04e0ef4>] (device_attach+0x80/0x98)
[   23.560080] [<c04e0ef4>] (device_attach+0x80/0x98) from
[<c04e05d8>] (bus_probe_device+0x84/0xa8)
[   23.568914] [<c04e05d8>] (bus_probe_device+0x84/0xa8) from
[<c04debec>] (device_add+0x3a8/0x4d0)
[   23.577789] [<c04debec>] (device_add+0x3a8/0x4d0) from [<c04e25ac>]
(platform_device_add+0x100/0x22c)
[   23.586650] [<c04e25ac>] (platform_device_add+0x100/0x22c) from
[<bf00fdac>] (ci_hdrc_add_device+0x190/0x1dc [ci_hdrc])
[   23.595768] [<bf00fdac>] (ci_hdrc_add_device+0x190/0x1dc [ci_hdrc])
from [<bf01c168>] (ci_hdrc_msm_probe+0x70/0xc0 [ci_hdrc_msm
])
[   23.606356] [<bf01c168>] (ci_hdrc_msm_probe+0x70/0xc0
[ci_hdrc_msm]) from [<c04e2968>] (platform_drv_probe+0x18/0x48)
[   23.618158] [<c04e2968>] (platform_drv_probe+0x18/0x48) from
[<c04e10b4>] (driver_probe_device+0x18c/0x23c)
[   23.628745] [<c04e10b4>] (driver_probe_device+0x18c/0x23c) from
[<c04e11f0>] (__driver_attach+0x8c/0x90)
[   23.638294] [<c04e11f0>] (__driver_attach+0x8c/0x90) from
[<c04df910>] (bus_for_each_dev+0x60/0x94)
[   23.648015] [<c04df910>] (bus_for_each_dev+0x60/0x94) from
[<c04e0800>] (bus_add_driver+0xdc/0x1d0)
[   23.656783] [<c04e0800>] (bus_add_driver+0xdc/0x1d0) from
[<c04e180c>] (driver_register+0x78/0xf4)
[   23.665809] [<c04e180c>] (driver_register+0x78/0xf4) from
[<c0208860>] (do_one_initcall+0x110/0x174)
[   23.674839] [<c0208860>] (do_one_initcall+0x110/0x174) from
[<c0285740>] (load_module+0x185c/0x1c6c)
[   23.684126] [<c0285740>] (load_module+0x185c/0x1c6c) from
[<c0285c40>] (SyS_init_module+0xf0/0x100)
[   23.693241] [<c0285c40>] (SyS_init_module+0xf0/0x100) from
[<c020e3c0>] (ret_fast_syscall+0x0/0x30)
[   23.701998] ---[ end trace 9c437930835a2049 ]---
[   23.711326] TRB: in msm_otg_set_peripheral
[   23.715861] TRB: MOSP 1
[   23.719765] TRB: MOSP 6
[   23.734335] peripheral driver registered w/ tranceiver
[   23.734356] TRB: msm_otg_start_peripheral, on=1
[   23.738351] TRB: msm_otg_start_peripheral, gadget on
[   23.742828] ------------[ cut here ]------------
[   23.748004] WARNING: CPU: 0 PID: 97 at
/home/CORPUSERS/10102229/work/dragonboard/APQ8074_M8974AAAAANLYA31050138_JB_V11/kernel-1
4-test-usb/drivers/usb/chipidea/udc.c:1456
ci_udc_vbus_session+0x20/0x128 [ci_hdrc]()
[   23.752782] TRB: ci_udc_vbus_session - who's calling?
[   23.771466] Modules linked in: ci_hdrc_msm(+) ci_hdrc udc_core phy_msm_usb
[   23.782882] CPU: 0 PID: 97 Comm: insmod Tainted: G        W
3.13.0-rc6-00147-g00bb56a-dirty #40
[   23.783250] [<c0214144>] (unwind_backtrace+0x0/0xf8) from
[<c0211ba8>] (show_stack+0x10/0x14)
[   23.792126] [<c0211ba8>] (show_stack+0x10/0x14) from [<c0674bec>]
(dump_stack+0x64/0xb4)
[   23.800716] [<c0674bec>] (dump_stack+0x64/0xb4) from [<c022afd8>]
(warn_slowpath_common+0x68/0x88)
[   23.808853] [<c022afd8>] (warn_slowpath_common+0x68/0x88) from
[<c022b08c>] (warn_slowpath_fmt+0x30/0x40)
[   23.817650] [<c022b08c>] (warn_slowpath_fmt+0x30/0x40) from
[<bf010dd4>] (ci_udc_vbus_session+0x20/0x128 [ci_hdrc])
[   23.827286] [<bf010dd4>] (ci_udc_vbus_session+0x20/0x128 [ci_hdrc])
from [<bf000148>] (msm_otg_start_peripheral+0x6c/0xcc [phy_
msm_usb])
[   23.837528] [<bf000148>] (msm_otg_start_peripheral+0x6c/0xcc
[phy_msm_usb]) from [<bf0004d4>] (msm_otg_set_peripheral+0xdc/0x16
4 [phy_msm_usb])
[   23.850036] [<bf0004d4>] (msm_otg_set_peripheral+0xdc/0x164
[phy_msm_usb]) from [<bf00f808>] (ci_hdrc_probe+0x538/0x7b4 [ci_hdr
c])
[   23.862616] [<bf00f808>] (ci_hdrc_probe+0x538/0x7b4 [ci_hdrc]) from
[<c04e2968>] (platform_drv_probe+0x18/0x48)
[   23.874416] [<c04e2968>] (platform_drv_probe+0x18/0x48) from
[<c04e10b4>] (driver_probe_device+0x18c/0x23c)
[   23.884395] [<c04e10b4>] (driver_probe_device+0x18c/0x23c) from
[<c04df884>] (bus_for_each_drv+0x5c/0x88)
[   23.894117] [<c04df884>] (bus_for_each_drv+0x5c/0x88) from
[<c04e0ef4>] (device_attach+0x80/0x98)
[   23.903839] [<c04e0ef4>] (device_attach+0x80/0x98) from
[<c04e05d8>] (bus_probe_device+0x84/0xa8)
[   23.912691] [<c04e05d8>] (bus_probe_device+0x84/0xa8) from
[<c04debec>] (device_add+0x3a8/0x4d0)
[   23.921548] [<c04debec>] (device_add+0x3a8/0x4d0) from [<c04e25ac>]
(platform_device_add+0x100/0x22c)
[   23.930409] [<c04e25ac>] (platform_device_add+0x100/0x22c) from
[<bf00fdac>] (ci_hdrc_add_device+0x190/0x1dc [ci_hdrc])
[   23.939504] [<bf00fdac>] (ci_hdrc_add_device+0x190/0x1dc [ci_hdrc])
from [<bf01c168>] (ci_hdrc_msm_probe+0x70/0xc0 [ci_hdrc_msm
])
[   23.950116] [<bf01c168>] (ci_hdrc_msm_probe+0x70/0xc0
[ci_hdrc_msm]) from [<c04e2968>] (platform_drv_probe+0x18/0x48)
[   23.961915] [<c04e2968>] (platform_drv_probe+0x18/0x48) from
[<c04e10b4>] (driver_probe_device+0x18c/0x23c)
[   23.972502] [<c04e10b4>] (driver_probe_device+0x18c/0x23c) from
[<c04e11f0>] (__driver_attach+0x8c/0x90)
[   23.982051] [<c04e11f0>] (__driver_attach+0x8c/0x90) from
[<c04df910>] (bus_for_each_dev+0x60/0x94)
[   23.991772] [<c04df910>] (bus_for_each_dev+0x60/0x94) from
[<c04e0800>] (bus_add_driver+0xdc/0x1d0)
[   24.000539] [<c04e0800>] (bus_add_driver+0xdc/0x1d0) from
[<c04e180c>] (driver_register+0x78/0xf4)
[   24.009549] [<c04e180c>] (driver_register+0x78/0xf4) from
[<c0208860>] (do_one_initcall+0x110/0x174)
[   24.018595] [<c0208860>] (do_one_initcall+0x110/0x174) from
[<c0285740>] (load_module+0x185c/0x1c6c)
[   24.027885] [<c0285740>] (load_module+0x185c/0x1c6c) from
[<c0285c40>] (SyS_init_module+0xf0/0x100)
[   24.037000] [<c0285c40>] (SyS_init_module+0xf0/0x100) from
[<c020e3c0>] (ret_fast_syscall+0x0/0x30)
[   24.045756] ---[ end trace 9c437930835a204a ]---
[   24.054776] TRB: ci_udc_vbus_session, is_active=1
[   24.059620] TRB: ci_udc_vbus_session, gadget_ready=0
[   24.064265] TRB: MOSP 7
[   24.069250] TRB: MOSP 8
[   24.071444] TRB: MOSP 9
[   24.073860] TRB: in msm_otg_sm_work: state=0
[   24.076284] TRB: MOSW 1 OTG_STATE_UNDEFINED state
[   24.080915] TRB: ci hw_read: reg=f01921a4, mask=ffffffff, val=00201000
[   24.085403] ------------[ cut here ]------------
[   24.091860] TRB: in msm_otg_reset
[   24.096602] TRB: msm_otg_init_sm, mode=2
[   24.099809] TRB: MOSW 2 OTG_STATE_B_IDLE state
[   24.103841] WARNING: CPU: 0 PID: 97 at
/home/CORPUSERS/10102229/work/dragonboard/APQ8074_M8974AAAAANLYA31050138_JB_V11/kernel-1
4-test-usb/drivers/usb/chipidea/udc.c:1456
ci_udc_vbus_session+0x20/0x128 [ci_hdrc]()
[   24.108076] TRB: ci_udc_vbus_session - who's calling?
[   24.127117] Modules linked in: ci_hdrc_msm(+) ci_hdrc udc_core phy_msm_usb
[   24.138524] CPU: 0 PID: 97 Comm: insmod Tainted: G        W
3.13.0-rc6-00147-g00bb56a-dirty #40
[   24.138891] [<c0214144>] (unwind_backtrace+0x0/0xf8) from
[<c0211ba8>] (show_stack+0x10/0x14)
[   24.147765] [<c0211ba8>] (show_stack+0x10/0x14) from [<c0674bec>]
(dump_stack+0x64/0xb4)
[   24.156356] [<c0674bec>] (dump_stack+0x64/0xb4) from [<c022afd8>]
(warn_slowpath_common+0x68/0x88)
[   24.164516] [<c022afd8>] (warn_slowpath_common+0x68/0x88) from
[<c022b08c>] (warn_slowpath_fmt+0x30/0x40)
[   24.173290] [<c022b08c>] (warn_slowpath_fmt+0x30/0x40) from
[<bf010dd4>] (ci_udc_vbus_session+0x20/0x128 [ci_hdrc])
[   24.182930] [<bf010dd4>] (ci_udc_vbus_session+0x20/0x128 [ci_hdrc])
from [<bf0102ac>] (ci_handle_vbus_change+0x74/0x7c [ci_hdrc
])
[   24.193171] [<bf0102ac>] (ci_handle_vbus_change+0x74/0x7c
[ci_hdrc]) from [<bf00f674>] (ci_hdrc_probe+0x3a4/0x7b4 [ci_hdrc])
[   24.204976] [<bf00f674>] (ci_hdrc_probe+0x3a4/0x7b4 [ci_hdrc]) from
[<c04e2968>] (platform_drv_probe+0x18/0x48)
[   24.216256] [<c04e2968>] (platform_drv_probe+0x18/0x48) from
[<c04e10b4>] (driver_probe_device+0x18c/0x23c)
[   24.226062] [<c04e10b4>] (driver_probe_device+0x18c/0x23c) from
[<c04df884>] (bus_for_each_drv+0x5c/0x88)
[   24.235783] [<c04df884>] (bus_for_each_drv+0x5c/0x88) from
[<c04e0ef4>] (device_attach+0x80/0x98)
[   24.245505] [<c04e0ef4>] (device_attach+0x80/0x98) from
[<c04e05d8>] (bus_probe_device+0x84/0xa8)
[   24.254359] [<c04e05d8>] (bus_probe_device+0x84/0xa8) from
[<c04debec>] (device_add+0x3a8/0x4d0)
[   24.263214] [<c04debec>] (device_add+0x3a8/0x4d0) from [<c04e25ac>]
(platform_device_add+0x100/0x22c)
[   24.272074] [<c04e25ac>] (platform_device_add+0x100/0x22c) from
[<bf00fdac>] (ci_hdrc_add_device+0x190/0x1dc [ci_hdrc])
[   24.281192] [<bf00fdac>] (ci_hdrc_add_device+0x190/0x1dc [ci_hdrc])
from [<bf01c168>] (ci_hdrc_msm_probe+0x70/0xc0 [ci_hdrc_msm
])
[   24.291780] [<bf01c168>] (ci_hdrc_msm_probe+0x70/0xc0
[ci_hdrc_msm]) from [<c04e2968>] (platform_drv_probe+0x18/0x48)
[   24.303583] [<c04e2968>] (platform_drv_probe+0x18/0x48) from
[<c04e10b4>] (driver_probe_device+0x18c/0x23c)
[   24.314171] [<c04e10b4>] (driver_probe_device+0x18c/0x23c) from
[<c04e11f0>] (__driver_attach+0x8c/0x90)
[   24.323717] [<c04e11f0>] (__driver_attach+0x8c/0x90) from
[<c04df910>] (bus_for_each_dev+0x60/0x94)
[   24.333438] [<c04df910>] (bus_for_each_dev+0x60/0x94) from
[<c04e0800>] (bus_add_driver+0xdc/0x1d0)
[   24.342208] [<c04e0800>] (bus_add_driver+0xdc/0x1d0) from
[<c04e180c>] (driver_register+0x78/0xf4)
[   24.351235] [<c04e180c>] (driver_register+0x78/0xf4) from
[<c0208860>] (do_one_initcall+0x110/0x174)
[   24.360263] [<c0208860>] (do_one_initcall+0x110/0x174) from
[<c0285740>] (load_module+0x185c/0x1c6c)
[   24.369530] [<c0285740>] (load_module+0x185c/0x1c6c) from
[<c0285c40>] (SyS_init_module+0xf0/0x100)
[   24.378665] [<c0285c40>] (SyS_init_module+0xf0/0x100) from
[<c020e3c0>] (ret_fast_syscall+0x0/0x30)
[   24.387422] ---[ end trace 9c437930835a204b ]---
[   24.396442] TRB: ci_udc_vbus_session, is_active=0
[   24.401303] TRB: ci_udc_vbus_session, gadget_ready=0
[   24.405888] TRB: ci hw_write: reg=f01921a4, mask=007f0000, data=00080000
[   24.410942] TRB: ci hw_write: reg=f01921a4, mask=08000000, data=08000000
[   24.417623] TRB: Creating device files for ci_hdrc.0
[   24.424361] TRB: in really_probe, ret=0
[   24.429264] TRB: in really_probe, ret=0
insmod: can't read 'usb_f_subset.ko': No such file or directory
[   24.547285] TRB: usb_gadget_probe_driver
[   24.547308] ------------[ cut here ]------------
[   24.560166] WARNING: CPU: 0 PID: 117 at
/home/CORPUSERS/10102229/work/dragonboard/APQ8074_M8974AAAAANLYA31050138_JB_V11/kernel-
14-test-usb/drivers/usb/gadget/udc-core.c:416
usb_gadget_probe_driver+0x20/0x100 [udc_core]()
[   24.560206] TRB: usb_gadget_probe_driver
[   24.584972] Modules linked in: g_ether(+) ansi_cprng usb_f_ecm
usb_f_rndis u_rndis u_ether libcomposite ci_hdrc_msm ci_hdrc udc
_core phy_msm_usb
[   24.596540] CPU: 0 PID: 117 Comm: insmod Tainted: G        W
3.13.0-rc6-00147-g00bb56a-dirty #40
[   24.596917] [<c0214144>] (unwind_backtrace+0x0/0xf8) from
[<c0211ba8>] (show_stack+0x10/0x14)
[   24.605804] [<c0211ba8>] (show_stack+0x10/0x14) from [<c0674bec>]
(dump_stack+0x64/0xb4)
[   24.614462] [<c0674bec>] (dump_stack+0x64/0xb4) from [<c022afd8>]
(warn_slowpath_common+0x68/0x88)
[   24.622615] [<c022afd8>] (warn_slowpath_common+0x68/0x88) from
[<c022b08c>] (warn_slowpath_fmt+0x30/0x40)
[   24.631389] [<c022b08c>] (warn_slowpath_fmt+0x30/0x40) from
[<bf008bec>] (usb_gadget_probe_driver+0x20/0x100 [udc_core])
[   24.641027] [<bf008bec>] (usb_gadget_probe_driver+0x20/0x100
[udc_core]) from [<c0208860>] (do_one_initcall+0x110/0x174)
[   24.651962] [<c0208860>] (do_one_initcall+0x110/0x174) from
[<c0285740>] (load_module+0x185c/0x1c6c)
[   24.662807] [<c0285740>] (load_module+0x185c/0x1c6c) from
[<c0285c40>] (SyS_init_module+0xf0/0x100)
[   24.671922] [<c0285c40>] (SyS_init_module+0xf0/0x100) from
[<c020e3c0>] (ret_fast_syscall+0x0/0x30)
[   24.680691] ---[ end trace 9c437930835a204c ]---
[   24.689682] TRB: in udc_bind_to_driver
[   24.694645] udc ci_hdrc.0: registering UDC driver [g_ether]
[   24.698103] TRB: UBTO 1
[   24.703643] using random self ethernet address
[   24.706008] using random host ethernet address
[   24.730244] usb0: HOST MAC 0e:02:1b:fe:4d:1d
[   24.730296] usb0: MAC 2e:f3:d5:6d:9f:9c
[   24.733598] using random self ethernet address
[   24.737133] using random host ethernet address
[   24.757815] g_ether gadget: adding config #2 'RNDIS'/bf0533d8
[   24.757839] rndis_register: configNr = 0
[   24.762561] g_ether gadget: adding 'rndis'/ef3e16c0 to config
'RNDIS'/bf0533d8
[   24.766536] rndis_set_param_medium: 0 0
[   24.773581] g_ether gadget: RNDIS: dual speed IN/ep1in OUT/ep1out
NOTIFY/ep2in
[   24.777290] g_ether gadget: cfg 2/bf0533d8 speeds: high full
[   24.784606] g_ether gadget:   interface 0 = rndis/ef3e16c0
[   24.790434] g_ether gadget:   interface 1 = rndis/ef3e16c0
[   24.795691] g_ether gadget: adding config #1 'CDC Ethernet (ECM)'/bf05332c
[   24.801203] g_ether gadget: adding 'cdc_ethernet'/ef3e1780 to
config 'CDC Ethernet (ECM)'/bf05332c
[   24.808027] g_ether gadget: CDC Ethernet: dual speed IN/ep1in
OUT/ep1out NOTIFY/ep2in
[   24.817376] g_ether gadget: cfg 1/bf05332c speeds: high full
[   24.824898] g_ether gadget:   interface 0 = cdc_ethernet/ef3e1780
[   24.830626] g_ether gadget:   interface 1 = cdc_ethernet/ef3e1780
[   24.836580] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[   24.842672] g_ether gadget: g_ether ready
[   24.849071] TRB: UBTO 2
[   24.853251] TRB: UBTO 3 - calling usb_gadget_udc_start
[   24.855494] TRB: calling through gadget->ops->udc_start()
[   24.860721] TRB: ci_udc_start()
[   24.866169] TRB: CIS 1
[   24.869119] TRB: CIS 2
[   24.871566] TRB: CIS 3
[   24.873893] TRB: CIS 4
[   24.876236] TRB: CIS 5
[   24.878580] TRB: CIS 6
[   24.880942] TRB: UBTO 4
[   24.883268] TRB: UBTO 5
[   24.885611] TRB: UBTO 6
[   24.888222] TRB: UBTO 7
/lib/modules #

On Tue, Feb 18, 2014 at 5:21 AM, Ivan T. Ivanov <iivanov@mm-sol.com> wrote:
> From: "Ivan T. Ivanov" <iivanov@mm-sol.com>
>
> Hi,
>
> This series intend to fix driver, which was broken for a while.
> It is used to create peripheral role device, which in coordination
> with phy-usb-msm driver will provide USB2.0 gadget support for
> Qualcomm targets.
>
> Changes since initial version.
>
>  - Address comments from Peter - better description of the changes.
>  - Drop patch 4 - till USB PHY driver is ready
>
> Ivan T. Ivanov (3):
>   usb: chipidea: msm: Add device tree binding information
>   usb: chipidea: msm: Add device tree support
>   usb: chipidea: msm: Initialize offset of the capability registers
>
>  .../devicetree/bindings/usb/msm-hsusb.txt          |   17 ++++++++++++++
>  drivers/usb/chipidea/ci_hdrc_msm.c                 |   24 +++++++++++++++++++-
>  2 files changed, 40 insertions(+), 1 deletion(-)
>
> --
> 1.7.9.5
>
> --
> 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



-- 
 -- Tim Bird
Senior Software Engineer, Sony Mobile
Architecture Group Chair, CE Workgroup, Linux Foundation

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PATCH v2 0/3] usb: chipidea: msm: Clean and fix glue layer driver
  2014-02-19  6:21 ` [PATCH v2 0/3] usb: chipidea: msm: Clean and fix glue layer driver Tim Bird
@ 2014-02-19 10:32   ` Ivan T. Ivanov
  2014-02-19 14:58   ` Ivan T. Ivanov
  1 sibling, 0 replies; 38+ messages in thread
From: Ivan T. Ivanov @ 2014-02-19 10:32 UTC (permalink / raw)
  To: Tim Bird
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	Rob Landley, Peter Chen, Grant Likely, Greg Kroah-Hartman,
	David Brown, devicetree, Linux Kernel Mailing List, linux-usb,
	linux-arm-msm


Hi, 

I will need some time to recreate USB test
environment. I will come back when I am ready.

Regards,
Ivan

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PATCH v2 0/3] usb: chipidea: msm: Clean and fix glue layer driver
  2014-02-19  6:21 ` [PATCH v2 0/3] usb: chipidea: msm: Clean and fix glue layer driver Tim Bird
  2014-02-19 10:32   ` Ivan T. Ivanov
@ 2014-02-19 14:58   ` Ivan T. Ivanov
  2014-02-20  4:07       ` Tim Bird
  1 sibling, 1 reply; 38+ messages in thread
From: Ivan T. Ivanov @ 2014-02-19 14:58 UTC (permalink / raw)
  To: Tim Bird
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	Rob Landley, Peter Chen, Grant Likely, Greg Kroah-Hartman,
	David Brown, devicetree, Linux Kernel Mailing List, linux-usb,
	linux-arm-msm

[-- Attachment #1: Type: text/plain, Size: 2895 bytes --]


Hi Tim, 

On Tue, 2014-02-18 at 22:21 -0800, Tim Bird wrote: 
> Ivan,
> 
> I'm having tremendous problems getting this driver to initialize.  For
> some reason, I can't get the driver to actually transition the
> hardware into peripheral mode.  At first I was getting a lot of probe
> deferrals, based on not finding the regulators early enough in the
> boot, and I thought it was an issue with the gadget drivers loading
> before the driver could complete its setup.  However, I switched
> everything to loading via modules, and now have less probe deferrals,
> but I still can't get the driver to activate.

My understanding for gadget drivers is that you can have only one 
of them active in particular time. When compiled in kernel you can 
chose only one of them, also you can have only one module (function)
loaded. 


>   I see zero interrupts.

Right, I think that we will not see interrupts until we have
SPMI drivers which could control PMIC chip, PMIC is responsible
to do ID line detection and generate IRQ to APQ/MSM chip.

> In particular the routine hw_device_state (which turns on interrupts
> in the controller) is never called, because I can't get
> msm_otg_start_peripheral to actually kick the hardware.
> 

OTG state machine is not used at all. This phy-"otg" driver is 
working only in "peripheral" mode, because of missing PMIC
communication. 

The only callback which you could see to be executed is 
struct usb_otg::set_peripheral(), when you load gadget driver.


<snip>

(Would you mind sharing your config?).

Sure. Attached. 


> I tried configuring the qcom,otg-control for user controlled mode
> setting (via debugfs), 

Never testes this. It was there before.

> 
> My kernel is based on an internal Sony 3.13-rc6 kernel with clock and
> regulator patches applied, as well as your phy-msm-usb.c patches from
> November and your chipidea patches from yesterday.

You will need also 4th chipidea patch[1]. I have dropped it, because 
I will like to upstream PHY driver changes first. They are depended
anyway.

To reduce dependency to other drivers, I could recommend you to 
use Zero gadget driver. It should be enough to test USB stack, 
where APQ device will be peripheral and development workstation 
will be a host[2]. 


# cat zero.sh 
#!/bin/sh
cd /lib/modules/$(uname -r)/kernel/drivers/usb/gadget
insmod ./libcomposite.ko 
insmod ./usb_f_ss_lb.ko
insmod ./g_zero.ko


> [   22.454287] [<c022afd8>] (warn_slowpath_common+0x68/0x88) from
> [<c022b08c>] (warn_slowpath_fmt+0x30/0x40)
> [   22.463060] [<c022b08c>] (warn_slowpath_fmt+0x30/0x40) from
> [<bf005024>] (msm_otg_probe+0x24/0x904 [phy_msm_usb])
> [   22.472703] [<bf005024>] (msm_otg_probe+0x24/0x904 [phy_msm_usb])

This is know non-fatal issue. I will try to see how to fix it.


Regards,
Ivan

[1] usb: chipidea: msm: Use USB PHY API to control PHY state
[2] http://www.linux-usb.org/usbtest/



[-- Attachment #2: config-usb2 --]
[-- Type: text/plain, Size: 53561 bytes --]

#
# Automatically generated file; DO NOT EDIT.
# Linux/arm 3.14.0-rc3 Kernel Configuration
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
CONFIG_HAVE_PROC_CPU=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_NEED_DMA_MAP_STATE=y
CONFIG_VECTORS_BASE=0xffff0000
CONFIG_ARM_PATCH_PHYS_VIRT=y
CONFIG_GENERIC_BUG=y
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
CONFIG_IRQ_WORK=y
CONFIG_BUILDTIME_EXTABLE_SORT=y

#
# General setup
#
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_CROSS_COMPILE=""
# CONFIG_COMPILE_TEST is not set
CONFIG_LOCALVERSION=""
CONFIG_LOCALVERSION_AUTO=y
CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_LZMA=y
CONFIG_HAVE_KERNEL_XZ=y
CONFIG_HAVE_KERNEL_LZO=y
CONFIG_HAVE_KERNEL_LZ4=y
CONFIG_KERNEL_GZIP=y
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not set
# CONFIG_KERNEL_LZ4 is not set
CONFIG_DEFAULT_HOSTNAME="(none)"
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
# CONFIG_POSIX_MQUEUE is not set
# CONFIG_FHANDLE is not set
# CONFIG_AUDIT is not set

#
# IRQ subsystem
#
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_GENERIC_IRQ_SHOW=y
CONFIG_HARDIRQS_SW_RESEND=y
CONFIG_IRQ_DOMAIN=y
# CONFIG_IRQ_DOMAIN_DEBUG is not set
CONFIG_IRQ_FORCED_THREADING=y
CONFIG_SPARSE_IRQ=y
CONFIG_KTIME_SCALAR=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
CONFIG_ARCH_HAS_TICK_BROADCAST=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y

#
# Timers subsystem
#
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ_COMMON=y
# CONFIG_HZ_PERIODIC is not set
CONFIG_NO_HZ_IDLE=y
# CONFIG_NO_HZ_FULL is not set
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y

#
# CPU/Task time and stats accounting
#
CONFIG_TICK_CPU_ACCOUNTING=y
# CONFIG_VIRT_CPU_ACCOUNTING_GEN is not set
# CONFIG_IRQ_TIME_ACCOUNTING is not set
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_TASKSTATS is not set

#
# RCU Subsystem
#
CONFIG_TREE_PREEMPT_RCU=y
CONFIG_PREEMPT_RCU=y
CONFIG_RCU_STALL_COMMON=y
# CONFIG_RCU_USER_QS is not set
CONFIG_RCU_FANOUT=32
CONFIG_RCU_FANOUT_LEAF=16
# CONFIG_RCU_FANOUT_EXACT is not set
# CONFIG_RCU_FAST_NO_HZ is not set
# CONFIG_TREE_RCU_TRACE is not set
# CONFIG_RCU_BOOST is not set
# CONFIG_RCU_NOCB_CPU is not set
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_LOG_BUF_SHIFT=17
CONFIG_GENERIC_SCHED_CLOCK=y
# CONFIG_CGROUPS is not set
# CONFIG_CHECKPOINT_RESTORE is not set
# CONFIG_NAMESPACES is not set
# CONFIG_SCHED_AUTOGROUP is not set
# CONFIG_SYSFS_DEPRECATED is not set
# CONFIG_RELAY is not set
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_RD_GZIP=y
# CONFIG_RD_BZIP2 is not set
# CONFIG_RD_LZMA is not set
# CONFIG_RD_XZ is not set
# CONFIG_RD_LZO is not set
# CONFIG_RD_LZ4 is not set
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_SYSCTL=y
CONFIG_ANON_INODES=y
CONFIG_HAVE_UID16=y
CONFIG_EXPERT=y
CONFIG_UID16=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_AIO=y
CONFIG_EMBEDDED=y
CONFIG_HAVE_PERF_EVENTS=y
CONFIG_PERF_USE_VMALLOC=y

#
# Kernel Performance Events And Counters
#
CONFIG_PERF_EVENTS=y
# CONFIG_DEBUG_PERF_USE_VMALLOC is not set
CONFIG_VM_EVENT_COUNTERS=y
# CONFIG_SLUB_DEBUG is not set
# CONFIG_COMPAT_BRK is not set
# CONFIG_SLAB is not set
CONFIG_SLUB=y
# CONFIG_SLOB is not set
CONFIG_SLUB_CPU_PARTIAL=y
CONFIG_PROFILING=y
CONFIG_TRACEPOINTS=y
CONFIG_OPROFILE=y
CONFIG_HAVE_OPROFILE=y
CONFIG_KPROBES=y
# CONFIG_JUMP_LABEL is not set
# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set
CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
CONFIG_ARCH_USE_BUILTIN_BSWAP=y
CONFIG_KRETPROBES=y
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
CONFIG_HAVE_ARCH_TRACEHOOK=y
CONFIG_HAVE_DMA_ATTRS=y
CONFIG_HAVE_DMA_CONTIGUOUS=y
CONFIG_GENERIC_SMP_IDLE_THREAD=y
CONFIG_GENERIC_IDLE_POLL_SETUP=y
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
CONFIG_HAVE_CLK=y
CONFIG_HAVE_DMA_API_DEBUG=y
CONFIG_HAVE_HW_BREAKPOINT=y
CONFIG_HAVE_PERF_REGS=y
CONFIG_HAVE_PERF_USER_STACK_DUMP=y
CONFIG_HAVE_ARCH_JUMP_LABEL=y
CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
CONFIG_HAVE_CC_STACKPROTECTOR=y
# CONFIG_CC_STACKPROTECTOR is not set
CONFIG_CC_STACKPROTECTOR_NONE=y
# CONFIG_CC_STACKPROTECTOR_REGULAR is not set
# CONFIG_CC_STACKPROTECTOR_STRONG is not set
CONFIG_HAVE_CONTEXT_TRACKING=y
CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
CONFIG_HAVE_MOD_ARCH_SPECIFIC=y
CONFIG_MODULES_USE_ELF_REL=y
CONFIG_CLONE_BACKWARDS=y
CONFIG_OLD_SIGSUSPEND3=y
CONFIG_OLD_SIGACTION=y

#
# GCOV-based kernel profiling
#
# CONFIG_GCOV_KERNEL is not set
CONFIG_HAVE_GENERIC_DMA_COHERENT=y
CONFIG_RT_MUTEXES=y
CONFIG_BASE_SMALL=0
# CONFIG_SYSTEM_TRUSTED_KEYRING is not set
CONFIG_MODULES=y
# CONFIG_MODULE_FORCE_LOAD is not set
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
CONFIG_MODVERSIONS=y
# CONFIG_MODULE_SRCVERSION_ALL is not set
# CONFIG_MODULE_SIG is not set
CONFIG_STOP_MACHINE=y
CONFIG_BLOCK=y
CONFIG_LBDAF=y
CONFIG_BLK_DEV_BSG=y
# CONFIG_BLK_DEV_BSGLIB is not set
# CONFIG_BLK_DEV_INTEGRITY is not set
# CONFIG_BLK_CMDLINE_PARSER is not set

#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_AIX_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not set
CONFIG_MSDOS_PARTITION=y
# CONFIG_BSD_DISKLABEL is not set
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
# CONFIG_UNIXWARE_DISKLABEL is not set
# CONFIG_LDM_PARTITION is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
# CONFIG_KARMA_PARTITION is not set
CONFIG_EFI_PARTITION=y
# CONFIG_SYSV68_PARTITION is not set
# CONFIG_CMDLINE_PARTITION is not set

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
# CONFIG_DEFAULT_DEADLINE is not set
CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="cfq"
CONFIG_UNINLINE_SPIN_UNLOCK=y
CONFIG_MUTEX_SPIN_ON_OWNER=y
CONFIG_FREEZER=y

#
# System Type
#
CONFIG_MMU=y
CONFIG_ARCH_MULTIPLATFORM=y
# CONFIG_ARCH_INTEGRATOR is not set
# CONFIG_ARCH_REALVIEW is not set
# CONFIG_ARCH_VERSATILE is not set
# CONFIG_ARCH_AT91 is not set
# CONFIG_ARCH_CLPS711X is not set
# CONFIG_ARCH_GEMINI is not set
# CONFIG_ARCH_EBSA110 is not set
# CONFIG_ARCH_EP93XX is not set
# CONFIG_ARCH_FOOTBRIDGE is not set
# CONFIG_ARCH_NETX is not set
# CONFIG_ARCH_IOP13XX is not set
# CONFIG_ARCH_IOP32X is not set
# CONFIG_ARCH_IOP33X is not set
# CONFIG_ARCH_IXP4XX is not set
# CONFIG_ARCH_DOVE is not set
# CONFIG_ARCH_KIRKWOOD is not set
# CONFIG_ARCH_MV78XX0 is not set
# CONFIG_ARCH_ORION5X is not set
# CONFIG_ARCH_MMP is not set
# CONFIG_ARCH_KS8695 is not set
# CONFIG_ARCH_W90X900 is not set
# CONFIG_ARCH_LPC32XX is not set
# CONFIG_ARCH_PXA is not set
# CONFIG_ARCH_MSM_NODT is not set
# CONFIG_ARCH_SHMOBILE_LEGACY is not set
# CONFIG_ARCH_RPC is not set
# CONFIG_ARCH_SA1100 is not set
# CONFIG_ARCH_S3C24XX is not set
# CONFIG_ARCH_S3C64XX is not set
# CONFIG_ARCH_S5P64X0 is not set
# CONFIG_ARCH_S5PC100 is not set
# CONFIG_ARCH_S5PV210 is not set
# CONFIG_ARCH_EXYNOS is not set
# CONFIG_ARCH_DAVINCI is not set
# CONFIG_ARCH_OMAP1 is not set

#
# Multiple platform selection
#

#
# CPU Core family selection
#
# CONFIG_ARCH_MULTI_V6 is not set
CONFIG_ARCH_MULTI_V7=y
CONFIG_ARCH_MULTI_V6_V7=y
# CONFIG_ARCH_MULTI_CPU_AUTO is not set
# CONFIG_ARCH_MVEBU is not set
# CONFIG_ARCH_BCM is not set
# CONFIG_ARCH_BERLIN is not set
# CONFIG_GPIO_PCA953X is not set
# CONFIG_KEYBOARD_GPIO_POLLED is not set
# CONFIG_ARCH_HIGHBANK is not set
# CONFIG_ARCH_HI3xxx is not set
# CONFIG_ARCH_KEYSTONE is not set
CONFIG_ARCH_MSM=y
CONFIG_ARCH_MSM_DT=y

#
# Qualcomm MSM SoC Selection
#
CONFIG_ARCH_MSM8X60=y
CONFIG_ARCH_MSM8960=y
CONFIG_ARCH_MSM8974=y
# CONFIG_MSM_SMD_PKG3 is not set
CONFIG_MSM_SMD=y
CONFIG_MSM_SCM=y
CONFIG_MSM_TIMER=y
CONFIG_MSM_SMD_PKG4=y
# CONFIG_ARCH_MXC is not set
# CONFIG_ARCH_OMAP3 is not set
# CONFIG_ARCH_OMAP4 is not set
# CONFIG_SOC_OMAP5 is not set
# CONFIG_SOC_AM33XX is not set
# CONFIG_SOC_AM43XX is not set
# CONFIG_SOC_DRA7XX is not set
# CONFIG_ARCH_ROCKCHIP is not set
# CONFIG_ARCH_SOCFPGA is not set
# CONFIG_PLAT_SPEAR is not set
# CONFIG_ARCH_STI is not set
# CONFIG_ARCH_SHMOBILE_MULTI is not set
# CONFIG_ARCH_SUNXI is not set
# CONFIG_ARCH_SIRF is not set
# CONFIG_ARCH_TEGRA is not set
# CONFIG_ARCH_U8500 is not set
# CONFIG_ARCH_VEXPRESS is not set
# CONFIG_ARCH_VIRT is not set
# CONFIG_ARCH_WM8850 is not set
# CONFIG_ARCH_ZYNQ is not set

#
# Processor Type
#
CONFIG_CPU_V7=y
CONFIG_CPU_32v6K=y
CONFIG_CPU_32v7=y
CONFIG_CPU_ABRT_EV7=y
CONFIG_CPU_PABRT_V7=y
CONFIG_CPU_CACHE_V7=y
CONFIG_CPU_CACHE_VIPT=y
CONFIG_CPU_COPY_V6=y
CONFIG_CPU_TLB_V7=y
CONFIG_CPU_HAS_ASID=y
CONFIG_CPU_CP15=y
CONFIG_CPU_CP15_MMU=y

#
# Processor Features
#
# CONFIG_ARM_LPAE is not set
# CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set
CONFIG_ARM_THUMB=y
# CONFIG_ARM_THUMBEE is not set
CONFIG_ARM_VIRT_EXT=y
CONFIG_SWP_EMULATE=y
# CONFIG_CPU_ICACHE_DISABLE is not set
# CONFIG_CPU_DCACHE_DISABLE is not set
# CONFIG_CPU_BPREDICT_DISABLE is not set
CONFIG_KUSER_HELPERS=y
# CONFIG_CACHE_L2X0 is not set
CONFIG_ARM_L1_CACHE_SHIFT_6=y
CONFIG_ARM_L1_CACHE_SHIFT=6
CONFIG_ARM_DMA_MEM_BUFFERABLE=y
CONFIG_ARM_NR_BANKS=8
CONFIG_MULTI_IRQ_HANDLER=y
# CONFIG_ARM_ERRATA_430973 is not set
# CONFIG_ARM_ERRATA_643719 is not set
# CONFIG_ARM_ERRATA_720789 is not set
# CONFIG_ARM_ERRATA_754322 is not set
# CONFIG_ARM_ERRATA_754327 is not set
# CONFIG_ARM_ERRATA_764369 is not set
# CONFIG_ARM_ERRATA_775420 is not set
# CONFIG_ARM_ERRATA_798181 is not set
# CONFIG_ARM_ERRATA_773022 is not set

#
# Bus support
#
# CONFIG_PCI_SYSCALL is not set
# CONFIG_PCCARD is not set

#
# Kernel Features
#
CONFIG_HAVE_SMP=y
CONFIG_SMP=y
CONFIG_SMP_ON_UP=y
CONFIG_ARM_CPU_TOPOLOGY=y
# CONFIG_SCHED_MC is not set
# CONFIG_SCHED_SMT is not set
CONFIG_HAVE_ARM_ARCH_TIMER=y
# CONFIG_MCPM is not set
# CONFIG_BIG_LITTLE is not set
CONFIG_VMSPLIT_3G=y
# CONFIG_VMSPLIT_2G is not set
# CONFIG_VMSPLIT_1G is not set
CONFIG_PAGE_OFFSET=0xC0000000
CONFIG_NR_CPUS=4
CONFIG_HOTPLUG_CPU=y
# CONFIG_ARM_PSCI is not set
CONFIG_ARCH_NR_GPIO=0
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_COUNT=y
CONFIG_HZ_FIXED=0
CONFIG_HZ_100=y
# CONFIG_HZ_200 is not set
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
# CONFIG_HZ_500 is not set
# CONFIG_HZ_1000 is not set
CONFIG_HZ=100
CONFIG_SCHED_HRTICK=y
# CONFIG_THUMB2_KERNEL is not set
CONFIG_AEABI=y
# CONFIG_OABI_COMPAT is not set
# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
CONFIG_HAVE_ARCH_PFN_VALID=y
CONFIG_HIGHMEM=y
CONFIG_HIGHPTE=y
CONFIG_HW_PERF_EVENTS=y
CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_HAVE_MEMBLOCK=y
CONFIG_NO_BOOTMEM=y
# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set
CONFIG_PAGEFLAGS_EXTENDED=y
CONFIG_SPLIT_PTLOCK_CPUS=4
CONFIG_COMPACTION=y
CONFIG_MIGRATION=y
# CONFIG_PHYS_ADDR_T_64BIT is not set
CONFIG_ZONE_DMA_FLAG=0
CONFIG_BOUNCE=y
# CONFIG_KSM is not set
CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
CONFIG_CROSS_MEMORY_ATTACH=y
CONFIG_CLEANCACHE=y
# CONFIG_FRONTSWAP is not set
# CONFIG_CMA is not set
# CONFIG_ZBUD is not set
# CONFIG_ZSMALLOC is not set
CONFIG_FORCE_MAX_ZONEORDER=11
CONFIG_ALIGNMENT_TRAP=y
# CONFIG_UACCESS_WITH_MEMCPY is not set
# CONFIG_SECCOMP is not set
CONFIG_SWIOTLB=y
CONFIG_IOMMU_HELPER=y
# CONFIG_XEN is not set

#
# Boot options
#
CONFIG_USE_OF=y
CONFIG_ATAGS=y
# CONFIG_DEPRECATED_PARAM_STRUCT is not set
CONFIG_ZBOOT_ROM_TEXT=0
CONFIG_ZBOOT_ROM_BSS=0
CONFIG_ARM_APPENDED_DTB=y
CONFIG_ARM_ATAG_DTB_COMPAT=y
CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER=y
# CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEND is not set
CONFIG_CMDLINE=""
# CONFIG_KEXEC is not set
# CONFIG_CRASH_DUMP is not set
CONFIG_AUTO_ZRELADDR=y

#
# CPU Power Management
#

#
# CPU Idle
#
# CONFIG_CPU_IDLE is not set
# CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED is not set

#
# Floating point emulation
#

#
# At least one emulation must be selected
#
CONFIG_VFP=y
CONFIG_VFPv3=y
CONFIG_NEON=y
# CONFIG_KERNEL_MODE_NEON is not set

#
# Userspace binary formats
#
CONFIG_BINFMT_ELF=y
CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
CONFIG_BINFMT_SCRIPT=y
# CONFIG_HAVE_AOUT is not set
# CONFIG_BINFMT_MISC is not set
CONFIG_COREDUMP=y

#
# Power management options
#
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
CONFIG_PM_SLEEP=y
CONFIG_PM_SLEEP_SMP=y
# CONFIG_PM_AUTOSLEEP is not set
# CONFIG_PM_WAKELOCKS is not set
# CONFIG_PM_RUNTIME is not set
CONFIG_PM=y
# CONFIG_PM_DEBUG is not set
# CONFIG_APM_EMULATION is not set
CONFIG_PM_CLK=y
# CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set
CONFIG_CPU_PM=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_ARM_CPU_SUSPEND=y
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
# CONFIG_PACKET_DIAG is not set
CONFIG_UNIX=y
# CONFIG_UNIX_DIAG is not set
# CONFIG_XFRM_USER is not set
# CONFIG_NET_KEY is not set
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
CONFIG_IP_ADVANCED_ROUTER=y
# CONFIG_IP_FIB_TRIE_STATS is not set
CONFIG_IP_MULTIPLE_TABLES=y
# CONFIG_IP_ROUTE_MULTIPATH is not set
CONFIG_IP_ROUTE_VERBOSE=y
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
# CONFIG_IP_PNP_BOOTP is not set
# CONFIG_IP_PNP_RARP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE_DEMUX is not set
# CONFIG_NET_IP_TUNNEL is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_XFRM_TUNNEL is not set
# CONFIG_INET_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_BEET is not set
# CONFIG_INET_LRO is not set
CONFIG_INET_DIAG=y
CONFIG_INET_TCP_DIAG=y
# CONFIG_INET_UDP_DIAG is not set
# CONFIG_TCP_CONG_ADVANCED is not set
CONFIG_TCP_CONG_CUBIC=y
CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_MD5SIG is not set
# CONFIG_IPV6 is not set
# CONFIG_NETWORK_SECMARK is not set
# CONFIG_NETWORK_PHY_TIMESTAMPING is not set
# CONFIG_NETFILTER is not set
# CONFIG_IP_DCCP is not set
# CONFIG_IP_SCTP is not set
# CONFIG_RDS is not set
# CONFIG_TIPC is not set
# CONFIG_ATM is not set
# CONFIG_L2TP is not set
# CONFIG_BRIDGE is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_PHONET is not set
# CONFIG_IEEE802154 is not set
# CONFIG_NET_SCHED is not set
# CONFIG_DCB is not set
CONFIG_DNS_RESOLVER=y
# CONFIG_BATMAN_ADV is not set
# CONFIG_OPENVSWITCH is not set
# CONFIG_VSOCKETS is not set
# CONFIG_NETLINK_MMAP is not set
# CONFIG_NETLINK_DIAG is not set
# CONFIG_NET_MPLS_GSO is not set
# CONFIG_HSR is not set
CONFIG_RPS=y
CONFIG_RFS_ACCEL=y
CONFIG_XPS=y
CONFIG_NET_RX_BUSY_POLL=y
CONFIG_BQL=y
# CONFIG_BPF_JIT is not set
CONFIG_NET_FLOW_LIMIT=y

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_NET_TCPPROBE is not set
# CONFIG_NET_DROP_MONITOR is not set
# CONFIG_HAMRADIO is not set
# CONFIG_CAN is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
# CONFIG_AF_RXRPC is not set
CONFIG_FIB_RULES=y
CONFIG_WIRELESS=y
CONFIG_CFG80211=y
# CONFIG_NL80211_TESTMODE is not set
# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
# CONFIG_CFG80211_REG_DEBUG is not set
# CONFIG_CFG80211_CERTIFICATION_ONUS is not set
CONFIG_CFG80211_DEFAULT_PS=y
# CONFIG_CFG80211_DEBUGFS is not set
# CONFIG_CFG80211_INTERNAL_REGDB is not set
# CONFIG_CFG80211_WEXT is not set
# CONFIG_LIB80211 is not set
# CONFIG_MAC80211 is not set
# CONFIG_WIMAX is not set
CONFIG_RFKILL=y
# CONFIG_RFKILL_INPUT is not set
# CONFIG_RFKILL_REGULATOR is not set
# CONFIG_RFKILL_GPIO is not set
# CONFIG_NET_9P is not set
# CONFIG_CAIF is not set
# CONFIG_CEPH_LIB is not set
# CONFIG_NFC is not set
CONFIG_HAVE_BPF_JIT=y

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_UEVENT_HELPER_PATH=""
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE=""
CONFIG_FW_LOADER_USER_HELPER=y
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_SYS_HYPERVISOR is not set
# CONFIG_GENERIC_CPU_DEVICES is not set
CONFIG_REGMAP=y
CONFIG_REGMAP_MMIO=y
# CONFIG_DMA_SHARED_BUFFER is not set

#
# Bus devices
#
# CONFIG_ARM_CCI is not set
# CONFIG_CONNECTOR is not set
# CONFIG_MTD is not set
CONFIG_DTC=y
CONFIG_OF=y

#
# Device Tree and Open Firmware support
#
# CONFIG_PROC_DEVICETREE is not set
# CONFIG_OF_SELFTEST is not set
CONFIG_OF_FLATTREE=y
CONFIG_OF_EARLY_FLATTREE=y
CONFIG_OF_ADDRESS=y
CONFIG_OF_IRQ=y
CONFIG_OF_SPMI=y
# CONFIG_PARPORT is not set
CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
CONFIG_BLK_DEV=y
# CONFIG_BLK_DEV_NULL_BLK is not set
# CONFIG_BLK_DEV_COW_COMMON is not set
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_LOOP_MIN_COUNT=8
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
# CONFIG_BLK_DEV_DRBD is not set
# CONFIG_BLK_DEV_NBD is not set
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=4096
# CONFIG_BLK_DEV_XIP is not set
# CONFIG_CDROM_PKTCDVD is not set
# CONFIG_ATA_OVER_ETH is not set
# CONFIG_MG_DISK is not set
# CONFIG_BLK_DEV_RBD is not set

#
# Misc devices
#
# CONFIG_SENSORS_LIS3LV02D is not set
# CONFIG_AD525X_DPOT is not set
# CONFIG_ATMEL_PWM is not set
# CONFIG_DUMMY_IRQ is not set
# CONFIG_ICS932S401 is not set
# CONFIG_ATMEL_SSC is not set
# CONFIG_ENCLOSURE_SERVICES is not set
# CONFIG_APDS9802ALS is not set
# CONFIG_ISL29003 is not set
# CONFIG_ISL29020 is not set
# CONFIG_SENSORS_TSL2550 is not set
# CONFIG_SENSORS_BH1780 is not set
# CONFIG_SENSORS_BH1770 is not set
# CONFIG_SENSORS_APDS990X is not set
# CONFIG_HMC6352 is not set
# CONFIG_DS1682 is not set
# CONFIG_TI_DAC7512 is not set
# CONFIG_BMP085_I2C is not set
# CONFIG_BMP085_SPI is not set
# CONFIG_USB_SWITCH_FSA9480 is not set
# CONFIG_LATTICE_ECP3_CONFIG is not set
# CONFIG_SRAM is not set
# CONFIG_C2PORT is not set

#
# EEPROM support
#
CONFIG_EEPROM_AT24=y
# CONFIG_EEPROM_AT25 is not set
# CONFIG_EEPROM_LEGACY is not set
# CONFIG_EEPROM_MAX6875 is not set
# CONFIG_EEPROM_93CX6 is not set
# CONFIG_EEPROM_93XX46 is not set

#
# Texas Instruments shared transport line discipline
#
# CONFIG_TI_ST is not set
# CONFIG_SENSORS_LIS3_SPI is not set
# CONFIG_SENSORS_LIS3_I2C is not set

#
# Altera FPGA firmware download module
#
# CONFIG_ALTERA_STAPL is not set

#
# Intel MIC Host Driver
#

#
# Intel MIC Card Driver
#

#
# SCSI device support
#
CONFIG_SCSI_MOD=y
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
CONFIG_SCSI_TGT=y
# CONFIG_SCSI_NETLINK is not set
# CONFIG_SCSI_PROC_FS is not set

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
# CONFIG_BLK_DEV_SR is not set
CONFIG_CHR_DEV_SG=y
CONFIG_CHR_DEV_SCH=y
CONFIG_SCSI_MULTI_LUN=y
# CONFIG_SCSI_CONSTANTS is not set
CONFIG_SCSI_LOGGING=y
CONFIG_SCSI_SCAN_ASYNC=y

#
# SCSI Transports
#
# CONFIG_SCSI_SPI_ATTRS is not set
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_ATTRS is not set
# CONFIG_SCSI_SAS_LIBSAS is not set
# CONFIG_SCSI_SRP_ATTRS is not set
# CONFIG_SCSI_LOWLEVEL is not set
# CONFIG_SCSI_DH is not set
# CONFIG_SCSI_OSD_INITIATOR is not set
# CONFIG_ATA is not set
# CONFIG_MD is not set
# CONFIG_TARGET_CORE is not set
# CONFIG_NETDEVICES is not set

#
# Input device support
#
CONFIG_INPUT=y
# CONFIG_INPUT_FF_MEMLESS is not set
# CONFIG_INPUT_POLLDEV is not set
# CONFIG_INPUT_SPARSEKMAP is not set
# CONFIG_INPUT_MATRIXKMAP is not set

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
CONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
# CONFIG_KEYBOARD_ADP5588 is not set
# CONFIG_KEYBOARD_ADP5589 is not set
# CONFIG_KEYBOARD_ATKBD is not set
# CONFIG_KEYBOARD_QT1070 is not set
# CONFIG_KEYBOARD_QT2160 is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_GPIO is not set
# CONFIG_KEYBOARD_TCA6416 is not set
# CONFIG_KEYBOARD_TCA8418 is not set
# CONFIG_KEYBOARD_MATRIX is not set
# CONFIG_KEYBOARD_LM8333 is not set
# CONFIG_KEYBOARD_MAX7359 is not set
# CONFIG_KEYBOARD_MCS is not set
# CONFIG_KEYBOARD_MPR121 is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_OPENCORES is not set
# CONFIG_KEYBOARD_SAMSUNG is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
CONFIG_INPUT_MOUSE=y
# CONFIG_MOUSE_PS2 is not set
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_APPLETOUCH is not set
# CONFIG_MOUSE_BCM5974 is not set
# CONFIG_MOUSE_CYAPA is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_MOUSE_GPIO is not set
# CONFIG_MOUSE_SYNAPTICS_I2C is not set
# CONFIG_MOUSE_SYNAPTICS_USB is not set
CONFIG_INPUT_JOYSTICK=y
# CONFIG_JOYSTICK_ANALOG is not set
# CONFIG_JOYSTICK_A3D is not set
# CONFIG_JOYSTICK_ADI is not set
# CONFIG_JOYSTICK_COBRA is not set
# CONFIG_JOYSTICK_GF2K is not set
# CONFIG_JOYSTICK_GRIP is not set
# CONFIG_JOYSTICK_GRIP_MP is not set
# CONFIG_JOYSTICK_GUILLEMOT is not set
# CONFIG_JOYSTICK_INTERACT is not set
# CONFIG_JOYSTICK_SIDEWINDER is not set
# CONFIG_JOYSTICK_TMDC is not set
# CONFIG_JOYSTICK_IFORCE is not set
# CONFIG_JOYSTICK_WARRIOR is not set
# CONFIG_JOYSTICK_MAGELLAN is not set
# CONFIG_JOYSTICK_SPACEORB is not set
# CONFIG_JOYSTICK_SPACEBALL is not set
# CONFIG_JOYSTICK_STINGER is not set
# CONFIG_JOYSTICK_TWIDJOY is not set
# CONFIG_JOYSTICK_ZHENHUA is not set
# CONFIG_JOYSTICK_AS5011 is not set
# CONFIG_JOYSTICK_JOYDUMP is not set
# CONFIG_JOYSTICK_XPAD is not set
# CONFIG_INPUT_TABLET is not set
CONFIG_INPUT_TOUCHSCREEN=y
# CONFIG_TOUCHSCREEN_ADS7846 is not set
# CONFIG_TOUCHSCREEN_AD7877 is not set
# CONFIG_TOUCHSCREEN_AD7879 is not set
# CONFIG_TOUCHSCREEN_ATMEL_MXT is not set
# CONFIG_TOUCHSCREEN_AUO_PIXCIR is not set
# CONFIG_TOUCHSCREEN_BU21013 is not set
# CONFIG_TOUCHSCREEN_CY8CTMG110 is not set
# CONFIG_TOUCHSCREEN_CYTTSP_CORE is not set
# CONFIG_TOUCHSCREEN_CYTTSP4_CORE is not set
# CONFIG_TOUCHSCREEN_DYNAPRO is not set
# CONFIG_TOUCHSCREEN_HAMPSHIRE is not set
# CONFIG_TOUCHSCREEN_EETI is not set
# CONFIG_TOUCHSCREEN_EGALAX is not set
# CONFIG_TOUCHSCREEN_FUJITSU is not set
# CONFIG_TOUCHSCREEN_ILI210X is not set
# CONFIG_TOUCHSCREEN_GUNZE is not set
# CONFIG_TOUCHSCREEN_ELO is not set
# CONFIG_TOUCHSCREEN_WACOM_W8001 is not set
# CONFIG_TOUCHSCREEN_WACOM_I2C is not set
# CONFIG_TOUCHSCREEN_MAX11801 is not set
# CONFIG_TOUCHSCREEN_MCS5000 is not set
# CONFIG_TOUCHSCREEN_MMS114 is not set
# CONFIG_TOUCHSCREEN_MTOUCH is not set
# CONFIG_TOUCHSCREEN_INEXIO is not set
# CONFIG_TOUCHSCREEN_MK712 is not set
# CONFIG_TOUCHSCREEN_PENMOUNT is not set
# CONFIG_TOUCHSCREEN_EDT_FT5X06 is not set
# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
# CONFIG_TOUCHSCREEN_PIXCIR is not set
# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
# CONFIG_TOUCHSCREEN_TSC_SERIO is not set
# CONFIG_TOUCHSCREEN_TSC2005 is not set
# CONFIG_TOUCHSCREEN_TSC2007 is not set
# CONFIG_TOUCHSCREEN_W90X900 is not set
# CONFIG_TOUCHSCREEN_ST1232 is not set
# CONFIG_TOUCHSCREEN_TPS6507X is not set
# CONFIG_TOUCHSCREEN_ZFORCE is not set
CONFIG_INPUT_MISC=y
# CONFIG_INPUT_AD714X is not set
# CONFIG_INPUT_BMA150 is not set
# CONFIG_INPUT_MMA8450 is not set
# CONFIG_INPUT_MPU3050 is not set
# CONFIG_INPUT_GP2A is not set
# CONFIG_INPUT_GPIO_BEEPER is not set
# CONFIG_INPUT_GPIO_TILT_POLLED is not set
# CONFIG_INPUT_ATI_REMOTE2 is not set
# CONFIG_INPUT_KEYSPAN_REMOTE is not set
# CONFIG_INPUT_KXTJ9 is not set
# CONFIG_INPUT_POWERMATE is not set
# CONFIG_INPUT_YEALINK is not set
# CONFIG_INPUT_CM109 is not set
CONFIG_INPUT_UINPUT=y
# CONFIG_INPUT_PCF8574 is not set
# CONFIG_INPUT_GPIO_ROTARY_ENCODER is not set
# CONFIG_INPUT_ADXL34X is not set
# CONFIG_INPUT_CMA3000 is not set

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_SERIO_SERPORT=y
CONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not set
# CONFIG_SERIO_ALTERA_PS2 is not set
# CONFIG_SERIO_PS2MULT is not set
# CONFIG_SERIO_ARC_PS2 is not set
# CONFIG_SERIO_APBPS2 is not set
# CONFIG_SERIO_OLPC_APSP is not set
# CONFIG_GAMEPORT is not set

#
# Character devices
#
CONFIG_TTY=y
CONFIG_VT=y
CONFIG_CONSOLE_TRANSLATIONS=y
CONFIG_VT_CONSOLE=y
CONFIG_VT_CONSOLE_SLEEP=y
CONFIG_HW_CONSOLE=y
# CONFIG_VT_HW_CONSOLE_BINDING is not set
CONFIG_UNIX98_PTYS=y
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
# CONFIG_LEGACY_PTYS is not set
# CONFIG_SERIAL_NONSTANDARD is not set
# CONFIG_N_GSM is not set
# CONFIG_TRACE_SINK is not set
CONFIG_DEVKMEM=y

#
# Serial drivers
#
# CONFIG_SERIAL_8250 is not set

#
# Non-8250 serial port support
#
# CONFIG_SERIAL_MAX3100 is not set
# CONFIG_SERIAL_MAX310X is not set
# CONFIG_SERIAL_SH_SCI is not set
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_SERIAL_MSM=y
CONFIG_SERIAL_MSM_CONSOLE=y
# CONFIG_SERIAL_SCCNXP is not set
# CONFIG_SERIAL_TIMBERDALE is not set
# CONFIG_SERIAL_ALTERA_JTAGUART is not set
# CONFIG_SERIAL_ALTERA_UART is not set
# CONFIG_SERIAL_IFX6X60 is not set
# CONFIG_SERIAL_MSM_SMD is not set
# CONFIG_SERIAL_XILINX_PS_UART is not set
# CONFIG_SERIAL_ARC is not set
# CONFIG_SERIAL_FSL_LPUART is not set
# CONFIG_SERIAL_ST_ASC is not set
# CONFIG_TTY_PRINTK is not set
# CONFIG_HVC_DCC is not set
# CONFIG_IPMI_HANDLER is not set
CONFIG_HW_RANDOM=y
# CONFIG_HW_RANDOM_TIMERIOMEM is not set
# CONFIG_HW_RANDOM_ATMEL is not set
# CONFIG_HW_RANDOM_EXYNOS is not set
CONFIG_HW_RANDOM_MSM=y
# CONFIG_R3964 is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_TCG_TPM is not set
# CONFIG_MSM_SMD_PKT is not set
CONFIG_I2C=y
CONFIG_I2C_BOARDINFO=y
# CONFIG_I2C_COMPAT is not set
CONFIG_I2C_CHARDEV=y
# CONFIG_I2C_MUX is not set
CONFIG_I2C_HELPER_AUTO=y

#
# I2C Hardware Bus support
#

#
# I2C system bus drivers (mostly embedded / system-on-chip)
#
# CONFIG_I2C_CBUS_GPIO is not set
# CONFIG_I2C_DESIGNWARE_PLATFORM is not set
# CONFIG_I2C_GPIO is not set
# CONFIG_I2C_OCORES is not set
# CONFIG_I2C_PCA_PLATFORM is not set
# CONFIG_I2C_PXA_PCI is not set
# CONFIG_I2C_SIMTEC is not set
# CONFIG_I2C_XILINX is not set

#
# External I2C/SMBus adapter drivers
#
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_TAOS_EVM is not set

#
# Other I2C/SMBus bus drivers
#
# CONFIG_I2C_STUB is not set
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
CONFIG_SPI=y
# CONFIG_SPI_DEBUG is not set
CONFIG_SPI_MASTER=y

#
# SPI Master Controller Drivers
#
# CONFIG_SPI_ALTERA is not set
# CONFIG_SPI_BITBANG is not set
# CONFIG_SPI_GPIO is not set
# CONFIG_SPI_FSL_SPI is not set
# CONFIG_SPI_OC_TINY is not set
# CONFIG_SPI_PXA2XX_PCI is not set
# CONFIG_SPI_SC18IS602 is not set
# CONFIG_SPI_XCOMM is not set
# CONFIG_SPI_XILINX is not set
# CONFIG_SPI_DESIGNWARE is not set

#
# SPI Protocol Masters
#
# CONFIG_SPI_SPIDEV is not set
# CONFIG_SPI_TLE62X0 is not set
CONFIG_SPMI=y
CONFIG_SPMI_MSM_PMIC_ARB=y
CONFIG_MSM_QPNP_INT=y
# CONFIG_HSI is not set

#
# PPS support
#
# CONFIG_PPS is not set

#
# PPS generators support
#

#
# PTP clock support
#
# CONFIG_PTP_1588_CLOCK is not set

#
# Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks.
#
CONFIG_PINCTRL=y

#
# Pin controllers
#
CONFIG_PINMUX=y
CONFIG_PINCONF=y
CONFIG_GENERIC_PINCONF=y
# CONFIG_DEBUG_PINCTRL is not set
# CONFIG_PINCTRL_CAPRI is not set
CONFIG_PINCTRL_MSM=y
CONFIG_PINCTRL_MSM8X74=y
# CONFIG_PINCTRL_SINGLE is not set
CONFIG_ARCH_HAVE_CUSTOM_GPIO_H=y
CONFIG_ARCH_REQUIRE_GPIOLIB=y
CONFIG_GPIOLIB=y
CONFIG_GPIO_DEVRES=y
CONFIG_OF_GPIO=y
# CONFIG_DEBUG_GPIO is not set
CONFIG_GPIO_SYSFS=y

#
# Memory mapped GPIO drivers:
#
# CONFIG_GPIO_GENERIC_PLATFORM is not set
# CONFIG_GPIO_EM is not set
CONFIG_GPIO_MSM_V2=y
# CONFIG_GPIO_RCAR is not set
# CONFIG_GPIO_SCH311X is not set
# CONFIG_GPIO_TS5500 is not set
# CONFIG_GPIO_GRGPIO is not set

#
# I2C GPIO expanders:
#
# CONFIG_GPIO_MAX7300 is not set
# CONFIG_GPIO_MAX732X is not set
# CONFIG_GPIO_PCF857X is not set
# CONFIG_GPIO_SX150X is not set
# CONFIG_GPIO_ADP5588 is not set
# CONFIG_GPIO_ADNP is not set

#
# PCI GPIO expanders:
#

#
# SPI GPIO expanders:
#
# CONFIG_GPIO_MAX7301 is not set
# CONFIG_GPIO_MCP23S08 is not set
# CONFIG_GPIO_MC33880 is not set
# CONFIG_GPIO_74X164 is not set

#
# AC97 GPIO expanders:
#

#
# LPC GPIO expanders:
#

#
# MODULbus GPIO expanders:
#
# CONFIG_GPIO_BCM_KONA is not set

#
# USB GPIO expanders:
#
# CONFIG_W1 is not set
CONFIG_POWER_SUPPLY=y
# CONFIG_POWER_SUPPLY_DEBUG is not set
# CONFIG_PDA_POWER is not set
# CONFIG_TEST_POWER is not set
# CONFIG_BATTERY_DS2780 is not set
# CONFIG_BATTERY_DS2781 is not set
# CONFIG_BATTERY_DS2782 is not set
# CONFIG_BATTERY_SBS is not set
# CONFIG_BATTERY_BQ27x00 is not set
# CONFIG_BATTERY_MAX17040 is not set
# CONFIG_BATTERY_MAX17042 is not set
# CONFIG_CHARGER_ISP1704 is not set
# CONFIG_CHARGER_MAX8903 is not set
# CONFIG_CHARGER_LP8727 is not set
# CONFIG_CHARGER_GPIO is not set
# CONFIG_CHARGER_BQ2415X is not set
# CONFIG_CHARGER_BQ24190 is not set
# CONFIG_CHARGER_BQ24735 is not set
# CONFIG_CHARGER_SMB347 is not set
CONFIG_POWER_RESET=y
# CONFIG_POWER_RESET_GPIO is not set
CONFIG_POWER_RESET_MSM=y
# CONFIG_POWER_RESET_RESTART is not set
# CONFIG_POWER_AVS is not set
# CONFIG_HWMON is not set
# CONFIG_THERMAL is not set
# CONFIG_WATCHDOG is not set
CONFIG_SSB_POSSIBLE=y

#
# Sonics Silicon Backplane
#
# CONFIG_SSB is not set
CONFIG_BCMA_POSSIBLE=y

#
# Broadcom specific AMBA
#
# CONFIG_BCMA is not set

#
# Multifunction device drivers
#
# CONFIG_MFD_CORE is not set
# CONFIG_MFD_AS3711 is not set
# CONFIG_MFD_AS3722 is not set
# CONFIG_PMIC_ADP5520 is not set
# CONFIG_MFD_AAT2870_CORE is not set
# CONFIG_MFD_CROS_EC is not set
# CONFIG_MFD_ASIC3 is not set
# CONFIG_PMIC_DA903X is not set
# CONFIG_MFD_DA9052_SPI is not set
# CONFIG_MFD_DA9052_I2C is not set
# CONFIG_MFD_DA9055 is not set
# CONFIG_MFD_DA9063 is not set
# CONFIG_MFD_MC13XXX_SPI is not set
# CONFIG_MFD_MC13XXX_I2C is not set
# CONFIG_HTC_EGPIO is not set
# CONFIG_HTC_PASIC3 is not set
# CONFIG_HTC_I2CPLD is not set
# CONFIG_MFD_KEMPLD is not set
# CONFIG_MFD_88PM800 is not set
# CONFIG_MFD_88PM805 is not set
# CONFIG_MFD_88PM860X is not set
# CONFIG_MFD_MAX14577 is not set
# CONFIG_MFD_MAX77686 is not set
# CONFIG_MFD_MAX77693 is not set
# CONFIG_MFD_MAX8907 is not set
# CONFIG_MFD_MAX8925 is not set
# CONFIG_MFD_MAX8997 is not set
# CONFIG_MFD_MAX8998 is not set
# CONFIG_EZX_PCAP is not set
# CONFIG_MFD_RETU is not set
# CONFIG_MFD_PCF50633 is not set
# CONFIG_MFD_RC5T583 is not set
# CONFIG_MFD_SEC_CORE is not set
# CONFIG_MFD_SI476X_CORE is not set
# CONFIG_MFD_SM501 is not set
# CONFIG_MFD_SMSC is not set
# CONFIG_ABX500_CORE is not set
# CONFIG_MFD_STMPE is not set
# CONFIG_MFD_SYSCON is not set
# CONFIG_MFD_TI_AM335X_TSCADC is not set
# CONFIG_MFD_LP3943 is not set
# CONFIG_MFD_LP8788 is not set
# CONFIG_MFD_PALMAS is not set
# CONFIG_TPS6105X is not set
# CONFIG_TPS65010 is not set
# CONFIG_TPS6507X is not set
# CONFIG_MFD_TPS65090 is not set
# CONFIG_MFD_TPS65217 is not set
# CONFIG_MFD_TPS6586X is not set
# CONFIG_MFD_TPS65910 is not set
# CONFIG_MFD_TPS65912 is not set
# CONFIG_MFD_TPS65912_I2C is not set
# CONFIG_MFD_TPS65912_SPI is not set
# CONFIG_MFD_TPS80031 is not set
# CONFIG_TWL4030_CORE is not set
# CONFIG_TWL6040_CORE is not set
# CONFIG_MFD_WL1273_CORE is not set
# CONFIG_MFD_LM3533 is not set
# CONFIG_MFD_TC3589X is not set
# CONFIG_MFD_TMIO is not set
# CONFIG_MFD_T7L66XB is not set
# CONFIG_MFD_TC6387XB is not set
# CONFIG_MFD_TC6393XB is not set
# CONFIG_MFD_ARIZONA_I2C is not set
# CONFIG_MFD_ARIZONA_SPI is not set
# CONFIG_MFD_WM8400 is not set
# CONFIG_MFD_WM831X_I2C is not set
# CONFIG_MFD_WM831X_SPI is not set
# CONFIG_MFD_WM8350_I2C is not set
# CONFIG_MFD_WM8994 is not set
# CONFIG_VEXPRESS_CONFIG is not set
CONFIG_REGULATOR=y
CONFIG_REGULATOR_DEBUG=y
CONFIG_REGULATOR_FIXED_VOLTAGE=y
CONFIG_REGULATOR_VIRTUAL_CONSUMER=y
# CONFIG_REGULATOR_USERSPACE_CONSUMER is not set
# CONFIG_REGULATOR_ACT8865 is not set
# CONFIG_REGULATOR_AD5398 is not set
# CONFIG_REGULATOR_DA9210 is not set
# CONFIG_REGULATOR_FAN53555 is not set
# CONFIG_REGULATOR_GPIO is not set
# CONFIG_REGULATOR_ISL6271A is not set
# CONFIG_REGULATOR_LP3971 is not set
# CONFIG_REGULATOR_LP3972 is not set
# CONFIG_REGULATOR_LP872X is not set
# CONFIG_REGULATOR_LP8755 is not set
# CONFIG_REGULATOR_MAX1586 is not set
# CONFIG_REGULATOR_MAX8649 is not set
# CONFIG_REGULATOR_MAX8660 is not set
# CONFIG_REGULATOR_MAX8952 is not set
# CONFIG_REGULATOR_MAX8973 is not set
# CONFIG_REGULATOR_PFUZE100 is not set
# CONFIG_REGULATOR_TPS51632 is not set
# CONFIG_REGULATOR_TPS62360 is not set
# CONFIG_REGULATOR_TPS65023 is not set
# CONFIG_REGULATOR_TPS6507X is not set
# CONFIG_REGULATOR_TPS6524X is not set
CONFIG_REGULATOR_QPNP=y
# CONFIG_MEDIA_SUPPORT is not set

#
# Graphics support
#
# CONFIG_DRM is not set
# CONFIG_VGASTATE is not set
# CONFIG_VIDEO_OUTPUT_CONTROL is not set
CONFIG_FB=y
# CONFIG_FIRMWARE_EDID is not set
# CONFIG_FB_DDC is not set
# CONFIG_FB_BOOT_VESA_SUPPORT is not set
# CONFIG_FB_CFB_FILLRECT is not set
# CONFIG_FB_CFB_COPYAREA is not set
# CONFIG_FB_CFB_IMAGEBLIT is not set
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
# CONFIG_FB_SYS_FILLRECT is not set
# CONFIG_FB_SYS_COPYAREA is not set
# CONFIG_FB_SYS_IMAGEBLIT is not set
# CONFIG_FB_FOREIGN_ENDIAN is not set
# CONFIG_FB_SYS_FOPS is not set
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
# CONFIG_FB_MODE_HELPERS is not set
# CONFIG_FB_TILEBLITTING is not set

#
# Frame buffer hardware drivers
#
# CONFIG_FB_OPENCORES is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_GOLDFISH is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MSM is not set
# CONFIG_FB_BROADSHEET is not set
# CONFIG_FB_AUO_K190X is not set
# CONFIG_FB_SIMPLE is not set
# CONFIG_EXYNOS_VIDEO is not set
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set

#
# Console display driver support
#
CONFIG_DUMMY_CONSOLE=y
# CONFIG_FRAMEBUFFER_CONSOLE is not set
# CONFIG_LOGO is not set
# CONFIG_FB_SSD1307 is not set
# CONFIG_SOUND is not set

#
# HID support
#
CONFIG_HID=y
CONFIG_HID_BATTERY_STRENGTH=y
# CONFIG_HIDRAW is not set
# CONFIG_UHID is not set
CONFIG_HID_GENERIC=y

#
# Special HID drivers
#
# CONFIG_HID_A4TECH is not set
# CONFIG_HID_ACRUX is not set
# CONFIG_HID_APPLE is not set
# CONFIG_HID_AUREAL is not set
# CONFIG_HID_BELKIN is not set
# CONFIG_HID_CHERRY is not set
# CONFIG_HID_CHICONY is not set
# CONFIG_HID_CYPRESS is not set
# CONFIG_HID_DRAGONRISE is not set
# CONFIG_HID_EMS_FF is not set
# CONFIG_HID_ELECOM is not set
# CONFIG_HID_EZKEY is not set
# CONFIG_HID_KEYTOUCH is not set
# CONFIG_HID_KYE is not set
# CONFIG_HID_UCLOGIC is not set
# CONFIG_HID_WALTOP is not set
# CONFIG_HID_GYRATION is not set
# CONFIG_HID_ICADE is not set
# CONFIG_HID_TWINHAN is not set
# CONFIG_HID_KENSINGTON is not set
# CONFIG_HID_LCPOWER is not set
# CONFIG_HID_LENOVO_TPKBD is not set
# CONFIG_HID_LOGITECH is not set
# CONFIG_HID_MAGICMOUSE is not set
# CONFIG_HID_MICROSOFT is not set
# CONFIG_HID_MONTEREY is not set
# CONFIG_HID_MULTITOUCH is not set
# CONFIG_HID_ORTEK is not set
# CONFIG_HID_PANTHERLORD is not set
# CONFIG_HID_PETALYNX is not set
# CONFIG_HID_PICOLCD is not set
# CONFIG_HID_PRIMAX is not set
# CONFIG_HID_SAITEK is not set
# CONFIG_HID_SAMSUNG is not set
# CONFIG_HID_SPEEDLINK is not set
# CONFIG_HID_STEELSERIES is not set
# CONFIG_HID_SUNPLUS is not set
# CONFIG_HID_GREENASIA is not set
# CONFIG_HID_SMARTJOYPLUS is not set
# CONFIG_HID_TIVO is not set
# CONFIG_HID_TOPSEED is not set
# CONFIG_HID_THRUSTMASTER is not set
# CONFIG_HID_XINMO is not set
# CONFIG_HID_ZEROPLUS is not set
# CONFIG_HID_ZYDACRON is not set
# CONFIG_HID_SENSOR_HUB is not set

#
# I2C HID support
#
# CONFIG_I2C_HID is not set
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_SUPPORT=y
CONFIG_USB_COMMON=y
CONFIG_USB_ARCH_HAS_HCD=y
# CONFIG_USB is not set
# CONFIG_USB_MUSB_HDRC is not set
# CONFIG_USB_DWC3 is not set
CONFIG_USB_CHIPIDEA=y
CONFIG_USB_CHIPIDEA_UDC=y
CONFIG_USB_CHIPIDEA_DEBUG=y

#
# USB port drivers
#

#
# USB Physical Layer drivers
#
CONFIG_USB_PHY=y
# CONFIG_NOP_USB_XCEIV is not set
# CONFIG_AM335X_PHY_USB is not set
# CONFIG_SAMSUNG_USB2PHY is not set
# CONFIG_SAMSUNG_USB3PHY is not set
# CONFIG_USB_GPIO_VBUS is not set
# CONFIG_USB_ISP1301 is not set
CONFIG_USB_MSM_OTG=y
# CONFIG_USB_RCAR_PHY is not set
# CONFIG_USB_ULPI is not set
CONFIG_USB_GADGET=y
# CONFIG_USB_GADGET_DEBUG is not set
# CONFIG_USB_GADGET_DEBUG_FILES is not set
# CONFIG_USB_GADGET_DEBUG_FS is not set
CONFIG_USB_GADGET_VBUS_DRAW=2
CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2

#
# USB Peripheral Controller
#
# CONFIG_USB_FUSB300 is not set
# CONFIG_USB_FOTG210_UDC is not set
# CONFIG_USB_GR_UDC is not set
# CONFIG_USB_R8A66597 is not set
# CONFIG_USB_PXA27X is not set
# CONFIG_USB_S3C_HSOTG is not set
# CONFIG_USB_MV_UDC is not set
# CONFIG_USB_MV_U3D is not set
# CONFIG_USB_M66592 is not set
# CONFIG_USB_NET2272 is not set
CONFIG_USB_LIBCOMPOSITE=m
CONFIG_USB_F_SS_LB=m
CONFIG_USB_F_MASS_STORAGE=m
# CONFIG_USB_CONFIGFS is not set
CONFIG_USB_ZERO=m
# CONFIG_USB_ETH is not set
# CONFIG_USB_G_NCM is not set
# CONFIG_USB_GADGETFS is not set
# CONFIG_USB_FUNCTIONFS is not set
CONFIG_USB_MASS_STORAGE=m
# CONFIG_USB_G_SERIAL is not set
# CONFIG_USB_G_PRINTER is not set
# CONFIG_USB_CDC_COMPOSITE is not set
# CONFIG_USB_G_ACM_MS is not set
# CONFIG_USB_G_MULTI is not set
CONFIG_USB_G_HID=m
# CONFIG_USB_G_DBGP is not set
CONFIG_MMC=y
# CONFIG_MMC_DEBUG is not set
# CONFIG_MMC_UNSAFE_RESUME is not set
# CONFIG_MMC_CLKGATE is not set

#
# MMC/SD/SDIO Card Drivers
#
CONFIG_MMC_BLOCK=y
CONFIG_MMC_BLOCK_MINORS=8
CONFIG_MMC_BLOCK_BOUNCE=y
# CONFIG_SDIO_UART is not set
# CONFIG_MMC_TEST is not set

#
# MMC/SD/SDIO Host Controller Drivers
#
CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_PLTFM=y
# CONFIG_MMC_SDHCI_OF_ARASAN is not set
# CONFIG_MMC_SDHCI_PXAV3 is not set
# CONFIG_MMC_SDHCI_PXAV2 is not set
CONFIG_MMC_SDHCI_MSM=y
# CONFIG_MMC_DW is not set
# CONFIG_MEMSTICK is not set
# CONFIG_NEW_LEDS is not set
# CONFIG_ACCESSIBILITY is not set
# CONFIG_EDAC is not set
CONFIG_RTC_LIB=y
# CONFIG_RTC_CLASS is not set
# CONFIG_DMADEVICES is not set
# CONFIG_AUXDISPLAY is not set
# CONFIG_UIO is not set
# CONFIG_VFIO is not set
# CONFIG_VIRT_DRIVERS is not set

#
# Virtio drivers
#
# CONFIG_VIRTIO_MMIO is not set

#
# Microsoft Hyper-V guest support
#
# CONFIG_STAGING is not set
CONFIG_CLKDEV_LOOKUP=y
CONFIG_HAVE_CLK_PREPARE=y
CONFIG_COMMON_CLK=y

#
# Common Clock Framework
#
# CONFIG_COMMON_CLK_SI5351 is not set
# CONFIG_COMMON_CLK_SI570 is not set
CONFIG_COMMON_CLK_QCOM=y
CONFIG_MSM_GCC_8660=y
CONFIG_MSM_GCC_8960=y
CONFIG_MSM_MMCC_8960=y
CONFIG_MSM_GCC_8974=y
CONFIG_MSM_MMCC_8974=y
CONFIG_HWSPINLOCK=y

#
# Hardware Spinlock drivers
#
CONFIG_HWSPINLOCK_MSM=y
CONFIG_CLKSRC_OF=y
CONFIG_ARM_ARCH_TIMER=y
CONFIG_ARM_ARCH_TIMER_EVTSTREAM=y
# CONFIG_MAILBOX is not set
CONFIG_IOMMU_API=y
CONFIG_IOMMU_SUPPORT=y
CONFIG_OF_IOMMU=y
CONFIG_MSM_IOMMU=y
CONFIG_IOMMU_PGTABLES_L2=y

#
# Remoteproc drivers
#
# CONFIG_STE_MODEM_RPROC is not set

#
# Rpmsg drivers
#
# CONFIG_PM_DEVFREQ is not set
# CONFIG_EXTCON is not set
# CONFIG_MEMORY is not set
# CONFIG_IIO is not set
# CONFIG_PWM is not set
CONFIG_IRQCHIP=y
CONFIG_ARM_GIC=y
# CONFIG_IPACK_BUS is not set
CONFIG_RESET_CONTROLLER=y
# CONFIG_FMC is not set

#
# PHY Subsystem
#
# CONFIG_GENERIC_PHY is not set
# CONFIG_PHY_EXYNOS_MIPI_VIDEO is not set
# CONFIG_PHY_EXYNOS_DP_VIDEO is not set
# CONFIG_POWERCAP is not set

#
# File systems
#
CONFIG_DCACHE_WORD_ACCESS=y
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
# CONFIG_EXT2_FS_POSIX_ACL is not set
# CONFIG_EXT2_FS_SECURITY is not set
# CONFIG_EXT2_FS_XIP is not set
CONFIG_EXT3_FS=y
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
CONFIG_EXT3_FS_XATTR=y
# CONFIG_EXT3_FS_POSIX_ACL is not set
# CONFIG_EXT3_FS_SECURITY is not set
CONFIG_EXT4_FS=y
# CONFIG_EXT4_FS_POSIX_ACL is not set
# CONFIG_EXT4_FS_SECURITY is not set
# CONFIG_EXT4_DEBUG is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_JBD2=y
# CONFIG_JBD2_DEBUG is not set
CONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_GFS2_FS is not set
# CONFIG_OCFS2_FS is not set
# CONFIG_BTRFS_FS is not set
# CONFIG_NILFS2_FS is not set
CONFIG_FS_POSIX_ACL=y
CONFIG_FILE_LOCKING=y
# CONFIG_FSNOTIFY is not set
# CONFIG_DNOTIFY is not set
# CONFIG_INOTIFY_USER is not set
# CONFIG_FANOTIFY is not set
# CONFIG_QUOTA is not set
# CONFIG_QUOTACTL is not set
# CONFIG_AUTOFS4_FS is not set
CONFIG_FUSE_FS=y
# CONFIG_CUSE is not set

#
# Caches
#
# CONFIG_FSCACHE is not set

#
# CD-ROM/DVD Filesystems
#
# CONFIG_ISO9660_FS is not set
# CONFIG_UDF_FS is not set

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
# CONFIG_MSDOS_FS is not set
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
# CONFIG_NTFS_FS is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_SYSCTL=y
CONFIG_PROC_PAGE_MONITOR=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
# CONFIG_TMPFS_POSIX_ACL is not set
# CONFIG_TMPFS_XATTR is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_CONFIGFS_FS=y
CONFIG_MISC_FILESYSTEMS=y
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_ECRYPT_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_LOGFS is not set
# CONFIG_CRAMFS is not set
# CONFIG_SQUASHFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_OMFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_QNX6FS_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_PSTORE is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
# CONFIG_F2FS_FS is not set
CONFIG_NETWORK_FILESYSTEMS=y
CONFIG_NFS_FS=y
CONFIG_NFS_V2=y
CONFIG_NFS_V3=y
CONFIG_NFS_V3_ACL=y
CONFIG_NFS_V4=y
# CONFIG_NFS_SWAP is not set
# CONFIG_NFS_V4_1 is not set
# CONFIG_ROOT_NFS is not set
# CONFIG_NFS_USE_LEGACY_DNS is not set
CONFIG_NFS_USE_KERNEL_DNS=y
# CONFIG_NFSD is not set
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_NFS_ACL_SUPPORT=y
CONFIG_NFS_COMMON=y
CONFIG_SUNRPC=y
CONFIG_SUNRPC_GSS=y
# CONFIG_SUNRPC_DEBUG is not set
# CONFIG_CEPH_FS is not set
CONFIG_CIFS=y
# CONFIG_CIFS_STATS is not set
# CONFIG_CIFS_WEAK_PW_HASH is not set
# CONFIG_CIFS_UPCALL is not set
# CONFIG_CIFS_XATTR is not set
CONFIG_CIFS_DEBUG=y
# CONFIG_CIFS_DEBUG2 is not set
# CONFIG_CIFS_DFS_UPCALL is not set
# CONFIG_CIFS_SMB2 is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
# CONFIG_NLS_CODEPAGE_437 is not set
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
# CONFIG_NLS_ASCII is not set
# CONFIG_NLS_ISO8859_1 is not set
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_MAC_ROMAN is not set
# CONFIG_NLS_MAC_CELTIC is not set
# CONFIG_NLS_MAC_CENTEURO is not set
# CONFIG_NLS_MAC_CROATIAN is not set
# CONFIG_NLS_MAC_CYRILLIC is not set
# CONFIG_NLS_MAC_GAELIC is not set
# CONFIG_NLS_MAC_GREEK is not set
# CONFIG_NLS_MAC_ICELAND is not set
# CONFIG_NLS_MAC_INUIT is not set
# CONFIG_NLS_MAC_ROMANIAN is not set
# CONFIG_NLS_MAC_TURKISH is not set
# CONFIG_NLS_UTF8 is not set
# CONFIG_DLM is not set

#
# Kernel hacking
#

#
# printk and dmesg options
#
CONFIG_PRINTK_TIME=y
CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4
# CONFIG_BOOT_PRINTK_DELAY is not set
CONFIG_DYNAMIC_DEBUG=y

#
# Compile-time checks and compiler options
#
CONFIG_DEBUG_INFO=y
# CONFIG_DEBUG_INFO_REDUCED is not set
CONFIG_ENABLE_WARN_DEPRECATED=y
CONFIG_ENABLE_MUST_CHECK=y
CONFIG_FRAME_WARN=1024
# CONFIG_STRIP_ASM_SYMS is not set
# CONFIG_READABLE_ASM is not set
# CONFIG_UNUSED_SYMBOLS is not set
CONFIG_DEBUG_FS=y
# CONFIG_HEADERS_CHECK is not set
# CONFIG_DEBUG_SECTION_MISMATCH is not set
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
CONFIG_MAGIC_SYSRQ=y
CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1
CONFIG_DEBUG_KERNEL=y

#
# Memory Debugging
#
# CONFIG_DEBUG_PAGEALLOC is not set
# CONFIG_DEBUG_OBJECTS is not set
# CONFIG_SLUB_STATS is not set
CONFIG_HAVE_DEBUG_KMEMLEAK=y
# CONFIG_DEBUG_KMEMLEAK is not set
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_VM is not set
# CONFIG_DEBUG_MEMORY_INIT is not set
# CONFIG_DEBUG_PER_CPU_MAPS is not set
# CONFIG_DEBUG_HIGHMEM is not set
# CONFIG_DEBUG_SHIRQ is not set

#
# Debug Lockups and Hangs
#
CONFIG_LOCKUP_DETECTOR=y
# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
# CONFIG_DETECT_HUNG_TASK is not set
# CONFIG_PANIC_ON_OOPS is not set
CONFIG_PANIC_ON_OOPS_VALUE=0
CONFIG_PANIC_TIMEOUT=0
# CONFIG_SCHED_DEBUG is not set
# CONFIG_SCHEDSTATS is not set
CONFIG_TIMER_STATS=y
CONFIG_DEBUG_PREEMPT=y

#
# Lock Debugging (spinlocks, mutexes, etc...)
#
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_RT_MUTEX_TESTER is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_MUTEXES is not set
# CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set
# CONFIG_DEBUG_LOCK_ALLOC is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_LOCK_STAT is not set
# CONFIG_DEBUG_ATOMIC_SLEEP is not set
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
CONFIG_STACKTRACE=y
# CONFIG_DEBUG_KOBJECT is not set
CONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_DEBUG_WRITECOUNT is not set
# CONFIG_DEBUG_LIST is not set
# CONFIG_DEBUG_SG is not set
# CONFIG_DEBUG_NOTIFIERS is not set
# CONFIG_DEBUG_CREDENTIALS is not set

#
# RCU Debugging
#
# CONFIG_PROVE_RCU_DELAY is not set
# CONFIG_SPARSE_RCU_POINTER is not set
# CONFIG_RCU_TORTURE_TEST is not set
CONFIG_RCU_CPU_STALL_TIMEOUT=21
CONFIG_RCU_CPU_STALL_VERBOSE=y
# CONFIG_RCU_CPU_STALL_INFO is not set
# CONFIG_RCU_TRACE is not set
# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
# CONFIG_NOTIFIER_ERROR_INJECTION is not set
# CONFIG_FAULT_INJECTION is not set
CONFIG_NOP_TRACER=y
CONFIG_HAVE_FUNCTION_TRACER=y
CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
CONFIG_HAVE_DYNAMIC_FTRACE=y
CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
CONFIG_HAVE_C_RECORDMCOUNT=y
CONFIG_TRACE_CLOCK=y
CONFIG_RING_BUFFER=y
CONFIG_EVENT_TRACING=y
CONFIG_CONTEXT_SWITCH_TRACER=y
CONFIG_RING_BUFFER_ALLOW_SWAP=y
CONFIG_TRACING=y
CONFIG_TRACING_SUPPORT=y
CONFIG_FTRACE=y
# CONFIG_FUNCTION_TRACER is not set
# CONFIG_IRQSOFF_TRACER is not set
# CONFIG_PREEMPT_TRACER is not set
# CONFIG_SCHED_TRACER is not set
# CONFIG_ENABLE_DEFAULT_TRACERS is not set
# CONFIG_FTRACE_SYSCALLS is not set
# CONFIG_TRACER_SNAPSHOT is not set
CONFIG_BRANCH_PROFILE_NONE=y
# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
# CONFIG_PROFILE_ALL_BRANCHES is not set
# CONFIG_STACK_TRACER is not set
# CONFIG_BLK_DEV_IO_TRACE is not set
CONFIG_KPROBE_EVENT=y
CONFIG_PROBE_EVENTS=y
# CONFIG_RING_BUFFER_BENCHMARK is not set
# CONFIG_RING_BUFFER_STARTUP_TEST is not set

#
# Runtime Testing
#
# CONFIG_LKDTM is not set
# CONFIG_TEST_LIST_SORT is not set
# CONFIG_KPROBES_SANITY_TEST is not set
# CONFIG_BACKTRACE_SELF_TEST is not set
# CONFIG_RBTREE_TEST is not set
# CONFIG_INTERVAL_TREE_TEST is not set
# CONFIG_PERCPU_TEST is not set
# CONFIG_ATOMIC64_SELFTEST is not set
# CONFIG_TEST_STRING_HELPERS is not set
# CONFIG_TEST_KSTRTOX is not set
# CONFIG_DMA_API_DEBUG is not set
# CONFIG_TEST_MODULE is not set
# CONFIG_TEST_USER_COPY is not set
# CONFIG_SAMPLES is not set
CONFIG_HAVE_ARCH_KGDB=y
# CONFIG_KGDB is not set
# CONFIG_ARM_PTDUMP is not set
# CONFIG_STRICT_DEVMEM is not set
CONFIG_ARM_UNWIND=y
# CONFIG_DEBUG_USER is not set
# CONFIG_DEBUG_LL is not set
CONFIG_DEBUG_LL_INCLUDE="mach/debug-macro.S"
# CONFIG_DEBUG_UART_PL01X is not set
# CONFIG_DEBUG_UART_8250 is not set
CONFIG_UNCOMPRESS_INCLUDE="debug/uncompress.h"
# CONFIG_ARM_KPROBES_TEST is not set
# CONFIG_PID_IN_CONTEXTIDR is not set
# CONFIG_DEBUG_SET_MODULE_RONX is not set

#
# Security options
#
CONFIG_KEYS=y
# CONFIG_PERSISTENT_KEYRINGS is not set
# CONFIG_BIG_KEYS is not set
# CONFIG_ENCRYPTED_KEYS is not set
# CONFIG_KEYS_DEBUG_PROC_KEYS is not set
# CONFIG_SECURITY_DMESG_RESTRICT is not set
# CONFIG_SECURITY is not set
# CONFIG_SECURITYFS is not set
CONFIG_DEFAULT_SECURITY_DAC=y
CONFIG_DEFAULT_SECURITY=""
CONFIG_CRYPTO=y

#
# Crypto core or helper
#
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_ALGAPI2=y
CONFIG_CRYPTO_AEAD2=y
CONFIG_CRYPTO_BLKCIPHER=y
CONFIG_CRYPTO_BLKCIPHER2=y
CONFIG_CRYPTO_HASH=y
CONFIG_CRYPTO_HASH2=y
CONFIG_CRYPTO_RNG=m
CONFIG_CRYPTO_RNG2=y
CONFIG_CRYPTO_PCOMP2=y
CONFIG_CRYPTO_MANAGER=y
CONFIG_CRYPTO_MANAGER2=y
# CONFIG_CRYPTO_USER is not set
CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y
# CONFIG_CRYPTO_GF128MUL is not set
# CONFIG_CRYPTO_NULL is not set
# CONFIG_CRYPTO_PCRYPT is not set
CONFIG_CRYPTO_WORKQUEUE=y
# CONFIG_CRYPTO_CRYPTD is not set
# CONFIG_CRYPTO_AUTHENC is not set
# CONFIG_CRYPTO_TEST is not set

#
# Authenticated Encryption with Associated Data
#
# CONFIG_CRYPTO_CCM is not set
# CONFIG_CRYPTO_GCM is not set
# CONFIG_CRYPTO_SEQIV is not set

#
# Block modes
#
# CONFIG_CRYPTO_CBC is not set
# CONFIG_CRYPTO_CTR is not set
# CONFIG_CRYPTO_CTS is not set
CONFIG_CRYPTO_ECB=y
# CONFIG_CRYPTO_LRW is not set
# CONFIG_CRYPTO_PCBC is not set
# CONFIG_CRYPTO_XTS is not set

#
# Hash modes
#
CONFIG_CRYPTO_CMAC=y
CONFIG_CRYPTO_HMAC=y
# CONFIG_CRYPTO_XCBC is not set
# CONFIG_CRYPTO_VMAC is not set

#
# Digest
#
CONFIG_CRYPTO_CRC32C=y
# CONFIG_CRYPTO_CRC32 is not set
# CONFIG_CRYPTO_CRCT10DIF is not set
# CONFIG_CRYPTO_GHASH is not set
CONFIG_CRYPTO_MD4=y
CONFIG_CRYPTO_MD5=y
# CONFIG_CRYPTO_MICHAEL_MIC is not set
# CONFIG_CRYPTO_RMD128 is not set
# CONFIG_CRYPTO_RMD160 is not set
# CONFIG_CRYPTO_RMD256 is not set
# CONFIG_CRYPTO_RMD320 is not set
# CONFIG_CRYPTO_SHA1 is not set
# CONFIG_CRYPTO_SHA1_ARM is not set
CONFIG_CRYPTO_SHA256=y
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_TGR192 is not set
# CONFIG_CRYPTO_WP512 is not set

#
# Ciphers
#
CONFIG_CRYPTO_AES=y
# CONFIG_CRYPTO_AES_ARM is not set
# CONFIG_CRYPTO_ANUBIS is not set
CONFIG_CRYPTO_ARC4=y
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_CAMELLIA is not set
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
CONFIG_CRYPTO_DES=y
# CONFIG_CRYPTO_FCRYPT is not set
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_SALSA20 is not set
# CONFIG_CRYPTO_SEED is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_TEA is not set
# CONFIG_CRYPTO_TWOFISH is not set

#
# Compression
#
# CONFIG_CRYPTO_DEFLATE is not set
# CONFIG_CRYPTO_ZLIB is not set
# CONFIG_CRYPTO_LZO is not set
# CONFIG_CRYPTO_LZ4 is not set
# CONFIG_CRYPTO_LZ4HC is not set

#
# Random Number Generation
#
CONFIG_CRYPTO_ANSI_CPRNG=m
# CONFIG_CRYPTO_USER_API_HASH is not set
# CONFIG_CRYPTO_USER_API_SKCIPHER is not set
CONFIG_CRYPTO_HW=y
# CONFIG_ASYMMETRIC_KEY_TYPE is not set
CONFIG_BINARY_PRINTF=y

#
# Library routines
#
CONFIG_BITREVERSE=y
CONFIG_GENERIC_STRNCPY_FROM_USER=y
CONFIG_GENERIC_STRNLEN_USER=y
CONFIG_GENERIC_NET_UTILS=y
CONFIG_GENERIC_PCI_IOMAP=y
CONFIG_GENERIC_IO=y
CONFIG_ARCH_USE_CMPXCHG_LOCKREF=y
# CONFIG_CRC_CCITT is not set
CONFIG_CRC16=y
# CONFIG_CRC_T10DIF is not set
# CONFIG_CRC_ITU_T is not set
CONFIG_CRC32=y
# CONFIG_CRC32_SELFTEST is not set
CONFIG_CRC32_SLICEBY8=y
# CONFIG_CRC32_SLICEBY4 is not set
# CONFIG_CRC32_SARWATE is not set
# CONFIG_CRC32_BIT is not set
# CONFIG_CRC7 is not set
# CONFIG_LIBCRC32C is not set
# CONFIG_CRC8 is not set
# CONFIG_RANDOM32_SELFTEST is not set
CONFIG_ZLIB_INFLATE=y
CONFIG_LZO_COMPRESS=y
CONFIG_LZO_DECOMPRESS=y
# CONFIG_XZ_DEC is not set
# CONFIG_XZ_DEC_BCJ is not set
CONFIG_DECOMPRESS_GZIP=y
CONFIG_ASSOCIATIVE_ARRAY=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT=y
CONFIG_HAS_DMA=y
CONFIG_CPU_RMAP=y
CONFIG_DQL=y
CONFIG_NLATTR=y
CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y
# CONFIG_AVERAGE is not set
# CONFIG_CORDIC is not set
# CONFIG_DDR is not set
CONFIG_OID_REGISTRY=y
# CONFIG_VIRTUALIZATION is not set

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PATCH v2 1/3] usb: chipidea: msm: Add device tree binding information
  2014-02-18 21:26   ` Courtney Cavin
@ 2014-02-19 15:43     ` Ivan T. Ivanov
  2014-02-19 17:46       ` Courtney Cavin
  0 siblings, 1 reply; 38+ messages in thread
From: Ivan T. Ivanov @ 2014-02-19 15:43 UTC (permalink / raw)
  To: Courtney Cavin
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	Rob Landley, Greg Kroah-Hartman, David Brown, devicetree,
	linux-doc, linux-kernel, linux-arm-msm


Hi, 

On Tue, 2014-02-18 at 13:26 -0800, Courtney Cavin wrote: 
> On Tue, Feb 18, 2014 at 02:21:19PM +0100, Ivan T. Ivanov wrote:
> > From: "Ivan T. Ivanov" <iivanov@mm-sol.com>
> > 
> > Document device tree binding information as required by
> > the Qualcomm USB controller.
> > 
> > Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
> > ---
> >  .../devicetree/bindings/usb/msm-hsusb.txt          |   17 +++++++++++++++++
> 
> Although you mentioned to Josh that this is intended for "non-standard"
> Chipidea properties, I don't see any other than requiring that 'dr_mode'
> must be "peripheral".  It would seem that this should all be integrated
> into a ci3xxx.txt.

Hm, there is no ci3xxx.txt. The closest match is ci-hdrc-imx.txt.
So it could be ci-hdrc-qcom.txt or my preferred name qcom,ci-hdrc.txt?

> > +CI13xxx (Chipidea) USB controllers
> > +
> > +Required properties:
> > +- compatible:   should contain "qcom,ci-hdrc"
> 
> Is there nothing more specific you could put here?  Maybe a hardware
> revision, or something?
> 

I am not aware of any version numbers here, sorry.


> > +- reg:          offset and length of the register set in the memory map
> > +- interrupts:   interrupt-specifier for the controller interrupt.
> > +- usb-phy:      phandle for the PHY device
> > +- dr_mode:      Sould be "peripheral"
> 
> s/Sould/should/

Thanks, 
Ivan

> 
> -Courtney

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PATCH v2 2/3] usb: chipidea: msm: Add device tree support
  2014-02-18 18:31             ` Sergei Shtylyov
@ 2014-02-19 15:48                   ` Ivan T. Ivanov
  0 siblings, 0 replies; 38+ messages in thread
From: Ivan T. Ivanov @ 2014-02-19 15:48 UTC (permalink / raw)
  To: Sergei Shtylyov
  Cc: Peter Chen, Grant Likely, Rob Herring, Greg Kroah-Hartman,
	linux-usb-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-msm-u79uwXL29TY76Z2rM5mHXA


Hi,

On Tue, 2014-02-18 at 21:31 +0300, Sergei Shtylyov wrote: 
> On 02/18/2014 08:14 PM, Ivan T. Ivanov wrote:
> 
> >>> From: "Ivan T. Ivanov" <iivanov-NEYub+7Iv8PQT0dZR+AlfA@public.gmane.org>
> 
> >>> Allows controller to be specified via device tree.
> >>> Pass PHY phandle specified in DT to core driver.
> 
> >>> Signed-off-by: Ivan T. Ivanov <iivanov-NEYub+7Iv8PQT0dZR+AlfA@public.gmane.org>
> >>> ---
> >>>    drivers/usb/chipidea/ci_hdrc_msm.c |   23 ++++++++++++++++++++++-
> >>>    1 file changed, 22 insertions(+), 1 deletion(-)
> 
> >>      You also need to describe the binding you're creating in
> >> Documentation/devicetree/bindings/usb/<file>.txt.
> 
> > Did you check "[PATCH v2 1/3]"?
> 
>     Did you send it to 'linux-usb'?

Opps, sorry. get_maintainer.pl did not list linux-usb and I forgot 
to add it. Would like to resend it?

Regards,
Ivan

> 
> WBR, Sergei


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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PATCH v2 2/3] usb: chipidea: msm: Add device tree support
@ 2014-02-19 15:48                   ` Ivan T. Ivanov
  0 siblings, 0 replies; 38+ messages in thread
From: Ivan T. Ivanov @ 2014-02-19 15:48 UTC (permalink / raw)
  To: Sergei Shtylyov
  Cc: Peter Chen, Grant Likely, Rob Herring, Greg Kroah-Hartman,
	linux-usb, linux-kernel, devicetree, linux-arm-msm


Hi,

On Tue, 2014-02-18 at 21:31 +0300, Sergei Shtylyov wrote: 
> On 02/18/2014 08:14 PM, Ivan T. Ivanov wrote:
> 
> >>> From: "Ivan T. Ivanov" <iivanov@mm-sol.com>
> 
> >>> Allows controller to be specified via device tree.
> >>> Pass PHY phandle specified in DT to core driver.
> 
> >>> Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
> >>> ---
> >>>    drivers/usb/chipidea/ci_hdrc_msm.c |   23 ++++++++++++++++++++++-
> >>>    1 file changed, 22 insertions(+), 1 deletion(-)
> 
> >>      You also need to describe the binding you're creating in
> >> Documentation/devicetree/bindings/usb/<file>.txt.
> 
> > Did you check "[PATCH v2 1/3]"?
> 
>     Did you send it to 'linux-usb'?

Opps, sorry. get_maintainer.pl did not list linux-usb and I forgot 
to add it. Would like to resend it?

Regards,
Ivan

> 
> WBR, Sergei



^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PATCH v2 1/3] usb: chipidea: msm: Add device tree binding information
  2014-02-19 15:43     ` Ivan T. Ivanov
@ 2014-02-19 17:46       ` Courtney Cavin
  2014-02-24 10:18         ` Ivan T. Ivanov
  0 siblings, 1 reply; 38+ messages in thread
From: Courtney Cavin @ 2014-02-19 17:46 UTC (permalink / raw)
  To: Ivan T. Ivanov
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	Rob Landley, Greg Kroah-Hartman, David Brown, devicetree,
	linux-doc, linux-kernel, linux-arm-msm

On Wed, Feb 19, 2014 at 04:43:22PM +0100, Ivan T. Ivanov wrote:
> 
> Hi, 
> 
> On Tue, 2014-02-18 at 13:26 -0800, Courtney Cavin wrote: 
> > On Tue, Feb 18, 2014 at 02:21:19PM +0100, Ivan T. Ivanov wrote:
> > > From: "Ivan T. Ivanov" <iivanov@mm-sol.com>
> > > 
> > > Document device tree binding information as required by
> > > the Qualcomm USB controller.
> > > 
> > > Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
> > > ---
> > >  .../devicetree/bindings/usb/msm-hsusb.txt          |   17 +++++++++++++++++
> > 
> > Although you mentioned to Josh that this is intended for "non-standard"
> > Chipidea properties, I don't see any other than requiring that 'dr_mode'
> > must be "peripheral".  It would seem that this should all be integrated
> > into a ci3xxx.txt.
> 
> Hm, there is no ci3xxx.txt. The closest match is ci-hdrc-imx.txt.
> So it could be ci-hdrc-qcom.txt or my preferred name qcom,ci-hdrc.txt?

Sorry, I was referring to ci13xxx-imx.txt, which was apparently moved to
ci-hdrc-imx.txt.  I was recommending to merge the two into one
'ci13xxx.txt', as this binding seems to be a new compatible for the same
basic chip.  Now perhaps 'ci-hdrc.txt'.

Although I agree with Josh that this name should be changed, and I think
either of your two suggestions would be acceptable, I would like to at
least discuss the possibility of actually merging the two in this
series.

Comments?

-Courtney

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PATCH v2 2/3] usb: chipidea: msm: Add device tree support
  2014-02-19 15:48                   ` Ivan T. Ivanov
@ 2014-02-19 20:24                     ` Sergei Shtylyov
  -1 siblings, 0 replies; 38+ messages in thread
From: Sergei Shtylyov @ 2014-02-19 20:24 UTC (permalink / raw)
  To: Ivan T. Ivanov
  Cc: Peter Chen, Grant Likely, Rob Herring, Greg Kroah-Hartman,
	linux-usb-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-msm-u79uwXL29TY76Z2rM5mHXA

Hello.

On 02/19/2014 06:48 PM, Ivan T. Ivanov wrote:

>>>>> From: "Ivan T. Ivanov" <iivanov-NEYub+7Iv8PQT0dZR+AlfA@public.gmane.org>

>>>>> Allows controller to be specified via device tree.
>>>>> Pass PHY phandle specified in DT to core driver.

>>>>> Signed-off-by: Ivan T. Ivanov <iivanov-NEYub+7Iv8PQT0dZR+AlfA@public.gmane.org>
>>>>> ---
>>>>>     drivers/usb/chipidea/ci_hdrc_msm.c |   23 ++++++++++++++++++++++-
>>>>>     1 file changed, 22 insertions(+), 1 deletion(-)

>>>>       You also need to describe the binding you're creating in
>>>> Documentation/devicetree/bindings/usb/<file>.txt.

>>> Did you check "[PATCH v2 1/3]"?

>>      Did you send it to 'linux-usb'?

> Opps, sorry. get_maintainer.pl did not list linux-usb and I forgot
> to add it. Would like to resend it?

    I guess so, since the binding document would go in thru the USB tree 
anyway, IIUC.

> Regards,
> Ivan

WBR, Sergei

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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PATCH v2 2/3] usb: chipidea: msm: Add device tree support
@ 2014-02-19 20:24                     ` Sergei Shtylyov
  0 siblings, 0 replies; 38+ messages in thread
From: Sergei Shtylyov @ 2014-02-19 20:24 UTC (permalink / raw)
  To: Ivan T. Ivanov
  Cc: Peter Chen, Grant Likely, Rob Herring, Greg Kroah-Hartman,
	linux-usb, linux-kernel, devicetree, linux-arm-msm

Hello.

On 02/19/2014 06:48 PM, Ivan T. Ivanov wrote:

>>>>> From: "Ivan T. Ivanov" <iivanov@mm-sol.com>

>>>>> Allows controller to be specified via device tree.
>>>>> Pass PHY phandle specified in DT to core driver.

>>>>> Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
>>>>> ---
>>>>>     drivers/usb/chipidea/ci_hdrc_msm.c |   23 ++++++++++++++++++++++-
>>>>>     1 file changed, 22 insertions(+), 1 deletion(-)

>>>>       You also need to describe the binding you're creating in
>>>> Documentation/devicetree/bindings/usb/<file>.txt.

>>> Did you check "[PATCH v2 1/3]"?

>>      Did you send it to 'linux-usb'?

> Opps, sorry. get_maintainer.pl did not list linux-usb and I forgot
> to add it. Would like to resend it?

    I guess so, since the binding document would go in thru the USB tree 
anyway, IIUC.

> Regards,
> Ivan

WBR, Sergei


^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PATCH v2 0/3] usb: chipidea: msm: Clean and fix glue layer driver
  2014-02-19 14:58   ` Ivan T. Ivanov
@ 2014-02-20  4:07       ` Tim Bird
  0 siblings, 0 replies; 38+ messages in thread
From: Tim Bird @ 2014-02-20  4:07 UTC (permalink / raw)
  To: Ivan T. Ivanov
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	Rob Landley, Peter Chen, Grant Likely, Greg Kroah-Hartman,
	David Brown, devicetree-u79uwXL29TY76Z2rM5mHXA,
	Linux Kernel Mailing List, linux-usb-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-msm-u79uwXL29TY76Z2rM5mHXA

Thanks very much.  I will try out the things you mention and let you
know if I make progress.
 -- Tim


On Wed, Feb 19, 2014 at 6:58 AM, Ivan T. Ivanov <iivanov-NEYub+7Iv8PQT0dZR+AlfA@public.gmane.org> wrote:
>
> Hi Tim,
>
> On Tue, 2014-02-18 at 22:21 -0800, Tim Bird wrote:
>> Ivan,
>>
>> I'm having tremendous problems getting this driver to initialize.  For
>> some reason, I can't get the driver to actually transition the
>> hardware into peripheral mode.  At first I was getting a lot of probe
>> deferrals, based on not finding the regulators early enough in the
>> boot, and I thought it was an issue with the gadget drivers loading
>> before the driver could complete its setup.  However, I switched
>> everything to loading via modules, and now have less probe deferrals,
>> but I still can't get the driver to activate.
>
> My understanding for gadget drivers is that you can have only one
> of them active in particular time. When compiled in kernel you can
> chose only one of them, also you can have only one module (function)
> loaded.
>
>
>>   I see zero interrupts.
>
> Right, I think that we will not see interrupts until we have
> SPMI drivers which could control PMIC chip, PMIC is responsible
> to do ID line detection and generate IRQ to APQ/MSM chip.
>
>> In particular the routine hw_device_state (which turns on interrupts
>> in the controller) is never called, because I can't get
>> msm_otg_start_peripheral to actually kick the hardware.
>>
>
> OTG state machine is not used at all. This phy-"otg" driver is
> working only in "peripheral" mode, because of missing PMIC
> communication.
>
> The only callback which you could see to be executed is
> struct usb_otg::set_peripheral(), when you load gadget driver.
>
>
> <snip>
>
> (Would you mind sharing your config?).
>
> Sure. Attached.
>
>
>> I tried configuring the qcom,otg-control for user controlled mode
>> setting (via debugfs),
>
> Never testes this. It was there before.
>
>>
>> My kernel is based on an internal Sony 3.13-rc6 kernel with clock and
>> regulator patches applied, as well as your phy-msm-usb.c patches from
>> November and your chipidea patches from yesterday.
>
> You will need also 4th chipidea patch[1]. I have dropped it, because
> I will like to upstream PHY driver changes first. They are depended
> anyway.
>
> To reduce dependency to other drivers, I could recommend you to
> use Zero gadget driver. It should be enough to test USB stack,
> where APQ device will be peripheral and development workstation
> will be a host[2].
>
>
> # cat zero.sh
> #!/bin/sh
> cd /lib/modules/$(uname -r)/kernel/drivers/usb/gadget
> insmod ./libcomposite.ko
> insmod ./usb_f_ss_lb.ko
> insmod ./g_zero.ko
>
>
>> [   22.454287] [<c022afd8>] (warn_slowpath_common+0x68/0x88) from
>> [<c022b08c>] (warn_slowpath_fmt+0x30/0x40)
>> [   22.463060] [<c022b08c>] (warn_slowpath_fmt+0x30/0x40) from
>> [<bf005024>] (msm_otg_probe+0x24/0x904 [phy_msm_usb])
>> [   22.472703] [<bf005024>] (msm_otg_probe+0x24/0x904 [phy_msm_usb])
>
> This is know non-fatal issue. I will try to see how to fix it.
>
>
> Regards,
> Ivan
>
> [1] usb: chipidea: msm: Use USB PHY API to control PHY state
> [2] http://www.linux-usb.org/usbtest/
>
>



-- 
 -- Tim Bird
Senior Software Engineer, Sony Mobile
Architecture Group Chair, CE Workgroup, Linux Foundation
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PATCH v2 0/3] usb: chipidea: msm: Clean and fix glue layer driver
@ 2014-02-20  4:07       ` Tim Bird
  0 siblings, 0 replies; 38+ messages in thread
From: Tim Bird @ 2014-02-20  4:07 UTC (permalink / raw)
  To: Ivan T. Ivanov
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	Rob Landley, Peter Chen, Grant Likely, Greg Kroah-Hartman,
	David Brown, devicetree, Linux Kernel Mailing List, linux-usb,
	linux-arm-msm

Thanks very much.  I will try out the things you mention and let you
know if I make progress.
 -- Tim


On Wed, Feb 19, 2014 at 6:58 AM, Ivan T. Ivanov <iivanov@mm-sol.com> wrote:
>
> Hi Tim,
>
> On Tue, 2014-02-18 at 22:21 -0800, Tim Bird wrote:
>> Ivan,
>>
>> I'm having tremendous problems getting this driver to initialize.  For
>> some reason, I can't get the driver to actually transition the
>> hardware into peripheral mode.  At first I was getting a lot of probe
>> deferrals, based on not finding the regulators early enough in the
>> boot, and I thought it was an issue with the gadget drivers loading
>> before the driver could complete its setup.  However, I switched
>> everything to loading via modules, and now have less probe deferrals,
>> but I still can't get the driver to activate.
>
> My understanding for gadget drivers is that you can have only one
> of them active in particular time. When compiled in kernel you can
> chose only one of them, also you can have only one module (function)
> loaded.
>
>
>>   I see zero interrupts.
>
> Right, I think that we will not see interrupts until we have
> SPMI drivers which could control PMIC chip, PMIC is responsible
> to do ID line detection and generate IRQ to APQ/MSM chip.
>
>> In particular the routine hw_device_state (which turns on interrupts
>> in the controller) is never called, because I can't get
>> msm_otg_start_peripheral to actually kick the hardware.
>>
>
> OTG state machine is not used at all. This phy-"otg" driver is
> working only in "peripheral" mode, because of missing PMIC
> communication.
>
> The only callback which you could see to be executed is
> struct usb_otg::set_peripheral(), when you load gadget driver.
>
>
> <snip>
>
> (Would you mind sharing your config?).
>
> Sure. Attached.
>
>
>> I tried configuring the qcom,otg-control for user controlled mode
>> setting (via debugfs),
>
> Never testes this. It was there before.
>
>>
>> My kernel is based on an internal Sony 3.13-rc6 kernel with clock and
>> regulator patches applied, as well as your phy-msm-usb.c patches from
>> November and your chipidea patches from yesterday.
>
> You will need also 4th chipidea patch[1]. I have dropped it, because
> I will like to upstream PHY driver changes first. They are depended
> anyway.
>
> To reduce dependency to other drivers, I could recommend you to
> use Zero gadget driver. It should be enough to test USB stack,
> where APQ device will be peripheral and development workstation
> will be a host[2].
>
>
> # cat zero.sh
> #!/bin/sh
> cd /lib/modules/$(uname -r)/kernel/drivers/usb/gadget
> insmod ./libcomposite.ko
> insmod ./usb_f_ss_lb.ko
> insmod ./g_zero.ko
>
>
>> [   22.454287] [<c022afd8>] (warn_slowpath_common+0x68/0x88) from
>> [<c022b08c>] (warn_slowpath_fmt+0x30/0x40)
>> [   22.463060] [<c022b08c>] (warn_slowpath_fmt+0x30/0x40) from
>> [<bf005024>] (msm_otg_probe+0x24/0x904 [phy_msm_usb])
>> [   22.472703] [<bf005024>] (msm_otg_probe+0x24/0x904 [phy_msm_usb])
>
> This is know non-fatal issue. I will try to see how to fix it.
>
>
> Regards,
> Ivan
>
> [1] usb: chipidea: msm: Use USB PHY API to control PHY state
> [2] http://www.linux-usb.org/usbtest/
>
>



-- 
 -- Tim Bird
Senior Software Engineer, Sony Mobile
Architecture Group Chair, CE Workgroup, Linux Foundation

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [PATCH RESEND v2 1/3] usb: chipidea: msm: Add device tree binding information
  2014-02-19 20:24                     ` Sergei Shtylyov
  (?)
@ 2014-02-20  9:53                     ` Ivan T. Ivanov
  2014-02-24  8:15                       ` Peter Chen
  -1 siblings, 1 reply; 38+ messages in thread
From: Ivan T. Ivanov @ 2014-02-20  9:53 UTC (permalink / raw)
  To: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	Rob Landley
  Cc: Ivan T. Ivanov, Greg Kroah-Hartman, David Brown, devicetree,
	linux-doc, linux-kernel, linux-arm-msm, linux-usb

From: "Ivan T. Ivanov" <iivanov@mm-sol.com>

Document device tree binding information as required by
the Qualcomm USB controller.

Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
---
 .../devicetree/bindings/usb/msm-hsusb.txt          |   17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/Documentation/devicetree/bindings/usb/msm-hsusb.txt b/Documentation/devicetree/bindings/usb/msm-hsusb.txt
index 5ea26c6..d4e7e41 100644
--- a/Documentation/devicetree/bindings/usb/msm-hsusb.txt
+++ b/Documentation/devicetree/bindings/usb/msm-hsusb.txt
@@ -15,3 +15,20 @@ Example EHCI controller device node:
 		usb-phy = <&usb_otg>;
 	};
 
+CI13xxx (Chipidea) USB controllers
+
+Required properties:
+- compatible:   should contain "qcom,ci-hdrc"
+- reg:          offset and length of the register set in the memory map
+- interrupts:   interrupt-specifier for the controller interrupt.
+- usb-phy:      phandle for the PHY device
+- dr_mode:      Sould be "peripheral"
+
+	gadget@f9a55000 {
+		compatible = "qcom,ci-hdrc";
+		reg = <0xf9a55000 0x400>;
+		dr_mode = "peripheral";
+		interrupts = <0 134 0>;
+		usb-phy = <&usb_otg>;
+	};
+
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 38+ messages in thread

* RE: [PATCH RESEND v2 1/3] usb: chipidea: msm: Add device tree binding information
  2014-02-20  9:53                     ` [PATCH RESEND v2 1/3] usb: chipidea: msm: Add device tree binding information Ivan T. Ivanov
@ 2014-02-24  8:15                       ` Peter Chen
  2014-02-24 10:09                         ` Ivan T. Ivanov
  0 siblings, 1 reply; 38+ messages in thread
From: Peter Chen @ 2014-02-24  8:15 UTC (permalink / raw)
  To: Ivan T. Ivanov, Rob Herring, Pawel Moll, Mark Rutland,
	Ian Campbell, Kumar Gala, Rob Landley
  Cc: Greg Kroah-Hartman, David Brown, devicetree, linux-doc,
	linux-kernel, linux-arm-msm, linux-usb

 
> +CI13xxx (Chipidea) USB controllers
> +
> +Required properties:
> +- compatible:   should contain "qcom,ci-hdrc"
> +- reg:          offset and length of the register set in the memory map
> +- interrupts:   interrupt-specifier for the controller interrupt.
> +- usb-phy:      phandle for the PHY device
> +- dr_mode:      Sould be "peripheral"
> +
> +	gadget@f9a55000 {
> +		compatible = "qcom,ci-hdrc";
> +		reg = <0xf9a55000 0x400>;
> +		dr_mode = "peripheral";
> +		interrupts = <0 134 0>;
> +		usb-phy = <&usb_otg>;
> +	};
> +

usb_otg is not a good name for the node of usb phy.

Peter

^ permalink raw reply	[flat|nested] 38+ messages in thread

* RE: [PATCH RESEND v2 1/3] usb: chipidea: msm: Add device tree binding information
  2014-02-24  8:15                       ` Peter Chen
@ 2014-02-24 10:09                         ` Ivan T. Ivanov
  2014-02-24 10:19                           ` Peter Chen
  0 siblings, 1 reply; 38+ messages in thread
From: Ivan T. Ivanov @ 2014-02-24 10:09 UTC (permalink / raw)
  To: Peter Chen
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	Rob Landley, Greg Kroah-Hartman, David Brown, devicetree,
	linux-doc, linux-kernel, linux-arm-msm, linux-usb

On Mon, 2014-02-24 at 08:15 +0000, Peter Chen wrote: 
> > +CI13xxx (Chipidea) USB controllers
> > +
> > +Required properties:
> > +- compatible:   should contain "qcom,ci-hdrc"
> > +- reg:          offset and length of the register set in the memory map
> > +- interrupts:   interrupt-specifier for the controller interrupt.
> > +- usb-phy:      phandle for the PHY device
> > +- dr_mode:      Sould be "peripheral"
> > +
> > +	gadget@f9a55000 {
> > +		compatible = "qcom,ci-hdrc";
> > +		reg = <0xf9a55000 0x400>;
> > +		dr_mode = "peripheral";
> > +		interrupts = <0 134 0>;
> > +		usb-phy = <&usb_otg>;
> > +	};
> > +
> 
> usb_otg is not a good name for the node of usb phy.

Well, this is just an example. Is this better <&phy0>?

Regards,
Ivan


> 
> Peter
> 

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PATCH v2 1/3] usb: chipidea: msm: Add device tree binding information
  2014-02-19 17:46       ` Courtney Cavin
@ 2014-02-24 10:18         ` Ivan T. Ivanov
  2014-02-25  1:57             ` Peter Chen
  0 siblings, 1 reply; 38+ messages in thread
From: Ivan T. Ivanov @ 2014-02-24 10:18 UTC (permalink / raw)
  To: Courtney Cavin
  Cc: Peter Chen, richard.zhao, Rob Herring, Pawel Moll, Mark Rutland,
	Ian Campbell, Kumar Gala, Rob Landley, Greg Kroah-Hartman,
	David Brown, devicetree, linux-doc, linux-kernel, linux-arm-msm


Hi, 

On Wed, 2014-02-19 at 09:46 -0800, Courtney Cavin wrote: 
> On Wed, Feb 19, 2014 at 04:43:22PM +0100, Ivan T. Ivanov wrote:
> > 
> > Hi, 
> > 
> > On Tue, 2014-02-18 at 13:26 -0800, Courtney Cavin wrote: 
> > > On Tue, Feb 18, 2014 at 02:21:19PM +0100, Ivan T. Ivanov wrote:
> > > > From: "Ivan T. Ivanov" <iivanov@mm-sol.com>
> > > > 
> > > > Document device tree binding information as required by
> > > > the Qualcomm USB controller.
> > > > 
> > > > Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
> > > > ---
> > > >  .../devicetree/bindings/usb/msm-hsusb.txt          |   17 +++++++++++++++++
> > > 
> > > Although you mentioned to Josh that this is intended for "non-standard"
> > > Chipidea properties, I don't see any other than requiring that 'dr_mode'
> > > must be "peripheral".  It would seem that this should all be integrated
> > > into a ci3xxx.txt.
> > 
> > Hm, there is no ci3xxx.txt. The closest match is ci-hdrc-imx.txt.
> > So it could be ci-hdrc-qcom.txt or my preferred name qcom,ci-hdrc.txt?
> 
> Sorry, I was referring to ci13xxx-imx.txt, which was apparently moved to
> ci-hdrc-imx.txt.  I was recommending to merge the two into one
> 'ci13xxx.txt', as this binding seems to be a new compatible for the same
> basic chip.  Now perhaps 'ci-hdrc.txt'.
> 
> Although I agree with Josh that this name should be changed, and I think
> either of your two suggestions would be acceptable, I would like to at
> least discuss the possibility of actually merging the two in this
> series.
> 
> Comments?


iMX version have required and recommender properties which are not 
meaningful for QCOM variant. I will prefer separate file. It depends 
on Freescale engineers (now in Cc:)


Regards,
Ivan

> 
> -Courtney

^ permalink raw reply	[flat|nested] 38+ messages in thread

* RE: [PATCH RESEND v2 1/3] usb: chipidea: msm: Add device tree binding information
  2014-02-24 10:09                         ` Ivan T. Ivanov
@ 2014-02-24 10:19                           ` Peter Chen
  0 siblings, 0 replies; 38+ messages in thread
From: Peter Chen @ 2014-02-24 10:19 UTC (permalink / raw)
  To: Ivan T. Ivanov
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	Rob Landley, Greg Kroah-Hartman, David Brown, devicetree,
	linux-doc, linux-kernel, linux-arm-msm, linux-usb

 
> 
> On Mon, 2014-02-24 at 08:15 +0000, Peter Chen wrote:
> > > +CI13xxx (Chipidea) USB controllers
> > > +
> > > +Required properties:
> > > +- compatible:   should contain "qcom,ci-hdrc"
> > > +- reg:          offset and length of the register set in the memory
> map
> > > +- interrupts:   interrupt-specifier for the controller interrupt.
> > > +- usb-phy:      phandle for the PHY device
> > > +- dr_mode:      Sould be "peripheral"
> > > +
> > > +	gadget@f9a55000 {
> > > +		compatible = "qcom,ci-hdrc";
> > > +		reg = <0xf9a55000 0x400>;
> > > +		dr_mode = "peripheral";
> > > +		interrupts = <0 134 0>;
> > > +		usb-phy = <&usb_otg>;
> > > +	};
> > > +
> >
> > usb_otg is not a good name for the node of usb phy.
> 
> Well, this is just an example. Is this better <&phy0>?
> 

<&usbphy0> is better since we have ethernet, sata, pcie phy.

Peter


^ permalink raw reply	[flat|nested] 38+ messages in thread

* RE: [PATCH v2 1/3] usb: chipidea: msm: Add device tree binding information
  2014-02-24 10:18         ` Ivan T. Ivanov
@ 2014-02-25  1:57             ` Peter Chen
  0 siblings, 0 replies; 38+ messages in thread
From: Peter Chen @ 2014-02-25  1:57 UTC (permalink / raw)
  To: Ivan T. Ivanov, Courtney Cavin
  Cc: richard.zhao-KZfg59tc24xl57MIdRCFDg, Rob Herring, Pawel Moll,
	Mark Rutland, Ian Campbell, Kumar Gala, Rob Landley,
	Greg Kroah-Hartman, David Brown,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-doc-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-msm-u79uwXL29TY76Z2rM5mHXA

 
> 
> Hi,
> 
> On Wed, 2014-02-19 at 09:46 -0800, Courtney Cavin wrote:
> > On Wed, Feb 19, 2014 at 04:43:22PM +0100, Ivan T. Ivanov wrote:
> > >
> > > Hi,
> > >
> > > On Tue, 2014-02-18 at 13:26 -0800, Courtney Cavin wrote:
> > > > On Tue, Feb 18, 2014 at 02:21:19PM +0100, Ivan T. Ivanov wrote:
> > > > > From: "Ivan T. Ivanov" <iivanov-NEYub+7Iv8PQT0dZR+AlfA@public.gmane.org>
> > > > >
> > > > > Document device tree binding information as required by the
> > > > > Qualcomm USB controller.
> > > > >
> > > > > Signed-off-by: Ivan T. Ivanov <iivanov-NEYub+7Iv8PQT0dZR+AlfA@public.gmane.org>
> > > > > ---
> > > > >  .../devicetree/bindings/usb/msm-hsusb.txt          |   17
> +++++++++++++++++
> > > >
> > > > Although you mentioned to Josh that this is intended for "non-
> standard"
> > > > Chipidea properties, I don't see any other than requiring that
> 'dr_mode'
> > > > must be "peripheral".  It would seem that this should all be
> > > > integrated into a ci3xxx.txt.
> > >
> > > Hm, there is no ci3xxx.txt. The closest match is ci-hdrc-imx.txt.
> > > So it could be ci-hdrc-qcom.txt or my preferred name qcom,ci-hdrc.txt?
> >
> > Sorry, I was referring to ci13xxx-imx.txt, which was apparently moved
> > to ci-hdrc-imx.txt.  I was recommending to merge the two into one
> > 'ci13xxx.txt', as this binding seems to be a new compatible for the
> > same basic chip.  Now perhaps 'ci-hdrc.txt'.
> >
> > Although I agree with Josh that this name should be changed, and I
> > think either of your two suggestions would be acceptable, I would like
> > to at least discuss the possibility of actually merging the two in
> > this series.
> >
> > Comments?
> 
> 
> iMX version have required and recommender properties which are not
> meaningful for QCOM variant. I will prefer separate file. It depends on
> Freescale engineers (now in Cc:)
> 
> 

Unlike dwc3, there is no common dts entry for chipidea core, every platform
uses its own dts to cover both common and platform-specific properties.

I also have plan to use dwc3 style way for dts, but msm platform has still
not used dts, I don't know how many msm platforms need to change, once
you finish transferring msm to dts, I will split common and platform specific
entry.

Peter

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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* RE: [PATCH v2 1/3] usb: chipidea: msm: Add device tree binding information
@ 2014-02-25  1:57             ` Peter Chen
  0 siblings, 0 replies; 38+ messages in thread
From: Peter Chen @ 2014-02-25  1:57 UTC (permalink / raw)
  To: Ivan T. Ivanov, Courtney Cavin
  Cc: richard.zhao, Rob Herring, Pawel Moll, Mark Rutland,
	Ian Campbell, Kumar Gala, Rob Landley, Greg Kroah-Hartman,
	David Brown, devicetree, linux-doc, linux-kernel, linux-arm-msm

 
> 
> Hi,
> 
> On Wed, 2014-02-19 at 09:46 -0800, Courtney Cavin wrote:
> > On Wed, Feb 19, 2014 at 04:43:22PM +0100, Ivan T. Ivanov wrote:
> > >
> > > Hi,
> > >
> > > On Tue, 2014-02-18 at 13:26 -0800, Courtney Cavin wrote:
> > > > On Tue, Feb 18, 2014 at 02:21:19PM +0100, Ivan T. Ivanov wrote:
> > > > > From: "Ivan T. Ivanov" <iivanov@mm-sol.com>
> > > > >
> > > > > Document device tree binding information as required by the
> > > > > Qualcomm USB controller.
> > > > >
> > > > > Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
> > > > > ---
> > > > >  .../devicetree/bindings/usb/msm-hsusb.txt          |   17
> +++++++++++++++++
> > > >
> > > > Although you mentioned to Josh that this is intended for "non-
> standard"
> > > > Chipidea properties, I don't see any other than requiring that
> 'dr_mode'
> > > > must be "peripheral".  It would seem that this should all be
> > > > integrated into a ci3xxx.txt.
> > >
> > > Hm, there is no ci3xxx.txt. The closest match is ci-hdrc-imx.txt.
> > > So it could be ci-hdrc-qcom.txt or my preferred name qcom,ci-hdrc.txt?
> >
> > Sorry, I was referring to ci13xxx-imx.txt, which was apparently moved
> > to ci-hdrc-imx.txt.  I was recommending to merge the two into one
> > 'ci13xxx.txt', as this binding seems to be a new compatible for the
> > same basic chip.  Now perhaps 'ci-hdrc.txt'.
> >
> > Although I agree with Josh that this name should be changed, and I
> > think either of your two suggestions would be acceptable, I would like
> > to at least discuss the possibility of actually merging the two in
> > this series.
> >
> > Comments?
> 
> 
> iMX version have required and recommender properties which are not
> meaningful for QCOM variant. I will prefer separate file. It depends on
> Freescale engineers (now in Cc:)
> 
> 

Unlike dwc3, there is no common dts entry for chipidea core, every platform
uses its own dts to cover both common and platform-specific properties.

I also have plan to use dwc3 style way for dts, but msm platform has still
not used dts, I don't know how many msm platforms need to change, once
you finish transferring msm to dts, I will split common and platform specific
entry.

Peter


^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2014-02-25  1:57 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-18 13:21 [PATCH v2 0/3] usb: chipidea: msm: Clean and fix glue layer driver Ivan T. Ivanov
2014-02-18 13:21 ` Ivan T. Ivanov
2014-02-18 13:21 ` [PATCH v2 1/3] usb: chipidea: msm: Add device tree binding information Ivan T. Ivanov
2014-02-18 16:13   ` Josh Cartwright
2014-02-18 17:27     ` Ivan T. Ivanov
2014-02-18 19:07       ` Josh Cartwright
2014-02-18 21:26   ` Courtney Cavin
2014-02-19 15:43     ` Ivan T. Ivanov
2014-02-19 17:46       ` Courtney Cavin
2014-02-24 10:18         ` Ivan T. Ivanov
2014-02-25  1:57           ` Peter Chen
2014-02-25  1:57             ` Peter Chen
     [not found] ` <1392729681-21022-1-git-send-email-iivanov-NEYub+7Iv8PQT0dZR+AlfA@public.gmane.org>
2014-02-18 13:21   ` [PATCH v2 2/3] usb: chipidea: msm: Add device tree support Ivan T. Ivanov
2014-02-18 13:21     ` Ivan T. Ivanov
2014-02-18 14:08     ` Josh Cartwright
2014-02-18 17:14       ` Ivan T. Ivanov
     [not found]     ` <1392729681-21022-3-git-send-email-iivanov-NEYub+7Iv8PQT0dZR+AlfA@public.gmane.org>
2014-02-18 17:53       ` Sergei Shtylyov
2014-02-18 17:53         ` Sergei Shtylyov
     [not found]         ` <53039E2E.2030503-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
2014-02-18 17:14           ` Ivan T. Ivanov
2014-02-18 17:14             ` Ivan T. Ivanov
2014-02-18 18:31             ` Sergei Shtylyov
     [not found]               ` <5303A71B.7060208-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
2014-02-18 21:34                 ` Courtney Cavin
2014-02-18 21:34                   ` Courtney Cavin
2014-02-18 23:32                   ` Sergei Shtylyov
2014-02-19 15:48                 ` Ivan T. Ivanov
2014-02-19 15:48                   ` Ivan T. Ivanov
2014-02-19 20:24                   ` Sergei Shtylyov
2014-02-19 20:24                     ` Sergei Shtylyov
2014-02-20  9:53                     ` [PATCH RESEND v2 1/3] usb: chipidea: msm: Add device tree binding information Ivan T. Ivanov
2014-02-24  8:15                       ` Peter Chen
2014-02-24 10:09                         ` Ivan T. Ivanov
2014-02-24 10:19                           ` Peter Chen
2014-02-18 13:21 ` [PATCH v2 3/3] usb: chipidea: msm: Initialize offset of the capability registers Ivan T. Ivanov
2014-02-19  6:21 ` [PATCH v2 0/3] usb: chipidea: msm: Clean and fix glue layer driver Tim Bird
2014-02-19 10:32   ` Ivan T. Ivanov
2014-02-19 14:58   ` Ivan T. Ivanov
2014-02-20  4:07     ` Tim Bird
2014-02-20  4:07       ` Tim Bird

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.