[PATCH] ARM: dts: omap5: Fix dual-role mode on Super-Speed port

2018-12-05 Thread Roger Quadros
. Nikolaus Schaller Signed-off-by: Roger Quadros --- Tony, Please included this in v4.20-rc cycle. Thanks. cheers, -roger arch/arm/boot/dts/omap5-board-common.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/omap5-board-common.dtsi b/arch/arm/boot/dts/omap5-board-c

[PATCH 4/4] phy: ti: usb2: Add support for AM654 USB2 PHY

2018-12-05 Thread Roger Quadros
Add support for the USB2 PHY on the AM654 SoC. Signed-off-by: Roger Quadros Signed-off-by: Sekhar Nori --- drivers/phy/ti/Kconfig | 4 ++-- drivers/phy/ti/phy-omap-usb2.c | 17 + 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/drivers/phy/ti/Kconfig b

[PATCH 1/4] phy: ti: usb2: Fix logic on -EPROBE_DEFER

2018-12-05 Thread Roger Quadros
If clk_get() returns -EPROBE_DEFER then we should just return instead of falling back to old clock name. Use clk_prepare_enable() and clk_disable_unprepare() instead of splitting up prepare/unprepare from enable/disable. Signed-off-by: Roger Quadros --- drivers/phy/ti/phy-omap-usb2.c | 88

[PATCH 3/4] dt-bindings: phy: ti: Add support for AM654x USB2 PHY

2018-12-05 Thread Roger Quadros
Add support for USB2 PHY on AM654x SoC. Signed-off-by: Roger Quadros Signed-off-by: Sekhar Nori --- Documentation/devicetree/bindings/phy/ti-phy.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/phy/ti-phy.txt b/Documentation/devicetree/bindings/phy/ti

[PATCH 0/4] phy: ti: Add AM654 USB2 support

2018-12-05 Thread Roger Quadros
Hi Kishon, This series extends omap-usb2 PHY driver to be used for AM654 USB2 PHY. cheers, -roger Roger Quadros (4): phy: ti: usb2: Fix logic on -EPROBE_DEFER phy: ti: Don't depend on OMAP_OCP2SCP dt-bindings: phy: ti: Add support for AM654x USB2 PHY phy: ti: usb2: Add support for AM654

[PATCH 2/4] phy: ti: Don't depend on OMAP_OCP2SCP

2018-12-05 Thread Roger Quadros
TI_PIPE3 and OMAP_USB2 don't depend on OMAP_OCP2SCP for build. Signed-off-by: Roger Quadros Signed-off-by: Sekhar Nori --- drivers/phy/ti/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/phy/ti/Kconfig b/drivers/phy/ti/Kconfig index 2050356..4fdbe06 100644 --- a/drivers/phy

Re: [PATCH 01/16] remoteproc: Extend rproc_da_to_va() API with a flags parameter

2018-12-04 Thread Roger Quadros
On 29/11/18 18:12, David Lechner wrote: > On 11/29/18 4:29 AM, Roger Quadros wrote: >> Bjorn, Suman, >> >> On 26/11/18 23:29, David Lechner wrote: >>> On 11/26/18 1:52 AM, Roger Quadros wrote: >>>> From: Suman Anna >>>> >>>>

Re: [PATCH 04/16] remoteproc/pru: Add PRU remoteproc driver

