[PATCH v2 07/14] phy: cadence: cadence-sierra: Move all reset_control_get*() to a separate function

2020-12-21 Thread Kishon Vijay Abraham I
No functional change. Group devm_reset_control_get() and devm_reset_control_get_optional() to a separate function. Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/cadence/phy-cadence-sierra.c | 36 1 file changed, 25 insertions(+), 11 deletions(-) diff --git a

[PATCH v2 05/14] phy: cadence: cadence-sierra: Create PHY only for "phy" or "link" sub-nodes

2020-12-21 Thread Kishon Vijay Abraham I
d device tree) which represent the actual PHY. Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/cadence/phy-cadence-sierra.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/phy/cadence/phy-cadence-sierra.c b/drivers/phy/cadence/phy-cadence-sierra.c index 19f32ae877b9..f7ba0

[PATCH v2 04/14] phy: ti: j721e-wiz: Get PHY properties only for "phy" or "link" subnode

2020-12-21 Thread Kishon Vijay Abraham I
node's name is "phy" or "link" subnode. Ideally all PHY dt nodes should have node name as "phy", however existing devicetree used "link" as subnode. So in order to maintain old DT compatibility get PHY properties for "phy" or "link" s

[PATCH v2 03/14] dt-bindings: phy: cadence-sierra: Add bindings for the PLLs within SERDES

2020-12-21 Thread Kishon Vijay Abraham I
Add binding for the PLLs within SERDES. Signed-off-by: Kishon Vijay Abraham I --- .../bindings/phy/phy-cadence-sierra.yaml | 89 ++- 1 file changed, 86 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/phy-cadence-sierra.yaml b/Documentation

[PATCH v2 00/14] PHY: Add support in Sierra to use external clock

2020-12-21 Thread Kishon Vijay Abraham I
) Fix error handling code 5) Include DT patches in this series (I can send this separately to DT MAINTAINER once the driver patches are merged) [1] -> http://lore.kernel.org/r/20201103035556.21260-1-kis...@ti.com Kishon Vijay Abraham I (14): phy: cadence: Sierra: Fix PHY power_on sequence

[PATCH v2 02/14] phy: ti: j721e-wiz: Invoke wiz_init() before of_platform_device_create()

2020-12-21 Thread Kishon Vijay Abraham I
wiz_init() immediately before invoking of_platform_device_create(). Fixes: 091876cc355d ("phy: ti: j721e-wiz: Add support for WIZ module present in TI J721E SoC") Signed-off-by: Kishon Vijay Abraham I Cc: # v5.10 --- drivers/phy/ti/phy-j721e-wiz.c | 17 +++-- 1 file

Re: Correct ordering of phy_init and phy_power_on

2020-12-20 Thread Kishon Vijay Abraham I
Hi, On 21/12/20 4:36 am, Ahmad Fatoum wrote: > Hello, > > I just noticed that USB controller drivers differ in the order in which they > do phy_init and phy_power_on. For example: > > __dwc2_lowlevel_hw_enable(): > > ret = phy_power_on(hsotg->phy); > if (ret == 0)

Re: [PATCH 1/9] dt-bindings: phy: cadence-sierra: Add bindings for the PLLs within SERDES

2020-12-20 Thread Kishon Vijay Abraham I
Hi Rob, On 05/11/20 11:33 pm, Rob Herring wrote: > On Tue, Nov 03, 2020 at 09:25:48AM +0530, Kishon Vijay Abraham I wrote: >> Add binding for the PLLs within SERDES. >> >> Signed-off-by: Kishon Vijay Abraham I >> --- >> .../bindings/phy/

Re: [PATCH v5] PCI: cadence: Retrain Link to work around Gen2 training defect.

2020-12-18 Thread Kishon Vijay Abraham I
Hi Rob, On 16/12/20 10:31 pm, Rob Herring wrote: > On Wed, Dec 16, 2020 at 9:01 AM Kishon Vijay Abraham I wrote: >> >> Hi Rob, >> >> On 15/12/20 9:23 pm, Rob Herring wrote: >>> On Tue, Dec 15, 2020 at 1:00 AM Kishon Vijay Abraham I >>> wrote: >

Re: [PATCH v5] PCI: cadence: Retrain Link to work around Gen2 training defect.

2020-12-16 Thread Kishon Vijay Abraham I
Hi Rob, On 15/12/20 9:23 pm, Rob Herring wrote: > On Tue, Dec 15, 2020 at 1:00 AM Kishon Vijay Abraham I wrote: >> >> From: Nadeem Athani >> >> Cadence controller will not initiate autonomous speed change if strapped as >> Gen2. The Retrain Link bit is set as

Re: [PATCH v4 1/2] dt-bindings: pci: Retrain Link to work around Gen2 training defect.

2020-12-14 Thread Kishon Vijay Abraham I
Hi, On 14/12/20 8:35 pm, Rob Herring wrote: > On Sun, Dec 13, 2020 at 10:21 PM Kishon Vijay Abraham I wrote: >> >> Hi Nadeem, >> >> On 12/12/20 12:37 pm, Athani Nadeem Ladkhan wrote: >>> Hi Rob / Kishon, >>> >>>> -Original Message---

[PATCH v5] PCI: cadence: Retrain Link to work around Gen2 training defect.

