[PATCH net v2 0/2] add support for skb with sk ref cloning

2021-02-22 Thread Oleksij Rempel
the same problem, see RFC patch 3 for details. regards, Oleksij Oleksij Rempel (2): skbuff: skb_clone_sk_optional(): add function to always clone a skb and increase refcount on sk if valid can: fix ref count warning if socket was closed before skb was cloned include/linux/can/skb.h

[PATCH net v1 2/3] can: fix ref count warning if socket was closed before skb was cloned

2021-02-22 Thread Oleksij Rempel
vious patch) takes care of this. It will only clone the skb, if the sk is set and the refcount has not reached 0. Cc: Oliver Hartkopp Cc: Andre Naujoks Cc: Eric Dumazet Fixes: 0ae89beb283a ("can: add destructor for self generated skbs") Signed-off-by: Oleksij Rempel --- include/linux

[PATCH net v1 1/3] skbuff: skb_clone_sk_optional(): add function to always clone a skb and increase refcount on sk if valid

2021-02-22 Thread Oleksij Rempel
-by: Oleksij Rempel --- include/linux/skbuff.h | 1 + net/core/skbuff.c | 27 +++ 2 files changed, 28 insertions(+) diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 6d0a33d1c0db..99d552017508 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h

[PATCH net v1 3/3] [RFC] mac80211: ieee80211_store_ack_skb(): make use of skb_clone_sk_optional()

2021-02-22 Thread Oleksij Rempel
This code is trying to clone the skb with optional skb->sk. But this will fail to clone the skb if socket was closed just after the skb was pushed into the networking stack. Fixes: a7528198add8 ("mac80211: support control port TX status reporting") Signed-off-by: Oleksij Rempel ---

[PATCH net v1 0/3] add support for skb with sk ref cloning

2021-02-22 Thread Oleksij Rempel
Hello, this series tries to fix a long standing problem in the CAN echo SKB handling. The problem shows up if an echo SKB for a SKB that references an already closed socket is created. It looks like the mac80211/tx.c has the same problem, see RFC patch 3 for details. regards, Oleksij Oleksij

[PATCH net v3] net: introduce CAN specific pointer in the struct net_device

2021-02-22 Thread Oleksij Rempel
9b ("can: introduce CAN midlayer private and allocate it automatically") Fixes: 9d71dd0c7009 ("can: add support of SAE J1939 protocol") Fixes: 497a5757ce4e ("tun: switch to net core provided statistics counters") Signed-off-by: Oleksij Rempel --- drivers/net/can/

Re: [PATCH net] net: ag71xx: remove unnecessary MTU reservation

2021-02-17 Thread Oleksij Rempel
river") > Signed-off-by: DENG Qingfang Reviewed-by: Oleksij Rempel Thank you! > --- > drivers/net/ethernet/atheros/ag71xx.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/drivers/net/ethernet/atheros/ag71xx.c > b/drivers/net/

[PATCH v6 1/2] dt-bindings: counter: add event-counter binding

2021-02-16 Thread Oleksij Rempel
Add binding for the event counter node Signed-off-by: Oleksij Rempel Reviewed-by: Linus Walleij --- .../bindings/counter/interrupt-counter.yaml | 62 +++ 1 file changed, 62 insertions(+) create mode 100644 Documentation/devicetree/bindings/counter/interrupt-counter.yaml

[PATCH v6 2/2] counter: add IRQ or GPIO based event counter

2021-02-16 Thread Oleksij Rempel
without count drops. Signed-off-by: Oleksij Rempel Reviewed-by: Ahmad Fatoum --- MAINTAINERS | 7 + drivers/counter/Kconfig | 10 ++ drivers/counter/Makefile| 1 + drivers/counter/interrupt-cnt.c | 249 4 files changed, 267

[PATCH v6 0/2] add support for GPIO or IRQ based evemt counter

2021-02-16 Thread Oleksij Rempel
with chardev support. Oleksij Rempel (2): dt-bindings: counter: add event-counter binding counter: add IRQ or GPIO based event counter .../bindings/counter/interrupt-counter.yaml | 62 + MAINTAINERS | 7 + drivers/counter/Kconfig

Re: [PATCH v8 17/22] counter: Add character device interface

2021-02-15 Thread Oleksij Rempel
Hi William, On Fri, Feb 12, 2021 at 09:13:41PM +0900, William Breathitt Gray wrote: > This patch introduces a character device interface for the Counter > subsystem. Device data is exposed through standard character device read > operations. Device data is gathered when a Counter event is pushed

Re: [PATCH v5 2/2] counter: add IRQ or GPIO based event counter

2021-02-15 Thread Oleksij Rempel
Hi William, On Sun, Feb 14, 2021 at 05:54:22PM +0900, William Breathitt Gray wrote: > On Mon, Feb 08, 2021 at 02:53:47PM +0100, Oleksij Rempel wrote: > > Add simple IRQ or GPIO base event counter. This device is used to measure > > rotation speed of some agricultural devices, so no

Re: [PATCH v5 2/2] counter: add IRQ or GPIO based event counter

