Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PCI: keembay: Changes to support VPU PCIe driver
VPU PCIe driver for xLink requires modification and additional changes to PCIe controller driver. Signed-off-by: Wan Ahmad Zainie <wan.ahmad.zainie.wan.mohamad@intel.com>
- Loading branch information
1 parent
e6ef347
commit 4d568c8
Showing
2 changed files
with
130 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 */ | ||
|
||
#ifndef _PCIE_KEEMBAY_H | ||
#define _PCIE_KEEMBAY_H | ||
|
||
#include "pcie-designware.h" | ||
|
||
#define KEEMBAY_PCIE_STEPPING_MAXLEN 8 | ||
#define to_keembay_pcie(x) dev_get_drvdata((x)->dev) | ||
|
||
struct keembay_pcie { | ||
struct dw_pcie *pci; | ||
void __iomem *apb_base; | ||
enum dw_pcie_device_mode mode; | ||
|
||
int irq; | ||
int ev_irq; | ||
int err_irq; | ||
int mem_access_irq; | ||
|
||
struct clk *clk_master; | ||
struct clk *clk_aux; | ||
struct gpio_desc *reset; | ||
|
||
char stepping[KEEMBAY_PCIE_STEPPING_MAXLEN]; | ||
}; | ||
|
||
#endif /* _PCIE_KEEMBAY_H */ |