2020-12-14 Thread Kishon Vijay Abraham I
From: Nadeem Athani Cadence controller will not initiate autonomous speed change if strapped as Gen2. The Retrain Link bit is set as quirk to enable this speed change. Signed-off-by: Nadeem Athani [kis...@ti.com: Enable the workaround for TI's J721E SoC] Signed-off-by: Kishon Vijay Abra

Re: [PATCH v4 1/2] dt-bindings: pci: Retrain Link to work around Gen2 training defect.

2020-12-13 Thread Kishon Vijay Abraham I
t; ; Bjorn Helgaas ; PCI >> ; linux-kernel@vger.kernel.org; Kishon Vijay >> Abraham I ; devicet...@vger.kernel.org; Milind Parab >> ; Swapnil Kashinath Jakhade >> ; Parshuram Raju Thombare >> >> Subject: Re: [PATCH v4 1/2] dt-bindings: pci: Retrain Link to work around &

[PATCH v2 4/6] arm64: dts: ti: k3-j7200-main: Add PCIe device tree node

2020-12-10 Thread Kishon Vijay Abraham I
Add PCIe device tree node (both RC and EP) for the single PCIe instance present in j7200. Signed-off-by: Kishon Vijay Abraham I --- arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 48 +++ 1 file changed, 48 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b

[PATCH v2 5/6] arm64: dts: ti: k3-j7200-common-proc-board: Enable SERDES0

2020-12-10 Thread Kishon Vijay Abraham I
Add sub-nodes to SERDES0 DT node to represent SERDES0 is connected to PCIe and QSGMII (multi-link SERDES). Signed-off-by: Kishon Vijay Abraham I --- .../dts/ti/k3-j7200-common-proc-board.dts | 23 +++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3

[PATCH v2 6/6] arm64: dts: ti: k3-j7200-common-proc-board: Enable PCIe

2020-12-10 Thread Kishon Vijay Abraham I
x2 lane PCIe slot in the common processor board is enabled and connected to j7200 SOM. Add PCIe DT node in common processor board to reflect the same. Signed-off-by: Kishon Vijay Abraham I --- .../boot/dts/ti/k3-j7200-common-proc-board.dts| 15 +++ 1 file changed, 15 insertions

[PATCH v2 3/6] arm64: dts: ti: k3-j7200-main: Add DT for WIZ and SERDES

2020-12-10 Thread Kishon Vijay Abraham I
Add dt node for the single instance of WIZ and SERDES module shared by PCIe, CPSW (SGMII/QSGMII) and USB. Signed-off-by: Kishon Vijay Abraham I --- arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 61 +++ 1 file changed, 61 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3

[PATCH v2 2/6] arm64: dts: ti: k3-j721e-main: Remove "syscon" nodes added for pcieX_ctrl

2020-12-10 Thread Kishon Vijay Abraham I
dts: ti: k3-j721e-main: Add PCIe device tree nodes") Signed-off-by: Kishon Vijay Abraham I Reviewed-by: Rob Herring --- arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 48 --- 1 file changed, 8 insertions(+), 40 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.

[PATCH v2 1/6] arm64: dts: ti: k3-j721e-main: Fix supported max outbound regions

2020-12-10 Thread Kishon Vijay Abraham I
value as 32, remove "cdns,max-outbound-regions" from endpoint DT node. Fixes: 4e5833884f66 ("arm64: dts: ti: k3-j721e-main: Add PCIe device tree nodes") Signed-off-by: Kishon Vijay Abraham I --- arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 4 1 file changed, 4 deletions(-)

[PATCH v2 0/6] PCI: J7200/J721E PCIe bindings

2020-12-10 Thread Kishon Vijay Abraham I
v1 of the patch series is sent [1] Changes from v1: 1) Include only the device tree patches here (the binding patch is sent separately) 2) Include couple of patches that fixes J721E DTS. [1] -> http://lore.kernel.org/r/20201102101154.13598-1-kis...@ti.com Kishon Vijay Abraham I (6): ar

[RESEND PATCH 2/4] dt-bindings: PCI: Add host mode dt-bindings for TI's J7200 SoC

2020-12-10 Thread Kishon Vijay Abraham I
Add host mode dt-bindings for TI's J7200 SoC. Signed-off-by: Kishon Vijay Abraham I Reviewed-by: Rob Herring --- .../bindings/pci/ti,j721e-pci-host.yaml | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/ti,

[RESEND PATCH 3/4] dt-bindings: PCI: Add EP mode dt-bindings for TI's J7200 SoC

2020-12-10 Thread Kishon Vijay Abraham I
Add PCIe EP mode dt-bindings for TI's J7200 SoC. Signed-off-by: Kishon Vijay Abraham I Reviewed-by: Rob Herring --- .../devicetree/bindings/pci/ti,j721e-pci-ep.yaml | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/p

[RESEND PATCH 4/4] PCI: j721e: Get offset within "syscon" from "ti,syscon-pcie-ctrl" phandle arg

2020-12-10 Thread Kishon Vijay Abraham I
o76bo1goepwm1tusjwoty_bry2hfsgtevmqtr...@mail.gmail.com Signed-off-by: Kishon Vijay Abraham I Reviewed-by: Rob Herring --- drivers/pci/controller/cadence/pci-j721e.c | 28 +++--- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/drivers/pci/controller/cadence/

[RESEND PATCH 1/4] dt-bindings: pci: ti,j721e: Fix "ti,syscon-pcie-ctrl" to take argument

2020-12-10 Thread Kishon Vijay Abraham I
usjwoty_bry2hfsgtevmqtr...@mail.gmail.com Fixes: 431b53b81cdc ("dt-bindings: PCI: Add host mode dt-bindings for TI's J721E SoC") Fixes: 45b39e928966 ("dt-bindings: PCI: Add EP mode dt-bindings for TI's J721E SoC") Signed-off-by: Kishon Vijay Abraham I Reviewed-by: Rob Herring

[RESEND PATCH 0/4] PCI: J7: J7200/J721E PCIe bindings

2020-12-10 Thread Kishon Vijay Abraham I
://lore.kernel.org/r/20201105165627.GA1474647@bogus Ack for "PCI: j721e: Get offset within "syscon" from "ti,syscon-pcie-ctrl" phandle arg" http://lore.kernel.org/r/cal_jsqkqwx2qkjb5easutdhh5devc+xh33yxrcbwe+ocrrq...@mail.gmail.com Kishon Vijay Abraham I (4): dt-b