2018-12-04 Thread Roger Quadros
On 30/11/18 23:39, Dimitar Dimitrov wrote: > On Monday, 12/26/2018, 9:52:37 EET Roger Quadros wrote: >> +/* >> + * Convert PRU device address (instruction space) to kernel virtual address >> + * >> + * A PRU does not have an unified address space. Each PRU has

Re: [PATCH 12/16] dt-bindings: remoteproc: ti-pruss: Document application node bindings

2018-11-30 Thread Roger Quadros
On 29/11/18 18:33, David Lechner wrote: > On 11/29/18 4:07 AM, Roger Quadros wrote: >> On 27/11/18 01:27, David Lechner wrote: >>> On 11/26/18 1:52 AM, Roger Quadros wrote: >>>> From: Tero Kristo >>>> >>>> Add documentation for the Texas

Re: [PATCH 01/16] remoteproc: Extend rproc_da_to_va() API with a flags parameter

2018-11-29 Thread Roger Quadros
Bjorn, Suman, On 26/11/18 23:29, David Lechner wrote: > On 11/26/18 1:52 AM, Roger Quadros wrote: >> From: Suman Anna >> >> The rproc_da_to_va() API is currently used to perform any device >> to kernel address translations to meet the different needs of the >>

Re: [PATCH 05/16] remoteproc/pru: Add pru-specific debugfs support

2018-11-29 Thread Roger Quadros
On 27/11/18 00:37, David Lechner wrote: > On 11/26/18 1:52 AM, Roger Quadros wrote: >> From: Suman Anna >> >> The remoteproc core creates certain standard debugfs entries, >> that does not give a whole lot of useful information for the >> PRUs. The PRU rem

Re: [PATCH 12/16] dt-bindings: remoteproc: ti-pruss: Document application node bindings

2018-11-29 Thread Roger Quadros
On 27/11/18 01:27, David Lechner wrote: > On 11/26/18 1:52 AM, Roger Quadros wrote: >> From: Tero Kristo >> >> Add documentation for the Texas Instruments PRU application nodes. >> These are used to configure specific user applications for PRU instances. > >

Re: [PATCH 04/16] remoteproc/pru: Add PRU remoteproc driver

2018-11-29 Thread Roger Quadros
On 27/11/18 00:32, David Lechner wrote: > On 11/26/18 1:52 AM, Roger Quadros wrote: > >> diff --git a/drivers/remoteproc/Makefile b/drivers/remoteproc/Makefile >> index ce5d061..88a86cc 100644 >> --- a/drivers/remoteproc/Makefile >> +++ b/drivers/remotep

Re: [PATCH 02/16] remoteproc: Add a rproc_set_firmware() API

2018-11-29 Thread Roger Quadros
On 26/11/18 23:41, David Lechner wrote: > On 11/26/18 1:52 AM, Roger Quadros wrote: >> From: Suman Anna >> >> A new API, rproc_set_firmware() is added to allow the remoteproc platform >> drivers and remoteproc client drivers to be able to configure a custom >> fir

Re: [PATCH 01/17] dt-bindings: remoteproc: Add TI PRUSS bindings

2018-11-29 Thread Roger Quadros
David, On 28/11/18 17:42, David Lechner wrote: > On 11/27/18 9:15 AM, Roger Quadros wrote: >> >> On 26/11/18 23:14, David Lechner wrote: >>> On 11/22/18 5:38 AM, Roger Quadros wrote: >>>> From: Suman Anna >>>> >>>> This

Re: [PATCH 08/17] soc: ti: pruss: Add a PRUSS irqchip driver for PRUSS interrupts

2018-11-27 Thread Roger Quadros
On 26/11/18 23:17, David Lechner wrote: > On 11/22/18 5:39 AM, Roger Quadros wrote: >> From: Suman Anna >> >> The Programmable Real-Time Unit Subsystem (PRUSS) contains an >> interrupt controller (INTC) that can handle various system input >> events and post in

Re: [PATCH 01/17] dt-bindings: remoteproc: Add TI PRUSS bindings

2018-11-27 Thread Roger Quadros
On 26/11/18 23:14, David Lechner wrote: > On 11/22/18 5:38 AM, Roger Quadros wrote: >> From: Suman Anna >> >> This patch adds the bindings for the Programmable Real-Time Unit >> and Industrial Communication Subsystem (PRU-ICSS) present on various >> TI SoCs. The

Re: [PATCH 06/17] soc: ti: pruss: Add a platform driver for PRUSS in TI SoCs

2018-11-27 Thread Roger Quadros
On 26/11/18 23:15, David Lechner wrote: > On 11/22/18 5:39 AM, Roger Quadros wrote: >> From: Suman Anna >> >> The PRUSS platform driver deals with the overall PRUSS and is >> used for managing the subsystem level resources like various >> memories. It is responsi

Re: [RFC PATCH v2 05/15] usb:cdns3: Added DRD support

2018-11-26 Thread Roger Quadros
On 26/11/18 12:09, Pawel Laszczak wrote: Pawel, On 26/11/18 09:23, Pawel Laszczak wrote: > Hi Roger, > >> On 18/11/18 12:09, Pawel Laszczak wrote: >>> Patch adds supports for detecting Host/Device mode. >>> Controller has additional OTG register that allow

Re: [PATCH 08/17] soc: ti: pruss: Add a PRUSS irqchip driver for PRUSS interrupts

2018-11-26 Thread Roger Quadros
Tony, On 23/11/18 18:37, Tony Lindgren wrote: > * Roger Quadros [181122 11:39]: >> The PRUSS INTC module is reference counted during the interrupt >> setup phase through the irqchip's irq_request_resources() and >> irq_release_resources() ops. This restricts the module

Re: [PATCH 08/17] soc: ti: pruss: Add a PRUSS irqchip driver for PRUSS interrupts

2018-11-26 Thread Roger Quadros
Tony, On 23/11/18 18:37, Tony Lindgren wrote: > * Roger Quadros [181122 11:39]: >> The PRUSS INTC module is reference counted during the interrupt >> setup phase through the irqchip's irq_request_resources() and >> irq_release_resources() ops. This restricts the module

[PATCH 16/16] remoteproc/pru: Add support for INTC Interrupt map resource

2018-11-25 Thread Roger Quadros
on order of loading sections. [1] git://git.ti.com/pru-software-support-package/pru-software-support-package.git Signed-off-by: Roger Quadros --- drivers/remoteproc/pru_rproc.c | 110 +++-- drivers/remoteproc/pru_rproc.h | 48 +++--- 2 files

[PATCH 04/16] remoteproc/pru: Add PRU remoteproc driver

2018-11-25 Thread Roger Quadros
-off-by: Roger Quadros --- drivers/remoteproc/Kconfig | 14 ++ drivers/remoteproc/Makefile| 1 + drivers/remoteproc/pru_rproc.c | 392 + drivers/remoteproc/pru_rproc.h | 65 +++ 4 files changed, 472 insertions(+) create mode 100644 drivers

[PATCH 15/16] remoteproc/pru: add support for parsing pru interrupt mapping from DT

2018-11-25 Thread Roger Quadros
[s-a...@ti.com: various fixes and cleanups] Signed-off-by: Suman Anna Signed-off-by: Roger Quadros --- drivers/remoteproc/pru_rproc.c | 109 +++-- 1 file changed, 106 insertions(+), 3 deletions(-) diff --git a/drivers/remoteproc/pru_rproc.c b/drivers/remoteproc

[PATCH 12/16] dt-bindings: remoteproc: ti-pruss: Document application node bindings

2018-11-25 Thread Roger Quadros
From: Tero Kristo Add documentation for the Texas Instruments PRU application nodes. These are used to configure specific user applications for PRU instances. Signed-off-by: Tero Kristo [s-a...@ti.com: some binding updates] Signed-off-by: Suman Anna Signed-off-by: Roger Quadros

[PATCH 09/16] remoteproc/pru: add APIs to get and put the PRU cores

2018-11-25 Thread Roger Quadros
From: Tero Kristo Add two new APIs, pru_rproc_get() and pru_rproc_put(), to the PRU driver to allow client drivers to acquire and release the remoteproc device associated with a PRU core. The PRU cores are treated as resources with only one client owning it at a time. The pru_rproc_get()

[PATCH 03/16] remoteproc: Add support to handle device specific resource types

2018-11-25 Thread Roger Quadros
and definition agnostic. Show in debugfs. Signed-off-by: Roger Quadros --- drivers/remoteproc/remoteproc_core.c| 36 + drivers/remoteproc/remoteproc_debugfs.c | 3 +++ include/linux/remoteproc.h | 15 +- 3 files changed, 53 insertions(+), 1

[PATCH 11/16] soc: ti: pruss: add helper functions to set GPI mode, MII_RT_event and XFR

2018-11-25 Thread Roger Quadros
From: Suman Anna The PRUSS CFG module is represented as a syscon node and is currently managed by the PRUSS platform driver. Add easy accessor functions to set GPI mode, MII_RT event enable/disable and XFR (XIN XOUT) enable/disable to enable the PRUSS Ethernet usecase. These functions reuse the

[PATCH 07/16] remoteproc/pru: Add support for virtio rpmsg stack

2018-11-25 Thread Roger Quadros
From: Suman Anna The PRU remoteproc driver has been enhanced to support the optional rpmsg stack using the virtio-ring based communication transport between MPU and a PRU core. This provides support to any firmware images supporting the virtio devices. The virtio-ring signalling support is

[PATCH 14/16] remoteproc/pru: configure firmware based on client setup

2018-11-25 Thread Roger Quadros
From: Tero Kristo Client device node property firmware-name is now used to configure firmware for the PRU instances. The default firmware is also restored once releasing the PRU resource. Signed-off-by: Tero Kristo Reviewed-by: Roger Quadros Signed-off-by: Suman Anna --- drivers/remoteproc

[PATCH 13/16] remoteproc/pru: add support for configuring GPMUX based on client setup

2018-11-25 Thread Roger Quadros
From: Tero Kristo Client device node property ti,pruss-gp-mux-sel can now be used to configure the GPMUX config value for PRU. Signed-off-by: Tero Kristo [s-a...@ti.com: simplify the pru id usage] Signed-off-by: Suman Anna --- drivers/remoteproc/pru_rproc.c | 28

[PATCH 06/16] dt-bindings: remoteproc: ti-pruss: Update bindings for supporting rpmsg

2018-11-25 Thread Roger Quadros
From: Suman Anna Update the PRUSS DT bindings to add the properties required to support the optional virtio rpmsg stack using the virtio-ring based communication transport between MPU and a PRU core. Signed-off-by: Suman Anna --- .../devicetree/bindings/soc/ti/ti,pruss.txt| 39

[PATCH 08/16] remoteproc/pru: Add pru_rproc_set_ctable() function

2018-11-25 Thread Roger Quadros
to be published at run-time reusing the same CTABLE entry. Signed-off-by: Roger Quadros Signed-off-by: Andrew F. Davis [s-a...@ti.com: add the NOTE: on patch description, minor cleanups] Signed-off-by: Suman Anna --- drivers/remoteproc/pru_rproc.c | 51

[PATCH 05/16] remoteproc/pru: Add pru-specific debugfs support

2018-11-25 Thread Roger Quadros
From: Suman Anna The remoteproc core creates certain standard debugfs entries, that does not give a whole lot of useful information for the PRUs. The PRU remoteproc driver is enhanced to add additional debugfs entries for PRU. These will be auto-cleaned up when the parent rproc debug directory

[PATCH 10/16] remoteproc/pru: add pru_rproc_get_id() API to retrieve the PRU id

2018-11-25 Thread Roger Quadros
From: Suman Anna Export an API pru_rproc_get_id() to allow other PRUSS platform drivers to clients to retrieve the PRU id from a remoteproc handle associated with a PRU. The new function takes in a struct rproc pointer as argument. Signed-off-by: Suman Anna --- drivers/remoteproc/pru_rproc.c

[PATCH 00/16] remoteproc: Add support for TI PRU

2018-11-25 Thread Roger Quadros
/948 [2] https://github.com/rogerq/pru-software-support-package/commits/upstream/pruss Roger Quadros (2): remoteproc/pru: Add pru_rproc_set_ctable() function remoteproc/pru: Add support for INTC Interrupt map resource Suman Anna (9): remoteproc: Extend rproc_da_to_va() API with a flags

[PATCH 02/16] remoteproc: Add a rproc_set_firmware() API

2018-11-25 Thread Roger Quadros
From: Suman Anna A new API, rproc_set_firmware() is added to allow the remoteproc platform drivers and remoteproc client drivers to be able to configure a custom firmware name that is different from the default name used during remoteproc registration. This function is being introduced to

[PATCH 01/16] remoteproc: Extend rproc_da_to_va() API with a flags parameter

2018-11-25 Thread Roger Quadros
From: Suman Anna The rproc_da_to_va() API is currently used to perform any device to kernel address translations to meet the different needs of the remoteproc core/platform drivers (eg: loading). The function also invokes the da_to_va ops, if present, to allow the remoteproc platform drivers to

Re: [PATCH 01/17] dt-bindings: remoteproc: Add TI PRUSS bindings

2018-11-25 Thread Roger Quadros
Hi, On 23/11/18 18:24, Tony Lindgren wrote: > Hi, > > * Roger Quadros [181122 11:39]: >> From: Suman Anna >> +Example: >> + >> +1. /* AM33xx PRU-ICSS */ >> +pruss_soc_bus: pruss_soc_bus@4a326004 { >> +compatible = "t

Re: [PATCH 11/17] soc: ti: pruss: add pruss_get()/put() API

2018-11-23 Thread Roger Quadros
te to > help improve the system] > > url: > https://github.com/0day-ci/linux/commits/Roger-Quadros/Add-support-for-TI-PRU-ICSS/20181123-083903 > base: > https://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone.git > next > config: arm-allmodconfig (attac

