Re: [PATCH v5 1/3] i2c: imx: Fix reset of I2SR_IAL flag

2020-10-09 Thread Oleksij Rempel
p; I2SR_IIF) { > /* save status register */ > i2c_imx->i2csr = temp; > - temp &= ~I2SR_IIF; > - temp |= (i2c_imx->hwdata->i2sr_clr_opcode & I2SR_IIF); > - imx_i2c_write_reg(temp, i2c_imx, IMX_I2C

PHY reset question

2020-10-06 Thread Oleksij Rempel
Hello PHY experts, Short version: what is the proper way to handle the PHY reset before identifying PHY? Long version: I stumbled over following issue: If PHY reset is registered within PHY node. Then, sometimes, we will not be able to identify it (read PHY ID), because PHY is under reset. mdio

Re: [PATCH 0/3] i2c: imx: Fix handling of arbitration loss

2020-09-25 Thread Oleksij Rempel
timeout when waiting for an > interrupt. > > 2. The driver performs 500 ms busy-waiting without any value. > > 3. Arbitration loss errors may be reported one transfer later than they > occured. > > Best regards > Christian > Acked-by

Re: [PATCH v3] i2c: imx: Fix external abort on interrupt in exit paths

2020-09-24 Thread Oleksij Rempel
queue > (imx_i2c_struct->queue) before its initialization happens. > > The resource-managed framework should not be used for interrupt handling, > because the resource will be released too late - after disabling clocks. > The interrupt handler is not prepared for such case. >

[PATCH v2 1/2] dt-bindings: arm: fsl: add Protonic WD3 board

2020-09-23 Thread Oleksij Rempel
Add Protonic Holland WD3 iMX6qp based board Signed-off-by: Oleksij Rempel --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index e94a455eeab9

[PATCH v2 0/2] mainline Protonic WD3 board

2020-09-23 Thread Oleksij Rempel
changes v2: - fix comment: WD2 -> WD3 Oleksij Rempel (2): dt-bindings: arm: fsl: add Protonic WD3 board ARM: dts: add Protonic WD3 board .../devicetree/bindings/arm/fsl.yaml | 1 + arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/imx6qp-prtwd3.

[PATCH v2 2/2] ARM: dts: add Protonic WD3 board

2020-09-23 Thread Oleksij Rempel
Protonic WD3 is a proof of concept platform for tractor e-cockpit applications Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6qp-prtwd3.dts | 553 2 files changed, 554 insertions(+) create mode 100644 arch/arm

[PATCH v1] dt-binding: can: mcp25xxfd: documentation fixes

2020-09-23 Thread Oleksij Rempel
Apply following fixes: - Use 'interrupts'. (interrupts-extended will automagically be supported by the tools) - *-supply is always a single item. So, drop maxItems=1 - add "additionalProperties: false" flag to detect unneeded properties. Signed-off-by: Oleksij Rempel

[PATCH v1 1/2] dt-bindings: arm: fsl: add Protonic WD3 board

2020-09-23 Thread Oleksij Rempel
Add Protonic Holland WD3 iMX6qp based board Signed-off-by: Oleksij Rempel --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index e94a455eeab9

[PATCH v1 2/2] ARM: dts: add Protonic WD3 board

2020-09-23 Thread Oleksij Rempel
Protonic WD3 is a proof of concept platform for tractor e-cockpit applications Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6qp-prtwd3.dts | 553 2 files changed, 554 insertions(+) create mode 100644 arch/arm

[PATCH v3 1/3] dt-bindings: vendor-prefixes: Add an entry for Plymovent

2020-09-21 Thread Oleksij Rempel
Add "ply" entry for Plymovent Group BV: https://www.plymovent.com/ Signed-off-by: Oleksij Rempel --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/

[PATCH v3 0/3] mainline Plymovent M2M board

2020-09-21 Thread Oleksij Rempel
changes v3: - use old style copyright text changes v2: - fsl.yaml: reorder ply,plym2m - imx6dl-plym2m.dts: use hyphen instead of underscore in phy-clock Oleksij Rempel (3): dt-bindings: vendor-prefixes: Add an entry for Plymovent dt-bindings: arm: fsl: add Plymovent M2M board ARM: dts: add

[PATCH v3 3/3] ARM: dts: add Plymovent M2M board

2020-09-21 Thread Oleksij Rempel
Plymovent M2M is a control interface produced for the Plymovent filter systems. Signed-off-by: David Jander Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6dl-plym2m.dts | 396 2 files changed, 397 insertions

[PATCH v3 2/3] dt-bindings: arm: fsl: add Plymovent M2M board

2020-09-21 Thread Oleksij Rempel
Add Plymovent Group BV M2M iMX6dl based board Signed-off-by: Oleksij Rempel --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index 6da9d734cdb7

Re: [PATCH v2 3/3] ARM: dts: add Plymovent M2M board

2020-09-20 Thread Oleksij Rempel
On Sun, Sep 13, 2020 at 12:49:45PM +0800, Shawn Guo wrote: > On Fri, Sep 11, 2020 at 08:03:12AM +0200, Marco Felsch wrote: > > On 20-09-11 07:09, Oleksij Rempel wrote: > > > Plymovent M2M is a control interface produced for the Plymovent filter > > > systems. > &

[PATCH v1 1/2] net: ag71xx: add ethtool support

2020-09-11 Thread Oleksij Rempel
Add basic ethtool support. The functionality was tested on AR9331 SoC. Signed-off-by: Oleksij Rempel --- drivers/net/ethernet/atheros/ag71xx.c | 147 ++ 1 file changed, 147 insertions(+) diff --git a/drivers/net/ethernet/atheros/ag71xx.c b/drivers/net/ethernet/atheros

[PATCH v1 2/2] net: ag71xx: add flow control support

2020-09-11 Thread Oleksij Rempel
ms 0/10727 (0%) sender [ 5] 0.00-10.05 sec 11.5 MBytes 9.57 Mbits/sec 1.371 ms 2525/10689 (24%) receiver Similar results are get in opposite direction by introducing extra CPU load on AR9331: - chrt 40 dd if=/dev/zero of=/dev/null & Signed-off-by: Oleksij Rempel --- driv

[PATCH v1 0/2] ag71xx: add ethtool and flow control support

2020-09-11 Thread Oleksij Rempel
The main target of this patches is to provide flow control support for ag71xx driver. To be able to validate this functionality, I also added ethtool support with HW counters. So, this patches was validated with iperf3 and counters showing Pause frames send or received by this NIC. Oleksij Rempel

Re: [PATCH net] can: j1939: j1939_sk_bind(): return failure if netdev is down

2020-09-10 Thread Oleksij Rempel
atch adds check for ndev->flags in j1939_sk_bind() to avoid this > kind of situation and return with -ENETDOWN. > > Fixes: 9d71dd0c7009 ("can: add support of SAE J1939 protocol") > Signed-off-by: Zhang Changzhong Acked-by: Oleksij Rempel Thank you! > --- > net/c

[PATCH v2 0/3] mainline Plymovent M2M board

2020-09-10 Thread Oleksij Rempel
changes v2: - fsl.yaml: reorder ply,plym2m - imx6dl-plym2m.dts: use hyphen instead of underscore in phy-clock Oleksij Rempel (3): dt-bindings: vendor-prefixes: Add an entry for Plymovent dt-bindings: arm: fsl: add Plymovent M2M board ARM: dts: add Plymovent M2M board .../devicetree

[PATCH v2 3/3] ARM: dts: add Plymovent M2M board

2020-09-10 Thread Oleksij Rempel
Plymovent M2M is a control interface produced for the Plymovent filter systems. Signed-off-by: David Jander Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6dl-plym2m.dts | 394 2 files changed, 395 insertions

[PATCH v2 2/3] dt-bindings: arm: fsl: add Plymovent M2M board

2020-09-10 Thread Oleksij Rempel
Add Plymovent Group BV M2M iMX6dl based board Signed-off-by: Oleksij Rempel --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index 6da9d734cdb7

[PATCH v2 1/3] dt-bindings: vendor-prefixes: Add an entry for Plymovent

2020-09-10 Thread Oleksij Rempel
Add "ply" entry for Plymovent Group BV: https://www.plymovent.com/ Signed-off-by: Oleksij Rempel --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/

Re: [PATCH 6/9] i2c: imx: Simplify with dev_err_probe()

2020-09-02 Thread Oleksij Rempel
On Wed, Sep 02, 2020 at 05:06:40PM +0200, Krzysztof Kozlowski wrote: > Common pattern of handling deferred probe can be simplified with > dev_err_probe(). Less code and the error value gets printed. > > Signed-off-by: Krzysztof Kozlowski Acked-by: Oleksij Rempel > --- >

[PATCH v1 2/3] dt-bindings: arm: fsl: add Plymovent M2M board

2020-09-01 Thread Oleksij Rempel
Add Plymovent Group BV M2M iMX6dl based board Signed-off-by: Oleksij Rempel --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index 6da9d734cdb7

[PATCH v1 1/3] dt-bindings: vendor-prefixes: Add an entry for Plymovent

2020-09-01 Thread Oleksij Rempel
Add "ply" entry for Plymovent Group BV: https://www.plymovent.com/ Signed-off-by: Oleksij Rempel --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/

[PATCH v1 3/3] ARM: dts: add Plymovent M2M board

2020-09-01 Thread Oleksij Rempel
Plymovent M2M is a control interface produced for the Plymovent filter systems. Signed-off-by: David Jander Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6dl-plym2m.dts | 394 2 files changed, 395 insertions

[PATCH v1 0/3] mainline Plymovent M2M board

2020-09-01 Thread Oleksij Rempel
Oleksij Rempel (3): dt-bindings: vendor-prefixes: Add an entry for Plymovent dt-bindings: arm: fsl: add Plymovent M2M board ARM: dts: add Plymovent M2M board .../devicetree/bindings/arm/fsl.yaml | 1 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm/boot/dts

Re: [PATCH net 0/4] support multipacket broadcast message

2020-08-14 Thread Oleksij Rempel
when timeout occurs > can: j1939: add rxtimer for multipacket broadcast session > > net/can/j1939/transport.c | 48 > +++ > 1 file changed, 36 insertions(+), 12 deletions(-) Acked-by: Oleksij Rempel Thank you for your work! Regards,

Re: [PATCH] i2c: imx: Use dev_err_probe() to simplify error handling

2020-08-11 Thread Oleksij Rempel
v->dev, "can't get I2C clock\n"); > - return PTR_ERR(i2c_imx->clk); > - } > + if (IS_ERR(i2c_imx->clk)) > + return dev_err_probe(&pdev->dev, PTR_ERR(i2c_imx->clk), > + "can't get I2C

Re: [PATCH net 0/4] support multipacket broadcast message

2020-08-07 Thread Oleksij Rempel
On Fri, Aug 07, 2020 at 05:36:38PM +0800, Zhang Changzhong wrote: > Hi Oleksij, > > We have tested this j1939 stack according to SAE J1939-21. It works fine for > most cases, but when we test multipacket broadcast message function we found > the receiver can't receive those packets. > > You can r

Re: [PATCH net 0/4] support multipacket broadcast message

2020-08-06 Thread Oleksij Rempel
Hello, Thank you for your patches! Currently I'm busy, but I'll take a look at it as soon possible. btw. can you tell me about more of your use case/work. I would like to have some feedback about this stack. You can write a personal message, if it is not for public. On Wed, Aug 05, 2020 at 11:50

Re: [PATCH 2/2] remoteproc: imx_rproc: add elf memory hooks

2020-07-31 Thread Oleksij Rempel
Hi, please fix errors reported by test robot. On Tue, Jul 28, 2020 at 05:31:13PM +0800, peng@nxp.com wrote: > From: Peng Fan > > Please not apply 2/2 for now, this 2/2 has not gone through > test on all i.MX8 platforms. > > Signed-off-by: Peng Fan > --- > drivers/remoteproc/imx_rproc.c |

Re: [PATCH 00/10] remoteproc: imx_rproc: support iMX8M and early boot

2020-07-28 Thread Oleksij Rempel
On Tue, Jul 28, 2020 at 07:50:04AM +, Peng Fan wrote: > > Subject: Re: [PATCH 00/10] remoteproc: imx_rproc: support iMX8M and early > > boot > > > > On Mon, Jul 27, 2020 at 09:18:31AM +, Peng Fan wrote: > > > > Subject: Re: [PATCH 00/10] remoteproc: imx_rproc: support iMX8M and > > > > ear

Re: [PATCH 00/10] remoteproc: imx_rproc: support iMX8M and early boot

2020-07-28 Thread Oleksij Rempel
On Mon, Jul 27, 2020 at 09:18:31AM +, Peng Fan wrote: > > Subject: Re: [PATCH 00/10] remoteproc: imx_rproc: support iMX8M and early > > boot > > > > On Mon, Jul 27, 2020 at 06:44:32AM +, Peng Fan wrote: > > > Hi Oleksij, > > > > > > > Subject: Re: [PATCH 00/10] remoteproc: imx_rproc: suppo

Re: [PATCH 03/10] remoteproc: imx: use devm_ioremap

2020-07-28 Thread Oleksij Rempel
compatible = "shared-dma-pool"; > > > reg = <0 0x9040 0 0x10>; > > > no-map; > > > }; > > > > > > I have the upper vdevbuffer node shared between M40