Re: [PATCH v2 0/3] PCI: J721E: Fix Broken DT w.r.t SYSCON DT

2020-12-10 Thread Kishon Vijay Abraham I
Hi Lorenzo, On 10/12/20 12:17 pm, Kishon Vijay Abraham I wrote: > Hi Lorenzo, > > On 04/12/20 1:21 pm, Kishon Vijay Abraham I wrote: >> Previously a subnode to syscon node was added which has the >> exact memory mapped address of pcie_ctrl but based on review comment >&g

Re: [PATCH v2 0/3] PCI: J721E: Fix Broken DT w.r.t SYSCON DT

2020-12-09 Thread Kishon Vijay Abraham I
Hi Lorenzo, On 04/12/20 1:21 pm, Kishon Vijay Abraham I wrote: > Previously a subnode to syscon node was added which has the > exact memory mapped address of pcie_ctrl but based on review comment > provided by Rob [1], the offset is now being passed as argument to > "ti,syscon-p

Re: [PATCH v8 16/18] NTB: tool: Enable the NTB/PCIe link on the local or remote side of bridge

2020-12-07 Thread Kishon Vijay Abraham I
Hi Dave, On 07/12/20 9:25 pm, Jiang, Dave wrote: > > >> -Original Message----- >> From: Kishon Vijay Abraham I >> Sent: Wednesday, November 11, 2020 8:36 AM >> To: Bjorn Helgaas ; Jonathan Corbet >> ; Kishon Vijay Abraham I ; Lorenzo >> Pieral

Re: [PATCH v8 15/18] NTB: Add support for EPF PCI-Express Non-Transparent Bridge

2020-12-07 Thread Kishon Vijay Abraham I
Hi Dave, On 07/12/20 9:27 pm, Jiang, Dave wrote: > > >> -Original Message----- >> From: Kishon Vijay Abraham I >> Sent: Wednesday, November 11, 2020 8:36 AM >> To: Bjorn Helgaas ; Jonathan Corbet >> ; Kishon Vijay Abraham I ; Lorenzo >> Pieral

Re: [PATCH v7 0/8] rpmsg: Make RPMSG name service modular

2020-12-07 Thread Kishon Vijay Abraham I
+Lorenzo, Bjorn, Rob Hi Guennadi, On 04/12/20 11:21 pm, Mathieu Poirier wrote: > I am adding Vincent Whitchurch and the virtualization mailing list... > > On Thu, 3 Dec 2020 at 13:42, Guennadi Liakhovetski > wrote: >> >> (adding vhost maintainers and the author of [1]) >> >> Hi, >> >> I'm worki

[PATCH v2 3/3] arm64: dts: ti: k3-j721e-main: Remove "syscon" nodes added for pcieX_ctrl

2020-12-03 Thread Kishon Vijay Abraham I
dts: ti: k3-j721e-main: Add PCIe device tree nodes") Signed-off-by: Kishon Vijay Abraham I --- arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 48 --- 1 file changed, 8 insertions(+), 40 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dt

[PATCH v2 2/3] PCI: j721e: Get offset within "syscon" from "ti,syscon-pcie-ctrl" phandle arg

2020-12-03 Thread Kishon Vijay Abraham I
o76bo1goepwm1tusjwoty_bry2hfsgtevmqtr...@mail.gmail.com Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/controller/cadence/pci-j721e.c | 28 +++--- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/drivers/pci/controller/cadence/pci-j721e.c b/drivers/pci/control

[PATCH v2 1/3] dt-bindings: pci: ti,j721e: Fix "ti,syscon-pcie-ctrl" to take argument

2020-12-03 Thread Kishon Vijay Abraham I
usjwoty_bry2hfsgtevmqtr...@mail.gmail.com Fixes: 431b53b81cdc ("dt-bindings: PCI: Add host mode dt-bindings for TI's J721E SoC") Fixes: 45b39e928966 ("dt-bindings: PCI: Add EP mode dt-bindings for TI's J721E SoC") Signed-off-by: Kishon Vijay Abraham I --- .../d

[PATCH v2 0/3] PCI: J721E: Fix Broken DT w.r.t SYSCON DT

2020-12-03 Thread Kishon Vijay Abraham I
ver change should be merged first and the driver takes care of maintaining old DT compatibility. Changes frm v1: *) Remove use of allOf in schema *) Added Fixes tag *) Maintain old DT compatibility [1] -> http://lore.kernel.org/r/cal_jsqkiuco76bo1goepwm1tusjwoty_bry2hfsgtevmqtr...@mail.gmail.com

Re: [PATCH v3] PCI: cadence: Retrain Link to work around Gen2 training defect.

2020-11-26 Thread Kishon Vijay Abraham I
Hi Tom, Nadeem, On 27/10/20 12:50 am, Rob Herring wrote: > On Fri, Oct 23, 2020 at 1:57 AM Kishon Vijay Abraham I wrote: >> >> Hi Nadeem, >> >> On 19/10/20 10:48 pm, Athani Nadeem Ladkhan wrote: >>> Hi Kishon, >>> >>>> -----Original

Re: [PATCH 1/3] dt-bindings: pci: ti,j721e: Fix "ti,syscon-pcie-ctrl" to take argument

2020-11-26 Thread Kishon Vijay Abraham I
Hi Rob, On 20/11/20 10:39 am, Kishon Vijay Abraham I wrote: > Hi Rob, > > On 19/11/20 2:41 am, Rob Herring wrote: >> On Mon, Nov 16, 2020 at 11:01:39PM +0530, Kishon Vijay Abraham I wrote: >>> Fix binding documentation of "ti,syscon-pcie-ctrl" to take phandle