Re: [PATCH 11/17] soc: ti: pruss: add pruss_get()/put() API

2018-11-23 Thread Roger Quadros
On 23/11/18 10:20, Arnd Bergmann wrote: > On Thu, Nov 22, 2018 at 12:41 PM Roger Quadros wrote: > >> + >> + if (IS_ERR_OR_NULL(rproc)) >> + return ERR_PTR(-EINVAL); > > > Any usage of IS_ERR_OR_NULL() tends to be an indication of a ba

[PATCH 15/17] ARM: dts: AM33xx: Add the PRU-ICSS DT nodes

2018-11-22 Thread Roger Quadros
From: Suman Anna Add the DT nodes for the PRU-ICSS on AM33xx family of SoCs. The AM33xx SoCs contain a single PRU-ICSS instance and is represented by the pruss-soc-bus node and a child PRUSS node. PRU-ICSS is not supported on AM3352 SoC though in the AM33xx family, so the nodes are added in

[PATCH 16/17] ARM: dts: AM33xx: Add PRU system events for virtio

2018-11-22 Thread Roger Quadros
From: Suman Anna Two PRU system events "vring" and "kick" have been added to each of the PRU nodes in the PRU-ICSS remote processor subsystem to enable the virtio/rpmsg communication between MPU and that PRU core. The additions are done in the base am33xx.dtsi file, and so are inherited by all

