freebsd-dev/sys/mips
Landon J. Fuller 4e96bf3a37 bhnd(4): extend the PMU APIs to support bwn(4)
The bwn(4) driver requires a number of extensions to the bhnd(4) PMU
interface to support external configuration of PLLs, LDOs, and other
parameters that require chipset or PHY-specific workarounds.

These changes add support for:

- Writing raw voltage register values to PHY-specific LDO regulator
  registers (required by LP-PHY).
- Enabling/disabling PHY-specific LDOs (required by LP-PHY)
- Writing to arbitrary PMU chipctrl registers (required for common PHY PLL
  reset support).
- Requesting chipset/PLL-specific spurious signal avoidance modes.
- Querying clock frequency and latency.

Additionally, rather than updating legacy PWRCTL support to conform to the
new PMU interface:

- PWRCTL API is now provided by a bhnd_pwrctl_if.m interface.
- Since PWRCTL is only found in older SSB-based chipsets, translation from
  bhnd(4) bus APIs to corresponding PWRCTL operations is now handled
  entirely within the siba(4) driver.
- The PWRCTL-specific host bridge clock gating APIs in bhnd_bus_if.m have
  been lifted out into a standalone bhnd_pwrctl_hostb_if.m interface.

Approved by:	adrian (mentor, implicit)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D12664
2017-11-22 20:27:46 +00:00
..
adm5120 Allow setting access-width for UART registers. 2017-02-27 20:08:42 +00:00
alchemy Allow setting access-width for UART registers. 2017-02-27 20:08:42 +00:00
atheros arge: correct bzero sizeof (pointed-to object, not pointer) 2017-08-30 17:38:55 +00:00
beri Remove a couple variables that are unused after r325790. 2017-11-20 22:18:24 +00:00
broadcom bhnd(4): extend the PMU APIs to support bwn(4) 2017-11-22 20:27:46 +00:00
cavium sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
conf Update several more URLs 2017-10-29 08:17:03 +00:00
gxemul Allow the use of soft-interrupts for sending IPIs. 2016-09-08 17:37:13 +00:00
idt Allow setting access-width for UART registers. 2017-02-27 20:08:42 +00:00
include bhnd(4): implement MIPS and PCI(e) interrupt support 2017-11-21 23:15:20 +00:00
ingenic Add and use a MMC_DECLARE_BRIDGE macro for declaring mmc(4) bridges 2017-03-07 22:42:44 +00:00
malta Allow setting access-width for UART registers. 2017-02-27 20:08:42 +00:00
mediatek [mips] Pin control configuration for MediaTek RT2880 2017-10-31 11:29:16 +00:00
mips bhnd(4): implement MIPS and PCI(e) interrupt support 2017-11-21 23:15:20 +00:00
nlm Fix build: include machine/bus.h before uart.h 2017-03-02 17:09:14 +00:00
rmi sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
rt305x Allow setting access-width for UART registers. 2017-02-27 20:08:42 +00:00
sibyte Convert PCIe Hot Plug to using pci_request_feature 2017-02-25 06:11:59 +00:00