Re: [PATCH v3 11/15] ARM: dts: dra7-evm: Add wilink8 wlan support

2018-04-27 Thread Kishon Vijay Abraham I
Hi Rob, On Wednesday 25 April 2018 08:17 PM, Rob Herring wrote: > On Wed, Apr 25, 2018 at 7:54 AM, Kishon Vijay Abraham I <kis...@ti.com> wrote: >> From: Hari Nagalla <hnaga...@ti.com> >> >> The wilink module is a combo wireless connectivity sdio >>

Re: [PATCH v3 04/15] ARM: dts: dra74x-mmc-iodelay: Add a new pinctrl group for clk line without pullup

2018-04-27 Thread Kishon Vijay Abraham I
Hi Tony, On Wednesday 25 April 2018 07:05 PM, Tony Lindgren wrote: > * Kishon Vijay Abraham I <kis...@ti.com> [180425 12:57]: >> --- a/arch/arm/boot/dts/dra74x-mmc-iodelay.dtsi >> +++ b/arch/arm/boot/dts/dra74x-mmc-iodelay.dt

[PATCH v4 15/15] Documentation: ARM: Add new MMC requirements for DRA7/K2G

2018-04-25 Thread Kishon Vijay Abraham I
>From 4.18 kernel, all the MMC controller instances in DRA7 are programmed using sdhci based driver (sdhci-omap.c). Document this new requirement here. Both omap2plus_defconfig and multi_v7_defconfig has CONFIG_MMC_SDHCI_OMAP enabled. Signed-off-by: Kishon Vijay Abraham I <kis...@

[PATCH v3 02/15] ARM: dts: dra71-evm: Add "vqmmc-supply" property for mmc2

2018-04-25 Thread Kishon Vijay Abraham I
Add "vqmmc-supply" property for mmc2 to indicate the supply connected to the IO lines. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- arch/arm/boot/dts/dra71-evm.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/dra71-evm.dts b/arch/arm/boot/d

[PATCH v3 00/15] dra7: mmc: Update mmc dt node to use sdhci-omap

2018-04-25 Thread Kishon Vijay Abraham I
" compatible will use omap_hsmmc driver and "ti,dra7-sdhci" compatible will use sdhci_omap driver. Hari Nagalla (2): ARM: dts: dra72-evm-common: Add wilink8 wlan support ARM: dts: dra7-evm: Add wilink8 wlan support Kishon Vijay Abraham I (11): ARM: dts: dra72-evm-common: Remove mmc sp

[PATCH v3 03/15] ARM: dts: dra72x-mmc-iodelay: Add a new pinctrl group for clk line without pullup

2018-04-25 Thread Kishon Vijay Abraham I
to be used in boards where mmc1_clk line is not connected to an external pullup. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- arch/arm/boot/dts/dra72x-mmc-iodelay.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/dra72x-mmc-iodelay.dtsi b/a

[PATCH v3 01/15] ARM: dts: dra72-evm-common: Remove mmc specific pinmux

2018-04-25 Thread Kishon Vijay Abraham I
mmc specific pinmux is selected from dra72x-mmc-iodelay.dtsi, so remove it from dra72-evm-common.dtsi. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- arch/arm/boot/dts/dra72-evm-common.dtsi | 27 - 1 file changed, 27 deletions(-) diff --git a/arch/arm/bo

[PATCH v3 06/15] ARM: dts: am57xx-idk: Use pinctrl group from dra7xx-mmc-iodelay.dtsi to select pulldown

2018-04-25 Thread Kishon Vijay Abraham I
ew pinctrl group "mmc1_pins_default_no_clk_pu" in dra72x-mmc-iodelay/dra74x-mmc-iodelay added specifically to be used for CLK line without external pull up. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- arch/arm/boot/dts/am571x-idk.dts | 2 +- arch/arm/boot/dts/am572x-idk.d

[PATCH v3 08/15] ARM: dts: am574x-idk: Add pinmux configuration for MMC

2018-04-25 Thread Kishon Vijay Abraham I
m> Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- arch/arm/boot/dts/am574x-idk.dts | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/am574x-idk.dts b/arch/arm/boot/dts/am574x-idk.dts index 41e12a382d2f..500235e6d1c6 100644 --- a/arch/a

[PATCH v3 14/15] ARM: dts: dra7: Add high speed modes capability to MMC1/MMC2 dt node

2018-04-25 Thread Kishon Vijay Abraham I
While the supported UHS mode can be obtained from CAPA2 register, SD Host Controller Standard Specification doesn't define bits for MMC's HS200 and DDR mode capability. Add properties to indicate MMC HS200 and DDR speed mode capability in dt node. Signed-off-by: Kishon Vijay Abraham I <

[PATCH v3 10/15] ARM: dts: dra7-evm: Model EVM_3V6 regulator

2018-04-25 Thread Kishon Vijay Abraham I
On TI's DRA74x EVM, EVM_3V6 is connected is connected to the VBAT line of the wilink card. Model it here so that it can be used while adding wilink8 WLAN support. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- arch/arm/boot/dts/dra7-evm.dts | 42 +++

[PATCH v3 07/15] ARM: dts: dra71-evm: Use pinctrl group from dra72x-mmc-iodelay.dtsi to select pulldown