[PATCH 17/17] ARM: dts: am335x-*: Enable PRU-ICSS nodes

2018-11-22 Thread Roger Quadros
From: Suman Anna The PRU-ICSS processor bus node and subsystem nodes were left in disabled state in the base am33xx.dtsi file. PRU-ICSS is supported on these AM335x boards so enable the PRUSS node. Signed-off-by: Suman Anna Signed-off-by: Roger Quadros --- arch/arm/boot/dts/am335x-bone

[PATCH 10/17] soc: ti: pruss_intc: Add API to trigger a PRU sysevent

2018-11-22 Thread Roger Quadros
From: Suman Anna The PRUSS INTC can generate an interrupt to various processor subsystems on the SoC through a set of 64 possible PRU system events. These system events can be used by PRU client drivers or applications for event notifications/signalling between PRUs and MPU or other processors.

[PATCH 14/17] ARM: OMAP2+: use pdata quirks for PRUSS reset lines on AM335x

2018-11-22 Thread Roger Quadros
From: Suman Anna The omap_device API is needed to perform the reset management for any IP instances with PRCM RSTCTRL registers (hard reset lines). This API is limited to the mach-omap2 layer, and cannot be exposed to drivers layer directly. So use platform data ops and pdata quirks for the

[PATCH 05/17] soc: ti: pruss: Configure SYSCFG properly during probe/remove

2018-11-22 Thread Roger Quadros
reset the register properly. Signed-off-by: Suman Anna Signed-off-by: Roger Quadros --- drivers/soc/ti/pruss_soc_bus.c | 60 +- 1 file changed, 54 insertions(+), 6 deletions(-) diff --git a/drivers/soc/ti/pruss_soc_bus.c b/drivers/soc/ti/pruss_soc_bus.c

[PATCH 12/17] soc: ti: pruss: add pruss_cfg_read()/update() API

2018-11-22 Thread Roger Quadros
within their respective device nodes. The register definitions for the CFG registors have also been added. Signed-off-by: Roger Quadros --- drivers/soc/ti/Kconfig | 1 + drivers/soc/ti/pruss.c | 52 + drivers/soc/ti/pruss.h | 2 + include/linux/pruss.h | 101

[PATCH 11/17] soc: ti: pruss: add pruss_get()/put() API

2018-11-22 Thread Roger Quadros
From: Tero Kristo Add two new get and put API, pruss_get() and pruss_put(), to the PRUSS platform driver to allow client drivers to request a handle to a PRUSS device. This handle will be used by client drivers to request various operations of the PRUSS platform driver through additional API

[PATCH 13/17] soc: ti: pruss: export pruss_intc_configure/unconfigure APIs

2018-11-22 Thread Roger Quadros
The PRU remoteproc driver will need to configure the Interrupt controller based on the application specific interrupt map. Export pruss_intc_configure() and pruss_intc_unconfigure() to linux/pruss.h Signed-off-by: Roger Quadros --- drivers/soc/ti/pruss.h | 21 --- include/linux

[PATCH 09/17] soc: ti: pruss: add pruss_{request,release}_mem_region() API

2018-11-22 Thread Roger Quadros
tly manipulate the respective memories, as per their design contract with the associated firmware. Signed-off-by: Andrew F. Davis [s-a...@ti.com: rename functions, add error checking, comments] Signed-off-by: Suman Anna Signed-off-by: Roger Quadros --- drivers/soc/ti/pru

