| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/ |
| D | generic.txt | 4 - maximum-speed: tells USB controllers we want to work up to a certain 5 speed. Valid arguments are "super-speed-plus", 6 "super-speed", "high-speed", "full-speed" and 7 "low-speed". In case this isn't passed via DT, USB 10 - dr_mode: tells Dual-Role USB controllers that we want to work on a 15 - phy_type: tells USB controllers that we want to configure the core to support 16 a UTMI+ PHY with an 8- or 16-bit interface if UTMI+ is 20 - otg-rev: tells usb driver the release number of the OTG and EH supplement 22 in binary-coded decimal (i.e. 2.0 is 0200H). This 23 property is used if any real OTG features(HNP/SRP/ADP) [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/usb/ |
| D | usb-drd.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/usb/usb-drd.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Greg Kroah-Hartman <gregkh@linuxfoundation.org> 13 otg-rev: 16 which the device and its descriptors are compliant, in binary-coded 18 features (HNP/SRP/ADP) is enabled. If ADP is required, otg-rev should be 25 Tells Dual-Role USB controllers that we want to work on a particular 32 hnp-disable: [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/exynos/ |
| D | exynos_dp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 43 struct analogix_dp_device *adp; member 51 struct drm_encoder *encoder = &dp->encoder; in exynos_dp_crtc_clock_enable() 53 if (!encoder->crtc) in exynos_dp_crtc_clock_enable() 54 return -EPERM; in exynos_dp_crtc_clock_enable() 56 exynos_drm_pipe_clk_enable(to_exynos_crtc(encoder->crtc), enable); in exynos_dp_crtc_clock_enable() 78 if (dp->plat_data.panel) in exynos_dp_get_modes() 81 mode = drm_mode_create(connector->dev); in exynos_dp_get_modes() 83 DRM_DEV_ERROR(dp->dev, in exynos_dp_get_modes() 88 drm_display_mode_from_videomode(&dp->vm, mode); in exynos_dp_get_modes() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/exynos/ |
| D | exynos_dp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 44 struct analogix_dp_device *adp; member 52 struct drm_encoder *encoder = &dp->encoder; in exynos_dp_crtc_clock_enable() 54 if (!encoder->crtc) in exynos_dp_crtc_clock_enable() 55 return -EPERM; in exynos_dp_crtc_clock_enable() 57 exynos_drm_pipe_clk_enable(to_exynos_crtc(encoder->crtc), enable); in exynos_dp_crtc_clock_enable() 79 if (dp->plat_data.panel) in exynos_dp_get_modes() 82 mode = drm_mode_create(connector->dev); in exynos_dp_get_modes() 84 DRM_DEV_ERROR(dp->dev, in exynos_dp_get_modes() 89 drm_display_mode_from_videomode(&dp->vm, mode); in exynos_dp_get_modes() [all …]
|
| /kernel/linux/linux-5.10/arch/sparc/kernel/ |
| D | adi_64.c | 1 // SPDX-License-Identifier: GPL-2.0-only 32 * Hypervisor reports ADI capabilities of platform in "hwcap-list" property 33 * for "cpu" node. If the platform supports ADI, "hwcap-list" property 34 * contains the keyword "adp". If the platform supports ADI, "platform" 35 * node will contain "adp-blksz", "adp-nbits" and "ue-on-adp" properties 52 prop = mdesc_get_property(hp, pn, "hwcap-list", &len); in mdesc_adi_init() 57 * Look for "adp" keyword in hwcap-list which would indicate in mdesc_adi_init() 64 if (!strcmp(prop, "adp")) { in mdesc_adi_init() 71 len -= plen; in mdesc_adi_init() 85 val = (u64 *) mdesc_get_property(hp, pn, "adp-blksz", &len); in mdesc_adi_init() [all …]
|
| /kernel/linux/linux-6.6/arch/sparc/kernel/ |
| D | adi_64.c | 1 // SPDX-License-Identifier: GPL-2.0-only 32 * Hypervisor reports ADI capabilities of platform in "hwcap-list" property 33 * for "cpu" node. If the platform supports ADI, "hwcap-list" property 34 * contains the keyword "adp". If the platform supports ADI, "platform" 35 * node will contain "adp-blksz", "adp-nbits" and "ue-on-adp" properties 52 prop = mdesc_get_property(hp, pn, "hwcap-list", &len); in mdesc_adi_init() 57 * Look for "adp" keyword in hwcap-list which would indicate in mdesc_adi_init() 64 if (!strcmp(prop, "adp")) { in mdesc_adi_init() 71 len -= plen; in mdesc_adi_init() 85 val = (u64 *) mdesc_get_property(hp, pn, "adp-blksz", &len); in mdesc_adi_init() [all …]
|
| /kernel/linux/linux-5.10/drivers/power/supply/ |
| D | rn5t618_power.c | 1 // SPDX-License-Identifier: GPL-2.0+ 47 struct power_supply *adp; member 86 ret = regmap_bulk_read(info->rn5t618->regmap, in rn5t618_battery_read_doublereg() 131 ret = regmap_read(info->rn5t618->regmap, RN5T618_CHGSTATE, &v); in rn5t618_battery_status() 135 val->intval = POWER_SUPPLY_STATUS_UNKNOWN; in rn5t618_battery_status() 137 if (v & 0xc0) { /* USB or ADP plugged */ in rn5t618_battery_status() 138 val->intval = rn5t618_decode_status(v); in rn5t618_battery_status() 140 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in rn5t618_battery_status() 151 ret = regmap_read(info->rn5t618->regmap, RN5T618_CHGSTATE, &v); in rn5t618_battery_present() 157 val->intval = 0; in rn5t618_battery_present() [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | imx7ulp-com.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 /dts-v1/; 8 #include <dt-bindings/input/input.h> 12 compatible = "ea,imx7ulp-com", "fsl,imx7ulp"; 15 stdout-path = &lpuart4; 25 pinctrl-names = "default"; 26 pinctrl-0 = <&pinctrl_lpuart4>; 31 pinctrl-names = "default"; 32 pinctrl-0 = <&pinctrl_usbotg1_id>; 33 srp-disable; [all …]
|
| D | imx7ulp-evk.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Copyright 2017-2018 NXP 8 /dts-v1/; 14 compatible = "fsl,imx7ulp-evk", "fsl,imx7ulp"; 17 stdout-path = &lpuart4; 26 compatible = "pwm-backlight"; 28 brightness-levels = <0 20 25 30 35 40 100>; 29 default-brightness-level = <6>; 33 reg_usb_otg1_vbus: regulator-usb-otg1-vbus { 34 compatible = "regulator-fixed"; [all …]
|
| D | imx7d-mba7.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR X11 6 * Author: Markus Niebel <Markus.Niebel@tq-group.com> 10 /dts-v1/; 12 #include "imx7d-tqma7.dtsi" 13 #include "imx7-mba7.dtsi" 17 compatible = "tq,imx7d-mba7", "fsl,imx7d"; 21 pinctrl-names = "default"; 22 pinctrl-0 = <&pinctrl_enet2>; 23 phy-mode = "rgmii-id"; 24 phy-reset-gpios = <&gpio2 28 GPIO_ACTIVE_LOW>; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/imx/ |
| D | imx7ulp-com.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 /dts-v1/; 8 #include <dt-bindings/input/input.h> 12 compatible = "ea,imx7ulp-com", "fsl,imx7ulp"; 15 stdout-path = &lpuart4; 25 pinctrl-names = "default"; 26 pinctrl-0 = <&pinctrl_lpuart4>; 31 pinctrl-names = "default"; 32 pinctrl-0 = <&pinctrl_usbotg1_id>; 33 srp-disable; [all …]
|
| D | imx7d-mba7.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR X11 3 * Device Tree Source for TQ-Systems TQMa7D board on MBa7 carrier board. 5 * Copyright (C) 2016 TQ-Systems GmbH 6 * Author: Markus Niebel <Markus.Niebel@tq-group.com> 10 /dts-v1/; 12 #include "imx7d-tqma7.dtsi" 13 #include "imx7-mba7.dtsi" 16 model = "TQ-Systems TQMa7D board on MBa7 carrier board"; 17 compatible = "tq,imx7d-mba7", "tq,imx7d-tqma7", "fsl,imx7d"; 21 pinctrl-names = "default"; [all …]
|
| D | imx7ulp-evk.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Copyright 2017-2018 NXP 8 /dts-v1/; 14 compatible = "fsl,imx7ulp-evk", "fsl,imx7ulp"; 17 stdout-path = &lpuart4; 26 compatible = "pwm-backlight"; 28 brightness-levels = <0 20 25 30 35 40 100>; 29 default-brightness-level = <6>; 33 reg_usb_otg1_vbus: regulator-usb-otg1-vbus { 34 compatible = "regulator-fixed"; [all …]
|
| D | imx6ulz-bsh-smm-m2.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/input/input.h> 13 compatible = "bsh,imx6ulz-bsh-smm-m2", "fsl,imx6ull", "fsl,imx6ulz"; 16 stdout-path = &uart4; 19 usdhc2_pwrseq: usdhc2-pwrseq { 20 compatible = "mmc-pwrseq-simple"; 21 reset-gpios = <&gpio2 21 GPIO_ACTIVE_LOW>; 26 pinctrl-names = "default"; 27 pinctrl-0 = <&pinctrl_gpmi_nand>; [all …]
|
| D | imx6q-var-dt6customboard.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Support for Variscite DART-MX6 Carrier-board 9 /dts-v1/; 12 #include "imx6qdl-var-dart.dtsi" 13 #include <dt-bindings/input/linux-event-codes.h> 16 model = "Variscite DART-MX6 Carrier-board"; 20 compatible = "pwm-backlight"; 22 brightness-levels = <0 4 8 16 32 64 128 248>; 23 default-brightness-level = <7>; 27 gpio-keys { [all …]
|
| /kernel/linux/linux-6.6/drivers/power/supply/ |
| D | rn5t618_power.c | 1 // SPDX-License-Identifier: GPL-2.0+ 54 #define TO_CUR_REG(x) ((x) / 100000 - 1) 67 struct power_supply *adp; member 123 ret = regmap_bulk_read(info->rn5t618->regmap, in rn5t618_battery_read_doublereg() 168 ret = regmap_read(info->rn5t618->regmap, RN5T618_CHGSTATE, &v); in rn5t618_battery_status() 172 val->intval = POWER_SUPPLY_STATUS_UNKNOWN; in rn5t618_battery_status() 174 if (v & 0xc0) { /* USB or ADP plugged */ in rn5t618_battery_status() 175 val->intval = rn5t618_decode_status(v); in rn5t618_battery_status() 177 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in rn5t618_battery_status() 188 ret = regmap_read(info->rn5t618->regmap, RN5T618_CHGSTATE, &v); in rn5t618_battery_present() [all …]
|
| /kernel/linux/linux-6.6/drivers/usb/common/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 13 Say Y here if you are working on a system with led-class supported 32 ULPI PHYs provide often functions such as ADP sensing/probing (OTG 47 Vbus pin at the same time, it also can be used to enable/disable 51 be called usb-conn-gpio.ko
|
| /kernel/linux/linux-5.10/drivers/usb/common/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 13 Say Y here if you are working on a system with led-class supported 32 ULPI PHYs provide often functions such as ADP sensing/probing (OTG 47 Vbus pin at the same time, it also can be used to enable/disable 51 be called usb-conn-gpio.ko
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/freescale/ |
| D | imx8dxl-evk.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 6 /dts-v1/; 12 compatible = "fsl,imx8dxl-evk", "fsl,imx8dxl"; 22 stdout-path = &lpuart0; 30 reserved-memory { 31 #address-cells = <2>; 32 #size-cells = <2>; 37 * This will be automatically added to dtb if OP-TEE is installed. 40 * no-map; 46 compatible = "shared-dma-pool"; [all …]
|
| D | imx8mn-var-som-symphony.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright 2019-2020 Variscite Ltd. 9 /dts-v1/; 11 #include <dt-bindings/usb/pd.h> 12 #include "imx8mn-var-som.dtsi" 15 model = "Variscite VAR-SOM-MX8MN Symphony evaluation board"; 16 compatible = "variscite,var-som-mx8mn-symphony", "variscite,var-som-mx8mn", "fsl,imx8mn"; 18 reg_usdhc2_vmmc: regulator-usdhc2-vmmc { 19 compatible = "regulator-fixed"; 20 pinctrl-names = "default"; [all …]
|
| D | imx8mp-venice-gw71xx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/phy/phy-imx8-pcie.h> 11 led-controller { 12 compatible = "gpio-leds"; 13 pinctrl-names = "default"; 14 pinctrl-0 = <&pinctrl_gpio_leds>; 16 led-0 { 20 default-state = "on"; [all …]
|
| D | imx8mm-var-som-symphony.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "imx8mm-var-som.dtsi" 11 model = "Variscite VAR-SOM-MX8MM Symphony evaluation board"; 12 compatible = "variscite,var-som-mx8mm-symphony", "variscite,var-som-mx8mm", "fsl,imx8mm"; 14 reg_usdhc2_vmmc: regulator-usdhc2-vmmc { 15 compatible = "regulator-fixed"; 16 pinctrl-names = "default"; 17 pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>; 18 regulator-name = "VSD_3V3"; [all …]
|
| /kernel/linux/linux-6.6/drivers/net/phy/ |
| D | bcm54140.c | 1 // SPDX-License-Identifier: GPL-2.0+ 13 #include "bcm-phy-lib.h" 15 /* RDB per-port registers 25 #define BCM54140_RDB_SPARE2_WS_RTRY_DIS BIT(8) /* wirespeed retry disable */ 34 #define BCM54140_RDB_C_APWR_APD_MODE_DIS 0 /* ADP disable */ 35 #define BCM54140_RDB_C_APWR_APD_MODE_EN 1 /* ADP enable */ 36 #define BCM54140_RDB_C_APWR_APD_MODE_DIS2 2 /* ADP disable */ 37 #define BCM54140_RDB_C_APWR_APD_MODE_EN_ANEG 3 /* ADP enable w/ aneg */ 60 #define BCM54140_RDB_MON_CTRL_SEL_RR 3 /* meassure all round-robin */ 61 #define BCM54140_RDB_MON_CTRL_PWR_DOWN BIT(0) /* power-down monitor */ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/phy/ |
| D | bcm54140.c | 1 // SPDX-License-Identifier: GPL-2.0+ 13 #include "bcm-phy-lib.h" 15 /* RDB per-port registers 25 #define BCM54140_RDB_SPARE2_WS_RTRY_DIS BIT(8) /* wirespeed retry disable */ 34 #define BCM54140_RDB_C_APWR_APD_MODE_DIS 0 /* ADP disable */ 35 #define BCM54140_RDB_C_APWR_APD_MODE_EN 1 /* ADP enable */ 36 #define BCM54140_RDB_C_APWR_APD_MODE_DIS2 2 /* ADP disable */ 37 #define BCM54140_RDB_C_APWR_APD_MODE_EN_ANEG 3 /* ADP enable w/ aneg */ 60 #define BCM54140_RDB_MON_CTRL_SEL_RR 3 /* meassure all round-robin */ 61 #define BCM54140_RDB_MON_CTRL_PWR_DOWN BIT(0) /* power-down monitor */ [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/freescale/ |
| D | imx8mm-var-som-symphony.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "imx8mm-var-som.dtsi" 11 model = "Variscite VAR-SOM-MX8MM Symphony evaluation board"; 12 compatible = "variscite,var-som-mx8mm-symphony", "variscite,var-som-mx8mm", "fsl,imx8mm"; 14 reg_usdhc2_vmmc: regulator-usdhc2-vmmc { 15 compatible = "regulator-fixed"; 16 pinctrl-names = "default"; 17 pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>; 18 regulator-name = "VSD_3V3"; [all …]
|