2018-04-25 Thread Kishon Vijay Abraham I
ctrl group "mmc1_pins_default_no_clk_pu" in dra72x-mmc-iodelay added specifically to be used for CLK line without external pull up. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- arch/arm/boot/dts/dra71-evm.dts | 15 +-- 1 file changed, 1 insertion(+), 14 deletions

[PATCH v3 13/15] ARM: dts: dra7: Use sdhci-omap programming model

2018-04-25 Thread Kishon Vijay Abraham I
Use sdhci-omap programming model based on the generic sdhci library for programming the eMMC/SD/SDIO controller. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- .../boot/dts/am57xx-beagle-x15-common.dtsi| 4 +-- arch/arm/boot/dts/am57xx-beagle-x15.dts | 1 + arch/ar

[PATCH v3 15/15] Documentation: ARM: Add new MMC requirements for DRA7/K2G

2018-04-25 Thread Kishon Vijay Abraham I
>From 4.18 kernel, all the MMC controller instances in DRA7 are programmed using sdhci based driver (sdhci-omap.c). Document this new requirement here. Both omap2plus_defconfig and multi_v7_defconfig has CONFIG_MMC_SDHCI_OMAP enabled. Signed-off-by: Kishon Vijay Abraham I <kis...@

[PATCH v3 05/15] ARM: dts: dra76x-mmc-iodelay: Add a new pinctrl group for clk line without pullup

2018-04-25 Thread Kishon Vijay Abraham I
out pullup to be used in boards where mmc1_clk line is not connected to an external pullup. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- arch/arm/boot/dts/dra76x-mmc-iodelay.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/dra76x-mmc-iodelay.dtsi

[PATCH v3 09/15] ARM: dts: dra72-evm-common: Add wilink8 wlan support

2018-04-25 Thread Kishon Vijay Abraham I
er <ey...@ti.com> Signed-off-by: Hari Nagalla <hnaga...@ti.com> [nsek...@ti.com: drop WLAN_EN pinmux. It should be done by bootloader. Also, some commit message adjustments] Signed-off-by: Sekhar Nori <nsek...@ti.com> Signed-off-by: Kishon Vijay Abraham I <k

[PATCH v3 11/15] ARM: dts: dra7-evm: Add wilink8 wlan support

2018-04-25 Thread Kishon Vijay Abraham I
t; Signed-off-by: Hari Nagalla <hnaga...@ti.com> Signed-off-by: Sekhar Nori <nsek...@ti.com> Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- arch/arm/boot/dts/dra7-evm-common.dtsi | 15 +++ arch/arm/boot/dts/dra7-evm.dts | 25

[PATCH v3 04/15] ARM: dts: dra74x-mmc-iodelay: Add a new pinctrl group for clk line without pullup

2018-04-25 Thread Kishon Vijay Abraham I
out pullup to be used in boards where mmc1_clk line is not connected to an external pullup. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- arch/arm/boot/dts/dra74x-mmc-iodelay.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/dra74x-mmc-iodelay.dtsi

Re: [RFC 06/10] misc: pci_endpoint_test: Add MSI-X support

2018-04-24 Thread Kishon Vijay Abraham I
Hi, On Tuesday 24 April 2018 04:27 PM, Gustavo Pimentel wrote: > Hi Kishon, > > On 24/04/2018 08:19, Kishon Vijay Abraham I wrote: >> Hi, >> >> On Tuesday 17 April 2018 11:08 PM, Gustavo Pimentel wrote: >>> Hi Kishon, >>> >>> On 1

Re: [RFC 01/10] PCI: dwc: Add MSI-X callbacks handler

2018-04-24 Thread Kishon Vijay Abraham I
Hi, On Tuesday 24 April 2018 03:06 PM, Gustavo Pimentel wrote: > Hi Kishon, > > On 24/04/2018 08:07, Kishon Vijay Abraham I wrote: >> Hi, >> >> On Monday 23 April 2018 03:06 PM, Gustavo Pimentel wrote: >>> Hi Kishon, >>> >>> On 16/04/201

Re: [RFC 06/10] misc: pci_endpoint_test: Add MSI-X support

2018-04-24 Thread Kishon Vijay Abraham I
Hi, On Tuesday 17 April 2018 11:08 PM, Gustavo Pimentel wrote: > Hi Kishon, > > On 17/04/2018 11:33, Kishon Vijay Abraham I wrote: >> Hi, >> >> On Tuesday 10 April 2018 10:44 PM, Gustavo Pimentel wrote: >>> Adds the MSI-X support and updates driver docume

Re: [RFC 01/10] PCI: dwc: Add MSI-X callbacks handler

2018-04-24 Thread Kishon Vijay Abraham I
Hi, On Monday 23 April 2018 03:06 PM, Gustavo Pimentel wrote: > Hi Kishon, > > On 16/04/2018 10:29, Kishon Vijay Abraham I wrote: >> Hi Gustavo, >> >> On Tuesday 10 April 2018 10:44 PM, Gustavo Pimentel wrote: >>> Changes the pcie_raise_irq function

Re: [RFC 06/10] misc: pci_endpoint_test: Add MSI-X support

2018-04-17 Thread Kishon Vijay Abraham I
Hi, On Tuesday 10 April 2018 10:44 PM, Gustavo Pimentel wrote: > Adds the MSI-X support and updates driver documentation accordingly. > > Changes the driver parameter in order to allow the interruption type > selection. > > Signed-off-by: Gustavo Pimentel > --- >

