Thread (54 messages) 54 messages, 9 authors, 2014-01-16
STALE4543d

[PATCH 06/12] pcie: designware: Move register definition to the header file

From: Mohit KUMAR DCG <hidden>
Date: 2013-12-12 04:55:00
Also in: linux-pci

Hello Arnd,
-----Original Message-----
From: Jingoo Han [mailto:jg1.han at samsung.com]
Sent: Thursday, December 12, 2013 4:19 AM
To: Mohit KUMAR DCG; 'Arnd Bergmann'
Cc: linux-arm-kernel at lists.infradead.org; 'Jagan Teki'; linux-
pci at vger.kernel.org; spear-devel; Pratyush ANAND; 'Jingoo Han'
Subject: Re: [PATCH 06/12] pcie: designware: Move register definition to the
header file

On Thursday, December 12, 2013 6:32 AM, Arnd Bergmann wrote:
quoted
On Wednesday 11 December 2013, Mohit KUMAR DCG wrote:
quoted
quoted
Seems like none were using these headers except pcie-designware.c
- if ie the case better to place it same place as before.
- We have include these and used few like '
PCIE_LINK_WIDTH_SPEED_CONTROL '  for SPEAr13xx platform, so move
these to the separate header  file.
quoted
I think it's better not to touch any of the registers from a
platform-specific driver. Better make a high-level function in the
common code that the spear driver can call to change this register.
I also agree with Arnd's opinion.
- As suggested, I will implement required functions in dw driver and hence no need to move register definitions.

Regards
Mohit 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help