[PATCH] ARM: dts: am437x-gp-evm: Add support for buzzer

2017-06-19 Thread Faiz Abbas
Add support for onboard gpio buzzer. It works using the gpio-beeper driver. Pinmux entries for GPIO controlling the buzzer are also added. Signed-off-by: Faiz Abbas --- arch/arm/boot/dts/am437x-gp-evm.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH] PCI: dwc: dra7xx: Print link state to console for debug

2017-10-16 Thread Faiz Abbas
Enable support for printing the LTSSM link state for debugging PCI when link is down. Signed-off-by: Faiz Abbas --- drivers/pci/dwc/pci-dra7xx.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/pci/dwc/pci-dra7xx.c b/drivers/pci/dwc/pci-dra7xx.c index 34427a6

Re: [PATCH v2] dwc: dra7xx: Print link state to console for debug

2017-10-25 Thread Faiz Abbas
Bjorn, On Wednesday 25 October 2017 01:29 AM, Bjorn Helgaas wrote: > On Thu, Oct 19, 2017 at 06:13:29PM +0530, Faiz Abbas wrote: >> Enable support for printing the LTSSM link state for debugging PCI >> when link is down. >> >> Signed-off-by: Faiz Abbas > > Appl

Re: [PATCH v2] dwc: dra7xx: Print link state to console for debug

2017-10-26 Thread Faiz Abbas
David, On Thursday 19 October 2017 06:56 PM, David Laight wrote: > From: Faiz Abbas >> Sent: 19 October 2017 14:09 >> On Thursday 19 October 2017 06:13 PM, Faiz Abbas wrote: >>> Enable support for printing the LTSSM link state for debugging PCI >>> when link is

Re: [PATCH v2] dwc: dra7xx: Print link state to console for debug

2017-11-05 Thread Faiz Abbas
On Monday 30 October 2017 02:18 PM, Faiz Abbas wrote: > > > On Thursday 26 October 2017 01:29 PM, Faiz Abbas wrote: >> David, >> >> On Thursday 19 October 2017 06:56 PM, David Laight wrote: >>> From: Faiz Abbas >>>> Sent: 19 October 2017 14:09

Re: [PATCH] PCI: dwc: dra7xx: Print link state to console for debug

2017-10-17 Thread Faiz Abbas
On Tuesday 17 October 2017 12:05 PM, Joe Perches wrote: > On Tue, 2017-10-17 at 11:13 +0530, Faiz Abbas wrote: >> Enable support for printing the LTSSM link state for debugging PCI >> when link is down. > [] >> diff --git a/drivers/pci/dwc/pci-dra7xx.c b/drivers/pci/d

[PATCH v2] dwc: dra7xx: Print link state to console for debug

2017-10-19 Thread Faiz Abbas
Enable support for printing the LTSSM link state for debugging PCI when link is down. Signed-off-by: Faiz Abbas --- v2: 1. Changed dev_err() to dev_dbg() 2. Changed static char array to static const char * const 3. format changes drivers/pci/dwc/pci-dra7xx.c | 48

Re: [PATCH v2] dwc: dra7xx: Print link state to console for debug

2017-10-19 Thread Faiz Abbas
On Thursday 19 October 2017 06:13 PM, Faiz Abbas wrote: > Enable support for printing the LTSSM link state for debugging PCI > when link is down. > > Signed-off-by: Faiz Abbas > --- > v2: > 1. Changed dev_err() to dev_dbg() > 2. Changed static char array to static

Re: [PATCH] PCI: dwc: dra7xx: Print link state to console for debug

2017-10-19 Thread Faiz Abbas
Hi, On Tuesday 17 October 2017 08:15 PM, David Laight wrote: > From: Joe Perches >> Sent: 17 October 2017 07:35 >> On Tue, 2017-10-17 at 11:13 +0530, Faiz Abbas wrote: >>> Enable support for printing the LTSSM link state for debugging PCI >>> when link is down. &

Re: [PATCH v2] dwc: dra7xx: Print link state to console for debug

2017-10-30 Thread Faiz Abbas
On Thursday 26 October 2017 01:29 PM, Faiz Abbas wrote: > David, > > On Thursday 19 October 2017 06:56 PM, David Laight wrote: >> From: Faiz Abbas >>> Sent: 19 October 2017 14:09 >>> On Thursday 19 October 2017 06:13 PM, Faiz Abbas wrote: >>>> Ena

Re: [PATCH v7 7/8] dt-bindings: can: m_can: Document new can transceiver binding

2018-01-11 Thread Faiz Abbas
Hi Rob, On Friday 12 January 2018 01:50 AM, Rob Herring wrote: > On Wed, Jan 10, 2018 at 4:55 AM, Faiz Abbas wrote: >> From: Franklin S Cooper Jr >> >> Add information regarding can-transceiver binding. This is especially >> important for MCAN since the I

[PATCH v7 5/8] can: m_can: Add PM Support

2018-01-10 Thread Faiz Abbas
allows future Texas Instruments SoCs that have the MCAN IP to work with this driver. Reviewed-by: Suman Anna Signed-off-by: Franklin S Cooper Jr [nsek...@ti.com: handle pm_runtime_get_sync() failure, fix some bugs] Signed-off-by: Sekhar Nori Signed-off-by: Faiz Abbas --- drivers/net/can/m_can

[PATCH v7 7/8] dt-bindings: can: m_can: Document new can transceiver binding

2018-01-10 Thread Faiz Abbas
-by: Faiz Abbas --- Documentation/devicetree/bindings/net/can/m_can.txt | 9 + 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/net/can/m_can.txt b/Documentation/devicetree/bindings/net/can/m_can.txt index 63e9042..ed61438 100644 --- a/Documentation

