| /linux/drivers/phy/freescale/ |
| H A D | phy-fsl-imx8m-pcie.c | 64 struct reset_control *perst; member 144 reset_control_deassert(imx8_phy->perst); in imx8_pcie_phy_power_on() 164 reset_control_assert(imx8_phy->perst); in imx8_pcie_phy_power_off() 258 imx8_phy->perst = in imx8_pcie_phy_probe() 259 devm_reset_control_get_exclusive(dev, "perst"); in imx8_pcie_phy_probe() 260 if (IS_ERR(imx8_phy->perst)) in imx8_pcie_phy_probe() 261 return dev_err_probe(dev, PTR_ERR(imx8_phy->perst), in imx8_pcie_phy_probe() 262 "Failed to get PCIE PHY PERST control\n"); in imx8_pcie_phy_probe()
|
| /linux/drivers/pci/controller/dwc/ |
| H A D | pcie-qcom-ep.c | 183 * @perst_map: PERST regmap 186 * @reset: PERST# GPIO 193 * @perst_en: Flag for PERST enable 194 * @perst_sep_en: Flag for PERST separation enable 198 * @perst_irq: PERST# IRQ 593 syscon = of_parse_phandle(dev->of_node, "qcom,perst-regs", 0); in qcom_pcie_ep_get_io_resources() 595 dev_dbg(dev, "PERST separation not available\n"); in qcom_pcie_ep_get_io_resources() 604 ret = of_property_read_u32_index(dev->of_node, "qcom,perst-regs", in qcom_pcie_ep_get_io_resources() 607 dev_err(dev, "No Perst Enable offset in syscon\n"); in qcom_pcie_ep_get_io_resources() 611 ret = of_property_read_u32_index(dev->of_node, "qcom,perst-regs", in qcom_pcie_ep_get_io_resources() [all …]
|
| H A D | pcie-stm32-ep.c | 153 dev_dbg(dev, "PERST asserted by host\n"); in stm32_pcie_perst_assert() 169 dev_dbg(dev, "PERST de-asserted by host\n"); in stm32_pcie_perst_deassert() 208 u32 perst; in stm32_pcie_ep_perst_irq_thread() local 210 perst = gpiod_get_value(stm32_pcie->perst_gpio); in stm32_pcie_ep_perst_irq_thread() 211 if (perst) in stm32_pcie_ep_perst_irq_thread() 217 (perst ? IRQF_TRIGGER_HIGH : IRQF_TRIGGER_LOW)); in stm32_pcie_ep_perst_irq_thread() 319 return dev_err_probe(dev, ret, "Failed to request PERST IRQ\n"); in stm32_pcie_probe()
|
| H A D | pcie-kirin.c | 61 * Each slot has a different clock source and uses a separate PERST# pin. 78 /* DWC PERST# */ 81 /* Per-slot PERST# */ 465 /* pcie internal PERST# gpio */ in kirin_pcie_get_resource() 547 /* Send PERST# to each slot */ in kirin_pcie_add_bus() 551 dev_err(pci->dev, "PERST# %s error: %d\n", in kirin_pcie_add_bus() 671 /* perst assert Endpoint */ in kirin_pcie_power_on()
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | ipq5332-rdp441.dts | 39 perst-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>; 53 perst-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>; 79 perst-n-pins { 103 perst-n-pins {
|
| H A D | ipq8074-hk10.dtsi | 43 perst-gpios = <&tlmm 58 GPIO_ACTIVE_LOW>; 48 perst-gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;
|
| H A D | ipq8074-hk01.dts | 57 perst-gpios = <&tlmm 61 GPIO_ACTIVE_LOW>; 62 perst-gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
|
| H A D | sa8540p-ride.dts | 369 perst-gpios = <&tlmm 143 GPIO_ACTIVE_LOW>; 390 perst-gpios = <&tlmm 151 GPIO_ACTIVE_LOW>; 610 perst-pins { 633 perst-pins {
|
| H A D | qcs404-evb.dtsi | 104 perst-gpios = <&tlmm 43 GPIO_ACTIVE_LOW>; 234 perst_state: perst-state {
|
| /linux/drivers/pci/controller/ |
| H A D | pcie-rockchip-ep.c | 43 * @perst_irq: IRQ used for the PERST# signal. 44 * @perst_asserted: True if the PERST# signal was asserted. 574 * If PERST# was asserted while polling the link, do not notify in rockchip_pcie_ep_link_training() 601 dev_dbg(rockchip->dev, "PERST# asserted, link down\n"); in rockchip_pcie_ep_perst_assert() 620 dev_dbg(rockchip->dev, "PERST# de-asserted, starting link training\n"); in rockchip_pcie_ep_perst_deassert() 639 u32 perst = gpiod_get_value(rockchip->perst_gpio); in rockchip_pcie_ep_perst_irq_thread() local 641 if (perst) in rockchip_pcie_ep_perst_irq_thread() 647 (perst ? IRQF_TRIGGER_HIGH : IRQF_TRIGGER_LOW)); in rockchip_pcie_ep_perst_irq_thread() 666 "failed to get IRQ for PERST# GPIO: %d\n", in rockchip_pcie_ep_setup_irq() 675 * IRQ as a dummy one by faking the host asserting PERST#. in rockchip_pcie_ep_setup_irq() [all …]
|
| /linux/Documentation/devicetree/bindings/pinctrl/ |
| H A D | mediatek,mt76x8-pinctrl.yaml | 40 p4led_an, p4led_kn, pcie, pcm, perst, pwm, pwm0, pwm1, 82 p4led_kn, perst, pwm0, pwm1, refclk, sdmode, spi, 226 const: perst 230 enum: [perst]
|
| /linux/arch/mips/include/asm/octeon/ |
| H A D | cvmx-rst-defs.h | 179 uint64_t perst:4; member 185 uint64_t perst:4; 192 uint64_t perst:3; member 198 uint64_t perst:3;
|
| /linux/arch/arm/boot/dts/aspeed/ |
| H A D | aspeed-bmc-ibm-system1.dts | 565 label = "nic1-perst"; 573 label = "bmc-perst"; 581 label = "reset-M2-SSD1-2-perst"; 653 label = "PV-cp0-sw1stk4-perst"; 661 label = "PV-cp0-sw1stk5-perst"; 669 label = "pe-cp-drv0-perst"; 677 label = "pe-cp-drv1-perst"; 685 label = "lom-perst"; 1362 label = "PV-cp1-sw1stk4-perst"; 1370 label = "PV-cp1-sw1stk5-perst"; [all …]
|
| /linux/Documentation/devicetree/bindings/pci/ |
| H A D | qcom,pcie-common.yaml | 81 perst-gpios: 82 description: GPIO controlled connection to PERST# signal. This property is
|
| H A D | brcm,stb-pcie.yaml | 106 - enum: [perst, rescal] 141 - const: perst
|
| H A D | snps,dw-pcie-common.yaml | 209 Reference to the GPIO-controlled PERST# signal. It is used to reset all 215 Reference to the GPIO-controlled PERST# signal. It is used to reset all
|
| H A D | st,stm32-pcie-ep.yaml | 38 description: GPIO controlled connection to PERST# signal
|
| /linux/arch/arm/boot/dts/marvell/ |
| H A D | armada-388-clearfog.dts | 63 * 1-CON3 PERST# 64 * 2-CON2 PERST#
|
| /linux/drivers/pci/controller/plda/ |
| H A D | pcie-starfive.c | 150 pcie->reset_gpio = devm_gpiod_get_optional(dev, "perst", in starfive_pcie_parse_dt() 154 "failed to get perst-gpio\n"); in starfive_pcie_parse_dt() 359 * Ensure that PERST has been asserted for at least 100 ms, in starfive_pcie_host_init()
|
| /linux/Documentation/devicetree/bindings/reset/ |
| H A D | brcm,bcm4908-misc-pcie-reset.yaml | 9 description: This document describes reset controller handling PCIe PERST#
|
| /linux/drivers/pinctrl/mediatek/ |
| H A D | pinctrl-mt76x8.c | 68 static struct mtmips_pmx_func perst_grp[] = { FUNC("perst", 0, 36, 1) }; 182 GRP("perst", perst_grp, 1, MT76X8_GPIO_MODE_PERST),
|
| /linux/arch/arm/boot/dts/qcom/ |
| H A D | qcom-ipq4019-ap.dk07.1-c1.dts | 14 perst-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
|
| H A D | qcom-sdx55-t55.dts | 253 perst-gpios = <&tlmm 57 GPIO_ACTIVE_LOW>; 294 perst-pins {
|
| /linux/arch/riscv/boot/dts/starfive/ |
| H A D | jh7110-deepcomputing-fml13v01.dts | 15 perst-gpios = <&sysgpio 21 GPIO_ACTIVE_LOW>;
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx6q-apalis-eval.dtsi | 57 /* active-high meaning opposite of regular PERST# active-low polarity */
|