Re: [RFC 03/10] PCI: endpoint: Add MSI-X interfaces

2018-04-17 Thread Kishon Vijay Abraham I
Hi, On Tuesday 10 April 2018 10:44 PM, Gustavo Pimentel wrote: > Implements the generic method for calling the get/set callbacks. > > Adds the PCI_EPC_IRQ_MSIX type. > > Adds the MSI-X callbacks signatures to the ops structure. > > Adds sysfs interface for altering the number of MSI-X entries.

Re: [RFC 01/10] PCI: dwc: Add MSI-X callbacks handler

2018-04-16 Thread Kishon Vijay Abraham I
Hi Gustavo, On Tuesday 10 April 2018 10:44 PM, Gustavo Pimentel wrote: > Changes the pcie_raise_irq function signature, namely the interrupt_num > variable type from u8 to u16 to accommodate the MSI-X maximum interrupts > of 2048. > > Implements a PCIe config space capability iterator function

Re: [PATCH 00/41] omap_hsmmc: Add ADMA support and UHS/HS200/DDR support

2017-05-22 Thread Kishon Vijay Abraham I
Hi, On Saturday 20 May 2017 03:43 AM, Tony Lindgren wrote: > Hi, > > * Kishon Vijay Abraham I <kis...@ti.com> [170519 01:19]: >> This series adds UHS, HS200, DDR mode and ADMA support to >> omap_hsmmc driver used to improve the throughput of MMC/SD in dra7 >> So

[PATCH 07/41] mmc: host: omap_hsmmc: Allow io voltage switch even for fixed vdd

2017-05-19 Thread Kishon Vijay Abraham I
Now that vmmc regulator is made optional, do not bail out if vmmc regulator is not found. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Signed-off-by: Sekhar Nori <nsek...@ti.com> --- drivers/mmc/host/omap_hsmmc.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/driv

[PATCH 00/41] omap_hsmmc: Add ADMA support and UHS/HS200/DDR support

2017-05-19 Thread Kishon Vijay Abraham I
age switch support for UHS SD card Kishon Vijay Abraham I (30): mmc: host: omap_hsmmc: Support pbias and vmmc_aux to switch to 1.8v mmc: host: omap_hsmmc: Separate setting voltage capabilities from bus power mmc: host: omap_hsmmc: Program HCTL based on signal_voltage set by mmc core

[PATCH 02/41] mmc: host: omap_hsmmc: Separate setting voltage capabilities from bus power

2017-05-19 Thread Kishon Vijay Abraham I
omap_hsmmc_conf_bus_power to be invoked every time there is a voltage switch. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Signed-off-by: Sekhar Nori <nsek...@ti.com> --- drivers/mmc/host/omap_hsmmc.c | 28 +++- 1 file changed, 19 insertions(+), 9 deletions(-) diff --g

[PATCH 01/41] mmc: host: omap_hsmmc: Support pbias and vmmc_aux to switch to 1.8v

2017-05-19 Thread Kishon Vijay Abraham I
Add support for vmmc_aux to switch to 1.8v. Also use "iov" instead of "vdd" to indicate io voltage. This is in preparation for adding support for io signal voltage switch. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Signed-off-by: Sekhar Nori <nsek...@

[PATCH 04/41] mmc: host: omap_hsmmc: Add voltage switch support for UHS SD card

2017-05-19 Thread Kishon Vijay Abraham I
the voltage switch sequence] Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> [nsek...@ti.com: make card busy functions preempt safe] Signed-off-by: Sekhar Nori <nsek...@ti.com> --- drivers/mmc/host/omap_hsmmc.c | 165 ++ 1 file changed,

[PATCH 08/41] mmc: host: omap_hsmmc: Remove incorrect voltage switch sequence

2017-05-19 Thread Kishon Vijay Abraham I
ted in start_signal_voltage_switch ops to be used by mmc core for switching voltages. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- drivers/mmc/host/omap_hsmmc.c | 79 --- 1 file changed, 79 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c

[PATCH 03/41] mmc: host: omap_hsmmc: Program HCTL based on signal_voltage set by mmc core

2017-05-19 Thread Kishon Vijay Abraham I
set on power mode status being changed to MMC_POWER_ON. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Signed-off-by: Sekhar Nori <nsek...@ti.com> --- drivers/mmc/host/omap_hsmmc.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/driv

[PATCH 09/41] mmc: host: omap_hsmmc: Add software timer when timeout greater than hardware capablility

2017-05-19 Thread Kishon Vijay Abraham I
ti.com: fix compiler warning in sw timeout function and use sw timeout for busy timeout] Signed-off-by: Ravikumar Kattekola <r...@ti.com> Signed-off-by: Mugunthan V N <mugunthan...@ti.com> [kis...@ti.com: Fix the timeout value to account for the entire transfer to complete here.] Signed-of

[PATCH 05/41] mmc: host: omap_hsmmc: Set clk rate to the max frequency

2017-05-19 Thread Kishon Vijay Abraham I
Set the clock rate of the functional clock to the max frequency that is passed to the driver either using pdata or dt. Also remove unnecessary setting of host->fclk to NULL. This is in preparation for supporting high frequency modes of operation. Signed-off-by: Kishon Vijay Abraham I &

[PATCH 12/41] mmc: host: omap_hsmmc: Fix error path sequence