[PATCH v7 8/8] dt-bindings: can: can-transceiver: Document new binding

2018-01-10 Thread Faiz Abbas
From: Franklin S Cooper Jr Add documentation to describe usage of the new can-transceiver binding. This new binding is applicable for any CAN device therefore it exists as its own document. Signed-off-by: Franklin S Cooper Jr Signed-off-by: Sekhar Nori Signed-off-by: Faiz Abbas

[PATCH v7 6/8] can: m_can: Support higher speed CAN-FD bitrates

2018-01-10 Thread Faiz Abbas
2013 indicates that this TDC mode is only needed for data bit rates above 2.5 Mbps. Therefore, only enable this mode when the data bit rate is above 2.5 Mbps. Signed-off-by: Franklin S Cooper Jr Signed-off-by: Sekhar Nori Signed-off-by: Faiz Abbas --- d

[PATCH v7 4/8] can: m_can: Move allocation of net device to probe

2018-01-10 Thread Faiz Abbas
With the version no longer required to allocate the net device, it can be moved to probe and the alloc_m_can_dev() function can be simplified. Therefore, move the allocation of net device to probe and change alloc_m_can_dev() to setup_m_can_dev(). Signed-off-by: Faiz Abbas --- drivers/net/can

[PATCH v7 0/8] Add MCAN Support for Dra76 platform

2018-01-10 Thread Faiz Abbas
. Drivers which enable hclk as the interface clock using pm_runtime calls must still provide a hclk in the clocks property. Support higher speed CAN-FD bitrate: The community decided that data sampling point be used for the secondary sampling point here https://patchwork.kernel.org/patch/9909845/ Faiz

[PATCH v7 3/8] can: m_can: Remove check for version when allocating m_can net device

2018-01-10 Thread Faiz Abbas
allocating the net device. Signed-off-by: Faiz Abbas --- drivers/net/can/m_can/m_can.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/net/can/m_can/m_can.c b/drivers/net/can/m_can/m_can.c index f72116e..893edbb 100644 --- a/drivers/net/can/m_can/m_can.c +++ b/drivers

[PATCH v7 1/8] can: dev: Add support for limiting configured bitrate

2018-01-10 Thread Faiz Abbas
reading bitrate_max via the netlink interface. Reviewed-by: Suman Anna Signed-off-by: Franklin S Cooper Jr [nsek...@ti.com: fix build error with !CONFIG_OF] Signed-off-by: Sekhar Nori Signed-off-by: Faiz Abbas --- drivers/net/can/dev.c| 45

[PATCH v7 2/8] can: m_can: Add call to of_can_transceiver

2018-01-10 Thread Faiz Abbas
: Faiz Abbas --- drivers/net/can/m_can/m_can.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/can/m_can/m_can.c b/drivers/net/can/m_can/m_can.c index f4947a7..f72116e 100644 --- a/drivers/net/can/m_can/m_can.c +++ b/drivers/net/can/m_can/m_can.c @@ -1649,6 +1649,8 @@ static int

Re: [PATCH v7 4/8] can: m_can: Move allocation of net device to probe

2018-01-16 Thread Faiz Abbas
Hi, On Monday 15 January 2018 07:22 PM, Marc Kleine-Budde wrote: > On 01/10/2018 11:55 AM, Faiz Abbas wrote: >> With the version no longer required to allocate the net device, it can >> be moved to probe and the alloc_m_can_dev() function can be simplified. >> >> Theref

Re: [PATCH v7 5/8] can: m_can: Add PM Support

2018-01-16 Thread Faiz Abbas
Hi, On Monday 15 January 2018 07:25 PM, Marc Kleine-Budde wrote: > On 01/10/2018 11:55 AM, Faiz Abbas wrote: >> From: Franklin S Cooper Jr >> >> Add support for CONFIG_PM which is the new way to handle managing clocks. >> >> Move the clock management to pm_runtim

[PATCH v8 4/5] can: m_can: Add PM Support

2018-01-16 Thread Faiz Abbas
SoCs that have the MCAN IP to work with this driver. Signed-off-by: Faiz Abbas --- drivers/net/can/m_can/m_can.c | 100 ++ 1 file changed, 62 insertions(+), 38 deletions(-) diff --git a/drivers/net/can/m_can/m_can.c b/drivers/net/can/m_can/m_can.c index

[PATCH v8 3/5] can: m_can: Move allocation of net device to probe

2018-01-16 Thread Faiz Abbas
With the version no longer required to allocate the net device, it can be moved to probe and the alloc_m_can_dev() function can be simplified. Therefore, move the allocation of net device to probe and change alloc_m_can_dev() to setup_m_can_dev(). Signed-off-by: Faiz Abbas --- drivers/net/can

[PATCH v8 5/5] can: m_can: Support higher speed CAN-FD bitrates

2018-01-16 Thread Faiz Abbas
2013 indicates that this TDC mode is only needed for data bit rates above 2.5 Mbps. Therefore, only enable this mode when the data bit rate is above 2.5 Mbps. Signed-off-by: Franklin S Cooper Jr Signed-off-by: Sekhar Nori Signed-off-by: Faiz Abbas --- d

[PATCH v8 2/5] dt-bindings: can: can-transceiver: Document new binding

2018-01-16 Thread Faiz Abbas
: Faiz Abbas --- .../bindings/net/can/can-transceiver.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/can/can-transceiver.txt diff --git a/Documentation/devicetree/bindings/net/can/can-transceiver.txt b

