Re: [PATCH v15 2/4] phy: Add media type and speed serdes configuration interfaces

2021-03-16 Thread Kishon Vijay Abraham I
iewed-by: Andrew Lunn > Reviewed-by: Alexandre Belloni Acked-By: Kishon Vijay Abraham I > --- > drivers/phy/phy-core.c | 30 ++ > include/linux/phy/phy.h | 26 ++ > 2 files changed, 56 insertions(+) > > diff --git a/drive

Re: [PATCH v15 2/4] phy: Add media type and speed serdes configuration interfaces

2021-02-23 Thread Kishon Vijay Abraham I
Hi Leon, On 22/02/21 1:30 pm, Steen Hegelund wrote: > Hi Leon, > > On Sun, 2021-02-21 at 07:59 +0200, Leon Romanovsky wrote: >> EXTERNAL EMAIL: Do not click links or open attachments unless you >> know the content is safe >> >> On Thu, Feb 18, 2021 at 05:14:49PM +0100, Steen Hegelund wrote: >>> P

Re: [PATCH v14 2/4] phy: Add media type and speed serdes configuration interfaces

2021-02-16 Thread Kishon Vijay Abraham I
Hi, On 16/02/21 2:07 pm, Steen Hegelund wrote: > Hi Andrew and Kishon, > > On Mon, 2021-02-15 at 15:07 +0100, Andrew Lunn wrote: >> EXTERNAL EMAIL: Do not click links or open attachments unless you >> know the content is safe >> >> On Mon, Feb 15, 2021 at 05:25:1

Re: [PATCH v14 2/4] phy: Add media type and speed serdes configuration interfaces

2021-02-15 Thread Kishon Vijay Abraham I
Hi Steen, On 12/02/21 6:35 pm, Steen Hegelund wrote: > Hi Kishon, > > On Fri, 2021-02-12 at 17:02 +0530, Kishon Vijay Abraham I wrote: >> EXTERNAL EMAIL: Do not click links or open attachments unless you >> know the content is safe >> >> Hi Steen, >> >&

Re: [PATCH v14 2/4] phy: Add media type and speed serdes configuration interfaces

2021-02-12 Thread Kishon Vijay Abraham I
Hi Steen, On 10/02/21 2:22 pm, Steen Hegelund wrote: > Provide new phy configuration interfaces for media type and speed that > allows allows e.g. PHYs used for ethernet to be configured with this > information. > > Signed-off-by: Lars Povlsen > Signed-off-by: Steen Hegelund > Reviewed-by: Andr

Re: [PATCH v12 2/4] phy: Add ethernet serdes configuration option

2021-01-27 Thread Kishon Vijay Abraham I
Hi Steen, On 15/01/21 9:44 pm, Steen Hegelund wrote: > Hi Kishon, > > On Fri, 2021-01-15 at 21:22 +0530, Kishon Vijay Abraham I wrote: >> EXTERNAL EMAIL: Do not click links or open attachments unless you >> know the content is safe >> >> Hi, >> >&

Re: [PATCH v12 2/4] phy: Add ethernet serdes configuration option

2021-01-15 Thread Kishon Vijay Abraham I
Hi, On 07/01/21 2:49 pm, Steen Hegelund wrote: > Provide a new ethernet phy configuration structure, that > allow PHYs used for ethernet to be configured with > speed, media type and clock information. > > Signed-off-by: Lars Povlsen > Signed-off-by: Steen Hegelund > Reviewed-by: Andrew Lunn >

Re: [PATCH v12 2/4] phy: Add ethernet serdes configuration option

2021-01-15 Thread Kishon Vijay Abraham I
Hi, On 07/01/21 2:49 pm, Steen Hegelund wrote: > Provide a new ethernet phy configuration structure, that > allow PHYs used for ethernet to be configured with > speed, media type and clock information. > > Signed-off-by: Lars Povlsen > Signed-off-by: Steen Hegelund > Reviewed-by: Andrew Lunn >

Re: [RFC PATCH 00/22] Enhance VHOST to enable SoC-to-SoC communication

