| /linux/drivers/char/tpm/ |
| H A D | tpm_tis_spi_cr50.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * It is based on tpm_tis_spi driver by Peter Huewe and Christophe Ricard. 23 * - can go to sleep not earlier than after CR50_SLEEP_DELAY_MSEC. 24 * - needs up to CR50_WAKE_START_DELAY_USEC to wake after sleep. 25 * - requires waiting for "ready" IRQ, if supported; or waiting for at least 27 * - waits for up to CR50_FLOW_CONTROL for flow control 'ready' indication. 55 static inline struct cr50_spi_phy *to_cr50_spi_phy(struct tpm_tis_spi_phy *phy) in to_cr50_spi_phy() argument 57 return container_of(phy, struct cr50_spi_phy, spi_phy); in to_cr50_spi_phy() 69 cr50_phy->irq_confirmed = true; in cr50_spi_irq_handler() 70 complete(&cr50_phy->spi_phy.ready); in cr50_spi_irq_handler() [all …]
|
| /linux/arch/arm/boot/dts/rockchip/ |
| H A D | rv1126-sonoff-ihost.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 16 stdout-path = "serial2:1500000n8"; 19 vcc5v0_sys: regulator-vcc5v0-sys { 20 compatible = "regulator-fixed"; 21 regulator-name = "vcc5v0_sys"; 22 regulator-always-on; 23 regulator-boot-on; 24 regulator-min-microvolt = <5000000>; 25 regulator-max-microvolt = <5000000>; 28 sdio_pwrseq: pwrseq-sdio { [all …]
|
| /linux/Documentation/devicetree/bindings/usb/ |
| H A D | dwc2.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 13 - $ref: usb-drd.yaml# 14 - $ref: usb-hcd.yaml# 19 - const: brcm,bcm2835-usb 20 - const: hisilicon,hi6220-usb 21 - const: ingenic,jz4775-otg 22 - const: ingenic,jz4780-otg [all …]
|
| H A D | am33xx-usb.txt | 3 - compatible: ti,am33xx-usb 4 - reg: offset and length of the usbss register sets 5 - ti,hwmods : must be "usb_otg_hs" 8 at least a control module node, USB node and a PHY node. The second USB 9 node and its PHY node are optional. The DMA node is also optional. 11 Reset module 13 - compatible: ti,am335x-usb-ctrl-module 14 - reg: offset and length of the "USB control registers" in the "Control 15 Module" block. A second offset and length for the USB wake up control 17 - reg-names: "phy_ctrl" for the "USB control registers" and "wakeup" for [all …]
|
| /linux/drivers/net/ethernet/broadcom/genet/ |
| H A D | bcmgenet_wol.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Broadcom GENET (Gigabit Ethernet) Wake-on-LAN support 5 * Copyright (c) 2014-2025 Broadcom 33 #include <linux/phy.h> 37 /* ethtool function - get WOL (Wake on LAN) settings, Only Magic Packet 43 struct device *kdev = &priv->pdev->dev; in bcmgenet_get_wol() 46 if (dev->phydev) { in bcmgenet_get_wol() 47 phy_ethtool_get_wol(dev->phydev, wol); in bcmgenet_get_wol() 48 phy_wolopts = wol->wolopts; in bcmgenet_get_wol() 51 /* MAC is not wake-up capable, return what the PHY does */ in bcmgenet_get_wol() [all …]
|
| /linux/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3566-box-demo.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Based on Quartz64 DT by: Peter Geis pgwipeout@gmail.com 8 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/pinctrl/rockchip.h> 13 #include <dt-bindings/soc/rockchip,vop2.h> 18 compatible = "rockchip,rk3566-box-demo", "rockchip,rk3566"; 28 stdout-path = "serial2:1500000n8"; 31 gmac1_clkin: external-gmac1-clock { [all …]
|
| H A D | rk3566-orangepi-3b-v2.1.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include "rk3566-orangepi-3b.dtsi" 9 compatible = "xunlong,orangepi-3b-v2.1", "xunlong,orangepi-3b", "rockchip,rk3566"; 11 vccio_phy1: regulator-1v8-vccio-phy { 12 compatible = "regulator-fixed"; 13 regulator-name = "vccio_phy1"; 14 regulator-always-on; 15 regulator-boot-on; 16 regulator-max-microvolt = <1800000>; [all …]
|
| H A D | rk3368-lba3368.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/clock/rockchip,rk808.h> 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/sound/rt5640.h> 25 stdout-path = "serial1:115200n8"; 33 adc-key { 34 compatible = "adc-keys"; 35 io-channels = <&saradc 1>; [all …]
|
| H A D | rk3568-rock-3b.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 8 #include <dt-bindings/soc/rockchip,vop2.h> 13 compatible = "radxa,rock-3b", "rockchip,rk3568"; 24 stdout-path = "serial2:1500000n8"; 27 hdmi-con { 28 compatible = "hdmi-connector"; [all …]
|
| H A D | rk3566-rock-3c.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/leds/common.h> 6 #include <dt-bindings/pinctrl/rockchip.h> 7 #include <dt-bindings/soc/rockchip,vop2.h> 12 compatible = "radxa,rock-3c", "rockchip,rk3566"; 22 stdout-path = "serial2:1500000n8"; 25 gmac1_clkin: external-gmac1-clock { 26 compatible = "fixed-clock"; [all …]
|
| H A D | rk3566-bigtreetech-cb2.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/pwm/pwm.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 8 #include <dt-bindings/soc/rockchip,vop2.h> 9 #include <dt-bindings/leds/common.h> 20 stdout-path = "serial2:1500000n8"; 23 ext_cam_clk: clock-25000000-cam { 24 compatible = "fixed-clock"; [all …]
|
| H A D | rk3399-orangepi.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "dt-bindings/pwm/pwm.h" 9 #include "dt-bindings/input/input.h" 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include "dt-bindings/usb/pd.h" 16 compatible = "xunlong,rk3399-orangepi", "rockchip,rk3399"; 26 stdout-path = "serial2:1500000n8"; 29 clkin_gmac: external-gmac-clock { 30 compatible = "fixed-clock"; [all …]
|
| /linux/drivers/net/usb/ |
| H A D | smsc95xx.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 * Copyright (C) 2007-2008 SMSC 38 /* SCSRs - System Control and Status Registers */ 52 #define INT_STS_MAC_RTO_ (0x00040000) /* MAC Reset Time Out */ 55 #define INT_STS_PHY_INT_ (0x00008000) /* PHY Interrupt */ 83 #define HW_CFG_LRST_ (0x00000008) /* Soft Lite Reset */ 84 #define HW_CFG_PSEL_ (0x00000004) /* External PHY Select */ 86 #define HW_CFG_SRST_ (0x00000001) /* Soft Reset */ 106 #define PM_CTL_PHY_RST_ (0x00000010) /* PHY Reset */ 107 #define PM_CTL_WOL_EN_ (0x00000008) /* Wake On Lan Enable */ [all …]
|
| /linux/drivers/net/phy/ |
| H A D | broadcom.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * drivers/net/phy/broadcom.c 8 * Broadcom BCM54810, BCM54811 BroadR-Reach transceivers. 15 #include "bcm-phy-lib.h" 18 #include <linux/phy.h> 27 ((phydev)->drv->phy_id & ~((phydev)->drv->phy_id_mask)) 29 MODULE_DESCRIPTION("Broadcom PHY driver"); 41 /* Link modes for BCM58411 PHY */ 54 /* Long-Distance Signaling (BroadR-Reach mode aneg) relevant linkmode bits */ 65 struct bcm54xx_phy_priv *priv = phydev->priv; in bcm54xx_phy_can_wakeup() [all …]
|
| /linux/drivers/pci/controller/dwc/ |
| H A D | pcie-qcom-ep.c | 1 // SPDX-License-Identifier: GPL-2.0 18 #include <linux/phy/pcie.h> 19 #include <linux/phy/phy.h> 23 #include <linux/reset.h> 27 #include "pcie-designware.h" 28 #include "pcie-qcom-common.h" 157 #define to_pcie_ep(x) dev_get_drvdata((x)->dev) 167 * struct qcom_pcie_ep_cfg - Per SoC config struct 168 * @hdma_support: HDMA support on this SoC 179 * struct qcom_pcie_ep - Qualcomm PCIe Endpoint Controller [all …]
|
| /linux/drivers/usb/dwc2/ |
| H A D | platform.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * platform.c - DesignWare HS OTG Controller platform driver 13 #include <linux/dma-mapping.h> 17 #include <linux/phy/phy.h> 18 #include <linux/platform_data/s3c-hsotg.h> 19 #include <linux/reset.h> 39 * ------------------------------ 41 * HST DEV any : --- 44 * DEV HST any : --- 56 hsotg->dr_mode = usb_get_dr_mode(hsotg->dev); in dwc2_get_dr_mode() [all …]
|
| /linux/Documentation/devicetree/bindings/pci/ |
| H A D | st,stm32-pcie-host.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/st,stm32-pcie-host.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Christian Bruel <christian.bruel@foss.st.com> 13 PCIe root complex controller based on the Synopsys DesignWare PCIe core. 16 - $ref: /schemas/pci/snps,dw-pcie.yaml# 17 - $ref: /schemas/pci/st,stm32-pcie-common.yaml# 21 const: st,stm32mp25-pcie-rc 25 - description: Data Bus Interface (DBI) registers. [all …]
|
| H A D | qcom,pcie.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 11 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 14 Qualcomm PCIe root complex controller is based on the Synopsys DesignWare 20 - enum: 21 - qcom,pcie-apq8064 22 - qcom,pcie-apq8084 23 - qcom,pcie-ipq4019 [all …]
|
| /linux/drivers/net/ethernet/intel/igb/ |
| H A D | e1000_defines.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2007 - 2018 Intel Corporation. */ 12 /* Wake Up Control */ 15 /* Wake Up Filter Control */ 22 /* Wake Up Status */ 29 /* Packet types that are enabled for wake packet delivery */ 37 /* Wake Up Packet Length */ 40 /* Wake Up Packet Memory stores the first 128 bytes of the wake up packet */ 49 /* Physical Func Reset Done Indication */ 62 /* Interrupt acknowledge Auto-mask */ [all …]
|
| /linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
| H A D | pch_gbe.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 1999 - 2010 Intel Corporation. 26 * pch_gbe_regs_mac_adr - Structure holding values of mac address registers 35 * pch_udc_regs - Structure holding values of MAC registers 41 u32 RESET; member 105 #define PCH_GBE_INT_PHY_INT 0x00100000 /* Interruption from PHY */ 106 #define PCH_GBE_INT_WOL_DET 0x01000000 /* Wake On LAN Event detection. */ 116 /* Reset */ 117 #define PCH_GBE_ALL_RST 0x80000000 /* All reset */ 118 #define PCH_GBE_TX_RST 0x00008000 /* TX MAC, TX FIFO, TX DMA reset */ [all …]
|
| /linux/arch/arm/boot/dts/nxp/mxs/ |
| H A D | imx28-amarula-rmm.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 13 compatible = "amarula,imx28-rmm", "fsl,imx28"; 22 compatible = "pwm-backlight"; 24 brightness-levels = <0 255>; 25 num-interpolated-steps = <255>; 26 default-brightness-level = <255>; 27 power-supply = <®_5v>; [all …]
|
| /linux/drivers/net/ethernet/intel/igc/ |
| H A D | igc_defines.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 18 /* Wake Up Control */ 21 /* Wake Up Filter Control */ 41 /* Wake Up Status */ 48 /* Packet types that are enabled for wake packet delivery */ 56 /* Wake Up Packet Length */ 59 /* Wake Up Packet Memory stores the first 128 bytes of the wake up packet */ 90 /* Loop limit on how long we wait for auto-negotiation to complete */ 132 #define IGC_CTRL_RST 0x04000000 /* Global reset */ 134 #define IGC_CTRL_PHY_RST 0x80000000 /* PHY Reset */ [all …]
|
| /linux/drivers/usb/phy/ |
| H A D | phy-tegra-usb.c | 1 // SPDX-License-Identifier: GPL-2.0 221 static void set_pts(struct tegra_usb_phy *phy, u8 pts_val) in set_pts() argument 223 void __iomem *base = phy->regs; in set_pts() 226 if (phy->soc_config->has_hostpc) { in set_pts() 240 static void set_phcd(struct tegra_usb_phy *phy, bool enable) in set_phcd() argument 242 void __iomem *base = phy->regs; in set_phcd() 245 if (phy->soc_config->has_hostpc) { in set_phcd() 262 static int utmip_pad_open(struct tegra_usb_phy *phy) in utmip_pad_open() argument 266 ret = clk_prepare_enable(phy->pad_clk); in utmip_pad_open() 268 dev_err(phy->u_phy.dev, in utmip_pad_open() [all …]
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | sa8540p-ride.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 13 #include "sa8540p-pmics.dtsi" 17 compatible = "qcom,sa8540p-ride", "qcom,sa8540p"; 29 stdout-path = "serial0:115200n8"; 34 regulators-0 { 35 compatible = "qcom,pm8150-rpmh-regulators"; 36 qcom,pmic-id = "a"; [all …]
|
| /linux/arch/arm64/boot/dts/amlogic/ |
| H A D | meson-g12b-bananapi.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/gpio/meson-g12a-gpio.h> 11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 21 stdout-path = "serial0:115200n8"; 29 adc-keys { 30 compatible = "adc-keys"; 31 io-channels = <&saradc 2>; 32 io-channel-names = "buttons"; [all …]
|