2021-02-15 Thread Oleksij Rempel
On Fri, Feb 12, 2021 at 10:26:39AM +0100, Linus Walleij wrote: > On Mon, Feb 8, 2021 at 2:53 PM Oleksij Rempel wrote: > > > Add simple IRQ or GPIO base event counter. This device is used to measure > > rotation speed of some agricultural devices, so no high frequency on t

[RFC PATCH net v2] net: introduce CAN specific pointer in the struct net_device

2021-02-12 Thread Oleksij Rempel
9b ("can: introduce CAN midlayer private and allocate it automatically") Fixes: 9d71dd0c7009 ("can: add support of SAE J1939 protocol") Fixes: 497a5757ce4e ("tun: switch to net core provided statistics counters") Signed-off-by: Oleksij Rempel --- drivers/net/can/

[PATCH v3 1/6] dt-bindings: display: simple: add Innolux G070Y2-T02 panel

2021-02-09 Thread Oleksij Rempel
Add binding for the Innolux G070Y2-T02 panel. It is 7" WVGA (800x480) TFT LCD panel with TTL interface and a backlight unit. Signed-off-by: Oleksij Rempel Acked-by: Rob Herring --- .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+)

[PATCH v3 6/6] ARM: dts: imx6dl-plym2m: remove touchscreen-size-* properties

2021-02-09 Thread Oleksij Rempel
. So, it make no sense to keep this values in the device tree. Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6dl-plym2m.dts | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/boot/dts/imx6dl-plym2m.dts b/arch/arm/boot/dts/imx6dl-plym2m.dts index 4d0d3d3386af..c97274f0df07 100644

[PATCH v3 5/6] ARM: dts: imx6dl-prtvt7: Remove backlight enable gpio

2021-02-09 Thread Oleksij Rempel
The backlight power is controlled through the reg_bl_12v0 regulator. Co-Developed-by: Robin van der Gracht Signed-off-by: Robin van der Gracht Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6dl-prtvt7.dts | 9 - 1 file changed, 9 deletions(-) diff --git a/arch/arm/boot/dts

[PATCH v3 4/6] ARM: dts: imx6dl-prtvt7: add TSC2046 touchscreen node

2021-02-09 Thread Oleksij Rempel
Add touchscreen support to the Protonic VT7 board. Co-Developed-by: Robin van der Gracht Signed-off-by: Robin van der Gracht Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6dl-prtvt7.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/imx6dl

[PATCH v3 3/6] ARM: dts: imx6dl-prtvt7: Add display and panel nodes

2021-02-09 Thread Oleksij Rempel
Add Innolux G070Y2-T02 panel to the Protonic VT7 board. Signed-off-by: Robin van der Gracht Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6dl-prtvt7.dts | 47 + 1 file changed, 47 insertions(+) diff --git a/arch/arm/boot/dts/imx6dl-prtvt7.dts b/arch/arm

[PATCH v3 0/6] devicetree fixes for Protonic and Plymovent boards

2021-02-09 Thread Oleksij Rempel
changes v3: - remove patch: ARM: dts: imx6dl-prtvt7: fix PWM cell count for the backlight node. This is done by Uwe in a separate patch - add Acked-by: Rob Herring... changes v2: - imx6dl-prtvt7: remove touchscreen-inverted-* Oleksij Rempel (6): dt-bindings: display: simple: add Innolux

[PATCH v3 2/6] drm: panel-simple: Add support for the Innolux G070Y2-T02 panel

2021-02-09 Thread Oleksij Rempel
Add compatible and timings for the Innolux G070Y2-T02 panel. It is 7" WVGA (800x480) TFT LCD panel with TTL interface and a backlight unit. Co-Developed-by: Robin van der Gracht Signed-off-by: Robin van der Gracht Signed-off-by: Oleksij Rempel --- drivers/gpu/drm/panel/panel-simple.c

[PATCH v5 0/2] add support for GPIO or IRQ based evemt counter

2021-02-08 Thread Oleksij Rempel
to attach timestamps and measure actual pulse frequency. Never the less, it is better to mainline this driver now (before chardev patches go mainline), to provide developers additional use case for the counter framework with chardev support. Oleksij Rempel (2): dt-bindings: counter: add event-counter

[PATCH v5 1/2] dt-bindings: counter: add event-counter binding

2021-02-08 Thread Oleksij Rempel
Add binding for the event counter node Signed-off-by: Oleksij Rempel --- .../bindings/counter/event-counter.yaml | 56 +++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devicetree/bindings/counter/event-counter.yaml diff --git a/Documentation

[PATCH v5 2/2] counter: add IRQ or GPIO based event counter

2021-02-08 Thread Oleksij Rempel
without count drops. Signed-off-by: Oleksij Rempel Reviewed-by: Ahmad Fatoum --- drivers/counter/Kconfig | 10 ++ drivers/counter/Makefile| 1 + drivers/counter/event-cnt.c | 250 3 files changed, 261 insertions(+) create mode 100644 drivers/counter

Re: [PATCH v1 5/7] ARM i.MX6q: remove Atheros AR8035 SmartEEE fixup

