RE: [PATCH v7 2/5] PCI: dwc: add support to handle ZRX-DC Compliant PHYs

2021-01-11 Thread Pankaj Dubey
pecification Rev 4.0 which says as: "Ports that meet the ZRX-DC specification for 2.5 GT/s while in the L1.Idle state and are therefore not required to implement the 100 ms timeout and transition to Recovery should avoid implementing it, since it will reduce the power savings expected from the

RE: [PATCH v2] PCI: dwc: Add upper limit address for outbound iATU

2021-01-06 Thread Pankaj Dubey
/20/187 > v2: >Addressed Rob's review comment and added PCI version check condition > to >avoid writing to reserved registers. > Reviewed-by: Pankaj Dubey > drivers/pci/controller/dwc/pcie-designware.c | 9 +++-- > drivers/pci/controller/dwc/pcie-designware.

RE: [PATCH v2] PCI: dwc: Change size to u64 for EP outbound iATU

2021-01-06 Thread Pankaj Dubey
ze to be greater than 4GB for which the > support is also available, allow EP function to send u64 size instead of > truncating to u32. > > Signed-off-by: Shradha Todi > --- > v1: https://lkml.org/lkml/2020/12/18/690 > v2: >Addressed Bjorn's review on to

RE: [PATCH v2 4/4] soc: samsung: exynos-chipid: convert to driver and merge exynos-asv

2020-12-07 Thread Pankaj Dubey
rowski > ; Bartlomiej Zolnierkiewicz > ; Arnd Bergmann ; Chanwoo > Choi ; Alim Akhtar ; > Pankaj Dubey > Subject: [PATCH v2 4/4] soc: samsung: exynos-chipid: convert to driver and > merge exynos-asv > > The Exynos Chip ID driver on Exynos SoCs has so far only informational

RE: [PATCH v2 3/4] soc: samsung: exynos-chipid: order list of SoCs by name

2020-12-07 Thread Pankaj Dubey
rowski > ; Bartlomiej Zolnierkiewicz > ; Arnd Bergmann ; Chanwoo > Choi ; Alim Akhtar ; > Pankaj Dubey > Subject: [PATCH v2 3/4] soc: samsung: exynos-chipid: order list of SoCs by > name > > Bring some order to the list of SoCs. No functional change. > > Signe

RE: [PATCH v2 2/4] soc: samsung: exynos-asv: handle reading revision register error

2020-12-07 Thread Pankaj Dubey
rowski > ; Bartlomiej Zolnierkiewicz > ; Arnd Bergmann ; Chanwoo > Choi ; Alim Akhtar ; > Pankaj Dubey ; sta...@vger.kernel.org > Subject: [PATCH v2 2/4] soc: samsung: exynos-asv: handle reading revision > register error > > If regmap_read() fails, the product_id local

RE: [PATCH v2 1/4] soc: samsung: exynos-asv: don't defer early on not-supported SoCs

2020-12-07 Thread Pankaj Dubey
rowski > ; Bartlomiej Zolnierkiewicz > ; Arnd Bergmann ; Chanwoo > Choi ; Alim Akhtar ; > Pankaj Dubey ; sta...@vger.kernel.org > Subject: [PATCH v2 1/4] soc: samsung: exynos-asv: don't defer early on not- > supported SoCs > > From: Marek Szyprowski > > Check if

RE: [PATCH 1/2] dt-bindings: PCI: designware: Add binding for ZRX-DC PHY property

2019-10-21 Thread Pankaj Dubey
oh...@gmail.com; robh...@kernel.org; > mark.rutl...@arm.com; Pankaj Dubey > Subject: Re: [PATCH 1/2] dt-bindings: PCI: designware: Add binding for ZRX-DC > PHY property > > On Mon, Oct 21, 2019 at 05:55:55PM +0530, Anvesh Salveru wrote: > > Add support for ZRX-DC compliant P

RE: [PATCH 2/2] PCI: dwc: Add support to handle ZRX-DC Compliant PHYs

2019-10-21 Thread Pankaj Dubey
> -Original Message- > From: Andrew Murray > Sent: Monday, October 21, 2019 7:47 PM > To: Pankaj Dubey > Cc: 'Anvesh Salveru' ; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org; bhelg...@google.com; > gustavo.pimen...@synopsys.com; jingooh

RE: [PATCH 2/2] PCI: dwc: Add support to handle ZRX-DC Compliant PHYs

2019-10-21 Thread Pankaj Dubey
> -Original Message- > From: Andrew Murray > Sent: Monday, October 21, 2019 7:34 PM > To: Anvesh Salveru > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > bhelg...@google.com; gustavo.pimen...@synopsys.com; > jingooh...@gmail.com; lorenzo.pieral...@

RE: [PATCH v3] PCI: dwc: Add support to add GEN3 related equalization quirks

2019-10-15 Thread Pankaj Dubey
> -Original Message- > From: 'Christoph Hellwig' > Sent: Tuesday, October 15, 2019 2:36 PM > To: Pankaj Dubey > Cc: 'Christoph Hellwig' ; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org; bhelg...@google.com; andrew.mur...@arm.com; >

RE: [PATCH v3] PCI: dwc: Add support to add GEN3 related equalization quirks

2019-10-15 Thread Pankaj Dubey
> -Original Message- > From: Christoph Hellwig > Sent: Tuesday, October 15, 2019 1:46 PM > To: Pankaj Dubey > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > bhelg...@google.com; andrew.mur...@arm.com; lorenzo.pieral...@arm.com; > gustavo.pimen...@