[PATCH v8 0/5] Add MCAN Support for Dra76 platform

2018-01-16 Thread Faiz Abbas
clock using pm_runtime calls must still provide a hclk in the clocks property. Support higher speed CAN-FD bitrate: The community decided that data sampling point be used for the secondary sampling point here https://patchwork.kernel.org/patch/9909845/ Faiz Abbas (2): can: m_can: Move allocation

[PATCH v8 1/5] dt-bindings: can: m_can: Document new can transceiver binding

2018-01-16 Thread Faiz Abbas
: Rob Herring Signed-off-by: Faiz Abbas --- Documentation/devicetree/bindings/net/can/m_can.txt | 9 + 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/net/can/m_can.txt b/Documentation/devicetree/bindings/net/can/m_can.txt index 63e9042..ed61438 100644 --- a

[PATCH 0/3] Add MCAN Support for dra76x

2018-04-08 Thread Faiz Abbas
The following patches add dts and hwmod support for MCAN in TI's dra76 SOCs. The patches depend on the following series: https://patchwork.kernel.org/patch/10221105/ Tested on linux-next Franklin S Cooper Jr (1): ARM: dts: dra76x: Add MCAN node Lokesh Vutla (2): ARM: dra762: hwmod: Add MCAN

[PATCH 2/3] ARM: dts: dra762: Add MCAN clock support

2018-04-08 Thread Faiz Abbas
From: Lokesh Vutla MCAN is clocked by H14 divider of DPLL_GMAC. Unlike other DPLL dividers this DPLL_GMAC H14 divider is controlled by control module. Adding support for these clocks. Signed-off-by: Lokesh Vutla Signed-off-by: Faiz Abbas --- arch/arm/boot/dts/dra76x.dtsi | 33

[PATCH 1/3] ARM: dra762: hwmod: Add MCAN support

2018-04-08 Thread Faiz Abbas
From: Lokesh Vutla Add MCAN hwmod data and register it for dra762 silicons. Signed-off-by: Lokesh Vutla Signed-off-by: Faiz Abbas --- arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 32 +++ 1 file changed, 32 insertions(+) diff --git a/arch/arm/mach-omap2

[PATCH 3/3] ARM: dts: dra76x: Add MCAN node

2018-04-08 Thread Faiz Abbas
From: Franklin S Cooper Jr Add support for the MCAN peripheral which supports both classic CAN messages along with the new CAN-FD message. Add MCAN node to evm and enable it with a maximum datarate of 5 mbps Signed-off-by: Franklin S Cooper Jr Signed-off-by: Sekhar Nori Signed-off-by: Faiz

[PATCH] ARM: dts: am33xx: Add pinmux data for mmc1 in am335x-evm, evmsk and beaglebone

2018-04-11 Thread Faiz Abbas
am335x-evm, am335x-evmsk and am335x-beaglebone are currently relying on pinmux set by the bootloader to set the correct value for mmc1. Fix this by adding pinmux data for the same in kernel. Signed-off-by: Faiz Abbas --- arch/arm/boot/dts/am335x-bone-common.dtsi | 9 - arch/arm/boot/dts

Re: [PATCH 1/4] mmc: sdhci-omap: Fix DCRC error handling during tuning

2018-11-19 Thread Faiz Abbas
Hi Uffe On 19/11/18 6:48 PM, Ulf Hansson wrote: > On 19 November 2018 at 12:16, Faiz Abbas wrote: >> Commit 7d33c3581536 ("mmc: sdhci-omap: Workaround for Errata i802") >> disabled DCRC interrupts during tuning. This write to the interrupt >> enab

Re: [PATCH] mmc: core: Remove timeout when enabling cache

2018-11-20 Thread Faiz Abbas
Hi Uffe, On 20/11/18 2:54 PM, Ulf Hansson wrote: > On 7 November 2018 at 09:47, Wolfram Sang wrote: >> >>> That also happens to be one of the cards we deploy; However i did >>> wonder about adding a quirk but decided against it as it was not clear >>> to me from the specification that CACHE ON re

Re: [PATCH] mmc: core: Remove timeout when enabling cache

2018-11-20 Thread Faiz Abbas
Hi, On 20/11/18 3:53 PM, Wolfram Sang wrote: > That also happens to be one of the cards we deploy; However i did wonder about adding a quirk but decided against it as it was not clear to me from the specification that CACHE ON really is meant to complete within GENERIC_CMD6_TI

Re: [PATCH 2/4] mmc: sdhci-omap: Add variable to indicate host is tuning

2018-11-20 Thread Faiz Abbas
Hi Uffe, On 19/11/18 6:48 PM, Ulf Hansson wrote: > On 19 November 2018 at 12:16, Faiz Abbas wrote: >> Add a variable in sdhc_omap_host to indicate whether a tuning >> operation is ongoing. >> >> Signed-off-by: Faiz Abbas > > Please squash this into patch3 as it

Re: [PATCH 1/4] mmc: sdhci-omap: Fix DCRC error handling during tuning

2018-11-21 Thread Faiz Abbas
Hi Kishon, On 20/11/18 10:23 AM, Kishon Vijay Abraham I wrote: > Hi, > > On 19/11/18 4:46 PM, Faiz Abbas wrote: >> Commit 7d33c3581536 ("mmc: sdhci-omap: Workaround for Errata i802") >> disabled DCRC interrupts during tuning. This write to the interrupt >>

[PATCH v2 2/3] mmc: sdhci-omap: Add platform specific reset callback