Re: [PATCH 1/3] dt-bindings: pci: ti,j721e: Fix "ti,syscon-pcie-ctrl" to take argument

2020-11-19 Thread Kishon Vijay Abraham I
Hi Rob, On 19/11/20 2:41 am, Rob Herring wrote: > On Mon, Nov 16, 2020 at 11:01:39PM +0530, Kishon Vijay Abraham I wrote: >> Fix binding documentation of "ti,syscon-pcie-ctrl" to take phandle with >> argument. The argument is the register offset within "sys

[PATCH 1/3] dt-bindings: pci: ti,j721e: Fix "ti,syscon-pcie-ctrl" to take argument

2020-11-16 Thread Kishon Vijay Abraham I
igned-off-by: Kishon Vijay Abraham I --- .../devicetree/bindings/pci/ti,j721e-pci-ep.yaml | 12 .../devicetree/bindings/pci/ti,j721e-pci-host.yaml | 12 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/ti,

[PATCH 0/3] PCI: J721E: Fix Broken DT w.r.t SYSCON DT

2020-11-16 Thread Kishon Vijay Abraham I
has to get in together in the -rc cycle. [1] -> Link: http://lore.kernel.org/r/cal_jsqkiuco76bo1goepwm1tusjwoty_bry2hfsgtevmqtr...@mail.gmail.com Kishon Vijay Abraham I (3): dt-bindings: pci: ti,j721e: Fix "ti,syscon-pcie-ctrl" to take argument PCI: j721e: Get offset within "

[PATCH 2/3] PCI: j721e: Get offset within "syscon" from "ti,syscon-pcie-ctrl" phandle arg

2020-11-16 Thread Kishon Vijay Abraham I
rgument to "ti,syscon-pcie-ctrl" phandle. Link: http://lore.kernel.org/r/cal_jsqkiuco76bo1goepwm1tusjwoty_bry2hfsgtevmqtr...@mail.gmail.com Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/controller/cadence/pci-j721e.c | 28 +++--- 1 file changed, 19 inser

[PATCH 3/3] arm64: dts: ti: k3-j721e-main: Remove "syscon" nodes added for pcieX_ctrl

2020-11-16 Thread Kishon Vijay Abraham I
Remove "syscon" nodes added for pcieX_ctrl and have the PCIe node point to the parent with an offset argument. Link: http://lore.kernel.org/r/cal_jsqkiuco76bo1goepwm1tusjwoty_bry2hfsgtevmqtr...@mail.gmail.com Signed-off-by: Kishon Vijay Abraham I --- arch/arm64/boot/dts/ti/k3-j721e

Re: [PATCH v7 15/18] NTB: Add support for EPF PCI-Express Non-Transparent Bridge

2020-11-16 Thread Kishon Vijay Abraham I
Hi Arnd, On 16/11/20 9:07 pm, Arnd Bergmann wrote: > On Mon, Nov 16, 2020 at 6:19 AM Kishon Vijay Abraham I wrote: >> On 12/11/20 6:54 pm, Arnd Bergmann wrote: >>> >>> This looks very promising indeed, I need to read up on the whole >>> discussion there. I al

Re: [PATCH v7 15/18] NTB: Add support for EPF PCI-Express Non-Transparent Bridge

2020-11-15 Thread Kishon Vijay Abraham I
Hi Arnd, On 12/11/20 6:54 pm, Arnd Bergmann wrote: > On Tue, Nov 10, 2020 at 4:42 PM Kishon Vijay Abraham I wrote: >> On 10/11/20 8:29 pm, Arnd Bergmann wrote: >>> On Tue, Nov 10, 2020 at 3:20 PM Kishon Vijay Abraham I >>> wrote: >>>> On 10/11/20 7:55

[PATCH v2 4/6] PCI: endpoint: Add virtual function number in pci_epc ops

2020-11-12 Thread Kishon Vijay Abraham I
Add virtual function number in pci_epc ops. EPC controller driver can perform virtual function specific initialization based on the virtual function number. Signed-off-by: Kishon Vijay Abraham I --- .../pci/controller/cadence/pcie-cadence-ep.c | 44 ++--- .../pci/controller/dwc/pcie

[PATCH v2 5/6] PCI: cadence: Add support to configure virtual functions

2020-11-12 Thread Kishon Vijay Abraham I
Now that support for SR-IOV is added in PCIe endpoint core, add support to configure virtual functions in the Cadence PCIe EP driver. Signed-off-by: Kishon Vijay Abraham I --- .../pci/controller/cadence/pcie-cadence-ep.c | 207 -- drivers/pci/controller/cadence/pcie-cadence.h

[PATCH v2 1/6] dt-bindings: PCI: pci-ep: Add binding to specify virtual function

2020-11-12 Thread Kishon Vijay Abraham I
Add binding to specify virtual function (associated with each physical function) in endpoint mode. Signed-off-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/pci/pci-ep.yaml | 9 + 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/pci

[PATCH v2 0/6] Add SR-IOV support in PCIe Endpoint Core

2020-11-12 Thread Kishon Vijay Abraham I
] v1 of the patch series can be found @ [1] [1] -> http://lore.kernel.org/r/20191231113534.30405-1-kis...@ti.com [2] -> http://lore.kernel.org/r/2020153559.19050-1-kis...@ti.com Kishon Vijay Abraham I (6): dt-bindings: PCI: pci-ep: Add binding to specify virtual function PCI: endpoin

[PATCH v2 6/6] misc: pci_endpoint_test: Populate sriov_configure ops to configure SR-IOV device

2020-11-12 Thread Kishon Vijay Abraham I
Populate sriov_configure ops with pci_sriov_configure_simple to configure SR-IOV device. Signed-off-by: Kishon Vijay Abraham I --- drivers/misc/pci_endpoint_test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/misc/pci_endpoint_test.c b/drivers/misc/pci_endpoint_test.c index