Re: [PATCH 00/10] remoteproc: imx_rproc: support iMX8M and early boot

2020-07-27 Thread Oleksij Rempel
On Mon, Jul 27, 2020 at 06:44:32AM +, Peng Fan wrote: > Hi Oleksij, > > > Subject: Re: [PATCH 00/10] remoteproc: imx_rproc: support iMX8M and early > > boot > > > > Hi, > > > > On Fri, Jul 24, 2020 at 04:08:03PM +0800, Peng Fan wrote: > > > This patchset is to support i.MX8MQ/M coproc booted

Re: [PATCH 03/10] remoteproc: imx: use devm_ioremap

2020-07-27 Thread Oleksij Rempel
On Mon, Jul 27, 2020 at 06:51:00AM +, Peng Fan wrote: > > Subject: Re: [PATCH 03/10] remoteproc: imx: use devm_ioremap > > > > On Mon, Jul 27, 2020 at 06:28:20AM +, Peng Fan wrote: > > > Hi Oleksij, > > > > > > > Subject: Re: [PATCH 03/10] remoteproc: imx: use devm_ioremap > > > > > > > >

Re: [PATCH 03/10] remoteproc: imx: use devm_ioremap

2020-07-26 Thread Oleksij Rempel
On Mon, Jul 27, 2020 at 06:28:20AM +, Peng Fan wrote: > Hi Oleksij, > > > Subject: Re: [PATCH 03/10] remoteproc: imx: use devm_ioremap > > > > On Fri, Jul 24, 2020 at 04:08:06PM +0800, Peng Fan wrote: > > > We might need to map an region multiple times, becaue the region might > > > be shared