2017-05-19 Thread Kishon Vijay Abraham I
Fix the error path sequence so that clk_disable, runtime_disable etc are done in the reverse order of how they were enabled. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Signed-off-by: Sekhar Nori <nsek...@ti.com> --- drivers/mmc/host/omap_hsmmc.c | 6 +++--- 1 fil

[PATCH 10/41] mmc: host: omap_hsmmc: Prepare *set_timing() to be used for iodelay setting

2017-05-19 Thread Kishon Vijay Abraham I
though the same UHSMC value has to be written to the AC12 register. This is in preparation for setting iodelay values. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Signed-off-by: Sekhar Nori <nsek...@ti.com> --- drivers/mmc/host/omap_hsmmc.c | 9 + 1 file changed,

[PATCH 11/41] mmc: host: omap_hsmmc: Add new compatible string to support dra7

2017-05-19 Thread Kishon Vijay Abraham I
Add a new compatible string "ti,dra7-hsmmc" to support dra7 and dra72 controllers. Also create a new controller flag "OMAP_HSMMC_REQUIRE_IODELAY" to specify all controllers that use "ti,dra7-hsmmc" require iodealy configuration to be set. Signed-off-by: Kishon

[PATCH 21/41] ARM: dts: dra72-evm-common: Correct vmmc-supply for mmc2

2017-05-19 Thread Kishon Vijay Abraham I
M: dts: Add support for dra72-evm rev C (SR2.0)") Signed-off-by: Ravikumar Kattekola <r...@ti.com> Signed-off-by: Sekhar Nori <nsek...@ti.com> Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- arch/arm/boot/dts/dra71-evm.dts | 14 ++ arch/arm/b

[PATCH 25/41] ARM: dts: dra7-evm: Add pinmux configuration for MMC

2017-05-19 Thread Kishon Vijay Abraham I
Include dra74x-mmc-iodelay.dtsi which has pinmux and IODelay configuration values for the various MMC modes for dra74 SoC and use it in the pinctrl properties of MMC devicetree nodes present in dra7-evm. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- arch/arm/boot/dts/dra7-e

[PATCH 16/41] mmc: omap_hsmmc: Support non-1.8V IO controllers

2017-05-19 Thread Kishon Vijay Abraham I
uration. Signed-off-by: Sekhar Nori <nsek...@ti.com> Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- drivers/mmc/host/omap_hsmmc.c| 15 --- include/linux/platform_data/hsmmc-omap.h | 5 + 2 files changed, 17 insertions(+), 3 deletions(-) d

[PATCH 22/41] ARM: dts: Add dra7 iodelay configuration

2017-05-19 Thread Kishon Vijay Abraham I
From: Tony Lindgren Add dra7 iodelay configuration. Signed-off-by: Tony Lindgren Signed-off-by: Nishanth Menon --- arch/arm/boot/dts/dra7.dtsi | 8 include/dt-bindings/pinctrl/dra.h | 3 +++ 2 files changed, 11 insertions(+)

[PATCH 29/41] ARM: dts: am572x-idk: Add pinmux configuration for MMC

2017-05-19 Thread Kishon Vijay Abraham I
Include dra74x-mmc-iodelay.dtsi which has pinmux and IODelay configuration values for the various MMC modes for dra74x SoC and use it in the pinctrl properties of MMC devicetree nodes present in am572x-idk.dts. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- arch/arm/boot/dts/

[PATCH 28/41] ARM: dts: am571x-idk: Add pinmux configuration for MMC

2017-05-19 Thread Kishon Vijay Abraham I
Include dra72x-mmc-iodelay.dtsi which has pinmux and IODelay configuration values for the various MMC modes for dra72 SoC and use it in the pinctrl properties of MMC devicetree nodes present in am571x-idk.dts. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- arch/arm/boot/dts/

[PATCH 13/41] mmc: host: omap_hsmmc: Add support to set IODELAY values

2017-05-19 Thread Kishon Vijay Abraham I
The data manual of J6/J6 Eco recommends to set different IODELAY values depending on the mode in which the MMC/SD is enumerated in order to ensure IO timings are met. Add support to set the IODELAY values depending on the various MMC modes using the pinctrl APIs. Signed-off-by: Kishon Vijay

[PATCH 14/41] mmc: host: omap_hsmmc: Remove *use_dma* member

2017-05-19 Thread Kishon Vijay Abraham I
omap_hsmmc doesn't support polled I/O. So remove *use_dma* which is always set to '1'. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Signed-off-by: Sekhar Nori <nsek...@ti.com> --- drivers/mmc/host/omap_hsmmc.c | 37 - 1 file changed, 1

[PATCH 15/41] mmc: host: omap_hsmmc: Enable ADMA2