[PATCH v3] PCI: dwc: Add support to add GEN3 related equalization quirks

2019-10-14 Thread Pankaj Dubey
hese quirks via "quirk" variable of "dw_pcie" struct. Signed-off-by: Anvesh Salveru Signed-off-by: Pankaj Dubey Acked-by: Gustavo Pimentel Reviewed-by: Andrew Murray Reviewed-by: Vidya Sagar --- Changes w.r.t v2: - Rebased on latest linus/master - Added Reviewed-by an

RE: [PATCH v2] PCI: dwc: Add support to add GEN3 related equalization quirks

2019-10-14 Thread Pankaj Dubey
> -Original Message- > From: Lorenzo Pieralisi > Sent: Monday, October 14, 2019 8:44 PM > To: Pankaj Dubey > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > bhelg...@google.com; andrew.mur...@arm.com; > gustavo.pimen...@synopsys.com; jing

[PATCH v2] PCI: dwc: Add support to add GEN3 related equalization quirks

2019-10-14 Thread Pankaj Dubey
hese quirks via "quirk" variable of "dw_pcie" struct. Signed-off-by: Anvesh Salveru Signed-off-by: Pankaj Dubey Acked-by: Gustavo Pimentel Reviewed-by: Andrew Murray Reviewed-by: Vidya Sagar --- Changes w.r.t v1: - Rebased on latest linus/master - Added Reviewed-by an

RE: [PATCH v2] PCI: dwc: Add support to add GEN3 related equalization quirks

2019-09-24 Thread Pankaj Dubey
> -Original Message- > From: Vidya Sagar > Sent: Tuesday, September 24, 2019 4:57 PM > To: Pankaj Dubey ; 'Gustavo Pimentel' > ; 'Andrew Murray' > > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > jingooh...@gmail.com; lo

RE: [PATCH v2] PCI: dwc: Add support to add GEN3 related equalization quirks

2019-09-24 Thread Pankaj Dubey
9 at 13:24:1, Andrew Murray > > > wrote: > > > >> On Mon, Sep 16, 2019 at 04:36:33PM +0530, Pankaj Dubey wrote: > >>> > >>> > >>>> -Original Message----- > >>>> From: Andrew Murray > >>>> Sent: Monday

RE: [PATCH v2] PCI: dwc: Add support to add GEN3 related equalization quirks

2019-09-16 Thread Pankaj Dubey
> -Original Message- > From: Andrew Murray > Sent: Monday, September 16, 2019 3:46 PM > To: Pankaj Dubey > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > jingooh...@gmail.com; gustavo.pimen...@synopsys.com; > lorenzo.pieral...@arm.com; bhelg.

RE: [PATCH 1/2] PCI: dwc: Add support to disable GEN3 equalization

2019-09-13 Thread Pankaj Dubey
> -Original Message- > From: Gustavo Pimentel > Sent: Thursday, September 12, 2019 7:52 PM > To: Pankaj Dubey ; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org > Cc: jingooh...@gmail.com; gustavo.pimen...@synopsys.com; > lorenzo.pieral...@arm.com; bhelg.

[PATCH v2] PCI: dwc: Add support to add GEN3 related equalization quirks

2019-09-13 Thread Pankaj Dubey
hese quirks via "quirk" variable of "dw_pcie" struct. Signed-off-by: Anvesh Salveru Signed-off-by: Pankaj Dubey --- Patchset v1 can be found at: - 1/2: https://lkml.org/lkml/2019/9/10/443 - 2/2: https://lkml.org/lkml/2019/9/10/444 Changes w.r.t v1: - Squashed two pat

RE: [PATCH 2/2] PCI: dwc: Add support to disable equalization phase 2 and 3

2019-09-12 Thread Pankaj Dubey
> From: Andrew Murray > > On Tue, Sep 10, 2019 at 09:51:41PM +0530, Pankaj Dubey wrote: > > On Tue, 10 Sep 2019 at 19:59, Andrew Murray > wrote: > > > > > > On Tue, Sep 10, 2019 at 05:55:02PM +0530, Pankaj Dubey wrote: > > > > From: Anvesh Salv

RE: [PATCH 1/2] PCI: dwc: Add support to disable GEN3 equalization

2019-09-12 Thread Pankaj Dubey
> From: Andrew Murray > > On Tue, Sep 10, 2019 at 09:46:28PM +0530, Pankaj Dubey wrote: > > On Tue, 10 Sep 2019 at 19:56, Andrew Murray > wrote: > > > > > > On Tue, Sep 10, 2019 at 05:55:01PM +0530, Pankaj Dubey wrote: > > > > From: Anvesh Salv

Re: [PATCH 2/2] PCI: dwc: Add support to disable equalization phase 2 and 3

2019-09-10 Thread Pankaj Dubey
On Tue, 10 Sep 2019 at 19:59, Andrew Murray wrote: > > On Tue, Sep 10, 2019 at 05:55:02PM +0530, Pankaj Dubey wrote: > > From: Anvesh Salveru > > > > In some platforms, PCIe PHY may have issues which will prevent linkup > > to happen in GEN3 or high speed. In case

Re: [PATCH 1/2] PCI: dwc: Add support to disable GEN3 equalization

2019-09-10 Thread Pankaj Dubey
On Tue, 10 Sep 2019 at 19:56, Andrew Murray wrote: > > On Tue, Sep 10, 2019 at 05:55:01PM +0530, Pankaj Dubey wrote: > > From: Anvesh Salveru > > > > In some platforms, PCIe PHY may have issues which will prevent linkup > > to happen in GEN3 or high speed. In case