2018-11-21 Thread Faiz Abbas
: Faiz Abbas --- drivers/mmc/host/sdhci-omap.c | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-omap.c b/drivers/mmc/host/sdhci-omap.c index d264391616f9..4fad47926743 100644 --- a/drivers/mmc/host/sdhci-omap.c +++ b/drivers/mmc/host

[PATCH v2 0/3] Tuning Fixes for sdhci-omap

2018-11-21 Thread Faiz Abbas
The following patches fix tuning related errors in the sdhci-omap driver. v2: Added Fixes and stable tags for patch 1. Re-enable DCRC in patch 1 only if it was enabled before Squashed patches 2 & 3 Faiz Abbas (3): mmc: sdhci-omap: Fix DCRC error handling during tuning mmc: sdhci-omap:

[PATCH v2 3/3] mmc: sdhci-omap: Remove redundant structure assignments

2018-11-21 Thread Faiz Abbas
The sdhci_execute_tuning() function has assignment of private pointers multiple times. Remove the redundant assignment. Acked-by: Kishon Vijay Abraham I Signed-off-by: Faiz Abbas --- drivers/mmc/host/sdhci-omap.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/mmc/host/sdhci

[PATCH v2 1/3] mmc: sdhci-omap: Fix DCRC error handling during tuning

2018-11-21 Thread Faiz Abbas
;ier variable. Fixes: 7d33c3581536 ("mmc: sdhci-omap: Workaround for Errata i802") Cc: Signed-off-by: Faiz Abbas --- drivers/mmc/host/sdhci-omap.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/host/sdhci-omap.c b/drivers/mmc/host/sdhci-om

Re: [PATCH v2 0/3] Add support for using external dma in SDHCI

2018-11-21 Thread Faiz Abbas
Hi Chunyan, On 12/11/18 12:56 PM, Chunyan Zhang wrote: > Currently the generic SDHCI code in the Linux kernel supports the SD > standard DMA integrated into the host controller but does not have any > support for external DMA controllers implemented using dmaengine meaning > that custom code is ne

[PATCH 1/3] dt-bindings: mmc: sdhci-am654: Document bindings for the host controllers on TI's AM654 SOCs

2018-11-29 Thread Faiz Abbas
Add binding documentation for mmc host controllers present on TI's AM654 SOCs Signed-off-by: Faiz Abbas --- .../devicetree/bindings/mmc/sdhci-am654.txt | 37 +++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/sdhci-am654.txt

[PATCH 3/3] mmc: sdhci_am654: Add Initial Support for AM654 SDHCI driver

2018-11-29 Thread Faiz Abbas
igher speeds will be added in subsequent patches. Signed-off-by: Faiz Abbas --- drivers/mmc/host/Kconfig | 12 + drivers/mmc/host/Makefile | 1 + drivers/mmc/host/sdhci-of-arasan.c | 46 drivers/mmc/host/sdhci_am654.c | 376 + 4 files ch

[PATCH 0/3] Add driver Support for MMCSD on AM654x.

2018-11-29 Thread Faiz Abbas
adds tuning support. DT patches will be posted in a separate series. [1] driver and phy patches posted before https://patchwork.kernel.org/project/linux-mmc/list/?series=26623 Faiz Abbas (3): dt-bindings: mmc: sdhci-am654: Document bindings for the host controllers on TI's AM654

[PATCH 2/3] dt-bindings: mmc: sdhci-of-arasan: Add deprecated message for am654

2018-11-29 Thread Faiz Abbas
The "ti,am654-sdhci-5.1" binding has been moved to a new driver. Indicate this by a deprecated message. Signed-off-by: Faiz Abbas --- Documentation/devicetree/bindings/mmc/arasan,sdhci.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/

[PATCH] mmc: sdhci-omap: Workaround errata regarding SDR104/HS200 tuning failures (i929)

2018-11-29 Thread Faiz Abbas
current temperature. In stage 2, if the chosen value is close to the small failure band, move away from it in the appropriate direction. References: [1] http://www.ti.com/lit/pdf/sprz426 [2] http://www.ti.com/lit/pdf/SPRACA9 Signed-off-by: Faiz Abbas --- drivers/mmc/host/Kconfig | 2 + drivers

Re: [PATCH] mmc: sdhci-omap: Workaround errata regarding SDR104/HS200 tuning failures (i929)

2018-11-29 Thread Faiz Abbas
Hi Kishon, On 30/11/18 10:10 AM, Kishon Vijay Abraham I wrote: > Hi Faiz, > > On 30/11/18 12:35 AM, Faiz Abbas wrote: >> Errata i929 in certain OMAP5/DRA7XX/AM57XX silicon revisions >> (SPRZ426D - November 2014 - Revised February 2018 [1]) mentions >> unexpected tun

Re: [PATCH] mmc: sdhci-omap: Workaround errata regarding SDR104/HS200 tuning failures (i929)

2018-11-30 Thread Faiz Abbas
Hi, I forgot to mention that this patch goes on top of my series "Tuning Fixes for sdhci-omap" series. https://patchwork.kernel.org/project/linux-mmc/list/?series=44725 Thanks, Faiz On 30/11/18 12:35 AM, Faiz Abbas wrote: > Errata i929 in certain OMAP5/DRA7XX/AM57XX sili

[PATCH 2/4] mmc: sdhci-omap: Add variable to indicate host is tuning

2018-11-19 Thread Faiz Abbas
Add a variable in sdhc_omap_host to indicate whether a tuning operation is ongoing. Signed-off-by: Faiz Abbas --- drivers/mmc/host/sdhci-omap.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/mmc/host/sdhci-omap.c b/drivers/mmc/host/sdhci-omap.c index 87138067e334