2017-05-19 Thread Kishon Vijay Abraham I
omap hsmmc host controller has ADMA2 feature. Enable it here for better read and write throughput. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> [misael.lo...@ti.com: handle ADMA errors] Signed-off-by: Misael Lopez Cruz <misael.lo...@ti.com> [nsek...@ti.com: restore adma se

[PATCH 31/41] ARM: dts: dra72-evm-revc: Add pinmux configuration for MMC

2017-05-19 Thread Kishon Vijay Abraham I
Include dra72x-mmc-iodelay.dtsi which has pinmux and IODelay configuration values for the various MMC modes for dra72 SoC and use it in the pinctrl properties of MMC devicetree nodes present in dra72-evm-revc.dts. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- arch/arm/boot/dts

[PATCH 35/41] ARM: dts: dra7: Add supported MMC/SD modes in MMC dt nodes

2017-05-19 Thread Kishon Vijay Abraham I
-evm reva3, beagle-x15 and am57xx idk has 3.3v line connected to IO lines, HS200 cannot be supported in these boards). MMC3 controller supports SDR12, SDR25 and SDR50 modes. MMC4 controller supports SDR12 and SDR25 modes. Add these supported modes in device-tree file. Signed-off-by: Kishon Vijay

[PATCH 37/41] ARM: dts: am57xx-beagle-x15-common: Set MMC2 IO voltage to 3.3V

2017-05-19 Thread Kishon Vijay Abraham I
. Signed-off-by: Sekhar Nori <nsek...@ti.com> Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi b/arch/arm/boot/dts/am57x

[PATCH 38/41] ARM: OMAP2+: Add pdata-quirks for MMC/SD on DRA74x EVM

2017-05-19 Thread Kishon Vijay Abraham I
erride the settings needed for PG 1.1 silicon. PG 1.1 silicon has limitations w.r.t frequencies at which MMC1/2/3 can operate as well as different IOdelay numbers. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Signed-off-by: Sekhar Nori <nsek...@ti.com> --- arch/arm/mach-omap2/p

[PATCH 17/41] ARM: dts: dra72-evm: Add vmmc_aux supply to mmc1

2017-05-19 Thread Kishon Vijay Abraham I
Add vmmc_aux-supply property to mmc1 dt node and populate it with ldo1_reg to reflect ldo1_out is connected to mmc1 IO lines. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- arch/arm/boot/dts/dra72-evm.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH 39/41] ARM: omap2plus_defconfig: Enable PINCTRL_TI_IODELAY

2017-05-19 Thread Kishon Vijay Abraham I
Enable PINCTRL_TI_IODELAY since it is required for MMC module in DRA7 family of processors to configure "IODelay" values depending on the enumerated MMC modes. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- arch/arm/configs/omap2plus_defconfig | 1 + 1 file chan

[PATCH 40/41] ARM: multi_v7_defconfig: Enable PINCTRL_TI_IODELAY

2017-05-19 Thread Kishon Vijay Abraham I
Enable PINCTRL_TI_IODELAY since it is required for MMC module in DRA7 family of processors to configure "IODelay" values depending on the enumerated MMC modes. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file chan

[PATCH 33/41] ARM: dts: dra7: Add "max-frequency" property to MMC dt nodes

2017-05-19 Thread Kishon Vijay Abraham I
Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Signed-off-by: Sekhar Nori <nsek...@ti.com> --- arch/arm/boot/dts/dra7.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index 5a262e1a0313..38fb1828e26a 100644 --- a/

[PATCH 23/41] ARM: dts: dra72x: Create a common file with MMC/SD IOdelay data

2017-05-19 Thread Kishon Vijay Abraham I
on 2.0: SPRS957D, Revised January 2017 * AM571x Silicon Revision 1.0: SPRS919M, Revised November 2017 * DRA71x : SPRS960B, Revised February 2017 Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- arch/arm/boot/dts/dra72x-mmc-iodelay.dtsi | 350 ++ 1 file

[PATCH 20/41] ARM: dts: dra7-evm: Correct the vmmc-supply for mmc2

2017-05-19 Thread Kishon Vijay Abraham I
r Nori <nsek...@ti.com> Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- arch/arm/boot/dts/dra7-evm.dts | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index 4bc4b575c99b..fbcb3199defd 1

[PATCH 30/41] ARM: dts: dra72-evm: Add pinmux configuration for MMC

2017-05-19 Thread Kishon Vijay Abraham I
Include dra72x-mmc-iodelay.dtsi which has pinmux and IODelay configuration values for the various MMC modes for dra72 SoC and use it in the pinctrl properties of MMC devicetree nodes present in dra72-evm.dts. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- arch/arm/boot/dts

[PATCH 36/41] ARM: dts: am57xx-idk: Set MMC2 IO voltage to 3.3V

2017-05-19 Thread Kishon Vijay Abraham I
tation above is due to the board. Signed-off-by: Sekhar Nori <nsek...@ti.com> Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- arch/arm/boot/dts/am57xx-idk-common.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/am57xx-idk-common.dtsi b/arch/arm/b

[PATCH 41/41] Documentation: ARM: Document new dependencies for MMC on DRA7

2017-05-19 Thread Kishon Vijay Abraham I
MMC on DRA7 SoCs require different IO Delay values to be configured depending on the MMC mode. In order to confgiure these IO Delay values CONFIG_PINCTRL_TI_IODELAY must be enabled. Document this dependency here so that it can be added by anyone using custom .config. Signed-off-by: Kishon Vijay

[PATCH 34/41] ARM: dts: dra7: Use new dra7-specific compatible string

2017-05-19 Thread Kishon Vijay Abraham I
Use the new compatible string "ti,dra7-hsmmc" that was specifically added for dra7 and dra72. This is required since for dra7 and dra72 processors iodelay values has to be set unlike other processors. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Signed-off-by: Sekhar Nori

[PATCH 24/41] ARM: dts: dra74x: Create a common file with MMC/SD IOdelay data

