[PATCH 3/4] usb: usb251xb: simplify reset helper

2019-09-17 Thread Marco Felsch
reset in one go. So a future pm operation don't need to lock the i2c bus twice. Signed-off-by: Marco Felsch --- drivers/usb/misc/usb251xb.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/drivers/usb/misc/usb251xb.c b/drivers/usb/misc/usb251xb.c

[PATCH 0/4] Add simple-pm ops

2019-09-17 Thread Marco Felsch
Hi, this series adds the simple-pm ops to reinitialize the hub after a suspend. For this reason I added the vdd-supply to ensure that vdd is ready. Regards, Marco Marco Felsch (4): dt-bindings: usb: usb251xb: add documentation for voltage supply usb: usb251xb: add vdd supply support usb

[PATCH 4/4] usb: usb251xb: add pm_ops

2019-09-17 Thread Marco Felsch
end and to restore the config after a resume operation. Signed-off-by: Marco Felsch --- drivers/usb/misc/usb251xb.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/usb/misc/usb251xb.c b/drivers/usb/misc/usb251xb.c index bc031d33f433..5bba19937da1 100644 --- a/d

[PATCH 1/4] dt-bindings: usb: usb251xb: add documentation for voltage supply

2019-09-17 Thread Marco Felsch
Add the optional voltage supply documentation. If not specified the dummy-regulator is used. Signed-off-by: Marco Felsch --- Documentation/devicetree/bindings/usb/usb251xb.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/usb251xb.txt b/Documentation

[PATCH 2/4] usb: usb251xb: add vdd supply support

2019-09-17 Thread Marco Felsch
Currently we don't handle the supply. We need to add the supply support to be able to switch the supply off e.g. during a suspend-to-ram operation. So we can guarantee a correct (re-)initialization. Signed-off-by: Marco Felsch --- drivers/usb/misc/usb251xb.c | 10 ++ 1 file change

Re: [PATCH 1/3] Revert "usb: usb251xb: Add US lanes inversion dts-bindings"

2019-07-22 Thread Marco Felsch
Hi Serge, On 19-07-19 13:13, Serge Semin wrote: > Hello Lucas > > On Fri, Jul 19, 2019 at 10:44:05AM +0200, Lucas Stach wrote: > > This reverts commit 3342ce35a1, as there is no need for this separate > > property and it breaks compatibility with existing devicetree files > > (arch/arm64/boot/dts

Re: [PATCH] ARM: imx25: provide a fixed regulator for usb phys

2019-06-25 Thread Marco Felsch
On 19-06-26 02:40, Peter Chen wrote: > > > Subject: [PATCH] ARM: imx25: provide a fixed regulator for usb phys > > > > The usb phys are internal to the SoC and so it their 5V supply. With this > > regulator > > added explicitly the following (harmless) boot messages go away: > > > > usb_ph

[PATCH v3 1/2] dt-bindings: usb: usb251xb: add documentation for data lane swapping

2019-01-16 Thread Marco Felsch
Add optional binding to allow USB differential-pair (D+/D-) data lane swapping. The swapping can be specified for each port separately, default is no swapping. Signed-off-by: Marco Felsch Reviewed-by: Richard Leitner --- Changes: v3: - no changes v2: - rename property s/sw-dx-lanes-ports/swap

[PATCH v3 2/2] usb: usb251xb: add usb data lane port swap feature

2019-01-16 Thread Marco Felsch
The HW can swap the USB differential-pair (D+/D-) for each port separately. So the USB signals can be re-aligned with a misplaced USB connector on the PCB. Signed-off-by: Marco Felsch Reviewed-by: Richard Leitner --- Changes: v3: - fix comment v2: - rename property s/sw-dx-lanes-ports/swap-dx

Re: [PATCH v2 2/2] usb: usb251xb: add usb data lane port swap feature

2019-01-15 Thread Marco Felsch
Hi, On 19-01-15 12:50, Marco Felsch wrote: > The HW can swap the USB differential-pair (D+/D-) for each port > separately. So the USB signals can be re-aligned with a misplaced > USB connector on the PCB. > > Signed-off-by: Marco Felsch > --- > Changes: > v2: > - re

[PATCH v2 1/2] dt-bindings: usb: usb251xb: add documentation for data lane swapping

2019-01-15 Thread Marco Felsch
Add optional binding to allow USB differential-pair (D+/D-) data lane swapping. The swapping can be specified for each port separately, default is no swapping. Signed-off-by: Marco Felsch --- Changes: v2: - rename property s/sw-dx-lanes-ports/swap-dx-lanes Documentation/devicetree/bindings

[PATCH v2 2/2] usb: usb251xb: add usb data lane port swap feature

2019-01-15 Thread Marco Felsch
The HW can swap the USB differential-pair (D+/D-) for each port separately. So the USB signals can be re-aligned with a misplaced USB connector on the PCB. Signed-off-by: Marco Felsch --- Changes: v2: - rename property s/sw-dx-lanes-ports/swap-dx-lanes - add commentar for future users

Re: [PATCH 1/2] dt-bindings: usb: usb251xb: add documentation for data lane swapping

2019-01-03 Thread Marco Felsch
Hi, On 19-01-02 06:44, Richard Leitner wrote: > Hi, > > On 31/12/2018 12:05, Marco Felsch wrote: > > Hi, > > > > On 18-12-28 17:45, Rob Herring wrote: > > > On Wed, Dec 19, 2018 at 03:59:40PM +0100, Marco Felsch wrote: > > > > Add optional bin

Re: [PATCH 1/2] dt-bindings: usb: usb251xb: add documentation for data lane swapping

2018-12-31 Thread Marco Felsch
Hi, On 18-12-28 17:45, Rob Herring wrote: > On Wed, Dec 19, 2018 at 03:59:40PM +0100, Marco Felsch wrote: > > Add optional binding to allow USB differential-pair (D+/D-) data lane > > swapping. The swapping can be specified for each port separately, > > default is no swapping

[PATCH 2/2] usb: usb251xb: add usb data lane port swap feature

2018-12-19 Thread Marco Felsch
The HW can swap the USB differential-pair (D+/D-) for each port separately. So the USB signals can be re-aligned with a misplaced USB connector on the PCB. Signed-off-by: Marco Felsch --- drivers/usb/misc/usb251xb.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a

[PATCH 1/2] dt-bindings: usb: usb251xb: add documentation for data lane swapping

2018-12-19 Thread Marco Felsch
Add optional binding to allow USB differential-pair (D+/D-) data lane swapping. The swapping can be specified for each port separately, default is no swapping. Signed-off-by: Marco Felsch --- Documentation/devicetree/bindings/usb/usb251xb.txt | 4 1 file changed, 4 insertions(+) diff