[PATCH 0/4] Tuning Fixes for sdhci-omap

2018-11-19 Thread Faiz Abbas
The following patches fix tuning related errors in the sdhci-omap driver. Faiz Abbas (4): mmc: sdhci-omap: Fix DCRC error handling during tuning mmc: sdhci-omap: Add variable to indicate host is tuning mmc: sdhci-omap: Add platform specific reset callback mmc: sdhci-omap: Remove redundant

[PATCH 3/4] mmc: sdhci-omap: Add platform specific reset callback

2018-11-19 Thread Faiz Abbas
The TRM (SPRUIC2C - January 2017 - Revised May 2018 [1]) forbids assertion of data reset while tuning is happening. Implement a platform specific callback that takes care of this condition. [1] http://www.ti.com/lit/pdf/spruic2 Section 25.5.1.2.4 Signed-off-by: Faiz Abbas --- drivers/mmc/host

[PATCH 1/4] mmc: sdhci-omap: Fix DCRC error handling during tuning

2018-11-19 Thread Faiz Abbas
;ier variable. Signed-off-by: Faiz Abbas --- drivers/mmc/host/sdhci-omap.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/host/sdhci-omap.c b/drivers/mmc/host/sdhci-omap.c index 88347ce78f23..87138067e334 100644 --- a/drivers/mmc/host/sdhci-omap.c +++ b/dri

[PATCH 4/4] mmc: sdhci-omap: Remove redundant structure assignments

2018-11-19 Thread Faiz Abbas
The sdhci_execute_tuning() function has assignment of private pointers multiple times. Remove the redundant assignment. Signed-off-by: Faiz Abbas --- drivers/mmc/host/sdhci-omap.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/mmc/host/sdhci-omap.c b/drivers/mmc/host/sdhci

Re: [PATCH 3/3] mmc: sdhci_am654: Add Initial Support for AM654 SDHCI driver

2018-12-05 Thread Faiz Abbas
Hi Adrian, On 05/12/18 7:12 PM, Adrian Hunter wrote: > On 29/11/18 6:15 PM, Faiz Abbas wrote: >> The host controllers on TI's AM654 SOCs are not compatible with >> the phy and consumer model of the sdhci-of-arasan driver. It turns out >> that for optimal operation a

[PATCH v2 1/3] dt-bindings: mmc: sdhci-am654: Document bindings for the host controllers on TI's AM654 SOCs

2018-12-07 Thread Faiz Abbas
Add binding documentation for mmc host controllers present on TI's AM654 SOCs. Signed-off-by: Faiz Abbas --- .../devicetree/bindings/mmc/sdhci-am654.txt | 37 +++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/sdhci-am654.txt

[PATCH v2 2/3] dt-bindings: mmc: sdhci-of-arasan: Add deprecated message for am65

2018-12-07 Thread Faiz Abbas
s some phy registers for core sdhci functionality. This calls for the binding to branch out to a new driver. Therefore, add a deprecated message for the ti,am654-sdhci-5.1 binding. Signed-off-by: Faiz Abbas --- Documentation/devicetree/bindings/mmc/arasan,sdhci.txt | 4 1 file changed, 4

[PATCH v2 3/3] mmc: sdhci_am654: Add Initial Support for AM654 SDHCI driver

2018-12-07 Thread Faiz Abbas
igher speeds will be added in subsequent patches. Signed-off-by: Faiz Abbas --- drivers/mmc/host/Kconfig | 12 + drivers/mmc/host/Makefile | 1 + drivers/mmc/host/sdhci-of-arasan.c | 46 drivers/mmc/host/sdhci_am654.c | 381 + 4 files ch

[PATCH v2 0/3] Add driver Support for MMCSD on AM654x

2018-12-07 Thread Faiz Abbas
/list/?series=26623 Faiz Abbas (3): dt-bindings: mmc: sdhci-am654: Document bindings for the host controllers on TI's AM654 SOCs dt-bindings: mmc: sdhci-of-arasan: Add deprecated message for am65 mmc: sdhci_am654: Add Initial Support for AM654 SDHCI driver .../devicetree/bindings/

[PATCH 0/2] Add DT Support for MMCSD in Am65x-evm

2018-12-07 Thread Faiz Abbas
The following patches add dt support for MMCSD on the AM65x-evm. THe series depends on driver support[1] and pinmux support[2] posted separately. [1] https://patchwork.kernel.org/project/linux-mmc/list/?series=53185 [2] https://lore.kernel.org/patchwork/project/lkml/list/?series=372649 Faiz

[PATCH 2/2] arm64: dts: ti: k3-am654-base-board: Add MMC/SD support

2018-12-07 Thread Faiz Abbas
On the am654x-evm, sdhci0 node is connected to an eMMC while sdhci1 is connected to an SD card slot. Add nodes and pinmuxes for the same. Signed-off-by: Faiz Abbas --- .../arm64/boot/dts/ti/k3-am654-base-board.dts | 46 +++ 1 file changed, 46 insertions(+) diff --git a/arch

[PATCH 1/2] arm64: dts: ti: k3-am654: Add Support for MMC/SD

2018-12-07 Thread Faiz Abbas
There are two MMC host controller instances present on the TI's Am654 SOCs. Add device tree nodes for the same. Signed-off-by: Faiz Abbas --- arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 28 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3

Re: [PATCH 2/3] dt-bindings: mmc: sdhci-of-arasan: Add deprecated message for am654

2018-12-03 Thread Faiz Abbas
Hi Michal, On 30/11/18 12:48 PM, Michal Simek wrote: > On 29. 11. 18 17:15, Faiz Abbas wrote: >> The "ti,am654-sdhci-5.1" binding has been moved to a new driver. Indicate >> this by a deprecated message. >> >> Signed-off-by: Faiz Abbas >> --- >&