2017-05-19 Thread Kishon Vijay Abraham I
on 2.0: SPRS953B, Revised November 2016 * AM572x Silicon Revision 1.1: SPRS915R, Revised November 2016 Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- arch/arm/boot/dts/dra74x-mmc-iodelay.dtsi | 648 ++ 1 file changed, 648 insertions(+) create mode 100

[PATCH 27/41] ARM: dts: am57xx-idk: Move common MMC/SD properties to common file

2017-05-19 Thread Kishon Vijay Abraham I
which is common for both EVMs. Signed-off-by: Sekhar Nori <nsek...@ti.com> Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- arch/arm/boot/dts/am571x-idk.dts | 7 --- arch/arm/boot/dts/am572x-idk.dts | 8 arch/arm/boot/dts/am57xx-idk-common.dtsi | 8

[PATCH 32/41] ARM: dts: dra71-evm: Add pinmux configuration for MMC

2017-05-19 Thread Kishon Vijay Abraham I
Include dra72x-mmc-iodelay.dtsi which has pinmux and IODelay configuration values for the various MMC modes for dra72 SoC and use it in the pinctrl properties of MMC devicetree nodes present in dra71-evm.dts. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- arch/arm/boot/dts

[PATCH 06/41] mmc: host: omap_hsmmc: Add tuning support

2017-05-19 Thread Kishon Vijay Abraham I
ning] Signed-off-by: Ravikumar Kattekola <r...@ti.com> Signed-off-by: Viswanath Puttagunta <vi...@ti.com> Signed-off-by: Sourav Poddar <sourav.pod...@ti.com> [kis...@ti.com : cleanup the tuning sequence] Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> [nsek...@ti.com: ad

[PATCH 26/41] ARM: dts: am57xx-beagle-x15: Add pinmux configuration for MMC

2017-05-19 Thread Kishon Vijay Abraham I
Include dra74x-mmc-iodelay.dtsi which has pinmux and IODelay configuration values for the various MMC modes for dra74 SoC and use it in the pinctrl properties of MMC devicetree nodes present in am57xx-beagle-x15/am57xx-beagle-x15-revb1. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.

[PATCH 19/41] ARM: dts: am57xx-beagle-x15-revb1: Fix supply name used for MMC1 IO lines

2017-05-19 Thread Kishon Vijay Abraham I
7xx-beagle-x15: Add support for rev B1") Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- arch/arm/boot/dts/am57xx-beagle-x15-revb1.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/am57xx-beagle-x15-revb1.dts b/arch/arm/boot/dts/

[PATCH 18/41] ARM: dts: dra72-evm-revc: Add vmmc_aux supply to mmc1

2017-05-19 Thread Kishon Vijay Abraham I
Add vmmc_aux-supply property to mmc1 dt node and populate it with ldo1_reg to reflect ldo1_out is connected to mmc1 IO lines. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- arch/arm/boot/dts/dra72-evm-revc.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/bo

Re: [GIT PULL] PCI: Support for configurable PCI endpoint

2017-04-11 Thread Kishon Vijay Abraham I
Hi Bjorn, On Wednesday 12 April 2017 01:04 AM, Bjorn Helgaas wrote: > On Mon, Apr 10, 2017 at 10:43:28AM -0500, Bjorn Helgaas wrote: >> On Wed, Apr 05, 2017 at 02:22:20PM +0530, Kishon Vijay Abraham I wrote: >>> Hi Bjorn, >>> >>> Please find the pull request

[PATCH v7 01/23] PCI: endpoint: Add EP core layer to enable EP controller and EP functions

2017-04-10 Thread Kishon Vijay Abraham I
specific to an endpoint function. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Acked-by: Joao Pinto <jpi...@synopsys.com> Signed-off-by: Bjorn Helgaas <bhelg...@google.com> --- Changes from v6: *) Avoid NULL pointer dereferencing errors in pci-epf-core.c *) Fixed fe

Re: [PATCH v6 01/23] PCI: endpoint: Add EP core layer to enable EP controller and EP functions

