Home
last modified time | relevance | path

Searched full:perst (Results 1 – 25 of 97) sorted by relevance

1234

/linux/drivers/phy/freescale/
H A Dphy-fsl-imx8m-pcie.c64 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 Dpcie-qcom-ep.c183 * @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 Dpcie-stm32-ep.c153 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 Dpcie-kirin.c61 * 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 Dipq5332-rdp441.dts39 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 Dipq8074-hk10.dtsi43 perst-gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
48 perst-gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;
H A Dipq8074-hk01.dts57 perst-gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;
62 perst-gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
H A Dsa8540p-ride.dts369 perst-gpios = <&tlmm 143 GPIO_ACTIVE_LOW>;
390 perst-gpios = <&tlmm 151 GPIO_ACTIVE_LOW>;
610 perst-pins {
633 perst-pins {
H A Dqcs404-evb.dtsi104 perst-gpios = <&tlmm 43 GPIO_ACTIVE_LOW>;
234 perst_state: perst-state {
/linux/drivers/pci/controller/
H A Dpcie-rockchip-ep.c43 * @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 Dmediatek,mt76x8-pinctrl.yaml40 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 Dcvmx-rst-defs.h179 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 Daspeed-bmc-ibm-system1.dts565 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 Dqcom,pcie-common.yaml81 perst-gpios:
82 description: GPIO controlled connection to PERST# signal. This property is
H A Dbrcm,stb-pcie.yaml106 - enum: [perst, rescal]
141 - const: perst
H A Dsnps,dw-pcie-common.yaml209 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 Dst,stm32-pcie-ep.yaml38 description: GPIO controlled connection to PERST# signal
/linux/arch/arm/boot/dts/marvell/
H A Darmada-388-clearfog.dts63 * 1-CON3 PERST#
64 * 2-CON2 PERST#
/linux/drivers/pci/controller/plda/
H A Dpcie-starfive.c150 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 Dbrcm,bcm4908-misc-pcie-reset.yaml9 description: This document describes reset controller handling PCIe PERST#
/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-mt76x8.c68 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 Dqcom-ipq4019-ap.dk07.1-c1.dts14 perst-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
H A Dqcom-sdx55-t55.dts253 perst-gpios = <&tlmm 57 GPIO_ACTIVE_LOW>;
294 perst-pins {
/linux/arch/riscv/boot/dts/starfive/
H A Djh7110-deepcomputing-fml13v01.dts15 perst-gpios = <&sysgpio 21 GPIO_ACTIVE_LOW>;
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6q-apalis-eval.dtsi57 /* active-high meaning opposite of regular PERST# active-low polarity */

1234