Re: [PATCH 00/10] remoteproc: imx_rproc: support iMX8M and early boot

2020-07-26 Thread Oleksij Rempel
Hi, On Fri, Jul 24, 2020 at 04:08:03PM +0800, Peng Fan wrote: > This patchset is to support i.MX8MQ/M coproc booted before linux. > Since i.MX8MQ/M was not supported, several patches are needed > to first support the platform, then support early boot case. > > I intended to included i.MX8QM/QXP,

Re: [PATCH 03/10] remoteproc: imx: use devm_ioremap

2020-07-26 Thread Oleksij Rempel
On Fri, Jul 24, 2020 at 04:08:06PM +0800, Peng Fan wrote: > We might need to map an region multiple times, becaue the region might > be shared between remote processors, such i.MX8QM with dual M4 cores. > So use devm_ioremap, not devm_ioremap_resource. Can you please give an example of this kind o

Re: [PATCH 06/10] remoteproc: imx_rproc: add load hook

2020-07-26 Thread Oleksij Rempel
On Fri, Jul 24, 2020 at 04:08:09PM +0800, Peng Fan wrote: > To i.MX8, we not able to see the correct data written into TCM when > using ioremap_wc, so use ioremap. > > However common elf loader using memset. > > To arm64, "dc zva, dst" is used in memset. > Per ARM DDI 0487A.j, chapter C5.3.8