2017-04-05 Thread Kishon Vijay Abraham I
Hi Bjorn, On Wednesday 05 April 2017 10:22 PM, Bjorn Helgaas wrote: > On Wed, Apr 05, 2017 at 02:22:21PM +0530, Kishon Vijay Abraham I wrote: >> Introduce a new EP core layer in order to support endpoint functions in >> linux kernel. This comprises the EPC library (Endpoint Con

Re: [GIT PULL] PCI: Support for configurable PCI endpoint

2017-04-05 Thread Kishon Vijay Abraham I
Hi Bjorn, On Wednesday 05 April 2017 02:06 AM, Bjorn Helgaas wrote: > On Mon, Mar 27, 2017 at 03:14:56PM +0530, Kishon Vijay Abraham I wrote: >> Hi Bjorn, >> >> Please find the pull request for PCI endpoint support below. I've >> also included all the history here.

[PATCH v6 01/23] PCI: endpoint: Add EP core layer to enable EP controller and EP functions

2017-04-05 Thread Kishon Vijay Abraham I
specific to an endpoint function. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Acked-By: Joao Pinto <jpi...@synopsys.com> Signed-off-by: Bjorn Helgaas <bhelg...@google.com> --- drivers/Makefile| 2 + drivers/pci/Kconfig | 1 + dr

[PATCH v6 07/23] PCI: endpoint: functions: Add an EP function to test PCI

2017-04-05 Thread Kishon Vijay Abraham I
Adds a new endpoint function driver (to program the virtual test device) making use of the EP-core library. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Signed-off-by: Bjorn Helgaas <bhelg...@google.com> --- drivers/pci/endpoint/Kconfig | 2 + drivers/

[PATCH v6 06/23] Documentation: PCI: Add specification for the *PCI test* function device

2017-04-05 Thread Kishon Vijay Abraham I
Add specification for the *PCI test* virtual 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 <kis...@ti.com> Signed-off-by: Bjorn Helgaas <bhelg...@google.com> --- Document

[PATCH v6 05/23] PCI: endpoint: Create configfs entry for EPC device and EPF driver

2017-04-05 Thread Kishon Vijay Abraham I
Invoke APIs provided by pci-ep-cfs to create configfs entry for every EPC device and EPF driver to help users in creating EPF device and binding the EPF device to the EPC device. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Signed-off-by: Bjorn Helgaas <bhelg...@google.com>

[PATCH v6 02/23] Documentation: PCI: Guide to use PCI Endpoint Core Layer

2017-04-05 Thread Kishon Vijay Abraham I
Add Documentation to help users use endpoint library to enable endpoint mode in the PCI controller and add new PCI endpoint functions. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Acked-By: Joao Pinto <jpi...@synopsys.com> Signed-off-by: Bjorn Helgaas <bhel

[PATCH v6 04/23] Documentation: PCI: Guide to use PCI endpoint configfs

2017-04-05 Thread Kishon Vijay Abraham I
Add Documentation to help users use PCI endpoint to configure PCI endpoint function and to bind the endpoint function with endpoint controller. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Acked-By: Joao Pinto <jpi...@synopsys.com> Signed-off-by: Bjorn Helgaas <bhel

[PATCH v6 11/23] PCI: dwc: dra7xx: Facilitate wrapper and MSI interrupts to be enabled independently

2017-04-05 Thread Kishon Vijay Abraham I
mode doesn't have to enable msi_interrupts. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Signed-off-by: Bjorn Helgaas <bhelg...@google.com> --- drivers/pci/dwc/pci-dra7xx.c | 24 ++-- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/drivers

[PATCH v6 14/23] PCI: dwc: dra7xx: Workaround for errata id i870

2017-04-05 Thread Kishon Vijay Abraham I
. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Signed-off-by: Bjorn Helgaas <bhelg...@google.com> --- drivers/pci/dwc/pci-dra7xx.c | 49 1 file changed, 49 insertions(+) diff --git a/drivers/pci/dwc/pci-dra7xx.c b/drivers/pci/dwc/

[PATCH v6 10/23] dt-bindings: PCI: Add DT bindings for PCI designware EP mode

2017-04-05 Thread Kishon Vijay Abraham I
Add device tree binding documentation for PCI designware EP mode. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Signed-off-by: Bjorn Helgaas <bhelg...@google.com> Acked-by: Rob Herring <r...@kernel.org> --- .../devicetree/bindings/pci/designware-pcie.txt| 26 +++

[PATCH v6 17/23] misc: Add host side PCI driver for PCI test function device

2017-04-05 Thread Kishon Vijay Abraham I
Add PCI endpoint test driver that can verify base address register, legacy interrupt/MSI interrupt and read/write/copy buffers between host and device. The corresponding pci-epf-test function driver should be used on the EP side. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Sign

[PATCH v6 16/23] PCI: Add device IDs for DRA74x and DRA72x

2017-04-05 Thread Kishon Vijay Abraham I
Add device IDs for DRA74x and DRA72x devices. These devices have configurable PCI endpoint. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Signed-off-by: Bjorn Helgaas <bhelg...@google.com> --- include/linux/pci_ids.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/i

[PATCH v6 20/23] tools: PCI: Add sample test script to invoke pcitest

2017-04-05 Thread Kishon Vijay Abraham I
Add a simple test script that invokes the pcitest userspace tool to perform all the PCI endpoint tests (BAR tests, interrupt tests, read tests, write tests and copy tests). Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Signed-off-by: Bjorn Helgaas <bhelg...@google.com> --

[PATCH v6 19/23] tools: PCI: Add a userspace tool to test PCI endpoint

2017-04-05 Thread Kishon Vijay Abraham I
Add a userspace tool to invoke the ioctls exposed by the PCI endpoint test driver to perform various PCI tests. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Signed-off-by: Bjorn Helgaas <bhelg...@google.com> --- tools/pci/pci

[PATCH v6 08/23] Documentation: PCI: Add binding documentation for pci-test endpoint function

2017-04-05 Thread Kishon Vijay Abraham I
Add binding documentation for pci-test endpoint function that helps in adding and configuring pci-test endpoint function. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Signed-off-by: Bjorn Helgaas <bhelg...@google.com> --- Documentation/PCI/00-INDEX

[PATCH v6 23/23] ARM: DRA7: clockdomain: Change the CLKTRCTRL of CM_PCIE_CLKSTCTRL to SW_WKUP

2017-04-05 Thread Kishon Vijay Abraham I
<t...@atomide.com> Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Signed-off-by: Bjorn Helgaas <bhelg...@google.com> --- arch/arm/mach-omap2/clockdomains7xx_data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/clockdomains7xx_data.

[PATCH v6 22/23] MAINTAINERS: Add PCI Endpoint maintainer

2017-04-05 Thread Kishon Vijay Abraham I
Add maintainer for the newly introduced PCI Endpoint framework. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Signed-off-by: Bjorn Helgaas <bhelg...@google.com> --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH v6 03/23] PCI: endpoint: Introduce configfs entry for configuring EP functions