2021-02-08 Thread Oleksij Rempel
On Wed, Feb 03, 2021 at 09:56:28AM +, Russell King - ARM Linux admin wrote: > On Wed, Feb 03, 2021 at 10:18:55AM +0100, Oleksij Rempel wrote: > > This fixup removes the Lpi_en bit. > > > > If this patch breaks functionality of your board, use following devic

[PATCH v1 0/7] remove different PHY fixups

2021-02-03 Thread Oleksij Rempel
and future-proof way. regards, Oleksij Oleksij Rempel (7): ARM i.MX6q: remove PHY fixup for KSZ9031 ARM i.MX6q: remove TX clock delay of ar8031_phy_fixup() ARM i.MX6q: remove hand crafted PHY power up in ar8035_phy_fixup() ARM i.MX6q: remove clk-out fixup for the Atheros AR8031 and AR8035

[PATCH v1 1/7] ARM i.MX6q: remove PHY fixup for KSZ9031

2021-02-03 Thread Oleksij Rempel
psec = <1860>; This activates the internal delays for RX and TX, with the value as the fixup that is removed in this patch. Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts | 2 +- arch/arm/mach-imx/mach-imx6q.c | 23 --- 2 files ch

[PATCH v1 3/7] ARM i.MX6q: remove hand crafted PHY power up in ar8035_phy_fixup()

2021-02-03 Thread Oleksij Rempel
The at803x_resume() handler in the at803x.c PHY driver powers up the PHY properly, so remove this fixup. If this patch breaks your system, enable the AT803X_PHY driver. Signed-off-by: Oleksij Rempel --- arch/arm/mach-imx/mach-imx6q.c | 5 - 1 file changed, 5 deletions(-) diff --git a/arch

[PATCH v1 7/7] ARM: imx7d: remove Atheros AR8031 PHY fixup

2021-02-03 Thread Oleksij Rempel
regulator-max-microvolt = <180>; }; vddh: vddh-regulator { regulator-name = "VDDH"; }; }; Signed-off-by: Oleksij Rempel --- arch/arm/mach-imx/mach-imx7d.c | 22 -- 1 file changed

[PATCH v1 5/7] ARM i.MX6q: remove Atheros AR8035 SmartEEE fixup

2021-02-03 Thread Oleksij Rempel
ed-off-by: Oleksij Rempel --- arch/arm/mach-imx/mach-imx6q.c | 21 - 1 file changed, 21 deletions(-) diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c index d12b571a61ac..c9d7c29d95e1 100644 --- a/arch/arm/mach-imx/mach-imx6q.c +++ b/arch/arm/mach-imx/mach-i

[PATCH v1 6/7] ARM: imx6sx: remove Atheros AR8031 PHY fixup

2021-02-03 Thread Oleksij Rempel
}; vddh: vddh-regulator { regulator-name = "VDDH"; }; }; Signed-off-by: Oleksij Rempel --- arch/arm/mach-imx/mach-imx6sx.c | 26 -- 1 file changed, 26 deletions(-) diff --git a/arch/arm/mach-imx/mach-i

[PATCH v1 4/7] ARM i.MX6q: remove clk-out fixup for the Atheros AR8031 and AR8035 PHYs

2021-02-03 Thread Oleksij Rempel
This configuration should be set over device tree. If this patch breaks network functionality on your system, enable the AT803X_PHY driver and set following device tree property in the PHY node: qca,clk-out-frequency = <12500>; Signed-off-by: Oleksij Rempel --- arch/arm/mach-im

[PATCH v1 2/7] ARM i.MX6q: remove TX clock delay of ar8031_phy_fixup()

2021-02-03 Thread Oleksij Rempel
node: phy-mode = "rgmii-txid"; Signed-off-by: Oleksij Rempel --- arch/arm/mach-imx/mach-imx6q.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c index 78205f90da27..1abefe7e1c3a 100644 --- a/arch/arm/mach-imx/ma

Re: [PATCH v4 2/2] counter: add IRQ or GPIO based pulse counter

2021-01-28 Thread Oleksij Rempel
On Thu, Jan 28, 2021 at 09:24:08AM +0100, Linus Walleij wrote: > Hi Oleksij, > > thanks for your patch! > > On Tue, Jan 26, 2021 at 2:15 PM Oleksij Rempel > wrote: > > > + priv->irq = platform_get_irq(pdev, 0); > > + if (priv->irq < 0)

Re: [PATCH v4 1/2] dt-bindings: counter: add pulse-counter binding