Re: [PATCH net-next v1 5/5] net: phy: micrel: ksz886x/ksz8081: add cabletest support

2020-07-24 Thread Oleksij Rempel
On Tue, Jul 14, 2020 at 03:12:40PM +0200, Andrew Lunn wrote: > > OK. So, i'll cover both errata with separate flags? Set flags in the DSA > > driver and apply workarounds in the PHY. ACK? > > Yes. Assume the issues are limited to just the first PHY in this > switch. If there are discrete PHYs with

[PATCH net-next v1] net: phy: at803x: add mdix configuration support for AR9331 and AR8035

2020-07-19 Thread Oleksij Rempel
: Oleksij Rempel --- drivers/net/phy/at803x.c | 78 1 file changed, 78 insertions(+) diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c index 96c61aa75bd7..101651b2de54 100644 --- a/drivers/net/phy/at803x.c +++ b/drivers/net/phy/at803x.c @@ -21,6

Re: [PATCH] can: j1939: fix double free in j1939_netdev_start

2020-07-17 Thread Oleksij Rempel
Hi Tom, On Fri, Jul 10, 2020 at 06:45:36AM -0700, t...@redhat.com wrote: > From: Tom Rix > > clang static analysis flags this error > > j1939/main.c:292:2: warning: Attempt to free released memory [unix.Malloc] > kfree(priv); > ^~~ > > The problem block of code is > >

Re: [PATCH net-next v1 5/5] net: phy: micrel: ksz886x/ksz8081: add cabletest support

2020-07-14 Thread Oleksij Rempel
On Mon, Jul 13, 2020 at 05:17:19PM +0200, Andrew Lunn wrote: > > > Hi Oleksij > > > > > > Do the PHY register read/writes pass through the DSA driver for the > > > 8873? I was wondering if the switch could intercept reads/writes on > > > port1 for KSZ8081_LMD and return EOPNOTSUPP? That would be

Re: [PATCH net-next v1 5/5] net: phy: micrel: ksz886x/ksz8081: add cabletest support

2020-07-13 Thread Oleksij Rempel
On Mon, Jul 13, 2020 at 06:11:30AM +0200, Oleksij Rempel wrote: > On Sat, Jul 11, 2020 at 08:29:12PM +0200, Andrew Lunn wrote: > > On Fri, Jul 10, 2020 at 02:08:51PM +0200, Oleksij Rempel wrote: > > > This patch support for cable test for the ksz886x switches and the

Re: [PATCH net-next v1 5/5] net: phy: micrel: ksz886x/ksz8081: add cabletest support

2020-07-12 Thread Oleksij Rempel
On Sat, Jul 11, 2020 at 08:29:12PM +0200, Andrew Lunn wrote: > On Fri, Jul 10, 2020 at 02:08:51PM +0200, Oleksij Rempel wrote: > > This patch support for cable test for the ksz886x switches and the > > ksz8081 PHY. > > > > The patch was tested on a KSZ8873RLL sw

[PATCH net-next v1 1/5] net: phy: micrel: use consistent indention after define

2020-07-10 Thread Oleksij Rempel
This patch changes the indention to one space between "#define" and the macro. Signed-off-by: Oleksij Rempel --- drivers/net/phy/micrel.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micr

[PATCH net-next v1 5/5] net: phy: micrel: ksz886x/ksz8081: add cabletest support

2020-07-10 Thread Oleksij Rempel
proper device tree support for the related PHY nodes. So we can set a DT property to mark the port 1 as affected by the errata. Signed-off-by: Oleksij Rempel --- drivers/net/phy/micrel.c | 175 +++ 1 file changed, 175 insertions(+) diff --git a/drivers/net/

[PATCH net-next v1 2/5] net: phy: micrel: apply resume errata workaround for ksz8873 and ksz8863

2020-07-10 Thread Oleksij Rempel
implements steps 2...6 of the suggested workaround. The first step needs to be implemented in the switch driver. Signed-off-by: Oleksij Rempel --- drivers/net/phy/micrel.c | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/drivers/net/phy/micrel.c b/drive

[PATCH net-next v1 0/5] add cable test support for ksz8081 and ksz8873

