mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
Update header inclusions to follow IWYU (Include What You Use) principle. In particular, replace of_gpio.h, which is subject to removal by the GPIOLIB subsystem, with the respective headers that are being used by the driver. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Link: https://patch.msgid.link/20251114185534.3287497-1-andriy.shevchenko@linux.intel.com
20 lines
518 B
C
20 lines
518 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* ST PCIe driver definitions for STM32-MP25 SoC
|
|
*
|
|
* Copyright (C) 2025 STMicroelectronics - All Rights Reserved
|
|
* Author: Christian Bruel <christian.bruel@foss.st.com>
|
|
*/
|
|
|
|
#include <linux/bits.h>
|
|
#include <linux/device.h>
|
|
|
|
#define to_stm32_pcie(x) dev_get_drvdata((x)->dev)
|
|
|
|
#define STM32MP25_PCIECR_TYPE_MASK GENMASK(11, 8)
|
|
#define STM32MP25_PCIECR_EP 0
|
|
#define STM32MP25_PCIECR_LTSSM_EN BIT(2)
|
|
#define STM32MP25_PCIECR_RC BIT(10)
|
|
|
|
#define SYSCFG_PCIECR 0x6000
|