[PATCH v2 2/6] PCI: endpoint: Add support to add virtual function in endpoint core

2020-11-12 Thread Kishon Vijay Abraham I
Add support to add virtual function in endpoint core. The virtual function can only be associated with a physical function instead of a endpoint controller. Provide APIs to associate a virtual function with a physical function here. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/endpoint

[PATCH v2 3/6] PCI: endpoint: Add support to link a physical function to a virtual function

2020-11-12 Thread Kishon Vijay Abraham I
While the physical function has to be linked to endpoint controller, the virtual function has to be linked to a physical function. Add support to link a physical function to a virtual function in pci-ep-cfs. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/endpoint/pci-ep-cfs.c | 24

Re: [PATCH v7 15/18] NTB: Add support for EPF PCI-Express Non-Transparent Bridge

2020-11-12 Thread Kishon Vijay Abraham I
Hi Sherry, On 11/11/20 8:19 am, Sherry Sun wrote: > Hi Kishon, > >> Subject: Re: [PATCH v7 15/18] NTB: Add support for EPF PCI-Express Non- >> Transparent Bridge >> >> Hi Sherry, Arnd, >> >> On 10/11/20 8:29 pm, Arnd Bergmann wrote: >>> On

Re: [PATCH v2 1/7] dt-bindings: mfd: ti,j721e-system-controller.yaml: Document "syscon"

2020-11-11 Thread Kishon Vijay Abraham I
Hi Rob, On 12/11/20 2:58 am, Rob Herring wrote: > On Mon, Nov 09, 2020 at 10:34:03PM +0530, Kishon Vijay Abraham I wrote: >> Add binding documentation for "syscon" which should be a subnode of >> the system controller (scm-conf). >> >> Signed-off-by: Kishon V

[PATCH v8 15/18] NTB: Add support for EPF PCI-Express Non-Transparent Bridge

2020-11-11 Thread Kishon Vijay Abraham I
device has configurable number of memory windows (Max 4), configurable number of doorbell (Max 32), and configurable number of scratch-pad registers. Signed-off-by: Kishon Vijay Abraham I --- drivers/ntb/hw/Kconfig | 1 + drivers/ntb/hw/Makefile | 1 + drivers/ntb/hw/epf

[PATCH v8 17/18] Documentation: PCI: Add configfs binding documentation for pci-ntb endpoint function

2020-11-11 Thread Kishon Vijay Abraham I
Add binding documentation for pci-ntb endpoint function that helps in adding and configuring pci-ntb endpoint function. Signed-off-by: Kishon Vijay Abraham I --- .../PCI/endpoint/function/binding/pci-ntb.rst | 38 +++ Documentation/PCI/endpoint/index.rst | 1 + 2 files

[PATCH v8 18/18] Documentation: PCI: Add userguide for PCI endpoint NTB function

2020-11-11 Thread Kishon Vijay Abraham I
Add documentation to help users use pci-epf-ntb function driver and existing host side NTB infrastructure for NTB functionality. Signed-off-by: Kishon Vijay Abraham I Reviewed-by: Randy Dunlap --- Documentation/PCI/endpoint/index.rst | 1 + Documentation/PCI/endpoint/pci-ntb

[PATCH v8 16/18] NTB: tool: Enable the NTB/PCIe link on the local or remote side of bridge

2020-11-11 Thread Kishon Vijay Abraham I
Invoke ntb_link_enable() to enable the NTB/PCIe link on the local or remote side of the bridge. Signed-off-by: Kishon Vijay Abraham I --- drivers/ntb/test/ntb_tool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ntb/test/ntb_tool.c b/drivers/ntb/test/ntb_tool.c index b7bf3f863d79

[PATCH v8 13/18] PCI: endpoint: Add EP function driver to provide NTB functionality

2020-11-11 Thread Kishon Vijay Abraham I
Add a new endpoint function driver to provide NTB functionality using multiple PCIe endpoint instances. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/endpoint/functions/Kconfig | 12 + drivers/pci/endpoint/functions/Makefile |1 + drivers/pci/endpoint/functions/pci-epf

[PATCH v8 10/18] PCI: endpoint: Allow user to create sub-directory of 'EPF Device' directory

2020-11-11 Thread Kishon Vijay Abraham I
ributes that has to be exposed to the user. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/endpoint/pci-ep-cfs.c | 23 +++ include/linux/pci-epf.h | 3 +++ 2 files changed, 26 insertions(+) diff --git a/drivers/pci/endpoint/pci-ep-cfs.c b/drivers/p

[PATCH v8 14/18] PCI: Add TI J721E device to pci ids

2020-11-11 Thread Kishon Vijay Abraham I
Add TI J721E device to the pci id database. Since this device has a configurable PCIe endpoint, it could be used with different drivers. Signed-off-by: Kishon Vijay Abraham I --- drivers/misc/pci_endpoint_test.c | 1 - include/linux/pci_ids.h | 1 + 2 files changed, 1 insertion(+), 1

[PATCH v8 12/18] PCI: cadence: Configure LM_EP_FUNC_CFG based on epc->function_num_map

2020-11-11 Thread Kishon Vijay Abraham I
ace). Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/controller/cadence/pcie-cadence-ep.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/pci/controller/cadence/pcie-cadence-ep.c b/drivers/pci/controller/cadence/pcie-cadence-ep.c index 1fe6b8baca97..4e4eb30cd

[PATCH v8 11/18] PCI: cadence: Implement ->msi_map_irq() ops

2020-11-11 Thread Kishon Vijay Abraham I
Implement ->msi_map_irq() ops in order to map physical address to MSI address and return MSI data. Signed-off-by: Kishon Vijay Abraham I --- .../pci/controller/cadence/pcie-cadence-ep.c | 53 +++ 1 file changed, 53 insertions(+) diff --git a/drivers/pci/controller/cadence/p