2020-09-16 Thread Kishon Vijay Abraham I
Hi Jason, On 16/09/20 8:40 am, Jason Wang wrote: > > On 2020/9/15 下午11:47, Kishon Vijay Abraham I wrote: >> Hi Jason, >> >> On 15/09/20 1:48 pm, Jason Wang wrote: >>> Hi Kishon: >>> >>> On 2020/9/14 下午3:23, Kishon Vijay Abraham I wrote: >>

Re: [RFC PATCH 00/22] Enhance VHOST to enable SoC-to-SoC communication

2020-09-15 Thread Kishon Vijay Abraham I
Hi Jason, On 15/09/20 1:48 pm, Jason Wang wrote: > Hi Kishon: > > On 2020/9/14 下午3:23, Kishon Vijay Abraham I wrote: >>> Then you need something that is functional equivalent to virtio PCI >>> which is actually the concept of vDPA (e.g vDPA provides alternatives if &

Re: [RFC PATCH 00/22] Enhance VHOST to enable SoC-to-SoC communication

2020-09-14 Thread Kishon Vijay Abraham I
Hi Jason, On 01/09/20 2:20 pm, Jason Wang wrote: > > On 2020/9/1 下午1:24, Kishon Vijay Abraham I wrote: >> Hi, >> >> On 28/08/20 4:04 pm, Cornelia Huck wrote: >>> On Thu, 9 Jul 2020 14:26:53 +0800 >>> Jason Wang wrote: >>> >>> [Let

Re: [RFC PATCH 00/22] Enhance VHOST to enable SoC-to-SoC communication

2020-08-31 Thread Kishon Vijay Abraham I
ogize beforehand for any confusion I might spread.] On 2020/7/8 下午9:13, Kishon Vijay Abraham I wrote: Hi Jason, On 7/8/2020 4:52 PM, Jason Wang wrote: On 2020/7/7 下午10:45, Kishon Vijay Abraham I wrote: Hi Jason, On 7/7/2020 3:17 PM, Jason Wang wrote: On 2020/7/6 下午5:32, Kishon Vijay Abraham I wrote

Re: [RFC PATCH 00/22] Enhance VHOST to enable SoC-to-SoC communication

2020-08-31 Thread Kishon Vijay Abraham I
Hi Mathieu, On 15/07/20 10:45 pm, Mathieu Poirier wrote: Hey Kishon, On Wed, Jul 08, 2020 at 06:43:45PM +0530, Kishon Vijay Abraham I wrote: Hi Jason, On 7/8/2020 4:52 PM, Jason Wang wrote: On 2020/7/7 下午10:45, Kishon Vijay Abraham I wrote: Hi Jason, On 7/7/2020 3:17 PM, Jason Wang wrote

Re: [RFC PATCH 00/22] Enhance VHOST to enable SoC-to-SoC communication

2020-07-08 Thread Kishon Vijay Abraham I
Hi Jason, On 7/8/2020 4:52 PM, Jason Wang wrote: > > On 2020/7/7 下午10:45, Kishon Vijay Abraham I wrote: >> Hi Jason, >> >> On 7/7/2020 3:17 PM, Jason Wang wrote: >>> On 2020/7/6 下午5:32, Kishon Vijay Abraham I wrote: >>>> Hi Jason, >>>> >

Re: [RFC PATCH 00/22] Enhance VHOST to enable SoC-to-SoC communication

2020-07-07 Thread Kishon Vijay Abraham I
Hi Jason, On 7/7/2020 3:17 PM, Jason Wang wrote: > > On 2020/7/6 下午5:32, Kishon Vijay Abraham I wrote: >> Hi Jason, >> >> On 7/3/2020 12:46 PM, Jason Wang wrote: >>> On 2020/7/2 下午9:35, Kishon Vijay Abraham I wrote: >>>> Hi Jason, >>>> &g

Re: [RFC PATCH 00/22] Enhance VHOST to enable SoC-to-SoC communication

2020-07-06 Thread Kishon Vijay Abraham I
Hi Jason, On 7/3/2020 12:46 PM, Jason Wang wrote: > > On 2020/7/2 下午9:35, Kishon Vijay Abraham I wrote: >> Hi Jason, >> >> On 7/2/2020 3:40 PM, Jason Wang wrote: >>> On 2020/7/2 下午5:51, Michael S. Tsirkin wrote: >>>> On Thu, Jul 02, 2020 at 0

Re: [RFC PATCH 00/22] Enhance VHOST to enable SoC-to-SoC communication

2020-07-02 Thread Kishon Vijay Abraham I
+Alan, Haotian On 7/2/2020 11:01 PM, Mathieu Poirier wrote: > On Thu, 2 Jul 2020 at 03:51, Michael S. Tsirkin wrote: >> >> On Thu, Jul 02, 2020 at 01:51:21PM +0530, Kishon Vijay Abraham I wrote: >>> This series enhances Linux Vhost support to enable SoC-to-SoC >>&

Re: [RFC PATCH 00/22] Enhance VHOST to enable SoC-to-SoC communication

2020-07-02 Thread Kishon Vijay Abraham I
Hi Jason, On 7/2/2020 3:40 PM, Jason Wang wrote: > > On 2020/7/2 下午5:51, Michael S. Tsirkin wrote: >> On Thu, Jul 02, 2020 at 01:51:21PM +0530, Kishon Vijay Abraham I wrote: >>> This series enhances Linux Vhost support to enable SoC-to-SoC >>> communication over M

Re: [RFC PATCH 00/22] Enhance VHOST to enable SoC-to-SoC communication

2020-07-02 Thread Kishon Vijay Abraham I
Hi Michael, On 7/2/2020 3:21 PM, Michael S. Tsirkin wrote: > On Thu, Jul 02, 2020 at 01:51:21PM +0530, Kishon Vijay Abraham I wrote: >> This series enhances Linux Vhost support to enable SoC-to-SoC >> communication over MMIO. This series enables rpmsg communication between >>

[RFC PATCH 01/22] vhost: Make _feature_ bits a property of vhost device

2020-07-02 Thread Kishon Vijay Abraham I
_dev. This will also make it look symmetrical to virtio in guest. Signed-off-by: Kishon Vijay Abraham I --- drivers/vhost/net.c | 7 --- drivers/vhost/scsi.c | 22 -- drivers/vhost/test.c | 14 +- drivers/vhost/vhost.c | 33 +---

[RFC PATCH 08/22] rpmsg: virtio_rpmsg_bus: Disable receive virtqueue callback when reading messages

2020-07-02 Thread Kishon Vijay Abraham I
Since rpmsg_recv_done() reads messages in a while loop, disable callbacks until the while loop exits. This helps to get rid of the annoying "uhm, incoming signal, but no used buffer ?" message. Signed-off-by: Kishon Vijay Abraham I --- drivers/rpmsg/virtio_rpmsg_bus.c | 14 +++

[RFC PATCH 11/22] rpmsg: virtio_rpmsg_bus: Move generic rpmsg structure to rpmsg_internal.h

2020-07-02 Thread Kishon Vijay Abraham I
ll use the same structures and macros. Signed-off-by: Kishon Vijay Abraham I --- drivers/rpmsg/rpmsg_internal.h | 120 +++ drivers/rpmsg/virtio_rpmsg_bus.c | 120 --- 2 files changed, 120 insertions(+), 120 deletions(-) diff --git a/dr

[RFC PATCH 06/22] vhost: Introduce configfs entry for configuring VHOST

2020-07-02 Thread Kishon Vijay Abraham I
by letting VHOST client driver to be selected in the userspace. Signed-off-by: Kishon Vijay Abraham I --- drivers/vhost/Makefile| 2 +- drivers/vhost/vhost.c | 63 +++ drivers/vhost/vhost_cfs.c | 354 ++ include/linux/vhost.h | 11 ++ 4 fil

[RFC PATCH 15/22] samples/rpmsg: Setup delayed work to send message

2020-07-02 Thread Kishon Vijay Abraham I
Let us not send any message to the remote processor before announce_create() callback has been invoked. Since announce_create() is only invoked after ->probe() is completed, setup delayed work to start sending message to the remote processor. Signed-off-by: Kishon Vijay Abraham I --- samp

[RFC PATCH 14/22] rpmsg: Add VHOST based remote processor messaging bus

2020-07-02 Thread Kishon Vijay Abraham I
Add a VHOST-based inter-processor communication bus, which enables kernel drivers to communicate with VIRTIO-based messaging bus, running on remote processors, over shared memory using a simple messaging protocol. Signed-off-by: Kishon Vijay Abraham I --- drivers/rpmsg/Kconfig | 10

[RFC PATCH 22/22] NTB: Describe ntb_virtio and ntb_vhost client in the documentation

2020-07-02 Thread Kishon Vijay Abraham I
Add a blurb in Documentation/ntb.txt to describe the ntb_virtio and ntb_vhost client Signed-off-by: Kishon Vijay Abraham I --- Documentation/driver-api/ntb.rst | 11 +++ 1 file changed, 11 insertions(+) diff --git a/Documentation/driver-api/ntb.rst b/Documentation/driver-api/ntb.rst

[RFC PATCH 19/22] PCI: endpoint: Add EP function driver to provide VHOST interface

2020-07-02 Thread Kishon Vijay Abraham I
Add a new endpoint function driver to register VHOST device and provide interface for the VHOST driver to access virtqueues created by the remote host (using VIRTIO). Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/endpoint/functions/Kconfig| 11 + drivers/pci/endpoint/functions

[RFC PATCH 20/22] NTB: Add a new NTB client driver to implement VIRTIO functionality

2020-07-02 Thread Kishon Vijay Abraham I
using gen_pool for providing buffers to the virtio client driver. The virtio client driver should only provide this buffer region to the remote vhost driver. Signed-off-by: Kishon Vijay Abraham I --- drivers/ntb/Kconfig | 9 + drivers/ntb/Makefile | 1 + drivers/ntb/ntb_virtio.c | 853

[RFC PATCH 16/22] samples/rpmsg: Wait for address to be bound to rpdev for sending message

2020-07-02 Thread Kishon Vijay Abraham I
(rpmsg_client_sample running in vhost system) before sending messages to the remote virtio_rpmsg_bus. Signed-off-by: Kishon Vijay Abraham I --- samples/rpmsg/rpmsg_client_sample.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/samples/rpmsg/rpmsg_client_sample.c b

[RFC PATCH 17/22] rpmsg.txt: Add Documentation to configure rpmsg using configfs

2020-07-02 Thread Kishon Vijay Abraham I
Add Documentation on how rpmsg device can be created using configfs required for vhost_rpmsg_bus.c Signed-off-by: Kishon Vijay Abraham I --- Documentation/rpmsg.txt | 56 + 1 file changed, 56 insertions(+) diff --git a/Documentation/rpmsg.txt b

[RFC PATCH 21/22] NTB: Add a new NTB client driver to implement VHOST functionality

2020-07-02 Thread Kishon Vijay Abraham I
any vhost client driver can exchange data with the remote virtio client driver. Signed-off-by: Kishon Vijay Abraham I --- drivers/ntb/Kconfig | 9 + drivers/ntb/Makefile| 1 + drivers/ntb/ntb_vhost.c | 776 3 files changed, 786 insertions

[RFC PATCH 12/22] virtio: Add ops to allocate and free buffer

2020-07-02 Thread Kishon Vijay Abraham I
pool whenever requested by virtio client driver. Signed-off-by: Kishon Vijay Abraham I --- include/linux/virtio_config.h | 42 +++ 1 file changed, 42 insertions(+) diff --git a/include/linux/virtio_config.h b/include/linux/virtio_config.h index bb4cc4910750

[RFC PATCH 13/22] rpmsg: virtio_rpmsg_bus: Use virtio_alloc_buffer() and virtio_free_buffer()

2020-07-02 Thread Kishon Vijay Abraham I
Vijay Abraham I --- drivers/rpmsg/virtio_rpmsg_bus.c | 32 ++-- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/drivers/rpmsg/virtio_rpmsg_bus.c b/drivers/rpmsg/virtio_rpmsg_bus.c index f91143b25af7..2b25a8ae1539 100644 --- a/drivers/rpmsg

[RFC PATCH 18/22] virtio_pci: Add VIRTIO driver for VHOST on Configurable PCIe Endpoint device

2020-07-02 Thread Kishon Vijay Abraham I
Add VIRTIO driver to support Linux VHOST on Configurable PCIe Endpoint device in the backend. Signed-off-by: Kishon Vijay Abraham I --- drivers/virtio/Kconfig | 9 + drivers/virtio/Makefile | 1 + drivers/virtio/virtio_pci_epf.c | 670

[RFC PATCH 07/22] virtio_pci: Use request_threaded_irq() instead of request_irq()

2020-07-02 Thread Kishon Vijay Abraham I
Some of the virtio drivers (like virtio_rpmsg_bus.c) use sleeping functions like mutex_*() in the virtqueue callback. Use request_threaded_irq() instead of request_irq() in order for the virtqueue callbacks to be executed in thread context instead of interrupt context. Signed-off-by: Kishon Vijay

[RFC PATCH 04/22] vringh: Add helpers to access vring in MMIO

2020-07-02 Thread Kishon Vijay Abraham I
provided by the virtio if the vhost device supports translation. This is in preparation for adding VHOST devices (PCIe Endpoint or Host in NTB) to access vrings created by VIRTIO devices (PCIe RC or Host in NTB) over memory mapped IO. Signed-off-by: Kishon Vijay Abraham I --- drivers/vhost/vringh.c

[RFC PATCH 10/22] rpmsg: virtio_rpmsg_bus: Add Address Service Notification support

2020-07-02 Thread Kishon Vijay Abraham I
rpmsg device using VHOST framework in Linux. Signed-off-by: Kishon Vijay Abraham I --- drivers/rpmsg/virtio_rpmsg_bus.c | 92 +--- 1 file changed, 85 insertions(+), 7 deletions(-) diff --git a/drivers/rpmsg/virtio_rpmsg_bus.c b/drivers/rpmsg/virtio_rpmsg_bus.c index

[RFC PATCH 05/22] vhost: Add MMIO helpers for operations on vhost virtqueue

2020-07-02 Thread Kishon Vijay Abraham I
for virtqueue in MMIO (helpers for virtqueue in kernel space and user space can be added later). Signed-off-by: Kishon Vijay Abraham I --- drivers/vhost/Kconfig | 1 + drivers/vhost/vhost.c | 292 ++ include/linux/vhost.h | 22 3 files changed, 315

[RFC PATCH 09/22] rpmsg: Introduce configfs entry for configuring rpmsg

2020-07-02 Thread Kishon Vijay Abraham I
HOST based rpmsg bus (channels are created in VIRTIO based bus during namespace announcement). Signed-off-by: Kishon Vijay Abraham I --- drivers/rpmsg/Makefile | 2 +- drivers/rpmsg/rpmsg_cfs.c | 394 + drivers/rpmsg/rpmsg_core.c | 7 + dri

[RFC PATCH 03/22] vhost: Add ops for the VHOST driver to configure VHOST device

2020-07-02 Thread Kishon Vijay Abraham I
ices (like PCIe or NTB or platform device). Signed-off-by: Kishon Vijay Abraham I --- drivers/vhost/vhost.c | 185 ++ include/linux/vhost.h | 57 + 2 files changed, 242 insertions(+) diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vho

[RFC PATCH 00/22] Enhance VHOST to enable SoC-to-SoC communication

2020-07-02 Thread Kishon Vijay Abraham I
ICE VHOST| |X | ++ +---+ +-+ +--+ This was initially proposed here [1] [1] -> https://lore.kernel.org/r/2cf00ec4-1ed6-f66e-6897-006d1a5b6...@ti.com Kishon Vijay Abraham I (22): vhost: Make _feature_ bits a property of vhost device vhost: Int

[RFC PATCH 02/22] vhost: Introduce standard Linux driver model in VHOST

2020-07-02 Thread Kishon Vijay Abraham I
Introduce standard driver model in VHOST. This will facilitate using multiple VHOST drivers (like net, scsi etc.,) over different VHOST devices using MMIO (like PCIe or NTB), using kernel pointers (like platform devices) or using userspace pointers. Signed-off-by: Kishon Vijay Abraham I

Re: [PATCH net-next v2 2/6] phy: armada38x: add common phy support

2019-02-08 Thread Kishon Vijay Abraham I
f-by: Russell King This patch will conflict with PHY pull request (in the marvell Kconfig and Makefile). But the resolution should be trivial and should be okay to go via -net tree. FWIW Acked-by: Kishon Vijay Abraham I > --- > drivers/phy/marvell/Kconfig| 10 ++ > d

Re: [PATCH net-next v2 0/6] Add comphy support for Armada 38x

2019-02-08 Thread Kishon Vijay Abraham I
Hi, On 08/02/19 1:28 PM, Thomas Petazzoni wrote: > Hello David, > > On Thu, 07 Feb 2019 18:10:49 -0800 (PST) > David Miller wrote: > >> From: Russell King - ARM Linux admin >> Date: Thu, 7 Feb 2019 16:18:25 + >> >>> This series adds support for the comphy for Armada 38x, which allows >>> t

Re: [RFC PATCH 4/6] dt-bindings: update mvneta binding document

2018-12-07 Thread Kishon Vijay Abraham I
Hi, On 07/12/18 5:03 PM, Russell King - ARM Linux wrote: > On Fri, Dec 07, 2018 at 04:43:27PM +0530, Kishon Vijay Abraham I wrote: >> Russell, >> >> No, I haven't merged patches from this series. That would have failed >> compilation since Grygorii modified enu

Re: [RFC PATCH 4/6] dt-bindings: update mvneta binding document

2018-12-07 Thread Kishon Vijay Abraham I
Russell, On 07/12/18 4:11 PM, Russell King - ARM Linux wrote: > On Fri, Dec 07, 2018 at 09:37:54AM +0530, Kishon Vijay Abraham I wrote: >> Hi Russell, >> >> On 05/12/18 9:00 PM, Rob Herring wrote: >>> On Wed, Dec 5, 2018 at 5:00 AM Russell King - ARM Linux >&g

Re: [RFC PATCH 4/6] dt-bindings: update mvneta binding document

2018-12-06 Thread Kishon Vijay Abraham I
Hi Russell, On 05/12/18 9:00 PM, Rob Herring wrote: > On Wed, Dec 5, 2018 at 5:00 AM Russell King - ARM Linux > wrote: >> >> On Mon, Dec 03, 2018 at 05:54:55PM -0600, Rob Herring wrote: >>> On Mon, Nov 12, 2018 at 12:31:02PM +, Russell King wrote: Signed-off-by: Russell King >>> >>> Nee

Re: [RFC PATCH 0/6] Armada 38x comphy driver to support 2.5Gbps networking

2018-11-21 Thread Kishon Vijay Abraham I
Hi Russell, On 14/11/18 4:26 PM, Russell King - ARM Linux wrote: > On Wed, Nov 14, 2018 at 01:39:29PM +0530, Kishon Vijay Abraham I wrote: >> Hi, >> >> On 12/11/18 5:59 PM, Russell King - ARM Linux wrote: >>> Hi, >>> >>> This series adds support

Re: [RFC PATCH 5/6] net: marvell: neta: add support for 2500base-X

2018-11-21 Thread Kishon Vijay Abraham I
Hi, On 14/11/18 4:41 PM, Russell King - ARM Linux wrote: > On Wed, Nov 14, 2018 at 02:18:14PM +0530, Kishon Vijay Abraham I wrote: >> Hi, >> >> On 12/11/18 6:01 PM, Russell King wrote: >>> Signed-off-by: Russell King >>> --- >>

Re: [RFC PATCH 5/6] net: marvell: neta: add support for 2500base-X

2018-11-14 Thread Kishon Vijay Abraham I
Hi, On 12/11/18 6:01 PM, Russell King wrote: > Signed-off-by: Russell King > --- > drivers/net/ethernet/marvell/mvneta.c | 58 > ++- > 1 file changed, 51 insertions(+), 7 deletions(-) > > diff --git a/drivers/net/ethernet/marvell/mvneta.c > b/drivers/net/ethern

Re: [RFC PATCH 2/6] phy: armada38x: add common phy support

2018-11-14 Thread Kishon Vijay Abraham I
Hi, On 12/11/18 6:00 PM, Russell King wrote: > Add support for the Armada 38x common phy to allow us to change the > speed of the Ethernet serdes lane. This driver only supports > manipulation of the speed, it does not support configuration of the > common phy. > > Signed-off-by: Russell King >

Re: [RFC PATCH 0/6] Armada 38x comphy driver to support 2.5Gbps networking

2018-11-14 Thread Kishon Vijay Abraham I
Hi, On 12/11/18 5:59 PM, Russell King - ARM Linux wrote: > Hi, > > This series adds support for dynamically switching between 1Gbps > and 2.5Gbps networking for the Marvell Armada 38x SoCs, tested on > Armada 388 on the Clearfog platform. > > This is necessary to be able to connect (eg) a Clearf

Re: [PATCH net-next 04/10] phy: add 2.5G SGMII mode to the phy_mode enum

2018-03-19 Thread Kishon Vijay Abraham I
On Friday 16 March 2018 04:03 PM, Antoine Tenart wrote: > This patch adds one more generic PHY mode to the phy_mode enum, to allow > configuring generic PHYs to the 2.5G SGMII mode by using the set_mode > callback. > > Signed-off-by: Antoine Tenart Acked-by: Kishon

Re: [PATCH net-next v5 2/4] phy: cp110-comphy: 2.5G SGMII mode

2018-01-15 Thread Kishon Vijay Abraham I
On Friday 12 January 2018 01:21 PM, Antoine Tenart wrote: > This patch allow the CP100 comphy to configure some lanes in the > 2.5G SGMII mode. This mode is quite close to SGMII and uses nearly the > same code path. > > Signed-off-by: Antoine Tenart Acked-by: Kishon

Re: [PATCH net-next v5 1/4] phy: add 2.5G SGMII mode to the phy_mode enum

2018-01-15 Thread Kishon Vijay Abraham I
set_mode >> callback. >> >> Signed-off-by: Antoine Tenart Acked-by: Kishon Vijay Abraham I > > PHY layer folks, and reviews please? > >> --- >> include/linux/phy/phy.h | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/include/linux/

Re: [PATCH net] phy: mvebu-cp110: checking for NULL instead of IS_ERR()

2017-09-11 Thread Kishon Vijay Abraham I
Hi, On Saturday 09 September 2017 09:39 AM, David Miller wrote: > From: Dan Carpenter > Date: Fri, 8 Sep 2017 13:31:37 +0300 > >> devm_ioremap_resource() never returns NULL, it only returns error >> pointers so this test needs to be changed. >> >> Fixes: d0438bd6aa09 ("phy: add the mvebu cp110 c

Re: [PATCH net-next v4 02/13] phy: add the mvebu cp110 comphy driver

2017-08-30 Thread Kishon Vijay Abraham I
acks for the its PHYs so that consumers can configure the modes > used. > > As of this commit, two modes are supported by the comphy driver: sgmii > and 10gkr. > > Signed-off-by: Antoine Tenart Acked-by: Kishon Vijay Abraham I > --- > drivers/phy/marvell/Kconfig

Re: [PATCH net-next v3 02/13] phy: add the mvebu cp110 comphy driver

2017-08-29 Thread Kishon Vijay Abraham I
Hi, On Tuesday 29 August 2017 06:42 PM, Antoine Tenart wrote: > Hi Kishon, > > On Tue, Aug 29, 2017 at 05:55:06PM +0530, Kishon Vijay Abraham I wrote: >> On Tuesday 29 August 2017 04:53 PM, Antoine Tenart wrote: >>> On Tue, Aug 29, 2017 at 04:34:17PM +0530, Kishon Vijay

Re: [PATCH net-next v3 02/13] phy: add the mvebu cp110 comphy driver

2017-08-29 Thread Kishon Vijay Abraham I
Hi Antoine, On Monday 28 August 2017 08:27 PM, Antoine Tenart wrote: > On the CP110 unit, which can be found on various Marvell platforms such > as the 7k and 8k (currently), a comphy (common PHYs) hardware block can > be found. This block provides a number of PHYs which can be used in > various m

Re: [PATCH net-next v3 02/13] phy: add the mvebu cp110 comphy driver

2017-08-29 Thread Kishon Vijay Abraham I
Hi, On Tuesday 29 August 2017 04:53 PM, Antoine Tenart wrote: > Hi Kishon, > > On Tue, Aug 29, 2017 at 04:34:17PM +0530, Kishon Vijay Abraham I wrote: >> On Monday 28 August 2017 08:27 PM, Antoine Tenart wrote: >>> >>> +config PHY_MVEBU_CP110_COMPHY >&

Re: [PATCH net-next v3 01/13] phy: add sgmii and 10gkr modes to the phy_mode enum

2017-08-29 Thread Kishon Vijay Abraham I
Hi, On Tuesday 29 August 2017 04:57 PM, Antoine Tenart wrote: > Hi Kishon, > > On Tue, Aug 29, 2017 at 04:08:29PM +0530, Kishon Vijay Abraham I wrote: >> On Monday 28 August 2017 08:27 PM, Antoine Tenart wrote: >>> This patch adds more generic PHY modes to the phy

Re: [PATCH net-next v3 02/13] phy: add the mvebu cp110 comphy driver

2017-08-29 Thread Kishon Vijay Abraham I
Hi Antoine, On Monday 28 August 2017 08:27 PM, Antoine Tenart wrote: > On the CP110 unit, which can be found on various Marvell platforms such > as the 7k and 8k (currently), a comphy (common PHYs) hardware block can > be found. This block provides a number of PHYs which can be used in > various m

Re: [PATCH net-next v3 01/13] phy: add sgmii and 10gkr modes to the phy_mode enum

2017-08-29 Thread Kishon Vijay Abraham I
On Monday 28 August 2017 08:27 PM, Antoine Tenart wrote: > This patch adds more generic PHY modes to the phy_mode enum, to > allow configuring generic PHYs to the SGMII and/or the 10GKR mode > by using the set_mode callback. > > Signed-off-by: Antoine Tenart Acked-by: Kishon

Re: [PATCH v2 0/4] USB support for Broadcom NSP SoC

2017-01-26 Thread Kishon Vijay Abraham I
Hi, On Thursday 26 January 2017 10:57 PM, Florian Fainelli wrote: > On 01/26/2017 07:34 AM, Kishon Vijay Abraham I wrote: >> >> >> On Tuesday 17 January 2017 09:44 PM, Yendapally Reddy Dhananjaya Reddy wrote: >>> This patch set contains the usb support for Broadco

Re: [PATCH v2 0/4] USB support for Broadcom NSP SoC

2017-01-26 Thread Kishon Vijay Abraham I
On Tuesday 17 January 2017 09:44 PM, Yendapally Reddy Dhananjaya Reddy wrote: > This patch set contains the usb support for Broadcom NSP SoC. The > usb3 phy is internal to the SoC and is accessed through mdio interface. > The mdio interface can be used to access either internal usb3 phy or > exte

Re: [PATCH 0/6] USB support for Broadcom NSP SoC

2017-01-16 Thread Kishon Vijay Abraham I
On Tuesday 13 December 2016 07:50 AM, Florian Fainelli wrote: > On 11/09/2016 01:33 AM, Yendapally Reddy Dhananjaya Reddy wrote: >> This patch set contains the usb support for Broadcom NSP SoC. >> The usb phy is connected through mdio interface. The mdio interface >> can be used to access either

Re: [PATCH v4 7/7] phy: Add Northstar2 PCI Phy support

2016-06-30 Thread Kishon Vijay Abraham I
Hi, On Monday 06 June 2016 06:11 PM, Pramod Kumar wrote: > Add PCI Phy support for Broadcom Northstar2 SoCs. This driver uses the > interface from the iproc mdio mux driver to enable the devices > respective phys. > > Reviewed-by: Andrew Lunn > Signed-off-by: Jon Mason > Signed-off-by: Pramod