[PATCH 08/17] soc: ti: pruss: Add a PRUSS irqchip driver for PRUSS interrupts

2018-11-22 Thread Roger Quadros
the module from being removed as long as there are active interrupt users. The driver currently supports the AM335x SoC. Signed-off-by: Suman Anna Signed-off-by: Andrew F. Davis Signed-off-by: Roger Quadros --- drivers/soc/ti/Makefile | 2 +- drivers/soc/ti/pruss.h | 29 +++ drivers

[PATCH 06/17] soc: ti: pruss: Add a platform driver for PRUSS in TI SoCs

2018-11-22 Thread Roger Quadros
. The driver currently supports the AM335x SoC. Signed-off-by: Suman Anna Signed-off-by: Andrew F. Davis Signed-off-by: Roger Quadros --- drivers/soc/ti/Makefile | 2 +- drivers/soc/ti/pruss.c | 116 drivers/soc/ti/pruss.h | 44 ++ 3

[PATCH 07/17] soc: ti: pruss: enable OCP master ports in SYSCFG always

2018-11-22 Thread Roger Quadros
From: Suman Anna The PRUSS CFG module's SYSCFG register is used for managing the PRCM clock management settings at the PRU-ICSS subsystem level, and is being programmed for the PRCM Idle/Standby protocol properly during probe and remove. The register is also programmed to enable the OCP master

[PATCH 04/17] soc: ti: pruss: Fix system suspend/MStandby config issues

2018-11-22 Thread Roger Quadros
the PRUSS IPs belong is not switched OFF during suspend/resume. Signed-off-by: Suman Anna Signed-off-by: Roger Quadros --- drivers/soc/ti/pruss_soc_bus.c | 85 ++ 1 file changed, 85 insertions(+) diff --git a/drivers/soc/ti/pruss_soc_bus.c b/drivers/soc/ti

[PATCH 03/17] soc: ti: pruss: Add pruss_soc_bus platform driver

2018-11-22 Thread Roger Quadros
. pruss_soc_bus driver. The driver currently supports the AM335x SoC. Signed-off-by: Suman Anna Signed-off-by: Keerthy Signed-off-by: Roger Quadros --- drivers/soc/ti/Kconfig | 11 drivers/soc/ti/Makefile| 1 + drivers/soc/ti/pruss_soc_bus.c | 142

[PATCH 02/17] soc: ti: pruss: Define platform data for PRUSS bus driver

2018-11-22 Thread Roger Quadros
From: Suman Anna The PRUSS can have a PRCM reset line associated with the IP on some OMAP architecture based SoCs. The reset needs to be programmed properly before accessing any of the internal registers in the PRUSS. This functionality is achieved through the omap_device layer, which is not

[PATCH 01/17] dt-bindings: remoteproc: Add TI PRUSS bindings

2018-11-22 Thread Roger Quadros
, and other sub-modules used for Industrial Communication purposes, covering the MDIO, MII_RT and the IEP sub-modules. The binding mostly uses standard DT properties. Signed-off-by: Suman Anna Signed-off-by: Roger Quadros --- .../devicetree/bindings/soc/ti/ti,pruss.txt| 360

[PATCH 00/17] Add support for TI PRU ICSS

2018-11-22 Thread Roger Quadros
structures The updates that are required are listed in the below repo with one example fixed. [2] https://github.com/rogerq/pru-software-support-package/commits/upstream/pruss Andrew F. Davis (1): soc: ti: pruss: add pruss_{request,release}_mem_region() API Roger Quadros (2): soc: ti: pruss

Re: omap5: dwc3 interface status in /sys

2018-10-18 Thread Roger Quadros
On 18/10/2018 13:50, Felipe Balbi wrote: > Hi, > > On Tue, Oct 16, 2018 at 1:27 PM Roger Quadros wrote: >> >> Felipe, >> >> On 16/10/2018 12:29, H. Nikolaus Schaller wrote: >>> Hi, >>> >>>> Am 17.09.2018 um 10:24 schrieb H. Nikolaus

Re: omap5: dwc3 interface status in /sys

2018-10-16 Thread Roger Quadros
Felipe, On 16/10/2018 12:29, H. Nikolaus Schaller wrote: > Hi, > >> Am 17.09.2018 um 10:24 schrieb H. Nikolaus Schaller : >> >> Hi Felipe, >> I have made otg mode work on the omap5-uevm with help from Roger >> and now I wonder how to read the interface status for GUI display. >> >> On

Re: [PATCH 06/31] usb: usbssp: added template functions used by upper layer.

2018-08-06 Thread Roger Quadros
On 04/08/18 09:37, Pawel Laszczak wrote: >>> Patch adds some functionality for initialization process. >>> It adds to driver usbssp_reset and usbssp_start function. >>> >>> Next elements added are objects usbssp_gadget_ep0_ops, >>> usbssp_gadget_ep_ops and usbssp_gadget_ops. These objects >>>

Re: [PATCH 04/31] usb: usbssp: Added USBSSP platform driver

2018-08-01 Thread Roger Quadros
Hi, On 19/07/18 20:57, Pawel Laszczak wrote: > This patch adds platform driver that is entry point for loading and > unloading usbssp.ko modules. > It also adds information about this driver to drivers/usb/Kconfig > and drivers/usb/Makefile files and create Kconfig and Makefile > files in

Re: [PATCH 0/5] ARM: dts: dra7/am7xx: USB fixes and enhancements