[PATCH v8 07/18] PCI: endpoint: Add support in configfs to associate two EPCs with EPF

2020-11-11 Thread Kishon Vijay Abraham I
single EPC device with a EPF device will continue to work. Signed-off-by: Kishon Vijay Abraham I --- .../PCI/endpoint/pci-endpoint-cfs.rst | 10 ++ drivers/pci/endpoint/pci-ep-cfs.c | 147 ++ 2 files changed, 157 insertions(+) diff --git a/Documentat

[PATCH v8 06/18] PCI: endpoint: Add support to associate secondary EPC with EPF

2020-11-11 Thread Kishon Vijay Abraham I
. This is in preparation for adding NTB endpoint function driver. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/endpoint/functions/pci-epf-test.c | 11 ++-- drivers/pci/endpoint/pci-ep-cfs.c | 6 +- drivers/pci/endpoint/pci-epc-core.c | 47 +++ drivers/pci

[PATCH v8 08/18] PCI: endpoint: Add pci_epc_ops to map MSI irq

2020-11-11 Thread Kishon Vijay Abraham I
directly write to the physical address (in outbound region) of the other interface to ring doorbell using MSI. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/endpoint/pci-epc-core.c | 41 + include/linux/pci-epc.h | 8 ++ 2 files changed, 49

[PATCH v8 09/18] PCI: endpoint: Add pci_epf_ops for epf drivers to expose function specific attrs

2020-11-11 Thread Kishon Vijay Abraham I
be populated by the function driver if it has to expose any function specific attributes and pci_epf_type_add_cfs() to be invoked by pci-ep-cfs.c when sub-directory to main function directory is created. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/endpoint/pci-epf-core.c |

[PATCH v8 05/18] PCI: endpoint: Remove unused pci_epf_match_device()

2020-11-11 Thread Kishon Vijay Abraham I
Remove unused pci_epf_match_device() function added in pci-epf-core.c Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/endpoint/pci-epf-core.c | 16 include/linux/pci-epf.h | 2 -- 2 files changed, 18 deletions(-) diff --git a/drivers/pci/endpoint/pci-epf

[PATCH v8 00/18] Implement NTB Controller using multiple PCI EP

2020-11-11 Thread Kishon Vijay Abraham I
m [7] -> http://lore.kernel.org/r/20200918064227.1463-1-kis...@ti.com [8] -> http://lore.kernel.org/r/20200924092519.17082-1-kis...@ti.com [9] -> https://youtu.be/dLKKxrg5-rY [10] -> http://lore.kernel.org/r/20200930153519.7282-1-kis...@ti.com Kishon Vijay Abraham I (18): Documentation: PCI:

[PATCH v8 01/18] Documentation: PCI: Add specification for the *PCI NTB* function device

2020-11-11 Thread Kishon Vijay Abraham I
Add specification for the *PCI NTB* function device. The endpoint function driver and the host PCI driver should be created based on this specification. Signed-off-by: Kishon Vijay Abraham I --- Documentation/PCI/endpoint/index.rst | 1 + .../PCI/endpoint/pci-ntb-function.rst

[PATCH v8 04/18] PCI: endpoint: Make *_free_bar() to return error codes on failure

2020-11-11 Thread Kishon Vijay Abraham I
Modify pci_epc_get_next_free_bar() and pci_epc_get_first_free_bar() to return error values if there are no free BARs available. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/endpoint/functions/pci-epf-test.c | 2 ++ drivers/pci/endpoint/pci-epc-core.c | 12

[PATCH v8 03/18] PCI: endpoint: Add helper API to get the 'next' unreserved BAR

2020-11-11 Thread Kishon Vijay Abraham I
Add an API to get the next unreserved BAR starting from a given BAR number that can be used by the endpoint function. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/endpoint/pci-epc-core.c | 26 ++ include/linux/pci-epc.h | 2 ++ 2 files changed, 24

[PATCH v8 02/18] PCI: endpoint: Make *_get_first_free_bar() take into account 64 bit BAR

2020-11-11 Thread Kishon Vijay Abraham I
ount 64 bit BAR while returning the first free unreserved BAR. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/endpoint/pci-epc-core.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/pci/endpoint/pci-epc-core.c b/drivers/pci/endpoint/pci-e

Re: [PATCH v7 15/18] NTB: Add support for EPF PCI-Express Non-Transparent Bridge

2020-11-10 Thread Kishon Vijay Abraham I
Hi Sherry, Arnd, On 10/11/20 8:29 pm, Arnd Bergmann wrote: > On Tue, Nov 10, 2020 at 3:20 PM Kishon Vijay Abraham I wrote: >> On 10/11/20 7:55 am, Sherry Sun wrote: > >>> But for VOP, only two boards are needed(one board as host and one board as >>> card) to

Re: [PATCH v7 15/18] NTB: Add support for EPF PCI-Express Non-Transparent Bridge

2020-11-10 Thread Kishon Vijay Abraham I
>> >>>> Subject: [PATCH v7 15/18] NTB: Add support for EPF PCI-Express Non- >>>> Transparent Bridge >>>> >>>> From: Kishon Vijay Abraham I >>>> >>>> Add support for EPF PCI-Express Non-Transparent Bridge (NTB) device. &g

[PATCH v2 7/7] arm64: dts: ti: k3-j7200-common-proc-board: Enable PCIe

2020-11-09 Thread Kishon Vijay Abraham I
x2 lane PCIe slot in the common processor board is enabled and connected to j7200 SOM. Add PCIe DT node in common processor board to reflect the same. Signed-off-by: Kishon Vijay Abraham I --- .../boot/dts/ti/k3-j7200-common-proc-board.dts| 15 +++ 1 file changed, 15 insertions