2017-04-05 Thread Kishon Vijay Abraham I
Introduce a new configfs entry to configure the EP function (like configuring the standard configuration header entries) and to bind the EP function with EP controller. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Signed-off-by: Bjorn Helgaas <bhelg...@google.com> ---

[PATCH v6 13/23] dt-bindings: PCI: dra7xx: Add DT bindings for PCI dra7xx EP mode

2017-04-05 Thread Kishon Vijay Abraham I
Add device tree binding documentation for PCI dra7xx EP mode. Acked-by: Rob Herring <r...@kernel.org> Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Signed-off-by: Bjorn Helgaas <bhelg...@google.com> --- Documentation/devicetree/bindings/pci/ti-pci.txt | 37 +

[PATCH v6 12/23] PCI: dwc: dra7xx: Add EP mode support

2017-04-05 Thread Kishon Vijay Abraham I
The PCIe controller integrated in dra7xx SoCs is capable of operating in endpoint mode. Add endpoint mode support to dra7xx driver. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Signed-off-by: Bjorn Helgaas <bhelg...@google.com> --- drivers/pci/dwc/Kconfig | 31 +++

[PATCH v6 15/23] dt-bindings: PCI: dra7xx: Add DT bindings to enable unaligned access

2017-04-05 Thread Kishon Vijay Abraham I
Update device tree binding documentation of TI's dra7xx PCI controller to include property for enabling unaligned mem access. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Acked-by: Rob Herring <r...@kernel.org> Signed-off-by: Bjorn Helgaas <bhelg...@google.com>

[PATCH v6 18/23] Documentation: misc-devices: Add Documentation for pci-endpoint-test driver

2017-04-05 Thread Kishon Vijay Abraham I
Add Documentation for pci-endpoint-test driver. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Signed-off-by: Bjorn Helgaas <bhelg...@google.com> --- Documentation/misc-devices/pci-endpoint-test.txt | 35 1 file changed, 35 insertions(+) create

Re: [PATCH v5 14/24] dt-bindings: mfd: syscon: Add documentation for #syscon-cells property

2017-04-05 Thread Kishon Vijay Abraham I
Hi Rob, On Saturday 01 April 2017 12:36 AM, Rob Herring wrote: > On Fri, Mar 31, 2017 at 01:58:52PM -0500, Rob Herring wrote: >> On Mon, Mar 27, 2017 at 03:15:10PM +0530, Kishon Vijay Abraham I wrote: >>> Add documentation for the optional #syscon-cells property to determ

Re: [GIT PULL] PCI: Support for configurable PCI endpoint

2017-03-29 Thread Kishon Vijay Abraham I
Hi, On Wednesday 29 March 2017 05:40 PM, Kishon Vijay Abraham I wrote: > Hi Niklas, > > On Wednesday 29 March 2017 05:12 PM, Niklas Cassel wrote: >> On 03/27/2017 11:44 AM, Kishon Vijay Abraham I wrote: >>> Hi Bjorn, >>> >>> Please find the pull re

Re: [GIT PULL] PCI: Support for configurable PCI endpoint

2017-03-29 Thread Kishon Vijay Abraham I
Hi Niklas, On Wednesday 29 March 2017 05:12 PM, Niklas Cassel wrote: > On 03/27/2017 11:44 AM, Kishon Vijay Abraham I wrote: >> Hi Bjorn, >> >> Please find the pull request for PCI endpoint support below. I've >> also included all the history here. >> >> C

[PATCH v5 23/24] MAINTAINERS: add PCI EP maintainer

2017-03-27 Thread Kishon Vijay Abraham I
Add maintainer for the newly introduced PCI EP framework. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index c265a5fe4848..3c1b947811e2 100644 --- a/MAINTAINERS +++ b/MAINT

[PATCH v5 12/24] PCI: dwc: dra7xx: Add EP mode support

2017-03-27 Thread Kishon Vijay Abraham I
The PCIe controller integrated in dra7xx SoCs is capable of operating in endpoint mode. Add endpoint mode support to dra7xx driver. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- drivers/pci/dwc/Kconfig | 31 +- drivers/pci/dwc/Makefile | 4 +- drive

[PATCH v5 03/24] PCI: endpoint: Introduce configfs entry for configuring EP functions

2017-03-27 Thread Kishon Vijay Abraham I
Introduce a new configfs entry to configure the EP function (like configuring the standard configuration header entries) and to bind the EP function with EP controller. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- drivers/pci/endpoint/Kconfig | 9 + drivers/pci/en

[PATCH v5 01/24] PCI: endpoint: Add EP core layer to enable EP controller and EP functions

2017-03-27 Thread Kishon Vijay Abraham I
functions that is specific to an endpoint function. Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> --- drivers/Makefile| 2 + drivers/pci/Kconfig | 1 + drivers/pci/endpoint/Kconfig| 20 ++ drivers/pci/endpoint/Makefile | 6 + drive

  1   2   3   >