2020-07-10 Thread Oleksij Rempel
This patch series provide support for cable testing on some of micrel PHYs. Since this PHYs do not allow to switch between cable pairs within the test register, I used MDI-X functionality to make it possible. Oleksij Rempel (5): net: phy: micrel: use consistent indention after define net: phy

[PATCH net-next v1 4/5] net: phy: micrel: ksz8081 add MDI-X support

2020-07-10 Thread Oleksij Rempel
Add support for MDI-X status and configuration Signed-off-by: Oleksij Rempel --- drivers/net/phy/micrel.c | 89 1 file changed, 89 insertions(+) diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c index ec409b2cb984..221ba661645f 100644

[PATCH net-next v1 3/5] net: phy: micrel: ksz886x add MDI-X support

2020-07-10 Thread Oleksij Rempel
Add support for MDI-X status and configuration Signed-off-by: Oleksij Rempel --- drivers/net/phy/micrel.c | 101 +++ 1 file changed, 101 insertions(+) diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c index 12106fbea565..ec409b2cb984 100644

[PATCH v9 1/5] dt-bindings: arm: fsl: add different Protonic boards

2020-07-01 Thread Oleksij Rempel
Add Protonic PRTI6Q, WD2, RVT, VT7 boards. Signed-off-by: Oleksij Rempel --- Documentation/devicetree/bindings/arm/fsl.yaml | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index 05906e291e38

[PATCH v9 4/5] ARM: dts: add Protonic VT7 board

2020-07-01 Thread Oleksij Rempel
The Protonic VT7 is a mid-class ISObus Virtual Terminal with a 7 inch touchscreen display. Reviewed-by: Rob Herring Signed-off-by: Robin van der Gracht Signed-off-by: David Jander Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6dl-prtvt7

[PATCH v9 0/5] mainline Protonic boards

2020-07-01 Thread Oleksij Rempel
rder for pinctrl and phandels - remove unused or currently not supported nodes changes v2: - squash PRTI6Q patches Oleksij Rempel (5): dt-bindings: arm: fsl: add different Protonic boards ARM: dts: add Protonic PRTI6Q board ARM: dts: add Protonic WD2 board ARM: dts: add Protonic VT7 board AR

[PATCH v9 3/5] ARM: dts: add Protonic WD2 board

2020-07-01 Thread Oleksij Rempel
Add support for the Protonic WD2 board, which is an internal development platform for low-cost agricultural Virtual Terminals based on COTS tablets and web applications. It inherits from the PRTI6Q base class. Reviewed-by: Rob Herring Signed-off-by: David Jander Signed-off-by: Oleksij Rempel

[PATCH v9 5/5] ARM: dts: add Protonic RVT board

2020-07-01 Thread Oleksij Rempel
Protonic RVT is an internal development platform for a wireless ISObus Virtual Terminal based on COTS tablets, and the predecessor of the WD2 platform. Reviewed-by: Rob Herring Signed-off-by: David Jander Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile | 1 + arch/arm

[PATCH v9 2/5] ARM: dts: add Protonic PRTI6Q board

2020-07-01 Thread Oleksij Rempel
Protonic PRTI6Q is a development board and a base class for different specific customer application boards based on the i.MX6 family of SoCs, developed by Protonic Holland. Reviewed-by: Rob Herring Signed-off-by: David Jander Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile

Re: [PATCH] i2c: imx: Fix external abort on early interrupt

2020-06-12 Thread Oleksij Rempel
On Fri, Jun 12, 2020 at 12:21:13PM +0200, Krzysztof Kozlowski wrote: > On Fri, Jun 12, 2020 at 11:56:04AM +0200, Wolfram Sang wrote: > > On Fri, Jun 12, 2020 at 11:29:41AM +0200, Krzysztof Kozlowski wrote: > > > On Fri, Jun 12, 2020 at 11:05:17AM +0200, Wolfram Sang wrote: > > > > On Wed, Jun 10, 2

Re: [PATCH] i2c: imx: Fix external abort on early interrupt

2020-06-12 Thread Oleksij Rempel
On Fri, Jun 12, 2020 at 09:38:15AM +0200, Krzysztof Kozlowski wrote: > On Fri, Jun 12, 2020 at 07:51:14AM +0200, Oleksij Rempel wrote: > > Hi Krzysztof, > > > > thank you for your patch. > > > > On Wed, Jun 10, 2020 at 03:46:42PM +0200, Krzysztof Kozlowski wrot

Re: [PATCH] i2c: imx: Fix external abort on early interrupt

2020-06-11 Thread Oleksij Rempel
Hi Krzysztof, thank you for your patch. On Wed, Jun 10, 2020 at 03:46:42PM +0200, Krzysztof Kozlowski wrote: > If interrupt comes early (could be triggered with CONFIG_DEBUG_SHIRQ), > the i2c_imx_isr() will access registers before the I2C hardware is > initialized. This leads to external abort o

[PATCH v4 3/3] netlink: add LINKSTATE SQI support