Re: [PATCH V3 1/3] mmc: sdhci: add support for using external DMA devices

2018-12-03 Thread Faiz Abbas
Hi Chunyan, On 29/11/18 2:53 PM, Adrian Hunter wrote: > On 29/11/18 8:07 AM, Chunyan Zhang wrote: >> Some standard SD host controllers can support both external dma >> controllers as well as ADMA/SDMA in which the SD host controller >> acts as DMA master. TI's omap controller is the case as an exa

Re: [PATCH V3 1/3] mmc: sdhci: add support for using external DMA devices

2018-12-03 Thread Faiz Abbas
Hi, On 29/11/18 11:37 AM, Chunyan Zhang wrote: > Some standard SD host controllers can support both external dma > controllers as well as ADMA/SDMA in which the SD host controller > acts as DMA master. TI's omap controller is the case as an example. > > Currently the generic SDHCI code supports A

Re: [PATCH v2 2/3] mmc: sdhci-omap: Add using external dma

2018-12-03 Thread Faiz Abbas
Chunyan, On 12/11/18 12:56 PM, Chunyan Zhang wrote: > sdhci-omap can support both external dma controller via dmaengine framework > as well as ADMA which standard SD host controller provides. > > Signed-off-by: Chunyan Zhang > --- > drivers/mmc/host/sdhci-omap.c | 7 +++ > 1 file changed, 7

Re: [PATCH V3 1/3] mmc: sdhci: add support for using external DMA devices

