| 49f31825 | 05-Aug-2019 |
Emmanuel Vadot <[email protected]> |
MFC r344633-r344634, r344638
r344633: usb_nop_xceiv: Add support for this pseudo device
This is a "fake" phy that handle regulator, clocks and reset gpio. Only clock and regulator is supported for
MFC r344633-r344634, r344638
r344633: usb_nop_xceiv: Add support for this pseudo device
This is a "fake" phy that handle regulator, clocks and reset gpio. Only clock and regulator is supported for now.
Sponsored-by: Rubicon Communications, LCC ("Netgate")
r344634: xhci_mv: Move the driver to generic_xhci
Marvell XHCI is in fact generic-xhci, so move the driver and add the compatible string. While here, get and enable the phy if the dtb provide one. The xhci bindings state that phys should be in a 'phys' property but Marvell DTS uses 'usb-phy', only add support for 'usb-phy' for now.
Sponsored-by: Rubicon Communications, LCC ("Netgate")
r344638: Fix armv6/armv7 build after the move from xhci_mv to generic_xhci
show more ...
|
| 2a94dbf5 | 26-Apr-2018 |
Marcin Wojtas <[email protected]> |
Replace FDT tree parsing with gpio_map_gpios implementation in mv_gpio driver
This patch replaces in-driver FDT parsing, which was needed for setting initial values on GPIO pins. Now FDT is parsed b
Replace FDT tree parsing with gpio_map_gpios implementation in mv_gpio driver
This patch replaces in-driver FDT parsing, which was needed for setting initial values on GPIO pins. Now FDT is parsed by generic kernel code, pins are set by invoking gpio_map_gpios method.
Submitted by: Patryk Duda <[email protected]> Obtained from: Semihalf Sponsored by: Stormshield Differential Revision: https://reviews.freebsd.org/D14757
show more ...
|
| edf9ef73 | 04-Apr-2018 |
Marcin Wojtas <[email protected]> |
Enable Marvell gpio driver to work with many controllers
This patch moves all global data structures into mv_gpio_softc, and puts device_t parameter to functions calls everywhere where needed. As a
Enable Marvell gpio driver to work with many controllers
This patch moves all global data structures into mv_gpio_softc, and puts device_t parameter to functions calls everywhere where needed. As a result, we can create multiple driver instances.
Removed names in function declaration to keep style.
Submitted by: Patryk Duda <[email protected]> Obtained from: Semihalf Sponsored by: Stormshield Differential Revision: https://reviews.freebsd.org/D14755
show more ...
|
| ad2be10f | 04-Apr-2018 |
Marcin Wojtas <[email protected]> |
Improve interrupt and resource allocation in Marvell GPIO driver
This patch adds support for more than one interrupts in GPIO controller. It reads necessary information (such as cell size) from FDT,
Improve interrupt and resource allocation in Marvell GPIO driver
This patch adds support for more than one interrupts in GPIO controller. It reads necessary information (such as cell size) from FDT, so there are no magic numbers.
Note that interrupts are still not working, but this patch makes one good step in correct direction
Submitted by: Patryk Duda <[email protected]> Obtained from: Semihalf Sponsored by: Stormshield Differential Revision: https://reviews.freebsd.org/D14754
show more ...
|
| 1c45bd11 | 04-Apr-2018 |
Marcin Wojtas <[email protected]> |
Introduce port debouncing mechanism in mv_gpio driver
This patch introduces gpio debouncing mechanism with fixed memory allocation in critical section.
When you press button, value at gpio pin conn
Introduce port debouncing mechanism in mv_gpio driver
This patch introduces gpio debouncing mechanism with fixed memory allocation in critical section.
When you press button, value at gpio pin connected to button is changing many times which will cause in unexpected behaviour. Debouncing mechanism will prevent this phenomenon
Submitted by: Patryk Duda <[email protected]> Wojciech Macek <[email protected]> Obtained from: Semihalf Sponsored by: Stormshield Differential Revision: https://reviews.freebsd.org/D14753
show more ...
|
| 13d464bf | 04-Apr-2018 |
Marcin Wojtas <[email protected]> |
Change reg in Marvell Armada38X pcie FDT
Ranges in pcie-controller are unused, so could be changed to match Linux device tree represntation. Same with interrupt-cells and interrupt-parent. In PCI co
Change reg in Marvell Armada38X pcie FDT
Ranges in pcie-controller are unused, so could be changed to match Linux device tree represntation. Same with interrupt-cells and interrupt-parent. In PCI controller driver ocd_data are used for matching driver and choose proper resources acquisition function. fdt_win_process_child have new argument which provide information about fdt node containing addresses of MMIO registers.
Submitted by: Rafal Kozik <[email protected]> Reviewed by: manu [DT part] Obtained from: Semihalf Sponsored by: Stormshield Differential Revision: https://reviews.freebsd.org/D14751
show more ...
|
| c7dbc00c | 04-Apr-2018 |
Marcin Wojtas <[email protected]> |
Match Marvell Armada38X PCI compatible with Linux
In Linux FDT pcie does not have compatible string. Configuration of windows in mv_common was based on fdt compatible. Now pcie windows are configure
Match Marvell Armada38X PCI compatible with Linux
In Linux FDT pcie does not have compatible string. Configuration of windows in mv_common was based on fdt compatible. Now pcie windows are configured by their parent: pcie_controller. Processing is moved to fdt_win_process_child. fdt_win_process now only walk through the tree. SOC_NODE_PCI is position of pcie function in soc_node_spec array.
PCIe probe cannot use ofw_bus_search_compatible, because it needs to check also device type and parents compatible.
Submitted by: Rafal Kozik <[email protected]> Reviewed by: manu [DT part] Obtained from: Semihalf Sponsored by: Stormshield Differential Revision: https://reviews.freebsd.org/D14749
show more ...
|
| 3a582d09 | 04-Apr-2018 |
Marcin Wojtas <[email protected]> |
Add support of PCI_RES_BUS to Marvell PCI driver
GENERIC ARM config use NEW_PCIB driver (https://wiki.freebsd.org/NEW_PCIB). To satisfy it, allocation and deallocation of PCI_RES_BUS is necessary. C
Add support of PCI_RES_BUS to Marvell PCI driver
GENERIC ARM config use NEW_PCIB driver (https://wiki.freebsd.org/NEW_PCIB). To satisfy it, allocation and deallocation of PCI_RES_BUS is necessary. Conditional compilation is added for backward compatibility with ARMv5 configs.
Submitted by: Rafal Kozik <[email protected]> Reviewed by: jhb Obtained from: Semihalf Sponsored by: Stormshield Differential Revision: https://reviews.freebsd.org/D14748
show more ...
|