]> www.infradead.org Git - users/dwmw2/linux.git/commit
Merge branch 'pci/pwrctl'
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 25 Nov 2024 19:40:54 +0000 (13:40 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 25 Nov 2024 19:40:54 +0000 (13:40 -0600)
commitce1deca962e3f67442dba834c8e1ba3629db6159
treebd130484064ae742b899fb05741fae7de8c05dff
parent95e93032badb21e1d232c7e4a882fc359fa18a55
parent3f925cd6287401bbc9d568f56d796a69c8bd292a
Merge branch 'pci/pwrctl'

- Use of_platform_device_create() instead of of_platform_populate() to
  create pwrctl platform devices so we can control it based on the child
  nodes (Manivannan Sadhasivam)

- Create pwrctrl platform devices only if there's a relevant power supply
  property (Manivannan Sadhasivam)

- Add device link from the pwrctl supplier to the PCI dev to ensure pwrctl
  drivers are probed before the PCI dev driver; this avoids a race where
  pwrctl could change device power state while the PCI driver was active
  (Manivannan Sadhasivam)

- Find pwrctl device for removal with of_find_device_by_node() instead of
  searching all children of the parent (Manivannan Sadhasivam)

- Rename 'pwrctl' to 'pwrctrl' to use the same 'ctrl' suffix as 'bwctrl'
  and other PCI files to reduce confusion (Bjorn Helgaas)

* pci/pwrctl:
  PCI/pwrctrl: Rename pwrctrl functions and structures
  PCI/pwrctrl: Rename pwrctl files to pwrctrl
  PCI/pwrctl: Remove pwrctl device without iterating over all children of pwrctl parent
  PCI/pwrctl: Ensure that pwrctl drivers are probed before PCI client drivers
  PCI/pwrctl: Create pwrctl device only if at least one power supply is present
  PCI/pwrctl: Use of_platform_device_create() to create pwrctl devices

# Conflicts:
# drivers/pci/bus.c
# drivers/pci/remove.c
MAINTAINERS
drivers/pci/bus.c
drivers/pci/pci.h
drivers/pci/remove.c