OSDN Git Service

PCI: keystone: Assume controller is already in RC mode
authorMurali Karicheri <m-karicheri2@ti.com>
Wed, 10 Sep 2014 17:12:38 +0000 (13:12 -0400)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 16 Sep 2014 21:45:45 +0000 (15:45 -0600)
commit4455efc90855ff5a6065caea835b0d13a284c5a1
treed6fd97a368d2b74129260e7ff968a33a94def507
parentc15982dfa8227f3e8fd2a6e2e13a009a9991d96c
PCI: keystone: Assume controller is already in RC mode

Keystone PCI hardware supports both RC and EP modes and devcfg register has
bits to boot strap the device to either of these modes.  It seems proper to
add this functionality to the boot loader rather than in the driver as
device will be operating in either mode, not both any time.  Currently the
driver supports only RC mode and hence register configuration in the driver
is not needed and the driver can assume the hardware is in RC mode.

Also update the DT documentation accordingly.

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Documentation/devicetree/bindings/pci/pci-keystone.txt
drivers/pci/host/pci-keystone.c