aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/adi-axi-common.h
AgeCommit message (Collapse)AuthorFilesLines
2020-04-19include: fpga: adi-axi-common.h: add version helper macrosAlexandru Ardelean1-0/+4
The format for all ADI AXI IP cores is the same. i.e. 'major.minor.patch'. This patch adds the helper macros to be re-used in ADI AXI drivers. Acked-by: Moritz Fischer <[email protected]> Signed-off-by: Alexandru Ardelean <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
2020-04-19include: fpga: adi-axi-common.h: fixup whitespace tab -> spaceAlexandru Ardelean1-1/+1
The initial version use a tab between '#define' & 'ADI_AXI_REG_VERSION'. This changes it to space. The change is purely cosmetic. Acked-by: Moritz Fischer <[email protected]> Signed-off-by: Alexandru Ardelean <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
2019-05-27include: fpga: adi-axi-common.h: add common regs & defs headerAlexandru Ardelean1-0/+19
The AXI HDL cores provided for Analog Devices reference designs all share some common base registers (e.g. version register at address 0x00). To reduce duplication for this, a common header is added to define these registers as well as bitfields & macros to work with these registers. Signed-off-by: Alexandru Ardelean <[email protected]> Signed-off-by: Vinod Koul <[email protected]>