2018-07-02 Thread Roger Quadros
Hi Tony, On 29/05/18 12:00, Roger Quadros wrote: > Hi Tony, > > These are some fixes and enhancements for USB ports on dra7 and am57xx-idk > EVMs. > If OK, please queue these for v4.18. Thanks. > Gentle reminder. Could you please pick the first patch for 2018-rc, and

Re: New remoteproc driver for TI PRU

2018-07-02 Thread Roger Quadros
On 29/06/18 20:44, David Lechner wrote: > On 06/29/2018 04:58 AM, Roger Quadros wrote: >> +Suman & Tero >> >> Hi David, >> >> On 24/06/18 00:08, David Lechner wrote: >>> >>> Date: Sat, 23 Jun 2018 15:43:59 -0500 >>> Subject: [PATC

Re: [PATCH 5/8] remoteproc: new driver for TI PRU

2018-07-02 Thread Roger Quadros
Derald, On 30/06/18 22:02, Derald Woods wrote: > > > On Fri, Jun 29, 2018 at 5:14 AM, Roger Quadros <mailto:rog...@ti.com>> wrote: > > > > On 24/06/18 00:08, David Lechner wrote: > > This adds a new remoteproc driver for TI Progr

Re: [PATCH 5/8] remoteproc: new driver for TI PRU

2018-06-29 Thread Roger Quadros
On 24/06/18 00:08, David Lechner wrote: > This adds a new remoteproc driver for TI Programmable Realtime Units > (PRUs). > > This has been tested working on AM1808 (LEGO MINDSTORMS EV3) using the > sample rpmsg client driver. > > Signed-off-by: David Lechner > --- > MAINTAINERS

New remoteproc driver for TI PRU

2018-06-29 Thread Roger Quadros
+Suman & Tero Hi David, On 24/06/18 00:08, David Lechner wrote: > > Date: Sat, 23 Jun 2018 15:43:59 -0500 > Subject: [PATCH 0/8] New remoteproc driver for TI PRU > > This series adds a new remoteproc driver for the TI Programmable Runtime Unit > (PRU) that is present in some TI Sitara

Re: 4.18.0-rc1-next-20180619 boot failed on beagle board x15

2018-06-21 Thread Roger Quadros
On 21/06/18 17:31, Samuel Morris wrote: > On Thu, Jun 21, 2018 at 3:58 AM, Roger Quadros wrote: >> +Rafael >> >> On 20/06/18 18:30, Samuel Morris wrote: >>> On Wed, Jun 20, 2018 at 8:58 AM, Roger Quadros wrote: >>>> Tony, >>>>

Re: 4.18.0-rc1-next-20180619 boot failed on beagle board x15

2018-06-21 Thread Roger Quadros
+Rafael On 20/06/18 18:30, Samuel Morris wrote: > On Wed, Jun 20, 2018 at 8:58 AM, Roger Quadros wrote: >> Tony, >> >> On 20/06/18 13:29, Tony Lindgren wrote: >>> Hi, >>> >>> * Naresh Kamboju [180620 05:55]: >>>> Linux nex

Re: 4.18.0-rc1-next-20180619 boot failed on beagle board x15

2018-06-20 Thread Roger Quadros
Tony, On 20/06/18 13:29, Tony Lindgren wrote: > Hi, > > * Naresh Kamboju [180620 05:55]: >> Linux next (4.18.0-rc1-next-20180619) boot failed on beagle board x15. > > Bisect points to commit aece27a2f01b ("ata: ahci_platform: allow disabling of > hotplug to save power"). > > Reverting the

Re: [PATCH] extcon: Release locking when sending the notification of connector state

2018-06-15 Thread Roger Quadros
Fixes: ab11af049f88 ("extcon: Add the synchronization extcon APIs to support > the notification") > Cc: sta...@vger.kernel.org > Cc: Roger Quadros > Cc: Kishon Vijay Abraham I > Signed-off-by: Chanwoo Choi Reviewed-by: Roger Quadros > --- > drivers/extcon/extcon.c | 3

Re: Bug with dwc3 id detect and regulators

2018-06-14 Thread Roger Quadros
On 14/06/18 04:20, Chanwoo Choi wrote: > Hi Roger, > > On 2018년 06월 11일 17:53, Roger Quadros wrote: >> Chanwoo, >> >> On 11/06/18 11:33, H. Nikolaus Schaller wrote: >>> Hi Tony, >>> another bug... >>> >>> [ 174.540313] BUG: schedul

Re: Bug with dwc3 id detect and regulators

2018-06-11 Thread Roger Quadros
Chanwoo, On 11/06/18 11:33, H. Nikolaus Schaller wrote: > Hi Tony, > another bug... > > [ 174.540313] BUG: scheduling while atomic: kworker/0:4/1327/0x0002 > [ 174.547353] Modules linked in: omapdrm drm_kms_helper syscopyarea > sysfillrect sysimgblt fb_sys_fops drm

[PATCH 2/5] ARM: dts: am57xx-idk: Enable dual role for USB2 port

2018-05-29 Thread Roger Quadros
Dual-role support was added in v4.12. We should be using it for USB2 port on the am57xx-idk. Cc: [4.16+] Reported-by: Bin Liu Signed-off-by: Roger Quadros --- arch/arm/boot/dts/am571x-idk.dts | 4 arch/arm/boot/dts/am572x-idk-common.dtsi | 4 arch/arm/boot/dts/am57xx

[PATCH 5/5] ARM: dts: dra76-evm: Add VBUS GPIO to USB1/USB2 extcon

2018-05-29 Thread Roger Quadros
The board has USB VBUS detection available over GPIO. Plug it to extcon node of USB1 and USB2 ports. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/dra76-evm.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/dra76-evm.dts b/arch/arm/boot/dts/dra76-evm.dts

[PATCH 0/5] ARM: dts: dra7/am7xx: USB fixes and enhancements

2018-05-29 Thread Roger Quadros
Hi Tony, These are some fixes and enhancements for USB ports on dra7 and am57xx-idk EVMs. If OK, please queue these for v4.18. Thanks. Roger Quadros (5): ARM: dts: dra7: Disable metastability workaround for USB2 ARM: dts: am57xx-idk: Enable dual role for USB2 port ARM: dts: dra7-evm: Add

[PATCH 3/5] ARM: dts: dra7-evm: Add extcon to USB2 port

2018-05-29 Thread Roger Quadros
Both ports on the dra7-evm and related boards can be used as dual-role ports. Although we don't enable dual-role mode for USB2 port let's add the necessary extcon bits to it. Move the common portion of extcon_usb2 into dra7-evm-common.dtsi Signed-off-by: Roger Quadros --- arch/arm/boot/dts

[PATCH 4/5] ARM: dts: dra71-evm: Add VBUS GPIO to USB1/USB2 extcon

2018-05-29 Thread Roger Quadros
The board has USB VBUS detection available over GPIO. Plug it to extcon node of USB1 and USB2 ports. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/dra71-evm.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/dra71-evm.dts b/arch/arm/boot/dts/dra71-evm.dts

[PATCH 1/5] ARM: dts: dra7: Disable metastability workaround for USB2

2018-05-29 Thread Roger Quadros
Disable the metastability workaround for USB2. The original patch disabled the workaround on the wrong USB port. Fixes: b8c9c6fa2002 ("ARM: dts: dra7: Disable USB metastability workaround for USB2") Cc: [4.16+] Signed-off-by: Roger Quadros --- arch/arm/boot/dts/dra7.dtsi | 2

[PATCH 2/2] usb: dwc3: of_simple: don't call pm_runtime_set_active()

2018-05-28 Thread Roger Quadros
Don't call pm_runtime_set_active() as it will prevent the device from being activated in the next pm_runtime_get_sync() call. Also call pm_runtime_get_sync() before of_platform_populate(). Signed-off-by: Roger Quadros <rog...@ti.com> --- drivers/usb/dwc3/dwc3-of-simple.c | 7 +++

[PATCH 1/2] usb: dwc3: of-simple: Don't fail if no clock entries

2018-05-28 Thread Roger Quadros
of_count_phandle_with_args() returns -ENOENT (-2) if there are no clock entries. Don't fail in such a case. Signed-off-by: Roger Quadros <rog...@ti.com> --- drivers/usb/dwc3/dwc3-of-simple.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/dwc

Re: [RFC PATCH linux-next] USB: dwc3: dwc3_get_extcon() can be static

2018-05-18 Thread Roger Quadros
On 18/05/18 10:47, Andrzej Hajda wrote: > On 18.05.2018 09:38, Roger Quadros wrote: >> On 18/05/18 08:39, Andrzej Hajda wrote: >>> On 17.05.2018 18:06, kbuild test robot wrote: >>>> Fixes: 5f0b74e54890 ("USB: dwc3: get extcon device by OF graph bindings"

Re: [RFC PATCH linux-next] USB: dwc3: dwc3_get_extcon() can be static

2018-05-18 Thread Roger Quadros
On 18/05/18 08:39, Andrzej Hajda wrote: > On 17.05.2018 18:06, kbuild test robot wrote: >> Fixes: 5f0b74e54890 ("USB: dwc3: get extcon device by OF graph bindings") >> Signed-off-by: kbuild test robot > > It should be static of course, my bad. > > Reviewed-by: Andrzej

[PATCH] memory: omap-gpmc: Avoid redundant NULL check

2018-04-26 Thread Roger Quadros
child->name cannot be NULL as we're already checking for it in gpmc_probe_dt_children() Signed-off-by: Roger Quadros <rog...@ti.com> --- drivers/memory/omap-gpmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/memory/omap-gpmc.c b/drivers/memory/om

Re: [PATCH] mfd: omap-usb-host: Fix dts probe of children

2018-04-26 Thread Roger Quadros
ng ti-sysc > interconnect target module driver. For that we also may want to rebind > the driver, so let's remove __init and __exit. > > Cc: Roger Quadros <rog...@ti.com> > Signed-off-by: Tony Lindgren <t...@atomide.com> Acked-by: Roger Quadros <rog...@ti.com

Re: [usb-next, v3 PATCH] usb: xhci: skip phys initialization of shared hcd

2018-03-22 Thread Roger Quadros
On 22/03/18 14:12, Chunfeng Yun wrote: > The phys has already been initialized when add primary hcd, > including usb2 phys and usb3 phys also if exist, so needn't > re-parse "phys" property again. > > Signed-off-by: Chunfeng Yun <chunfeng@mediatek.com>

Re: [usb-next PATCH] usb: xhci: skip phys initialization of shared hcd

2018-03-21 Thread Roger Quadros
On 21/03/18 13:50, Chunfeng Yun wrote: > Hi Roger, > > On Wed, 2018-03-21 at 11:05 +0200, Roger Quadros wrote: >> Hi Chunfeng, >> >> On 21/03/18 08:12, Chunfeng Yun wrote: >>> The phys has already been initialized when add primary hcd, >>> includ

Re: [PATCH 3.18 22/68] ARM: DRA7: hwmod_data: Prevent wait_target_disable error for usb_otg_ss

2018-03-21 Thread Roger Quadros
Hi Greg, On 19/03/18 20:06, Greg Kroah-Hartman wrote: > 3.18-stable review patch. If anyone has any objections, please let me know. > Please drop this from 3.18-stable as well. Thanks. > -- > > From: Roger Quadros <rog...@ti.com> >

Re: [usb-next PATCH] usb: xhci: skip phys initialization of shared hcd

2018-03-21 Thread Roger Quadros
Hi Chunfeng, On 21/03/18 08:12, Chunfeng Yun wrote: > The phys has already been initialized when add primary hcd, > including usb2 phys and usb3 phys also if exist, so needn't > re-parse "phys" property again. > > Signed-off-by: Chunfeng Yun > --- >

[PATCH] usb: dwc3: core: Fix broken system suspend/resume on AM437x

2018-03-16 Thread Roger Quadros
. Signed-off-by: Roger Quadros <rog...@ti.com> --- drivers/usb/dwc3/core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index e8890c0..5becd7f 100644 --- a/drivers/usb/dwc3/core.c +++ b/drivers/usb/dwc3/core.c @@ -1374,6 +1374,7 @@ stat

[PATCH] ARM: dts: am43xx: Enable dual-role mode for USB1

2018-03-16 Thread Roger Quadros
USB1 port is micro-AB type and can function as peripheral as well as host. Enable dual-role mode for USB1. Signed-off-by: Roger Quadros <rog...@ti.com> --- Tony, The USB driver side patches are already in Felipe's next branch. arch/arm/boot/dts/am437x-gp-evm.dts | 2 +- arch/arm/bo

Re: [PATCH v2] usb: dwc3: Prevent indefinite sleep in _dwc3_set_mode during suspend/resume

2018-03-16 Thread Roger Quadros
On 16/03/18 13:00, Felipe Balbi wrote: > > Hi, > > Roger Quadros <rog...@ti.com> writes: > >> Hi Felipe, >> >> On 09/03/18 14:47, Roger Quadros wrote: >>> In the following test we get stuck by sleeping forever in _dwc3_set_mode() >>> afte

Re: [PATCH v2] usb: dwc3: Prevent indefinite sleep in _dwc3_set_mode during suspend/resume

2018-03-16 Thread Roger Quadros
Hi Felipe, On 09/03/18 14:47, Roger Quadros wrote: > In the following test we get stuck by sleeping forever in _dwc3_set_mode() > after which dual-role switching doesn't work. > > On dra7-evm's dual-role port, > - Load g_zero gadget driver and enumerate to host > - suspend to

Re: [PATCH v5 1/6] dt-bindings: add bindings for USB physical connector

2018-03-15 Thread Roger Quadros
On 15/03/18 13:46, Robin Murphy wrote: > On 12/03/18 10:41, Roger Quadros wrote: > [...] >>>>> @@ -0,0 +1,75 @@ >>>>> +USB Connector >>>>> += >>>>> + >>>>> +USB connector node represent

Re: [PATCH v5 1/6] dt-bindings: add bindings for USB physical connector

2018-03-12 Thread Roger Quadros
Andrezej, Why don't you have any of the USB maintainers in to/cc? Greg Kroah-Hartman <gre...@linuxfoundation.org> (supporter:USB SUBSYSTEM) Felipe Balbi <ba...@kernel.org> (maintainer:USB GADGET/PERIPHERAL SUBSYSTEM) On 12/03/18 09:02, Andrzej Hajda wrote: > On 09.03.2018 11:24

[PATCH v2] usb: dwc3: Prevent indefinite sleep in _dwc3_set_mode during suspend/resume

2018-03-09 Thread Roger Quadros
_irq_timeout() and print and error message if there was a timeout. Signed-off-by: Roger Quadros <rog...@ti.com> --- Changelog: v2: - use wait_event_interruptible_lock_irq_timeout() instead of wait_event_lock_irq() drivers/usb/dwc3/gadget.c | 23 --- 1 file changed, 20 insertio

Re: [PATCH v5 1/6] dt-bindings: add bindings for USB physical connector

2018-03-09 Thread Roger Quadros
Hi, On 27/02/18 09:11, Andrzej Hajda wrote: > These bindings allow to describe most known standard USB connectors > and it should be possible to extend it if necessary. > USB connectors, beside USB can be used to route other protocols, > for example UART, Audio, MHL. In such case every device

Re: [PATCH] usb: dwc3: Prevent indefinite sleep in _dwc3_set_mode during suspend/resume

2018-03-09 Thread Roger Quadros
On 09/03/18 11:26, Roger Quadros wrote: > On 09/03/18 11:23, Felipe Balbi wrote: >> >> Hi, >> >> Roger Quadros <rog...@ti.com> writes: >> >> >> >>>>> When we set up the DWC3_DEPCMD_ENDTRANSFER command in >&

Re: [PATCH] usb: dwc3: Prevent indefinite sleep in _dwc3_set_mode during suspend/resume

2018-03-09 Thread Roger Quadros
On 09/03/18 11:23, Felipe Balbi wrote: > > Hi, > > Roger Quadros <rog...@ti.com> writes: > > > >>>> When we set up the DWC3_DEPCMD_ENDTRANSFER command in >>>> dwc3_stop_active_transfer(), we can do not set DWC3_DEPCMD_CMDIOC, >>>

  1   2   3   4   5   6   7   8   9   10   >