[PATCH v2 3/7] dt-bindings: PCI: Add EP mode dt-bindings for TI's J7200 SoC

2020-11-09 Thread Kishon Vijay Abraham I
Add PCIe EP mode dt-bindings for TI's J7200 SoC. Signed-off-by: Kishon Vijay Abraham I Reviewed-by: Rob Herring --- .../devicetree/bindings/pci/ti,j721e-pci-ep.yaml | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/p

[PATCH v2 2/7] dt-bindings: PCI: Add host mode dt-bindings for TI's J7200 SoC

2020-11-09 Thread Kishon Vijay Abraham I
Add host mode dt-bindings for TI's J7200 SoC. Signed-off-by: Kishon Vijay Abraham I Reviewed-by: Rob Herring --- .../bindings/pci/ti,j721e-pci-host.yaml | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/ti,

[PATCH v2 6/7] arm64: dts: ti: k3-j7200-common-proc-board: Enable SERDES0

2020-11-09 Thread Kishon Vijay Abraham I
Add sub-nodes to SERDES0 DT node to represent SERDES0 is connected to PCIe and QSGMII (multi-link SERDES). Signed-off-by: Kishon Vijay Abraham I --- .../dts/ti/k3-j7200-common-proc-board.dts | 23 +++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3

[PATCH v2 4/7] arm64: dts: ti: k3-j7200-main: Add DT for WIZ and SERDES

2020-11-09 Thread Kishon Vijay Abraham I
Add dt node for the single instance of WIZ and SERDES module shared by PCIe, CPSW (SGMII/QSGMII) and USB. Signed-off-by: Kishon Vijay Abraham I --- arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 61 +++ 1 file changed, 61 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3

[PATCH v2 5/7] arm64: dts: ti: k3-j7200-main: Add PCIe device tree node

2020-11-09 Thread Kishon Vijay Abraham I
Add PCIe device tree node (both RC and EP) for the single PCIe instance present in j7200. Signed-off-by: Kishon Vijay Abraham I --- arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 57 +++ 1 file changed, 57 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b

[PATCH v2 1/7] dt-bindings: mfd: ti,j721e-system-controller.yaml: Document "syscon"

2020-11-09 Thread Kishon Vijay Abraham I
Add binding documentation for "syscon" which should be a subnode of the system controller (scm-conf). Signed-off-by: Kishon Vijay Abraham I --- .../mfd/ti,j721e-system-controller.yaml | 40 +++ 1 file changed, 40 insertions(+) diff --git a/Documentation/

[PATCH v2 0/7] J7200: Add PCIe DT nodes to Enable PCIe

2020-11-09 Thread Kishon Vijay Abraham I
bound-regions" for RC mode. *) Remove patches specific to J721E V1 of the patch series can be found @: http://lore.kernel.org/r/20201102101154.13598-1-kis...@ti.com Kishon Vijay Abraham I (7): dt-bindings: mfd: ti,j721e-system-controller.yaml: Document "syscon" dt-bindings: PCI

Re: [PATCH v7 15/18] NTB: Add support for EPF PCI-Express Non-Transparent Bridge

2020-11-09 Thread Kishon Vijay Abraham I
Hi Sherry, On 09/11/20 3:07 pm, Sherry Sun wrote: > Hi Kishon, > >> Subject: [PATCH v7 15/18] NTB: Add support for EPF PCI-Express Non- >> Transparent Bridge >> >> From: Kishon Vijay Abraham I >> >> Add support for EPF PCI-Express Non-Transparent Bridg

Re: [PATCH 1/8] dt-bindings: mfd: ti,j721e-system-controller.yaml: Document "pcie-ctrl"

2020-11-09 Thread Kishon Vijay Abraham I
Hi Rob, On 05/11/20 10:24 pm, Rob Herring wrote: > On Mon, Nov 02, 2020 at 03:41:47PM +0530, Kishon Vijay Abraham I wrote: >> Add binding documentation for "pcie-ctrl" which should be a subnode of >> the system controller. >> >> Signed-off-by: Kishon Vijay

[PATCH 2/2] PCI: cadence: Do not error if "cdns,max-outbound-regions" is not found

2020-11-06 Thread Kishon Vijay Abraham I
Now that "cdns,max-outbound-regions" is made an optional property, do not error out if "cdns,max-outbound-regions" device tree property is not found. Link: http://lore.kernel.org/r/20201105165331.GA55814@bogus Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/controller/

[PATCH 0/2] PCI: Make "cdns,max-outbound-regions" optional DT property

2020-11-06 Thread Kishon Vijay Abraham I
Make "cdns,max-outbound-regions" optional DT property in all the platforms using Cadence PCIe core. Kishon Vijay Abraham I (2): dt-bindings: PCI: Make "cdns,max-outbound-regions" optional property PCI: cadence: Do not error if "cdns,max-outbound-regions"

[PATCH 1/2] dt-bindings: PCI: Make "cdns,max-outbound-regions" optional property

2020-11-06 Thread Kishon Vijay Abraham I
Make "cdns,max-outbound-regions" optional property with the default being 32. Link: http://lore.kernel.org/r/20201105165331.GA55814@bogus Signed-off-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml| 3 --- Documentation/devicetree/bindings/pc

Re: [PATCH 8/8] arm64: dts: ti: k3-j721e-main: Fix PCIe maximum outbound regions