2021-01-28 Thread Oleksij Rempel
On Thu, Jan 28, 2021 at 09:17:23AM +0100, Linus Walleij wrote: > Hi Oleksij, > > thanks for your patch! > > On Tue, Jan 26, 2021 at 2:15 PM Oleksij Rempel > wrote: > > > Add binding for the pulse counter node > > > > Signed-off-by: Oleksij Rempel > (

Re: [PATCH v7 3/5] counter: Add character device interface

2021-01-28 Thread Oleksij Rempel
Hello William, On Fri, Dec 25, 2020 at 07:15:36PM -0500, William Breathitt Gray wrote: > This patch introduces a character device interface for the Counter > subsystem. Device data is exposed through standard character device read > operations. Device data is gathered when a Counter event is

Re: [PATCH v4 0/2] add support for GPIO based counter

2021-01-26 Thread Oleksij Rempel
On Tue, Jan 26, 2021 at 02:18:34PM +0100, Marc Kleine-Budde wrote: > On 1/26/21 2:12 PM, Oleksij Rempel wrote: > > changes v4: > > - use IRQ_NOAUTOEN to not enable IRQ by default > > - rename gpio_ from name pattern and make this driver work any IRQ > > source. > &g

Re: [PATCH v3 2/2] counter: add GPIO based pulse counters

2021-01-26 Thread Oleksij Rempel
Hi Jonathan, On Sun, Jan 24, 2021 at 02:47:37PM +, Jonathan Cameron wrote: > On Fri, 22 Jan 2021 12:24:34 +0100 > Oleksij Rempel wrote: > > > Add simple GPIO base pulse counter. This device is used to measure > > rotation speed of some agricultural devices,

[PATCH v4 1/2] dt-bindings: counter: add pulse-counter binding

2021-01-26 Thread Oleksij Rempel
Add binding for the pulse counter node Signed-off-by: Oleksij Rempel --- .../bindings/counter/pulse-counter.yaml | 52 +++ 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bindings/counter/pulse-counter.yaml diff --git a/Documentation

[PATCH v4 0/2] add support for GPIO based counter

2021-01-26 Thread Oleksij Rempel
developers additional use case for the counter framework with chardev support. Oleksij Rempel (2): dt-bindings: counter: add pulse-counter binding counter: add IRQ or GPIO based pulse counter .../bindings/counter/pulse-counter.yaml | 52 drivers/counter/Kconfig

[PATCH v4 2/2] counter: add IRQ or GPIO based pulse counter

2021-01-26 Thread Oleksij Rempel
without count drops. Signed-off-by: Oleksij Rempel Reviewed-by: Ahmad Fatoum --- drivers/counter/Kconfig | 10 ++ drivers/counter/Makefile| 1 + drivers/counter/pulse-cnt.c | 235 3 files changed, 246 insertions(+) create mode 100644 drivers/counter

[PATCH v3 1/2] dt-bindings: counter: add gpio-pulse-counter binding

2021-01-22 Thread Oleksij Rempel
Add binding for GPIO based pulse counter node Signed-off-by: Oleksij Rempel --- .../bindings/counter/gpio-pulse-counter.yaml | 39 +++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/counter/gpio-pulse-counter.yaml diff --git

[PATCH v2 0/2] add support for GPIO based counter

2021-01-22 Thread Oleksij Rempel
to attach timestamps and measure actual pulse frequency. Never the less, it is better to mainline this driver now (before chardev patches go mainline), to provide developers additional use case for the counter framework with chardev support. Oleksij Rempel (2): dt-bindings: counter: add gpio-pulse

[PATCH v3 2/2] counter: add GPIO based pulse counters

2021-01-22 Thread Oleksij Rempel
count drops. Signed-off-by: Oleksij Rempel --- drivers/counter/Kconfig | 9 ++ drivers/counter/Makefile | 1 + drivers/counter/gpio-pulse-cnt.c | 244 +++ 3 files changed, 254 insertions(+) create mode 100644 drivers/counter/gpio-pulse-cnt.c diff

[PATCH v2 0/2] add support for GPIO based counter

2021-01-22 Thread Oleksij Rempel
frequency. Never the less, it is better to mainline this driver now (before chardev patches go mainline), to provide developers additional use case for the counter framework with chardev support. Oleksij Rempel (2): dt-bindings: counter: add gpio-pulse-counter binding counter: add GPIO based

[PATCH v2 1/2] dt-bindings: counter: add gpio-pulse-counter binding

2021-01-22 Thread Oleksij Rempel
Add binding for GPIO based pulse counter node Signed-off-by: Oleksij Rempel --- .../bindings/counter/gpio-pulse-counter.yaml | 39 +++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/counter/gpio-pulse-counter.yaml diff --git

[PATCH v2 2/2] counter: add GPIO based pulse counters

2021-01-22 Thread Oleksij Rempel
count drops. Signed-off-by: Oleksij Rempel --- drivers/counter/Kconfig | 9 ++ drivers/counter/Makefile | 1 + drivers/counter/gpio-pulse-cnt.c | 244 +++ 3 files changed, 254 insertions(+) create mode 100644 drivers/counter/gpio-pulse-cnt.c diff

Re: [PATCH v2 6/7] ARM: dts: imx6dl-prtvt7: fix PWM cell count for the backlight node.

2021-01-22 Thread Oleksij Rempel
On Thu, Jan 21, 2021 at 11:17:42AM -0300, Fabio Estevam wrote: > Hi Oleksij, > > On Thu, Jan 21, 2021 at 3:12 AM Oleksij Rempel > wrote: > > > > At some point PWM cell count was changed, but it didn't triggered any > > It chang

[PATCH v1 1/2] dt-bindings: counter: add gpio-pulse-counter binding

2021-01-21 Thread Oleksij Rempel
Add binding for GPIO based pulse counter node Signed-off-by: Oleksij Rempel --- .../bindings/counter/gpio-pulse-counter.yaml | 39 +++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/counter/gpio-pulse-counter.yaml diff --git

[PATCH v1 0/2] add support for GPIO based counter

2021-01-21 Thread Oleksij Rempel
developers additional use case for the counter framework with chardev support. Oleksij Rempel (2): dt-bindings: counter: add gpio-pulse-counter binding counter: add GPIO based pulse counters .../bindings/counter/gpio-pulse-counter.yaml | 39 +++ drivers/counter/Kconfig | 9

[PATCH v1 2/2] counter: add GPIO based pulse counters

2021-01-21 Thread Oleksij Rempel
count drops. Signed-off-by: Oleksij Rempel --- drivers/counter/Kconfig | 9 ++ drivers/counter/Makefile | 1 + drivers/counter/gpio-pulse-cnt.c | 245 +++ 3 files changed, 255 insertions(+) create mode 100644 drivers/counter/gpio-pulse-cnt.c diff

[PATCH v2 5/7] ARM: dts: imx6dl-prtvt7: Remove backlight enable gpio

2021-01-20 Thread Oleksij Rempel
The backlight power is controlled through the reg_bl_12v0 regulator. Co-Developed-by: Robin van der Gracht Signed-off-by: Robin van der Gracht Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6dl-prtvt7.dts | 9 - 1 file changed, 9 deletions(-) diff --git a/arch/arm/boot/dts

[PATCH v2 3/7] ARM: dts: imx6dl-prtvt7: Add display and panel nodes

2021-01-20 Thread Oleksij Rempel
Add Innolux G070Y2-T02 panel to the Protonic VT7 board. Signed-off-by: Robin van der Gracht Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6dl-prtvt7.dts | 47 + 1 file changed, 47 insertions(+) diff --git a/arch/arm/boot/dts/imx6dl-prtvt7.dts b/arch/arm

[PATCH v2 7/7] ARM: dts: imx6dl-plym2m: remove touchscreen-size-* properties

2021-01-20 Thread Oleksij Rempel
. So, it make no sense to keep this values in the device tree. Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6dl-plym2m.dts | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/boot/dts/imx6dl-plym2m.dts b/arch/arm/boot/dts/imx6dl-plym2m.dts index 4d0d3d3386af..c97274f0df07 100644

[PATCH v2 2/7] drm: panel-simple: Add support for the Innolux G070Y2-T02 panel

2021-01-20 Thread Oleksij Rempel
Add compatible and timings for the Innolux G070Y2-T02 panel. It is 7" WVGA (800x480) TFT LCD panel with TTL interface and a backlight unit. Co-Developed-by: Robin van der Gracht Signed-off-by: Robin van der Gracht Signed-off-by: Oleksij Rempel --- drivers/gpu/drm/panel/panel-simple.c

[PATCH v2 1/7] dt-bindings: display: simple: add Innolux G070Y2-T02 panel

2021-01-20 Thread Oleksij Rempel
Add binding for the Innolux G070Y2-T02 panel. It is 7" WVGA (800x480) TFT LCD panel with TTL interface and a backlight unit. Signed-off-by: Oleksij Rempel --- .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Document

[PATCH v2 6/7] ARM: dts: imx6dl-prtvt7: fix PWM cell count for the backlight node.

2021-01-20 Thread Oleksij Rempel
At some point PWM cell count was changed, but it didn't triggered any error, since this DT was overwriting "#pwm-cells". To make sure, we are in sync with the kernel driver, remove this property and fix the pwm consumer. Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6dl-prtv

[PATCH v2 0/7] devicetree fixes for Protonic and Plymovent boards

2021-01-20 Thread Oleksij Rempel
changes v2: - imx6dl-prtvt7: remove touchscreen-inverted-* Oleksij Rempel (7): dt-bindings: display: simple: add Innolux G070Y2-T02 panel drm: panel-simple: Add support for the Innolux G070Y2-T02 panel ARM: dts: imx6dl-prtvt7: Add display and panel nodes ARM: dts: imx6dl-prtvt7: add

[PATCH v2 4/7] ARM: dts: imx6dl-prtvt7: add TSC2046 touchscreen node

2021-01-20 Thread Oleksij Rempel
Add touchscreen support to the Protonic VT7 board. Co-Developed-by: Robin van der Gracht Signed-off-by: Robin van der Gracht Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6dl-prtvt7.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/imx6dl

[PATCH v1 4/7] ARM: dts: imx6dl-prtvt7: add TSC2046 touchscreen node

2021-01-20 Thread Oleksij Rempel
Add touchscreen support to the Protonic VT7 board. Co-Developed-by: Robin van der Gracht Signed-off-by: Robin van der Gracht Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6dl-prtvt7.dts | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/imx6dl

[PATCH v1 7/7] ARM: dts: imx6dl-plym2m: remove touchscreen-size-* properties

2021-01-20 Thread Oleksij Rempel
. So, it make no sense to keep this values in the device tree. Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6dl-plym2m.dts | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/boot/dts/imx6dl-plym2m.dts b/arch/arm/boot/dts/imx6dl-plym2m.dts index 4d0d3d3386af..c97274f0df07 100644

[PATCH v1 0/7] devicetree fixes for Protonic and Plymovent boards

2021-01-20 Thread Oleksij Rempel
Oleksij Rempel (7): dt-bindings: display: simple: add Innolux G070Y2-T02 panel drm: panel-simple: Add support for the Innolux G070Y2-T02 panel ARM: dts: imx6dl-prtvt7: Add display and panel nodes ARM: dts: imx6dl-prtvt7: add TSC2046 touchscreen node ARM: dts: imx6dl-prtvt7: Remove

[PATCH v1 3/7] ARM: dts: imx6dl-prtvt7: Add display and panel nodes

2021-01-20 Thread Oleksij Rempel
Add Innolux G070Y2-T02 panel to the Protonic VT7 board. Signed-off-by: Robin van der Gracht Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6dl-prtvt7.dts | 47 + 1 file changed, 47 insertions(+) diff --git a/arch/arm/boot/dts/imx6dl-prtvt7.dts b/arch/arm

[PATCH v1 6/7] ARM: dts: imx6dl-prtvt7: fix PWM cell count for the backlight node.

2021-01-20 Thread Oleksij Rempel
At some point PWM cell count was changed, but it didn't triggered any error, since this DT was overwriting "#pwm-cells". To make sure, we are in sync with the kernel driver, remove this property and fix the pwm consumer. Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6dl-prtv

[PATCH v1 5/7] ARM: dts: imx6dl-prtvt7: Remove backlight enable gpio

2021-01-20 Thread Oleksij Rempel
The backlight power is controlled through the reg_bl_12v0 regulator. Co-Developed-by: Robin van der Gracht Signed-off-by: Robin van der Gracht Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6dl-prtvt7.dts | 9 - 1 file changed, 9 deletions(-) diff --git a/arch/arm/boot/dts

[PATCH v1 1/7] dt-bindings: display: simple: add Innolux G070Y2-T02 panel

2021-01-20 Thread Oleksij Rempel
Add binding for the Innolux G070Y2-T02 panel. It is 7" WVGA (800x480) TFT LCD panel with TTL interface and a backlight unit. Signed-off-by: Oleksij Rempel --- .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Document

[PATCH v1 2/7] drm: panel-simple: Add support for the Innolux G070Y2-T02 panel

2021-01-20 Thread Oleksij Rempel
Add compatible and timings for the Innolux G070Y2-T02 panel. It is 7" WVGA (800x480) TFT LCD panel with TTL interface and a backlight unit. Co-Developed-by: Robin van der Gracht Signed-off-by: Robin van der Gracht Signed-off-by: Oleksij Rempel --- drivers/gpu/drm/panel/panel-simple.c

Re: [PATCH v2 2/2] Input: ads7846: convert to one message

2021-01-19 Thread Oleksij Rempel
Hi Dmitry, On Tue, Nov 17, 2020 at 04:31:38PM -0800, Dmitry Torokhov wrote: > On Tue, Nov 10, 2020 at 09:50:41AM +0100, Oleksij Rempel wrote: > > Convert multiple full duplex transfers in to a single transfer to reduce > > CPU load. > > > > Current driver version

Re: [PATCH v6 3/5] counter: Add character device interface

2021-01-19 Thread Oleksij Rempel
On Sun, Nov 22, 2020 at 03:29:54PM -0500, William Breathitt Gray wrote: > This patch introduces a character device interface for the Counter > subsystem. Device data is exposed through standard character device read > operations. Device data is gathered when a Counter event is pushed by > the

[RFC PATCH net 1/2] net: introduce CAN specific pointer in the struct net_device

2021-01-15 Thread Oleksij Rempel
9b ("can: introduce CAN midlayer private and allocate it automatically") Fixes: 9d71dd0c7009 ("can: add support of SAE J1939 protocol") Fixes: 497a5757ce4e ("tun: switch to net core provided statistics counters") Signed-off-by: Oleksij Rempel --- drivers/net/can/dev/dev.

[RFC PATCH net 2/2] net: can: j1939: fix check for valid CAN devices

2021-01-15 Thread Oleksij Rempel
ing the ARPHRD via ndev->type is not sufficient, since it can be set by user space to an arbitrary value for tun/tap devices. Since the ndev->type and ndev->can are now checked early, this patch removes obsolete checks further down the call stacks. Signed-off-by: Oleksij Rempel --- net/can/

[PATCH net-next v8 2/2] net: dsa: qca: ar9331: export stats64

2021-01-11 Thread Oleksij Rempel
Add stats support for the ar9331 switch. Signed-off-by: Oleksij Rempel --- drivers/net/dsa/qca/ar9331.c | 163 ++- 1 file changed, 162 insertions(+), 1 deletion(-) diff --git a/drivers/net/dsa/qca/ar9331.c b/drivers/net/dsa/qca/ar9331.c index 4d49c5f2b790

[PATCH net-next v8 0/2] net: dsa: add stats64 support

2021-01-11 Thread Oleksij Rempel
on remove changes v2: - use stats64 instead of get_ethtool_stats - add worked to poll for the stats Oleksij Rempel (2): net: dsa: add optional stats64 support net: dsa: qca: ar9331: export stats64 drivers/net/dsa/qca/ar9331.c | 163 ++- include/net/dsa.h

[PATCH net-next v8 1/2] net: dsa: add optional stats64 support

2021-01-11 Thread Oleksij Rempel
Allow DSA drivers to export stats64 Signed-off-by: Oleksij Rempel Reviewed-by: Vladimir Oltean --- include/net/dsa.h | 4 +++- net/dsa/slave.c | 14 +- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/include/net/dsa.h b/include/net/dsa.h index 4e60d2610f20

Re: [PATCH v7 net-next 2/2] net: dsa: qca: ar9331: export stats64

2021-01-11 Thread Oleksij Rempel
On Sat, Jan 09, 2021 at 02:21:43AM +0200, Vladimir Oltean wrote: > On Fri, Jan 08, 2021 at 06:32:28AM +0100, Oleksij Rempel wrote: > > May be the "net: dsa: add optional stats64 support" can already be > > taken? > > I'm not sure that I see the point. David and Ja

[PATCH v7 0/5] mainline Kverneland boards

2021-01-11 Thread Oleksij Rempel
: - add vicutp board - change tvnorm to sdtv-standards - change linux,default-trigger "mmc" to "disk-activity"; - add power-supply property to the panel node changes v2: - add victgo board - diff fixes for vicut1.dtsi Oleksij Rempel (5): dt-bindings: vendor-prefixes: Add an

[PATCH v7 5/5] ARM: dts: add Kverneland TGO board

2021-01-11 Thread Oleksij Rempel
VICTGO is the Kverneland TGO IsoBus universal terminal for agricultural applications on tractors Co-Developed-by: David Jander Signed-off-by: David Jander Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6dl-victgo.dts | 852

[PATCH v7 4/5] dt-bindings: arm: fsl: add Kverneland TGO board

2021-01-11 Thread Oleksij Rempel
Add Kverneland TGO imx6dl based board Signed-off-by: Oleksij Rempel Acked-by: Rob Herring --- 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

[PATCH v7 3/5] ARM: dts: add Kverneland UT1, UT1Q and UT1P

2021-01-11 Thread Oleksij Rempel
VICUT1(Q,P) is the Kverneland UT1(Q,P) IsoBus universal terminal for agricultural applications on tractors. Co-Developed-by: David Jander Signed-off-by: David Jander Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile| 3 + arch/arm/boot/dts/imx6dl-vicut1.dts | 13

[PATCH v7 2/5] dt-bindings: arm: fsl: add Kverneland UT1, UT1Q and UI1P boards

2021-01-11 Thread Oleksij Rempel
Add Kverneland UT1 (imx6dl), UT1Q (imx6q) and UT1P (imx6dp) based boards Signed-off-by: Oleksij Rempel Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/fsl.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation

[PATCH v7 1/5] dt-bindings: vendor-prefixes: Add an entry for Kverneland Group

2021-01-11 Thread Oleksij Rempel
Add "kvg" entry for Kverneland Group: https://ien.kvernelandgroup.com/ Signed-off-by: Oleksij Rempel Acked-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefix

Re: [PATCH] i2c-imx.c: Synthesize end of transaction events without idle interrupts

2021-01-08 Thread Oleksij Rempel
Hi Kevin Paul, On Tue, Dec 22, 2020 at 11:48:50AM -0800, Kevin Paul Herbert wrote: > Only the Layerscape SoCs have interrupts on bus idle, which facilitate > sending events which complete slave bus transactions. > > Add support for synthesizing missing events. If we see a master request, > or a

Re: [PATCH v6 1/5] dt-bindings: vendor-prefixes: Add an entry for Kverneland Group

2021-01-07 Thread Oleksij Rempel
On Thu, Jan 07, 2021 at 07:23:23PM -0700, Rob Herring wrote: > On Thu, 07 Jan 2021 11:08:27 +0100, Oleksij Rempel wrote: > > Add "kvg" entry for Kverneland Group: https://ien.kvernelandgroup.com/ > > > > Signed-off-by: Oleksij Rempel > > --- > >

Re: [PATCH v7 net-next 2/2] net: dsa: qca: ar9331: export stats64

2021-01-07 Thread Oleksij Rempel
On Thu, Jan 07, 2021 at 03:36:45PM +0100, Andrew Lunn wrote: > > +static void ar9331_get_stats64(struct dsa_switch *ds, int port, > > + struct rtnl_link_stats64 *s) > > +{ > > + struct ar9331_sw_priv *priv = (struct ar9331_sw_priv *)ds->priv; > > + struct

[PATCH v7 net-next 1/2] net: dsa: add optional stats64 support

2021-01-07 Thread Oleksij Rempel
Allow DSA drivers to export stats64 Signed-off-by: Oleksij Rempel Reviewed-by: Vladimir Oltean --- include/net/dsa.h | 4 +++- net/dsa/slave.c | 14 +- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/include/net/dsa.h b/include/net/dsa.h index 4e60d2610f20

[PATCH v7 net-next 0/2] net: dsa: add stats64 support

2021-01-07 Thread Oleksij Rempel
worked to poll for the stats Oleksij Rempel (2): net: dsa: add optional stats64 support net: dsa: qca: ar9331: export stats64 drivers/net/dsa/qca/ar9331.c | 163 ++- include/net/dsa.h| 4 +- net/dsa/slave.c | 14 ++- 3 files changed

[PATCH v7 net-next 2/2] net: dsa: qca: ar9331: export stats64

2021-01-07 Thread Oleksij Rempel
Add stats support for the ar9331 switch. Signed-off-by: Oleksij Rempel --- drivers/net/dsa/qca/ar9331.c | 164 ++- 1 file changed, 163 insertions(+), 1 deletion(-) diff --git a/drivers/net/dsa/qca/ar9331.c b/drivers/net/dsa/qca/ar9331.c index 4d49c5f2b790

[PATCH v6 4/5] dt-bindings: arm: fsl: add Kverneland TGO board

2021-01-07 Thread Oleksij Rempel
Add Kverneland TGO imx6dl based board Signed-off-by: Oleksij Rempel Acked-by: Rob Herring --- 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

[PATCH v6 3/5] ARM: dts: add Kverneland UT1, UT1Q and UT1P

2021-01-07 Thread Oleksij Rempel
VICUT1(Q,P) is the Kverneland UT1(Q,P) IsoBus universal terminal for agricultural applications on tractors. Co-Developed-by: David Jander Signed-off-by: David Jander Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile| 3 + arch/arm/boot/dts/imx6dl-vicut1.dts | 13

[PATCH v6 0/5] mainline Kverneland boards

2021-01-07 Thread Oleksij Rempel
vicutp board - change tvnorm to sdtv-standards - change linux,default-trigger "mmc" to "disk-activity"; - add power-supply property to the panel node changes v2: - add victgo board - diff fixes for vicut1.dtsi Oleksij Rempel (5): dt-bindings: vendor-prefixes: Add an entry

[PATCH v6 1/5] dt-bindings: vendor-prefixes: Add an entry for Kverneland Group

2021-01-07 Thread Oleksij Rempel
Add "kvg" entry for Kverneland Group: https://ien.kvernelandgroup.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/Doc

[PATCH v6 2/5] dt-bindings: arm: fsl: add Kverneland UT1, UT1Q and UI1P boards

2021-01-07 Thread Oleksij Rempel
Add Kverneland UT1 (imx6dl), UT1Q (imx6q) and UT1P (imx6dp) based boards Signed-off-by: Oleksij Rempel Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/fsl.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation

[PATCH v6 5/5] ARM: dts: add Kverneland TGO board

2021-01-07 Thread Oleksij Rempel
VICTGO is the Kverneland TGO IsoBus universal terminal for agricultural applications on tractors Co-Developed-by: David Jander Signed-off-by: David Jander Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6dl-victgo.dts | 850

[PATCH v2 0/2] mainline Protonic PRTI6G board

2021-01-07 Thread Oleksij Rempel
changes v2: - reorder pinctls Oleksij Rempel (2): dt-bindings: arm: fsl: add Protonic PRTI6G board ARM: dts: add Protonic PRTI6G board .../devicetree/bindings/arm/fsl.yaml | 1 + arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/imx6ul-prti6g.dts

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

2021-01-07 Thread Oleksij Rempel
Protonic PRTI6G is a reference platform for industrial, safety critical applications Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6ul-prti6g.dts | 356 2 files changed, 357 insertions(+) create mode 100644 arch

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

2021-01-07 Thread Oleksij Rempel
Add Protonic Holland PRTI6G, iMX6UL based board Signed-off-by: Oleksij Rempel Acked-by: Rob Herring --- 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

[PATCH v3 2/2] ARM: dts: add Protonic MVT board

2021-01-06 Thread Oleksij Rempel
PRTMVT is the reference platform for Protonic industrial touchscreen terminals. Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6dl-prtmvt.dts | 852 2 files changed, 853 insertions(+) create mode 100644 arch/arm

[PATCH v3 1/2] dt-bindings: arm: fsl: add Protonic MVT board

2021-01-06 Thread Oleksij Rempel
Add Protonic MVT imx6dl based board Signed-off-by: Oleksij Rempel Acked-by: Rob Herring --- 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

[PATCH v3 0/2] mainline Protonic MVT board

2021-01-06 Thread Oleksij Rempel
changes v3: - use defines linux,code - sour out some spaces - move compatible to the beginning of the gpio_pca node. changes v2: - fix active level of SPI CS GPIOs Oleksij Rempel (2): dt-bindings: arm: fsl: add Protonic MVT board ARM: dts: add Protonic MVT board .../devicetree/bindings

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

2021-01-05 Thread Oleksij Rempel
Hi Shawn, On Tue, Jan 05, 2021 at 10:35:17AM +0800, Shawn Guo wrote: > On Tue, Dec 01, 2020 at 08:41:25AM +0100, Oleksij Rempel wrote: > > PRTMVT is the reference platform for Protonic industrial touchscreen > > terminals. > > > > Signed-off-by: Oleksij Rempel

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