[PATCH 1/2] PCI: dwc: Add support to disable GEN3 equalization

2019-09-10 Thread Pankaj Dubey
driver to disable the PCIe GEN3 equalization by writing into PCIE_PORT_GEN3_RELATED. Platform drivers can disable equalization by setting the dwc_pci_quirk flag DWC_EQUALIZATION_DISABLE. Signed-off-by: Anvesh Salveru Signed-off-by: Pankaj Dubey --- drivers/pci/controller/dwc/pcie-designware.c | 7

[PATCH 2/2] PCI: dwc: Add support to disable equalization phase 2 and 3

2019-09-10 Thread Pankaj Dubey
drivers can disable equalization phase 2 and 3, by setting dwc_pci_quirk flag DWC_EQUALIZATION_DISABLE. Signed-off-by: Anvesh Salveru Signed-off-by: Pankaj Dubey --- drivers/pci/controller/dwc/pcie-designware.c | 3 +++ drivers/pci/controller/dwc/pcie-designware.h | 2 ++ 2 files changed, 5

Re: [PATCH] usb: xhci: inherit dma_mask from bus if set correctly

2019-04-24 Thread Pankaj Dubey
On 4/10/19 4:32 AM, Robin Murphy wrote: > On 2019-04-09 3:56 am, Sriram Dash wrote: >> On Tue, Apr 2, 2019 at 9:53 PM Pankaj Dubey >> wrote: >>> >>> On Tue, 2 Apr 2019 at 15:34, Robin Murphy wrote: >>>> >>>> On 02/04/2019 10:40, Pan

[PATCH] usb: xhci: inherit dma_mask from bus if set correctly

2019-04-02 Thread Pankaj Dubey
From: Sriram Dash The xhci forcefully converts the dma_mask to either 64 or 32 and the dma-mask set by the bus is somewhat ignored. If the platform sets the correct dma_mask, then respect that. Signed-off-by: Pankaj Dubey Signed-off-by: Sriram Dash --- drivers/usb/host/xhci.c | 10

Re: [PATCH] PCI: dwc: designware: don't sleep in atomic context

2017-12-28 Thread Pankaj Dubey
Hi Jingoo, On 12/21/2017 10:09 PM, Jingoo Han wrote: > On Thursday, October 12, 2017 3:55 AM, Pankaj Dubey wrote: >> In pcie-designware.c many places we are calling "usleep_range" which >> are in atomic context. This patch fixes these potential BUGs and >> repl

Re: [PATCH] PCI: designware: move dw_pcie_iatu_unroll_enabled to pcie-designware.c

2017-12-28 Thread Pankaj Dubey
Hi Jingoo, On 12/21/2017 10:04 PM, Jingoo Han wrote: > On Thursday, October 12, 2017 12:41 AM, Pankaj Dubey wrote: >> IATU unroll feature can be enabled in EP mode as well, so we need to >> have this check in pcie-designware-ep.c, so instead of making this >> function as sta

Re: [PATCH] PCI: endpoint: handle probable NULL pointer access

2017-10-28 Thread Pankaj Dubey
On 25 October 2017 at 17:32, Kishon Vijay Abraham I wrote: > Hi, > > On Wednesday 25 October 2017 01:32 AM, Bjorn Helgaas wrote: >> On Thu, Oct 12, 2017 at 09:27:57AM +0530, Pankaj Dubey wrote: >>> controller_group allocation in pci_ep_cfs_init function can fail >&

Re: [PATCH] PCI: designware: move dw_pcie_iatu_unroll_enabled to pcie-designware.c

2017-10-24 Thread Pankaj Dubey
On 20 October 2017 at 23:11, Bjorn Helgaas wrote: > > On Thu, Oct 12, 2017 at 10:11:08AM +0530, Pankaj Dubey wrote: > > IATU unroll feature can be enabled in EP mode as well, so we need to > > have this check in pcie-designware-ep.c, so instead of making this > > fu

Re: [PATCH] PCI: dwc: designware: don't sleep in atomic context

2017-10-12 Thread Pankaj Dubey
On 10/12/2017 04:09 PM, David Laight wrote: From: Pankaj Dubey Sent: 12 October 2017 08:55 In pcie-designware.c many places we are calling "usleep_range" which are in atomic context. This patch fixes these potential BUGs and replaces "usleep_range" with mdelay calls. S

[PATCH] PCI: dwc: designware: don't sleep in atomic context

2017-10-12 Thread Pankaj Dubey
In pcie-designware.c many places we are calling "usleep_range" which are in atomic context. This patch fixes these potential BUGs and replaces "usleep_range" with mdelay calls. Signed-off-by: Pankaj Dubey --- drivers/pci/dwc/pcie-designware.c | 8 drivers/pci/dwc/p

[PATCH] PCI: designware: move dw_pcie_iatu_unroll_enabled to pcie-designware.c

2017-10-11 Thread Pankaj Dubey
igned-off-by: Pankaj Dubey --- drivers/pci/dwc/pcie-designware-ep.c | 4 drivers/pci/dwc/pcie-designware-host.c | 11 --- drivers/pci/dwc/pcie-designware.c | 11 +++ drivers/pci/dwc/pcie-designware.h | 1 + 4 files changed, 16 insertions(+), 11 deletions(-)

[PATCH] PCI: endpoint: handle probable NULL pointer access