2018-12-03 Thread Faiz Abbas
Hi, On 03/12/18 5:45 PM, Faiz Abbas wrote: > Hi, > >> +static void sdhci_external_dma_prepare_data(struct sdhci_host *host, >> +struct mmc_command *cmd) >> +{ > > Please add a condition for data == NULL here. This was already

Re: [PATCH v2 0/3] Tuning Fixes for sdhci-omap

2018-12-04 Thread Faiz Abbas
Hi, On 21/11/18 4:53 PM, Adrian Hunter wrote: > On 21/11/18 12:33 PM, Faiz Abbas wrote: >> The following patches fix tuning related errors in the >> sdhci-omap driver. >> >> v2: >> Added Fixes and stable tags for patch 1. >> Re-enable DCRC in patch 1 on

Re: [PATCH V3 0/3] Add support for using external dma in SDHCI

2018-12-04 Thread Faiz Abbas
Hi Chunyan, On 04/12/18 12:54 PM, Chunyan Zhang wrote: > Currently the generic SDHCI code in the Linux kernel supports the SD > standard DMA integrated into the host controller but does not have any > support for external DMA controllers implemented using dmaengine meaning > that custom code is ne

Re: [PATCH V3 1/3] mmc: sdhci: add support for using external DMA devices

2018-12-04 Thread Faiz Abbas
Hi, On 04/12/18 12:54 PM, Chunyan Zhang wrote: > Some standard SD host controllers can support both external dma > controllers as well as ADMA/SDMA in which the SD host controller > acts as DMA master. TI's omap controller is the case as an example. > > Currently the generic SDHCI code supports A

Re: [PATCH] ARM: dts: am33xx: Add pinmux data for mmc1 in am335x-evm, evmsk and beaglebone

2018-07-02 Thread Faiz Abbas
Hi, On Monday 02 July 2018 04:20 PM, Tony Lindgren wrote: > * Robert Nelson [180618 14:00]: >> On Wed, Apr 11, 2018 at 6:48 AM, Faiz Abbas wrote: >>> am335x-evm, am335x-evmsk and am335x-beaglebone are currently relying on >>> pinmux set by the bootloader to set the

Re: [PATCH v3 4/6] bus: ti-sysc: Add support for software reset

2018-07-03 Thread Faiz Abbas
Hi, On Tuesday 03 July 2018 12:37 PM, Tony Lindgren wrote: > * Tony Lindgren [180611 07:06]: >> * Faiz Abbas [180611 06:48]: >>> Hi, >>> >>> On Monday 11 June 2018 11:59 AM, Tony Lindgren wrote: >>>> * Faiz Abbas [180611 06:28]: >>>

[PATCH v5 3/6] bus: ti-sysc: Add support for using ti-sysc for MCAN on dra76x

2018-07-09 Thread Faiz Abbas
The dra76x MCAN generic interconnect module has a its own format for the bits in the control registers. Therefore add a new module type, new regbits and new capabilities specific to the MCAN module. Acked-by: Rob Herring CC: Tony Lindgren Signed-off-by: Faiz Abbas --- .../devicetree/bindings

[PATCH v5 5/6] ARM: dts: Add generic interconnect target module node for MCAN

2018-07-09 Thread Faiz Abbas
The ti-sysc driver provides support for manipulating the idle modes and interconnect level resets. Add the generic interconnect target module node for MCAN to support the same. CC: Tony Lindgren Signed-off-by: Faiz Abbas --- arch/arm/boot/dts/dra76x.dtsi | 18 ++ 1 file

[PATCH v5 6/6] ARM: dts: dra76x: Add MCAN node

2018-07-09 Thread Faiz Abbas
Add support for the MCAN peripheral which supports both classic CAN messages along with the new CAN-FD message. Add MCAN node to evm and enable it with a maximum datarate of 5 mbps Signed-off-by: Faiz Abbas --- arch/arm/boot/dts/dra76-evm.dts | 6 ++ arch/arm/boot/dts/dra76x.dtsi | 13

[PATCH v5 2/6] clk: ti: dra7: Add clkctrl clock data for the mcan clocks

2018-07-09 Thread Faiz Abbas
Add clkctrl data for the m_can clocks and register it within the clkctrl driver Acked-by: Rob Herring Acked-by: Stephen Boyd CC: Tero Kristo Signed-off-by: Faiz Abbas --- drivers/clk/ti/clk-7xx.c | 1 + include/dt-bindings/clock/dra7.h | 1 + 2 files changed, 2 insertions(+) diff

[PATCH v5 4/6] bus: ti-sysc: Add support for software reset

2018-07-09 Thread Faiz Abbas
Add support for the software reset of a target interconnect module using its sysconfig and sysstatus registers. Signed-off-by: Faiz Abbas --- drivers/bus/ti-sysc.c | 44 +++ 1 file changed, 44 insertions(+) diff --git a/drivers/bus/ti-sysc.c b/drivers

[PATCH v5 1/6] ARM: dts: dra762: Add MCAN clock support

2018-07-09 Thread Faiz Abbas
From: Lokesh Vutla MCAN is clocked by H14 divider of DPLL_GMAC. Unlike other DPLL dividers this DPLL_GMAC H14 divider is controlled by control module. Adding support for these clocks. Signed-off-by: Lokesh Vutla Signed-off-by: Faiz Abbas --- arch/arm/boot/dts/dra76x.dtsi | 33

[PATCH v5 0/6] Add MCAN Support for dra76x

2018-07-09 Thread Faiz Abbas
s of target-module and mcan 4. Removed the status="disabled" in dtsi followed by status="okay" in dts. Changes in v2: 1. Added Support for mcan in the ti-sysc driver Also added the target-module node for the same 2. Added clkctrl data for mcan clocks Faiz

Re: [PATCH v5 4/6] bus: ti-sysc: Add support for software reset

2018-07-10 Thread Faiz Abbas
Hi Tony, On Tuesday 10 July 2018 05:12 PM, Tony Lindgren wrote: > Hi, > > * Faiz Abbas [180709 16:50]: >> Add support for the software reset of a target interconnect >> module using its sysconfig and sysstatus registers. > ... >> --- a/drivers/bus/ti-sysc.c

MMC performance degradation due to too many requests

2018-05-14 Thread Faiz Abbas
Hi Everyone, I am debugging a performance degradation issue in some SD cards which happened around 4.13 kernel on TI's AM335x-evm. I compare the time taken for a simple dd command (after dropping caches) to run between kernel versions 4.13 and 4.14. I see that there is a consistent 15-20% reducti

[PATCH v2 1/6] ARM: dra762: hwmod: Add MCAN support

2018-05-30 Thread Faiz Abbas
From: Lokesh Vutla Add MCAN hwmod data and register it for dra762 silicons. Signed-off-by: Lokesh Vutla Signed-off-by: Faiz Abbas --- arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 32 +++ 1 file changed, 32 insertions(+) diff --git a/arch/arm/mach-omap2

[PATCH v2 5/6] ARM: dts: Add generic interconnect target module node for MCAN

2018-05-30 Thread Faiz Abbas
The ti-sysc driver provides support for manipulating the idlemodes and interconnect level resets. Add the generic interconnect target module node for MCAN to support the same. CC: Tony Lindgren Signed-off-by: Faiz Abbas --- arch/arm/boot/dts/dra76x.dtsi | 19 +++ 1 file

[PATCH v2 4/6] bus: ti-sysc: Add support for using ti-sysc for MCAN on dra76x

2018-05-30 Thread Faiz Abbas
The dra76x MCAN generic interconnect module has a its own format for the bits in the control registers. Therefore add a new module type, new regbits and new capabilities specific to the MCAN module. CC: Tony Lindgren Signed-off-by: Faiz Abbas --- .../devicetree/bindings/bus/ti-sysc.txt

[PATCH v2 6/6] ARM: dts: dra76x: Add MCAN node

2018-05-30 Thread Faiz Abbas
From: Franklin S Cooper Jr Add support for the MCAN peripheral which supports both classic CAN messages along with the new CAN-FD message. Add MCAN node to evm and enable it with a maximum datarate of 5 mbps Signed-off-by: Faiz Abbas --- arch/arm/boot/dts/dra76-evm.dts | 7 +++ arch/arm

[PATCH v2 3/6] clk: ti: dra7: Add clkctrl clock data for the mcan clocks

2018-05-30 Thread Faiz Abbas
Add clkctrl data for the m_can clocks and register it within the clkctrl driver CC: Tero Kristo Signed-off-by: Faiz Abbas --- drivers/clk/ti/clk-7xx.c | 1 + include/dt-bindings/clock/dra7.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/clk/ti/clk-7xx.c b/drivers/clk/ti

[PATCH v2 0/6] Add MCAN Support for dra76x

2018-05-30 Thread Faiz Abbas
e 2. Added clkctrl data for mcan clocks Faiz Abbas (3): clk: ti: dra7: Add clkctrl clock data for the mcan clocks bus: ti-sysc: Add support for using ti-sysc for MCAN on dra76x ARM: dts: Add generic interconnect target module node for MCAN Franklin S Cooper Jr (1): ARM: dts: dra76x: Add

[PATCH v2 2/6] ARM: dts: dra762: Add MCAN clock support

2018-05-30 Thread Faiz Abbas
From: Lokesh Vutla MCAN is clocked by H14 divider of DPLL_GMAC. Unlike other DPLL dividers this DPLL_GMAC H14 divider is controlled by control module. Adding support for these clocks. Signed-off-by: Lokesh Vutla Signed-off-by: Faiz Abbas --- arch/arm/boot/dts/dra76x.dtsi | 33

Re: [PATCH v2 3/6] clk: ti: dra7: Add clkctrl clock data for the mcan clocks

2018-05-31 Thread Faiz Abbas
Hi, On Thursday 31 May 2018 09:33 AM, Rob Herring wrote: > On Wed, May 30, 2018 at 07:41:30PM +0530, Faiz Abbas wrote: >> Add clkctrl data for the m_can clocks and register it within the ... >> >> diff --git a/include/dt-bindings/clock/dra7.h >> b/include/dt-bin

Re: [PATCH v2 4/6] bus: ti-sysc: Add support for using ti-sysc for MCAN on dra76x

2018-05-31 Thread Faiz Abbas
Hi, On Wednesday 30 May 2018 08:27 PM, Tony Lindgren wrote: > * Faiz Abbas [180530 14:12]: >> The dra76x MCAN generic interconnect module has a its own >> format for the bits in the control registers. ... >> static int sysc_init_pdata(struct sysc *ddata)

Re: [PATCH v2 5/6] ARM: dts: Add generic interconnect target module node for MCAN

2018-05-31 Thread Faiz Abbas
Hi, On Wednesday 30 May 2018 08:34 PM, Tony Lindgren wrote: > * Faiz Abbas [180530 14:12]: >> The ti-sysc driver provides support for manipulating the idlemodes >> and interconnect level resets. > ... >> --- a/arch/arm/boot/dts/dra76x.dtsi >> +++ b/arch/arm/bo

Re: [PATCH v2 5/6] ARM: dts: Add generic interconnect target module node for MCAN

2018-05-31 Thread Faiz Abbas
Hi, On Thursday 31 May 2018 09:36 AM, Rob Herring wrote: > On Wed, May 30, 2018 at 07:41:32PM +0530, Faiz Abbas wrote: >> The ti-sysc driver provides support for manipulating the idlemodes >> and interconnect level resets. >> >> Add the generic interconnect target modu

Re: [PATCH v2 1/6] ARM: dra762: hwmod: Add MCAN support

2018-05-31 Thread Faiz Abbas
Hi, On Thursday 31 May 2018 08:56 PM, Tony Lindgren wrote: > * Tero Kristo [180531 06:18]: >> On 30/05/18 18:54, Tony Lindgren wrote: >>> * Tero Kristo [180530 15:44]: On 30/05/18 18:28, Tony Lindgren wrote: > * Tero Kristo [180530 15:18]: >> For the OCP if part, I think that is st

Re: [PATCH v2 5/6] ARM: dts: Add generic interconnect target module node for MCAN

2018-05-31 Thread Faiz Abbas
Hi, On Thursday 31 May 2018 07:15 PM, Tony Lindgren wrote: > * Faiz Abbas [180531 10:22]: >> On Wednesday 30 May 2018 08:34 PM, Tony Lindgren wrote: >>> Looks good to me except I think the reset won't do anything currently >>> with ti-sysc.c unless you specfify

Re: [PATCH v2 3/6] clk: ti: dra7: Add clkctrl clock data for the mcan clocks

2018-05-31 Thread Faiz Abbas
Hi, On Thursday 31 May 2018 06:59 PM, Tero Kristo wrote: > On 31/05/18 13:14, Faiz Abbas wrote: >> Hi, >> >> On Thursday 31 May 2018 09:33 AM, Rob Herring wrote: >>> On Wed, May 30, 2018 at 07:41:30PM +0530, Faiz Abbas wrote: >>>> Add clkctrl data for t

Re: [PATCH v2 5/6] ARM: dts: Add generic interconnect target module node for MCAN

2018-06-03 Thread Faiz Abbas
Hi, On Saturday 02 June 2018 12:02 PM, Stephen Boyd wrote: > Quoting Faiz Abbas (2018-05-30 07:11:32) >> diff --git a/arch/arm/boot/dts/dra76x.dtsi b/arch/arm/boot/dts/dra76x.dtsi >> index bfc82636999c..57b8dc0fe719 100644 >> --- a/arch/arm/boot/dts/dra76x.dtsi >&

Re: [PATCH v3 4/6] bus: ti-sysc: Add support for software reset

2018-07-04 Thread Faiz Abbas
Hi, On Tuesday 03 July 2018 01:01 PM, Tony Lindgren wrote: > * Faiz Abbas [180703 07:31]: >> Hi, >> >> On Tuesday 03 July 2018 12:37 PM, Tony Lindgren wrote: >>> * Tony Lindgren [180611 07:06]: >>>> * Faiz Abbas [180611 06:48]: >>>>&

Re: [PATCH v3 4/6] bus: ti-sysc: Add support for software reset

2018-07-04 Thread Faiz Abbas
Hi, On Thursday 05 July 2018 11:25 AM, Tony Lindgren wrote: > * Faiz Abbas [180704 13:37]: >> After taking a second look at this thread, I don't see anything big to >> be modified. >> >> We both agree that "reset status bit in sysconfig register" is the

[PATCH v4 1/6] ARM: dts: dra762: Add MCAN clock support

2018-07-05 Thread Faiz Abbas
From: Lokesh Vutla MCAN is clocked by H14 divider of DPLL_GMAC. Unlike other DPLL dividers this DPLL_GMAC H14 divider is controlled by control module. Adding support for these clocks. Signed-off-by: Lokesh Vutla Signed-off-by: Faiz Abbas --- arch/arm/boot/dts/dra76x.dtsi | 33

  1   2   3   4   >