2020-06-10 Thread Oleksij Rempel
Some PHYs provide Signal Quality Index (SQI) if the link is in active state. This information can help to diagnose cable and system design related issues. Signed-off-by: Oleksij Rempel Reviewed-by: Florian Fainelli Reviewed-by: Michal Kubecek --- netlink/desc-ethtool.c | 2 ++ netlink

[PATCH v4 2/3] netlink: add master/slave configuration support

2020-06-10 Thread Oleksij Rempel
ng. Signed-off-by: Oleksij Rempel Reviewed-by: Michal Kubecek --- ethtool.8.in | 19 ethtool.c | 1 + netlink/desc-ethtool.c | 2 ++ netlink/settings.c | 50 ++ 4 files changed, 72 insertions(+) diff --gi

[PATCH v4 0/3] Add support for SQI and master-slave

2020-06-10 Thread Oleksij Rempel
ot; - use [preferred|forced]-[master|slave] for information and configuration changes v2: - add master-slave information to the "ethtool --help" and man page - move KAPI update changes to the separate patch. Oleksij Rempel (3): update UAPI header copies netlink: add master/slave c

[PATCH v4 1/3] update UAPI header copies

2020-06-10 Thread Oleksij Rempel
Update to linux/master: 5b14671be58d00 ("Merge tag 'fuse-update-5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse") Signed-off-by: Oleksij Rempel --- uapi/linux/ethtool.h | 16 +++- uapi/linux/ethtool_netlink.h | 153 +++

Re: [PATCH ethtool v1] netlink: add master/slave configuration support

2020-06-09 Thread Oleksij Rempel
On Tue, Jun 09, 2020 at 02:48:51PM -0700, Dan Williams wrote: > On Tue, Jun 9, 2020 at 12:57 PM David Miller wrote: > > > > From: "Williams, Dan J" > > Date: Tue, 9 Jun 2020 19:30:50 + > > > > > On Tue, 2020-06-09 at 11:36 -0700, David Miller wrote: > > >> From: Stephen Hemminger > > >> Date

[PATCH v3 2/3] netlink: add master/slave configuration support

2020-06-09 Thread Oleksij Rempel
ng. Signed-off-by: Oleksij Rempel --- ethtool.8.in | 19 ethtool.c | 1 + netlink/desc-ethtool.c | 2 ++ netlink/settings.c | 50 ++ 4 files changed, 72 insertions(+) diff --git a/ethtool.8.in b/ethtool.

[PATCH v3 0/3] Add support for SQI and master-slave

2020-06-09 Thread Oleksij Rempel
tool --help" and man page - move KAPI update changes to the separate patch. Oleksij Rempel (3): update UAPI header copies netlink: add master/slave configuration support netlink: add LINKSTATE SQI support ethtool.8.in | 19 ++ ethtool.c| 1 + netl

[PATCH v3 3/3] netlink: add LINKSTATE SQI support

2020-06-09 Thread Oleksij Rempel
Some PHYs provide Signal Quality Index (SQI) if the link is in active state. This information can help to diagnose cable and system design related issues. Signed-off-by: Oleksij Rempel Reviewed-by: Florian Fainelli Reviewed-by: Michal Kubecek --- netlink/desc-ethtool.c | 2 ++ netlink

[PATCH v3 1/3] update UAPI header copies

2020-06-09 Thread Oleksij Rempel
Update to net-dev: dc0f3ed1973 ("net: phy: at803x: add cable diagnostics support for ATH9331 and ATH8032") Signed-off-by: Oleksij Rempel --- uapi/linux/ethtool.h | 25 ++- uapi/linux/ethtool_netlink.h | 326 +++ uapi/linux/genetlink.h

Re: [PATCH V3 1/3] dt-bindings: mailbox: imx-mu: support i.MX8M

2020-06-01 Thread Oleksij Rempel
On Mon, Jun 01, 2020 at 04:20:00PM +0800, peng@nxp.com wrote: > From: Peng Fan > > Add i.MX8MQ/M/N/P compatible string to support i.MX8M SoCs > > Reviewed-by: Dong Aisheng > Signed-off-by: Peng Fan > --- > Documentation/devicetree/bindings/mailbox/fsl,mu.txt | 3 ++- > 1 file changed, 2 i

Re: [PATCH net-next v3] net: phy: micrel: add phy-mode support for the KSZ9031 PHY

2020-05-28 Thread Oleksij Rempel
On Thu, May 28, 2020 at 06:08:39PM +0200, Andrew Lunn wrote: > On Thu, May 28, 2020 at 03:10:06PM +0200, Geert Uytterhoeven wrote: > > Hi Andrew, > > > > On Wed, May 27, 2020 at 10:52 PM Andrew Lunn wrote: > > > > You may wonder what's the difference between 3 and 4? It's not just the > > > > PHY

[PATCH v2 0/3] Add support for SQI and master-slave

2020-05-28 Thread Oleksij Rempel
of autonegatiation support. - Signal Quality Index to investigate cable related issues. changes v2: - add master-slave information to the "ethtool --help" and man page - move KAPI update changes to the separate patch. Oleksij Rempel (3): update UAPI header copies netlink: add ma

[PATCH v2 1/3] update UAPI header copies