2017-10-11 Thread Pankaj Dubey
driver probe can be reattempted later in case controller_group is not allocated because pci_ep_cfs_init is not yet called. Signed-off-by: Pankaj Dubey --- drivers/pci/endpoint/pci-ep-cfs.c | 7 ++- drivers/pci/endpoint/pci-epc-core.c | 4 2 files changed, 10 insertions(+), 1 deletion

[PATCH v3] PCI: exynos: refactor exynos pcie driver

2017-01-31 Thread Pankaj Dubey
of_machine_is_compatible in code, and help us simplifying exynos_pcie struct. 2) It add exynos_pcie_ops struct which will allow us to support the differences in resources in different Exynos SoC. No functional change intended. Signed-off-by: Niyas Ahmed S T Signed-off-by: Pankaj Dubey Acked-by: Krzysztof

[PATCH] arm64: dts: exynos: Remove address node from usb parent node

2017-01-17 Thread Pankaj Dubey
Address node does not required to be put after parent't node, so remove address node from usb parent node. Signed-off-by: Pankaj Dubey --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/exynos/exyno

[PATCH v2] PCI: exynos: refactor exynos pcie driver

2017-01-04 Thread Pankaj Dubey
of_machine_is_compatible in code, and help us simplifying exynos_pcie struct. 2) It add exynos_pcie_ops struct which will allow us to support the differences in resources in different Exynos SoC. No functional change intended. Signed-off-by: Niyas Ahmed S T Signed-off-by: Pankaj Dubey Acked-by: Krzysztof

Re: [PATCH] PCI: exynos: refactor exynos pcie driver

2016-12-27 Thread Pankaj Dubey
Hi Bartlomiej, On 27 December 2016 at 19:05, Bartlomiej Zolnierkiewicz wrote: > > Hi, > > On Friday, December 23, 2016 04:26:27 PM Pankaj Dubey wrote: >> From: Niyas Ahmed S T >> >> Currently Exynos PCIe driver is only supported for Exynos5440 SoC. >> This p

Re: [PATCH] PCI: exynos: refactor exynos pcie driver

2016-12-27 Thread Pankaj Dubey
approaches. > I want to know maintainer's opinion..we can just touch a little for > supporting All Exynos SoCs. > I also have same intention but design should be flexible to adopt future SoC at least some of them which we are seeing will be supported soon and we can see the differ

Re: [PATCH] PCI: exynos: refactor exynos pcie driver

2016-12-26 Thread Pankaj Dubey
Hi Jaehoon, On 26 December 2016 at 14:32, Jaehoon Chung wrote: > Hi Pankaj, > > On 12/23/2016 07:56 PM, Pankaj Dubey wrote: >> From: Niyas Ahmed S T >> >> Currently Exynos PCIe driver is only supported for Exynos5440 SoC. >> This patch does refactoring of Exy

Re: [PATCH] PCI: exynos: refactor exynos pcie driver

2016-12-26 Thread Pankaj Dubey
Hi Jingoo, On 24 December 2016 at 00:07, Jingoo Han wrote: > On Friday, December 23, 2016 5:56 AM, Pankaj Dubey wrote: >> >> From: Niyas Ahmed S T >> >> Currently Exynos PCIe driver is only supported for Exynos5440 SoC. >> This patch does refactoring of Exy

[PATCH] PCI: exynos: refactor exynos pcie driver

2016-12-23 Thread Pankaj Dubey
add exynos_pcie_ops struct which will allow us to support the differences in resources in different Exynos SoC. No functional change intended. Signed-off-by: Niyas Ahmed S T Signed-off-by: Pankaj Dubey --- This patch set is prepared on top of Krzysztof's for-next and PCIe driver cleanup pat

[PATCH] of: reserved_mem: set dma_ops for devices using reserved mem

2016-12-20 Thread Pankaj Dubey
ff-by: Smitha T Murthy Signed-off-by: Pankaj Dubey --- drivers/of/of_reserved_mem.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/of/of_reserved_mem.c b/drivers/of/of_reserved_mem.c index 366d8c3..d507c35 100644 --- a/drivers/of/of_reserved_mem.c +++ b/drivers/of/of_reserved_

[PATCH 1/2] media: s5p-mfc: convert drivers to use the new vb2_queue dev field

2016-12-16 Thread Pankaj Dubey
nd formatting commit message] Signed-off-by: Pankaj Dubey --- drivers/media/platform/s5p-mfc/s5p_mfc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc.c b/drivers/media/platform/s5p-mfc/s5p_mfc.c index 0a5b8f5..6ea8246 100644 --- a/drivers/media/platfo

[PATCH 0/2] s5p-mfc fix for using reserved memory

2016-12-16 Thread Pankaj Dubey
It has been observed on ARM64 based Exynos SoC, if IOMMU is not enabled and we try to use reserved memory for MFC, reqbufs fails with below mentioned error --- V4L2 Codec decoding example application Kamil Debski Copyright 201

[PATCH 2/2] media: s5p-mfc: fix MMAP of mfc buffer during reqbufs

2016-12-16 Thread Pankaj Dubey
e only if IOMMU is enabled and in that case both the left and right device is treated as mfc0 only. Signed-off-by: Smitha T Murthy [pankaj.dubey: debugging issue and formatting commit message] Signed-off-by: Pankaj Dubey --- drivers/media/platform/s5p-mfc/s5p_mfc_dec.c | 17 ++---

Re: [GIT PULL 1/3] ARM: exynos: Soc/mach for v4.10