2020-11-06 Thread Kishon Vijay Abraham I
Hi Rob, On 05/11/20 10:23 pm, Rob Herring wrote: > On Mon, Nov 02, 2020 at 10:41:37AM -0600, Nishanth Menon wrote: >> On 15:41-20201102, Kishon Vijay Abraham I wrote: >>> PCIe controller in J721E supports a maximum of 32 outbound regions. >>> commit 4e5833884f66 (&qu

[PATCH 0/2] arm64: dts: ti: J721E: PCIe/SERDES DT Fixes

2020-11-04 Thread Kishon Vijay Abraham I
3631.GA3026331@bogus [2] -> http://lore.kernel.org/r/1603898561-5142-1-git-send-email-sjakh...@cadence.com Kishon Vijay Abraham I (2): arm64: dts: ti: k3-j721e-main: Fix PCIe maximum outbound regions arm64: dts: ti: k3-j721e-common-proc-board: Re-name link name as "phy" arch/ar

[PATCH 2/2] arm64: dts: ti: k3-j721e-common-proc-board: Re-name "link" name as "phy"

2020-11-04 Thread Kishon Vijay Abraham I
ommon-proc-board: Configure the PCIe instances") Fixes: 02c35dca2b488 ("arm64: dts: ti: k3-j721e: Enable Super-Speed support for USB0") Signed-off-by: Kishon Vijay Abraham I --- arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts | 8 1 file changed, 4 insertions(+), 4 deletions(-)

[PATCH 1/2] arm64: dts: ti: k3-j721e-main: Fix PCIe maximum outbound regions

2020-11-04 Thread Kishon Vijay Abraham I
CIe device tree nodes") Signed-off-by: Kishon Vijay Abraham I --- arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi index e2a96b2c423c.

Re: [PATCH v7 00/18] Implement NTB Controller using multiple PCI EP

2020-11-02 Thread Kishon Vijay Abraham I
+Alan Hi Jon Mason, Allen Hubbe, Dave Jiang, On 20/10/20 6:48 pm, Lorenzo Pieralisi wrote: > On Tue, Oct 20, 2020 at 01:45:45PM +0530, Kishon Vijay Abraham I wrote: >> Hi, >> >> On 05/10/20 11:27 am, Kishon Vijay Abraham I wrote: >>> Hi Jon Mason, Allen Hubbe, Dav

[PATCH 9/9] phy: cadence: sierra: Enable pll_cmnlc and pll_cmnlc1 clocks

2020-11-02 Thread Kishon Vijay Abraham I
Get pll_cmnlc and pll_cmnlc1 optional clocks and enable them. This will enable REFRCV/1 in case the pll_cmnlc/1 takes input from REFRCV/1 respectively. Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/cadence/phy-cadence-sierra.c | 39 +++- 1 file changed, 38 insertions

[PATCH 5/9] phy: cadence: Sierra: Fix PHY power_on sequence

2020-11-02 Thread Kishon Vijay Abraham I
re. Fixes: 44d30d622821d ("phy: cadence: Add driver for Sierra PHY") Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/cadence/phy-cadence-sierra.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/phy/cadence/phy-cadence-sierra.c b/drivers/phy/cadence/

[PATCH 8/9] phy: cadence: sierra: Model PLL_CMNLC and PLL_CMNLC1 as clocks (mux clocks)

2020-11-02 Thread Kishon Vijay Abraham I
Sierra has two PLLs, PLL_CMNLC and PLL_CMNLC1 and each of these PLLs has two inputs, plllc_refclk and refrcv. Model PLL_CMNLC and PLL_CMNLC1 as clocks so that it's possible to select one of these two inputs from device tree. Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/cadenc

[PATCH 6/9] phy: cadence: sierra: Don't configure if any plls are already locked

2020-11-02 Thread Kishon Vijay Abraham I
any of the plls are already locked. This is done by adding an already_configured flag and using it to gate every register access as well as any phy_ops. Signed-off-by: Faiz Abbas Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/cadence/phy-cadence-sierra.c | 127 ++- 1

[PATCH 1/9] dt-bindings: phy: cadence-sierra: Add bindings for the PLLs within SERDES

2020-11-02 Thread Kishon Vijay Abraham I
Add binding for the PLLs within SERDES. Signed-off-by: Kishon Vijay Abraham I --- .../bindings/phy/phy-cadence-sierra.yaml | 89 ++- 1 file changed, 86 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/phy-cadence-sierra.yaml b/Documentation

[PATCH 4/9] phy: cadence: cadence-sierra: Create PHY only for "phy" sub-nodes

2020-11-02 Thread Kishon Vijay Abraham I
actual PHY. Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/cadence/phy-cadence-sierra.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/phy/cadence/phy-cadence-sierra.c b/drivers/phy/cadence/phy-cadence-sierra.c index 453ef26fa1c7..4429f41a8f58 100644 --- a/drivers/phy/cadence/p

[PATCH 2/9] phy: ti: j721e-wiz: Get PHY properties only for "phy" subnode

2020-11-02 Thread Kishon Vijay Abraham I
node's name is "phy". Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/ti/phy-j721e-wiz.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/phy/ti/phy-j721e-wiz.c b/drivers/phy/ti/phy-j721e-wiz.c index c9cfafe89cbf..d57d29382ce4 100644 --- a/drivers/phy/ti/p

[PATCH 7/9] phy: cadence: sierra: Model reference receiver as clocks (gate clocks)

2020-11-02 Thread Kishon Vijay Abraham I
seamlessly use any of the external reference clocks. Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/cadence/phy-cadence-sierra.c | 177 +++ 1 file changed, 177 insertions(+) diff --git a/drivers/phy/cadence/phy-cadence-sierra.c b/drivers/phy/cadence/phy-cadence-sierra.c

[PATCH 3/9] phy: ti: j721e-wiz: Don't configure wiz if its already configured

2020-11-02 Thread Kishon Vijay Abraham I
any of the lanes has already been enabled. While we are here, also fix the wiz_init() to be called before the of_platform_device_create() call. Signed-off-by: Faiz Abbas Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/ti/phy-j721e-wiz.c | 36 +- 1 file

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