2020-05-28 Thread Oleksij Rempel
Update to net-dev: dc0f3ed1973 ("net: phy: at803x: add cable diagnostics support for ATH9331 and ATH8032") Signed-off-by: Oleksij Rempel --- uapi/linux/ethtool.h | 25 ++- uapi/linux/ethtool_netlink.h | 326 +++ uapi/linux/genetlink.h

[PATCH v2 2/3] netlink: add master/slave configuration support

2020-05-28 Thread Oleksij Rempel
ng. Signed-off-by: Oleksij Rempel --- ethtool.8.in | 19 ethtool.c | 1 + netlink/desc-ethtool.c | 2 ++ netlink/settings.c | 50 ++ 4 files changed, 72 insertions(+) diff --git a/ethtool.8.in b/ethtool.

[PATCH v2 3/3] netlink: add LINKSTATE SQI support

2020-05-28 Thread Oleksij Rempel
Some PHYs provide Signal Quality Index (SQI) if the link is in active state. This information can help to diagnose cable and system design related issues. Signed-off-by: Oleksij Rempel Reviewed-by: Florian Fainelli --- netlink/desc-ethtool.c | 2 ++ netlink/settings.c | 16

Re: [PATCH ethtool v1] netlink: add master/slave configuration support

2020-05-27 Thread Oleksij Rempel
On Tue, May 26, 2020 at 02:41:39PM +0200, Michal Kubecek wrote: > On Tue, May 26, 2020 at 11:10:25AM +0200, Oleksij Rempel wrote: > > This UAPI is needed for BroadR-Reach 100BASE-T1 devices. Due to lack of > > auto-negotiation support, we needed to be able to configure the > >

[PATCH v2] net: phy: at803x: add cable diagnostics support for ATH9331 and ATH8032

2020-05-26 Thread Oleksij Rempel
Add support for Atheros 100Base-T PHYs. The only difference seems to be the ability to test 2 pairs instead of 4 and the lack of 1000Base-T specific register. Only the ATH9331 was tested with this patch. Signed-off-by: Oleksij Rempel Reviewed-by: Andrew Lunn Reviewed-by: Florian Fainelli

[PATCH net-next v1] net: phy: at803x: add cable diagnostics support for ATH9331 and ATH8032

2020-05-26 Thread Oleksij Rempel
Add support for Atheros 100Bast-T PHYs. The only difference seems to be the ability to test 2 pares instead of 4 and the lack of 1000Bast-T specific register. Only ATH9331 was tested with this patch. Signed-off-by: Oleksij Rempel --- drivers/net/phy/at803x.c | 18 -- 1 file

[PATCH ethtool v1] netlink: add master/slave configuration support

2020-05-26 Thread Oleksij Rempel
ng. Signed-off-by: Oleksij Rempel --- netlink/desc-ethtool.c | 2 ++ netlink/settings.c | 50 uapi/linux/ethtool.h | 11 uapi/linux/ethtool_netlink.h | 2 ++ 4 files changed, 65 insertions(+) diff --git a/netlink/desc-ethtoo

[PATCH ethtool v1] netlink: add LINKSTATE SQI support

2020-05-26 Thread Oleksij Rempel
Some PHYs provide Signal Quality Index (SQI) if the link is in active state. This information can help to diagnose cable and system design related issues. Signed-off-by: Oleksij Rempel --- netlink/desc-ethtool.c | 2 ++ netlink/settings.c | 16 uapi/linux

Re: [PATCH v1] usb: musb: dsps: set MUSB_DA8XX quirk for AM335x

2020-05-21 Thread Oleksij Rempel
On Wed, May 20, 2020 at 09:55:05AM -0500, Bin Liu wrote: > On Wed, May 20, 2020 at 06:49:34AM +0200, Oleksij Rempel wrote: > > On Tue, May 19, 2020 at 05:18:51PM -0500, Bin Liu wrote: > > > Hi, > > > > > > On Fri, Mar 27, 2020 at 06:38:49AM +0100, Oleksij Rem

Re: [PATCH v8 5/5] dt-bindings: arm: fsl: add different Protonic boards

2020-05-21 Thread Oleksij Rempel
On Thu, May 21, 2020 at 02:00:02PM -0600, r...@kernel.org wrote: > On Wed, 20 May 2020 17:41:16 +0200, Oleksij Rempel wrote: > > Add Protonic PRTI6Q, WD2, RVT, VT7 boards. > > > > Signed-off-by: Oleksij Rempel > > --- > > Documentation/devicetree/bindings/

Re: [PATCH net-next v3 1/2] ethtool: provide UAPI for PHY Signal Quality Index (SQI)

2020-05-20 Thread Oleksij Rempel
On Wed, May 20, 2020 at 05:30:01PM +0200, Andrew Lunn wrote: > > > I'm not sure if it's a good idea to define two separate callbacks. It > > > means adding two pointers instead of one (for every instance of the > > > structure, not only those implementing them), doing two calls, running > > > the s

[PATCH v8 5/5] dt-bindings: arm: fsl: add different Protonic boards

2020-05-20 Thread Oleksij Rempel
Add Protonic PRTI6Q, WD2, RVT, VT7 boards. Signed-off-by: Oleksij Rempel --- Documentation/devicetree/bindings/arm/fsl.yaml | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index