2016-12-08 Thread Pankaj Dubey
ABI break. Even if it was, > Samsung guys don't care for ABI breaks at all (and in fact we wanted to > mark the platform experimental...). > >> It would also be helpful to have a separate pull request for >> the commits require the new dtb, and the stuff that is un

Re: [PATCH 01/16] ARM: scu: Provide support for parsing SCU device node to enable SCU

2016-12-08 Thread Pankaj Dubey
fallback for the NULL argument was > to avoid having to add lots of new API while also allowing > the change to be done one platform at a time. > > If we remove the argument from the other functions, they either > need to get a new name, or we change them all to the new prototype > at o

Re: [PATCH 03/16] ARM: berlin: use generic API for enabling SCU

2016-11-14 Thread Pankaj Dubey
Hi Jisheng, On 14 November 2016 at 14:21, Jisheng Zhang wrote: > Hi Pankaj, > > On Mon, 14 Nov 2016 10:31:58 +0530 Pankaj Dubey wrote: > >> Now as we have of_scu_enable which takes care of mapping >> scu base from DT, lets use it. >> >> CC: Jisheng Zhang >

Re: [PATCH 04/16] ARM: realview: use generic API for enabling SCU

2016-11-14 Thread Pankaj Dubey
Hi Arnd, On 14 November 2016 at 17:26, Arnd Bergmann wrote: > On Monday, November 14, 2016 10:31:59 AM CET Pankaj Dubey wrote: >> static const struct of_device_id realview_scu_match[] = { >> { .compatible = "arm,arm11mp-scu", }, >> - { .

[PATCH 03/16] ARM: berlin: use generic API for enabling SCU

2016-11-13 Thread Pankaj Dubey
Now as we have of_scu_enable which takes care of mapping scu base from DT, lets use it. CC: Jisheng Zhang CC: Sebastian Hesselbarth Signed-off-by: Pankaj Dubey --- arch/arm/mach-berlin/platsmp.c | 17 + 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/arch/arm

[PATCH 09/16] ARM: BCM: use generic API for enabling SCU

2016-11-13 Thread Pankaj Dubey
Now as we have of_scu_enable which takes care of mapping scu base from DT, lets use it. CC: Florian Fainelli CC: Ray Jui CC: Scott Branden CC: bcm-kernel-feedback-l...@broadcom.com Signed-off-by: Pankaj Dubey --- arch/arm/mach-bcm/bcm63xx_smp.c | 18 ++-- arch/arm/mach-bcm

[PATCH 06/16] ARM: STi: use generic API for enabling SCU

2016-11-13 Thread Pankaj Dubey
Now as we have of_scu_enable which takes care of mapping scu base from DT, lets use it. CC: Patrice Chotard Signed-off-by: Pankaj Dubey --- arch/arm/mach-sti/platsmp.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/arch/arm/mach-sti/platsmp.c b/arch/arm/mach-sti

[PATCH 11/16] ARM: rockchip: use generic API for enabling SCU

2016-11-13 Thread Pankaj Dubey
Now as we have of_scu_enable which takes care of mapping scu base from DT, lets use it. CC: Heiko Stuebner CC: linux-rockc...@lists.infradead.org Signed-off-by: Pankaj Dubey --- arch/arm/mach-rockchip/platsmp.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a

[PATCH 13/16] ARM: zynq: use generic API for enabling SCU

2016-11-13 Thread Pankaj Dubey
Now as we have of_scu_enable which takes care of mapping scu base from DT, lets use it. At the same time this patch cleans up mach-zynq platform files by removing static mapping of SCU and dropping zynq_scu_map_io and zynq_map_io functions. CC: Michal Simek Signed-off-by: Pankaj Dubey

[PATCH 15/16] ARM: mvebu: use generic API for enabling SCU

2016-11-13 Thread Pankaj Dubey
Now as we have of_scu_enable which takes care of mapping scu base from DT, lets use it. CC: Jason Cooper CC: Andrew Lunn CC: Gregory Clement CC: Sebastian Hesselbarth Signed-off-by: Pankaj Dubey --- arch/arm/mach-mvebu/board-v7.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions

[PATCH 12/16] ARM: imx: use generic API for enabling SCU

2016-11-13 Thread Pankaj Dubey
Now as we have of_scu_enable which takes care of mapping scu base from DT, lets use it. At the same time this patch cleans up mach-imx platform files by removing static mapping of SCU and dropping imx_scu_map_io function. CC: Shawn Guo CC: Sascha Hauer Signed-off-by: Pankaj Dubey --- arch

[PATCH 10/16] ARM: tegra: use generic API for enabling SCU

2016-11-13 Thread Pankaj Dubey
Now as we have of_scu_enable which takes care of mapping scu base from DT, lets use it. CC: Stephen Warren CC: linux-te...@vger.kernel.org Signed-off-by: Pankaj Dubey --- arch/arm/mach-tegra/platsmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-tegra

[PATCH 05/16] ARM: socfpga: use generic API for enabling SCU

2016-11-13 Thread Pankaj Dubey
Now as we have of_scu_enable which takes care of mapping scu base from DT, lets use it. CC: Dinh Nguyen Signed-off-by: Pankaj Dubey --- arch/arm/mach-socfpga/platsmp.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/arch/arm/mach-socfpga/platsmp.c b/arch/arm

[PATCH 07/16] ARM: ux500: use generic API for enabling SCU

2016-11-13 Thread Pankaj Dubey
Now as we have of_scu_enable which takes care of mapping scu base from DT, lets use it. CC: Linus Walleij Signed-off-by: Pankaj Dubey --- arch/arm/mach-ux500/platsmp.c | 20 +--- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/arch/arm/mach-ux500/platsmp.c b/arch

[PATCH 08/16] ARM: vexpress: use generic API for enabling SCU

2016-11-13 Thread Pankaj Dubey
Now as we have of_scu_enable which takes care of mapping scu base from DT, lets use it. CC: Liviu Dudau CC: Sudeep Holla CC: Lorenzo Pieralisi Signed-off-by: Pankaj Dubey --- arch/arm/mach-vexpress/platsmp.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a

[PATCH 16/16] ARM: zx: use generic API for enabling SCU

2016-11-13 Thread Pankaj Dubey
Now as we have of_scu_enable which takes care of mapping scu base from DT, lets use it. CC: Jun Nie Signed-off-by: Pankaj Dubey --- arch/arm/mach-zx/platsmp.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-zx/platsmp.c b/arch/arm/mach-zx/platsmp.c index

[PATCH 14/16] ARM: hisi: use generic API for enabling SCU

2016-11-13 Thread Pankaj Dubey
Now as we have of_scu_enable which takes care of mapping scu base from DT, lets use it. CC: Wei Xu Signed-off-by: Pankaj Dubey --- arch/arm/mach-hisi/platsmp.c | 24 +--- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/arch/arm/mach-hisi/platsmp.c b/arch/arm

[PATCH 00/16] Provide support of generic function for SCU enable

2016-11-13 Thread Pankaj Dubey
Exynos4210 based Origen board for SMP boot. Rest platforms are *ONLY* Compiled Tested. I request maintainers/developers having h/w of these platforms to test this series on their platforms. Pankaj Dubey (16): ARM: scu: Provide support for parsing SCU device node to enable SCU ARM: EXYNOS

[PATCH 01/16] ARM: scu: Provide support for parsing SCU device node to enable SCU

2016-11-13 Thread Pankaj Dubey
Dudau CC: Ray Jui CC: Stephen Warren CC: Heiko Stuebner CC: Shawn Guo CC: Michal Simek CC: Wei Xu CC: Andrew Lunn CC: Jun Nie Suggested-by: Arnd Bergmann Signed-off-by: Pankaj Dubey --- arch/arm/include/asm/smp_scu.h | 4 +++ arch/arm/kernel/smp_scu.c | 56

[PATCH 02/16] ARM: EXYNOS: use generic API to enable SCU

2016-11-13 Thread Pankaj Dubey
-by: Pankaj Dubey --- arch/arm/mach-exynos/common.h | 1 - arch/arm/mach-exynos/platsmp.c | 30 -- arch/arm/mach-exynos/pm.c | 4 ++-- arch/arm/mach-exynos/suspend.c | 14 -- 4 files changed, 10 insertions(+), 39 deletions(-) diff --git a/arch/arm

[PATCH 04/16] ARM: realview: use generic API for enabling SCU

2016-11-13 Thread Pankaj Dubey
Now as we have of_scu_enable which takes care of mapping scu base from DT, lets use it. Also this patch removes computation of number of cores from SCU, as for DT platform it will be taken care from DT CPU device nodes. CC: Russell King Signed-off-by: Pankaj Dubey --- arch/arm/mach-realview

[PATCH v6 1/2] soc: samsung: add exynos chipid driver support

2016-05-25 Thread Pankaj Dubey
exynos-chipid. CC: Grant Likely CC: Rob Herring CC: Linus Walleij Signed-off-by: Pankaj Dubey --- drivers/soc/samsung/Kconfig| 5 + drivers/soc/samsung/Makefile | 1 + drivers/soc/samsung/exynos-chipid.c| 172 + include/linux/soc/samsung

[PATCH v6 2/2] ARM: EXYNOS: refactoring of mach-exynos to enable chipid driver

2016-05-25 Thread Pankaj Dubey
This patch enables chipid driver for ARCH_EXYNOS and refactors machine code for using chipid driver for identification of SoC ID and SoC rev. Signed-off-by: Pankaj Dubey --- arch/arm/mach-exynos/Kconfig | 1 + arch/arm/mach-exynos/common.h| 53

[PATCH v6 0/2] Introducing Exynos ChipId driver

2016-05-25 Thread Pankaj Dubey
ce via sysfs entry, as suggested by Arnd. Pankaj Dubey (2): soc: samsung: add exynos chipid driver support ARM: EXYNOS: refactoring of mach-exynos to enable chipid driver arch/arm/mach-exynos/Kconfig | 1 + arch/arm/mach-exynos/common.h| 53

Re: [PATCH v5 0/2] Introducing Exynos ChipId driver

2016-05-19 Thread Pankaj Dubey
Hi Krzysztof, On 16 May 2016 at 18:52, Krzysztof Kozlowski wrote: > > On Thu, Dec 11, 2014 at 9:07 AM, Pankaj Dubey > wrote: > > This patch series introduces Exynos Chipid platform driver. > > Each Exynos SoC has ChipID block which can give information about SoC's &

[RESPIN v2 3/6] MAINTAINERS: Add maintainers entry for drivers/memory/samsung

2016-04-11 Thread Pankaj Dubey
Add maintainers entry for new driver folder drivers/memory/samsung. Signed-off-by: Pankaj Dubey Signed-off-by: Krzysztof Kozlowski --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 03e00c7..0d2a264 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[RESPIN v2 2/6] memory: Add support for Exynos SROM driver

2016-04-11 Thread Pankaj Dubey
This patch adds Exynos SROM controller driver which will handle save restore of SROM registers during S2R. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski [p.fe...@samsung.com: tested on SMDK5410] Tested-by: Pavel Fedin Signed-off-by: Kukjin Kim [k.kozlowski: Minor COMPILE_TEST

[RESPIN v2 4/6] ARM: EXYNOS: Remove SROM related register settings from mach-exynos

2016-04-11 Thread Pankaj Dubey
As now we have dedicated driver for SROM controller, it will take care of saving register banks during S2R so we can safely remove these settings from mach-exynos. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski Signed-off-by: Kukjin Kim [k.kozlowski: Need to select also

[RESPIN v2 5/6] memory: samsung: exynos-srom: Add support for bank configuration

2016-04-11 Thread Pankaj Dubey
: Krzysztof Kozlowski Signed-off-by: Pankaj Dubey Signed-off-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/Kconfig | 2 +- drivers/memory/samsung/Kconfig | 2 +- drivers/memory/samsung/exynos-srom.c | 60 ++-- 3 files changed, 60 insertions(+), 4

[RESPIN v2 1/6] dt-bindings: EXYNOS: Add exynos-srom device tree binding

2016-04-11 Thread Pankaj Dubey
: Pankaj Dubey [p.fedin: Added SROMc configuration description and fixed SROMc mapping] Signed-off-by: Pavel Fedin Reviewed-by: Krzysztof Kozlowski Signed-off-by: Kukjin Kim Signed-off-by: Krzysztof Kozlowski --- .../bindings/memory-controllers/exynos-srom.txt| 79 ++ 1 file

[RESPIN v2 6/6] ARM: dts: change SROM node compatible from generic to model specific

2016-04-11 Thread Pankaj Dubey
This patch changes SROM nodes compatible from generic to model specific to match with binding documentation. Also updating property "samsung,srom-page-mode" as it is not defined as bool instead of int Signed-off-by: Pankaj Dubey --- arch/arm/boot/dts/exynos4.dtsi| 4 ++--

[RESPIN v2 0/6] Add support for Exynos SROM Controller driver

2016-04-11 Thread Pankaj Dubey
change in type of above property. - Renamed exynos SROM dt node as "memory-controller" instead of "sromc". Pankaj Dubey (5): dt-bindings: EXYNOS: Add exynos-srom device tree binding memory: Add support for Exynos SROM driver MAINTAINERS: Add maintainers entry for d

[RESPIN 3/6] MAINTAINERS: Add maintainers entry for drivers/memory/samsung

2016-02-25 Thread Pankaj Dubey
This patch adds maintainers entry for new driver folder drivers/memory/samsung Signed-off-by: Pankaj Dubey --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index a6f927c..3a05c6b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1493,6 +1493,7 @@ F

[RESPIN 2/6] drivers: memory: Add support for exynos SROM driver

2016-02-25 Thread Pankaj Dubey
This patch adds Exynos SROM controller driver which will handle save restore of SROM registers during S2R. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski [p.fe...@samsung.com: tested on SMDK5410] Tested-by: Pavel Fedin Signed-off-by: Kukjin Kim Signed-off-by: Krzysztof Kozlowski

[RESPIN 0/6] Add support for Exynos SROM Controller driver.

2016-02-25 Thread Pankaj Dubey
dings/memory-controller" - Added new patch for entry of new directory in MAINTAINERS file. - Added new CONFIG as SAMSUNG_MC for grouping Samsung's memory controller drivers. - Added my Signed-off-by for patch 5/6 and 6/6 for touching it. Pankaj Dubey (4): dt-bindings: EXYNOS: Add exyn

[RESPIN 5/6] dt-bindings: EXYNOS: Describe SROMc configuration

2016-02-25 Thread Pankaj Dubey
From: Pavel Fedin Add documentation for new subnode properties, allowing bank configuration. Based on u-boot implementation, but heavily reworked. Also, fix size of SROMc mapping in the example. CC: devicet...@vger.kernel.org Signed-off-by: Pavel Fedin Signed-off-by: Pankaj Dubey Reviewed-by

[RESPIN 6/6] drivers: memory: exynos-srom: Add support for bank configuration

2016-02-25 Thread Pankaj Dubey
: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski Signed-off-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/Kconfig | 2 +- drivers/memory/samsung/Kconfig | 2 +- drivers/memory/samsung/exynos-srom.c | 61 ++-- 3 files changed, 61 insertions(+), 4

[RESPIN 1/6] dt-bindings: EXYNOS: Add exynos-srom device tree binding

2016-02-25 Thread Pankaj Dubey
This patch adds exynos-srom binding information for SROM Controller driver on Exynos SoCs. CC: Rob Herring CC: Mark Rutland CC: Ian Campbell CC: devicet...@vger.kernel.org Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski Signed-off-by: Kukjin Kim Signed-off-by: Krzysztof

[RESPIN 4/6] ARM: EXYNOS: Remove SROM related register settings from mach-exynos

2016-02-25 Thread Pankaj Dubey
As now we have dedicated driver for SROM controller, it will take care of saving register banks during S2R so we can safely remove these settings from mach-exynos. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski Signed-off-by: Kukjin Kim Signed-off-by: Krzysztof Kozlowski

[PATCH] arm64: dts: Add tmu node for exynos7

2016-02-24 Thread Pankaj Dubey
From: Alim Akhtar This patch adds tmu node, related temprature sensor and triping point data for Atlas cpu core found on exynos7 SoC. Signed-off-by: Alim Akhtar --- .../boot/dts/exynos/exynos7-tmu-sensor-conf.dtsi | 25 + .../arm64/boot/dts/exynos/exynos7-trip-points.dtsi | 55 ++

[PATCH v7 4/6] ARM: EXYNOS: split up exynos5250 SoC specific PMU data

2015-12-17 Thread Pankaj Dubey
This patch splits up mach-exynos/pmu.c file, and moves exynos5250, PMU configuration data and functions handing data into exynos5250 SoC specific PMU file mach-exynos/exynos5250-pmu.c. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/Makefile | 4

[PATCH v7 2/6] ARM: EXYNOS: split up exynos3250 SoC specific PMU data

2015-12-17 Thread Pankaj Dubey
This patch splits up mach-exynos/pmu.c file, and moves exynos3250 PMU configuration data and functions handing those data into exynos3250 SoC specific PMU file mach-exynos/exynos3250-pmu.c. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/Makefile

[PATCH v7 6/6] drivers: soc: Add support for Exynos PMU driver

2015-12-17 Thread Pankaj Dubey
Kachhap Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski [for testing on Trats2 (Exynos4412) and Odroid XU3 (Exynos5422)] Tested-by: Krzysztof Kozlowski [for testing on Peach-Pi (Exynos5880)] Tested-by: Pankaj Dubey --- arch/arm/mach-exynos/Kconfig

[PATCH v7 5/6] ARM: EXYNOS: split up exynos5420 SoC specific PMU data

2015-12-17 Thread Pankaj Dubey
This patch splits up mach-exynos/pmu.c file, and moves exynos5420, PMU configuration data and functions handing data into exynos5420 SoC specific PMU file mach-exynos/exynos5420-pmu.c. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski [for testing on Peach-Pi (Exynos5880)] Tested-by

[PATCH v7 3/6] ARM: EXYNOS: split up exynos4 SoC specific PMU data

2015-12-17 Thread Pankaj Dubey
This patch splits up mach-exynos/pmu.c file, and moves exynos4210, exynos4412 and exynos4212 PMU configuration data and functions handing data into a common exynos4 SoC specific PMU file mach-exynos/exynos4-pmu.c. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski [for testing on

[PATCH v7 0/6] samsung: pmu: split up SoC specific PMU data

2015-12-17 Thread Pankaj Dubey
]. [1]: https://lkml.org/lkml/2015/11/17/15 For testing entire patchset on Peach-Pi (Exynos5880) based chromebook for boot and S2R functionality. Tested-by: Pankaj Dubey For testing entire patchset on on Trats2 (Exynos4412, S2R, reboot, poweroff) and Odroid XU3 (Exynos5422, reboot, powero

[PATCH v7 1/6] ARM: EXYNOS: Move pmu specific headers under "linux/soc/samsung"

2015-12-17 Thread Pankaj Dubey
Moving Exynos PMU specific header file into "include/linux/soc/samsung" thus updated affected files under "mach-exynos" to use new location of these header files. Signed-off-by: Amit Daniel Kachhap Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski [for testing o

[RESEND PATCH v5 3/8] dt-bindings: add exynos-srom device tree binding

2015-12-11 Thread Pankaj Dubey
This patch adds exynos-srom binding information for SROM Controller driver on Exynos SoCs. CC: Rob Herring CC: Mark Rutland CC: Ian Campbell Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski Signed-off-by: Kukjin Kim --- .../devicetree/bindings/arm/samsung/exynos-srom.txt

[RESEND PATCH v5 2/8] ARM: EXYNOS: code cleanup in map.h

2015-12-11 Thread Pankaj Dubey
Remove unused exynos5440 uart offset macro. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski Signed-off-by: Kukjin Kim --- arch/arm/mach-exynos/include/mach/map.h | 4 1 file changed, 4 deletions(-) diff --git a/arch/arm/mach-exynos/include/mach/map.h b/arch/arm/mach-exynos

[RESEND PATCH v5 4/8] ARM: dts: add SROM device node for exynos4

2015-12-11 Thread Pankaj Dubey
Add device node of SROM controller for exynos4. CC: Rob Herring CC: Mark Rutland CC: Ian Campbell Signed-off-by: Pankaj Dubey [k.kozlowski: fixed size of mapped SROMC memory region] Signed-off-by: Krzysztof Kozlowski Reviewed-by: Krzysztof Kozlowski Signed-off-by: Kukjin Kim --- arch/arm

[RESEND PATCH v5 5/8] ARM: dts: add SROM device node for exynos5

2015-12-11 Thread Pankaj Dubey
Add SROM controller device node for exynos5. CC: Rob Herring CC: Mark Rutland CC: Ian Campbell Signed-off-by: Pankaj Dubey [k.kozlowski: fixed size of mapped SROMC memory region] Signed-off-by: Krzysztof Kozlowski Reviewed-by: Krzysztof Kozlowski Signed-off-by: Kukjin Kim --- arch/arm

[RESEND PATCH v5 6/8] drivers: soc: add support for exynos SROM driver

2015-12-11 Thread Pankaj Dubey
This patch adds Exynos SROM controller driver which will handle save restore of SROM registers during S2R. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski [p.fe...@samsung.com: tested on SMDK5410] Tested-by: Pavel Fedin Signed-off-by: Kukjin Kim --- drivers/soc/Kconfig

  1   2   3   4   5   6   >