[PATCH v8 4/5] ARM: dts: add Protonic RVT board

2020-05-20 Thread Oleksij Rempel
Protonic RVT is an internal development platform for a wireless ISObus Virtual Terminal based on COTS tablets, and the predecessor of the WD2 platform. Reviewed-by: Rob Herring Signed-off-by: David Jander Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile | 1 + arch/arm

[PATCH v8 2/5] ARM: dts: add Protonic WD2 board

2020-05-20 Thread Oleksij Rempel
Add support for the Protonic WD2 board, which is an internal development platform for low-cost agricultural Virtual Terminals based on COTS tablets and web applications. It inherits from the PRTI6Q base class. Reviewed-by: Rob Herring Signed-off-by: David Jander Signed-off-by: Oleksij Rempel

[PATCH v8 3/5] ARM: dts: add Protonic VT7 board

2020-05-20 Thread Oleksij Rempel
The Protonic VT7 is a mid-class ISObus Virtual Terminal with a 7 inch touchscreen display. Reviewed-by: Rob Herring Signed-off-by: Robin van der Gracht Signed-off-by: David Jander Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6dl-prtvt7

[PATCH v8 0/5] mainline Protonic boards

2020-05-20 Thread Oleksij Rempel
names in compatible - refactor dts/dtsi - use alphabet order for pinctrl and phandels - remove unused or currently not supported nodes changes v2: - squash PRTI6Q patches Oleksij Rempel (5): ARM: dts: add Protonic PRTI6Q board ARM: dts: add Protonic WD2 board ARM: dts: add Protonic VT7 board AR

[PATCH v8 1/5] ARM: dts: add Protonic PRTI6Q board

2020-05-20 Thread Oleksij Rempel
Protonic PRTI6Q is a development board and a base class for different specific customer application boards based on the i.MX6 family of SoCs, developed by Protonic Holland. Reviewed-by: Rob Herring Signed-off-by: David Jander Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile

Re: [PATCH v7 0/5] mainline Protonic boards

2020-05-20 Thread Oleksij Rempel
Please ignore this version, i used wrong commit hash to format-patch. On Wed, May 20, 2020 at 11:29:32AM +0200, Oleksij Rempel wrote: > changes v7: > - VT7: reorder node alphabetically > - VT7: rename "reg_12v_bl: regulator-bl-12v" to "reg_bl_12v0: > regulator-bl-12v0

Re: [PATCH net-next v3 1/2] ethtool: provide UAPI for PHY Signal Quality Index (SQI)

2020-05-20 Thread Oleksij Rempel
On Wed, May 20, 2020 at 04:45:44PM +0200, Michal Kubecek wrote: > On Wed, May 20, 2020 at 08:29:14AM +0200, Oleksij Rempel wrote: > > Signal Quality Index is a mandatory value required by "OPEN Alliance > > SIG" for the 100Base-T1 PHYs [1]. This indicator can be use

[PATCH v7 2/5] ARM: dts: add Protonic WD2 board

2020-05-20 Thread Oleksij Rempel
Add support for the Protonic WD2 board, which is an internal development platform for low-cost agricultural Virtual Terminals based on COTS tablets and web applications. It inherits from the PRTI6Q base class. Reviewed-by: Rob Herring Signed-off-by: David Jander Signed-off-by: Oleksij Rempel

[PATCH v7 3/5] ARM: dts: add Protonic VT7 board

2020-05-20 Thread Oleksij Rempel
The Protonic VT7 is a mid-class ISObus Virtual Terminal with a 7 inch touchscreen display. Reviewed-by: Rob Herring Signed-off-by: Robin van der Gracht Signed-off-by: David Jander Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6dl-prtvt7

[PATCH v7 1/5] ARM: dts: add Protonic PRTI6Q board

2020-05-20 Thread Oleksij Rempel
Protonic PRTI6Q is a development board and a base class for different specific customer application boards based on the i.MX6 family of SoCs, developed by Protonic Holland. Reviewed-by: Rob Herring Signed-off-by: David Jander Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile

[PATCH v7 0/5] mainline Protonic boards

2020-05-20 Thread Oleksij Rempel
e alphabet order for pinctrl and phandels - remove unused or currently not supported nodes changes v2: - squash PRTI6Q patches Oleksij Rempel (5): ARM: dts: add Protonic PRTI6Q board ARM: dts: add Protonic WD2 board ARM: dts: add Protonic VT7 board ARM: dts: add Protonic RVT board dt-bin

[PATCH v7 4/5] ARM: dts: add Protonic RVT board

2020-05-20 Thread Oleksij Rempel
Protonic RVT is an internal development platform for a wireless ISObus Virtual Terminal based on COTS tablets, and the predecessor of the WD2 platform. Reviewed-by: Rob Herring Signed-off-by: David Jander Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile | 1 + arch/arm

[PATCH v7 5/5] dt-bindings: arm: fsl: add different Protonic boards

2020-05-20 Thread Oleksij Rempel
Add Protonic PRTI6Q, WD2, RVT, VT7 boards. Signed-off-by: Oleksij Rempel --- Documentation/devicetree/bindings/arm/fsl.yaml | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index

<    1   2   3   4   5   6   7   8   9   10   >