/linux/Documentation/devicetree/bindings/usb/ |
H A 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 …]
|
/linux/drivers/gpu/drm/exynos/ |
H A 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() 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 …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A D | e70k02.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 11 * found in ebook-readers like the Kobo Clara HD (with i.MX6SLL) and 14 #include <dt-bindings/input/input.h> 23 stdout-path = &uart1; 26 gpio_keys: gpio-keys { 27 compatible = "gpio-keys"; 29 key-power { 33 wakeup-source; 36 key-cover { 40 linux,input-type = <EV_SW>; [all …]
|
H A D | e60k02.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 11 * found in ebook-readers like the Kobo Clara HD (with i.MX6SLL) and 14 #include <dt-bindings/input/input.h> 23 stdout-path = &uart1; 26 gpio_keys: gpio-keys { 27 compatible = "gpio-keys"; 29 key-power { 33 wakeup-source; 36 key-cover { 40 linux,input-type = <EV_SW>; [all …]
|
H A D | imx6ull-seeed-npi-dev-board.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <dt-bindings/gpio/gpio.h> 11 stdout-path = &uart1; 14 gpio_buttons: gpio-keys { 15 compatible = "gpio-keys"; 16 pinctrl-names = "default"; 17 pinctrl-0 = <&pinctrl_button>; 19 button-0 { 23 wakeup-source; 27 gpio-leds { [all …]
|
H A D | imx6ul-kontron-bl-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/gpio/gpio.h> 11 gpio-leds { 12 compatible = "gpio-leds"; 13 pinctrl-names = "default"; 14 pinctrl-0 = <&pinctrl_gpio_leds>; 17 label = "debug-led1"; 19 default-state = "off"; 20 linux,default-trigger = "heartbeat"; 24 label = "debug-led2"; [all …]
|
H A D | imx6ull-dhcor-maveo-box.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 7 * DHCR-iMX6ULL-C080-R051-SPI-WBT-I-01LG 8 * DHCOR PCB number: 578-200 or newer 9 * maveo box PCB number: 525-200 or newer 12 /dts-v1/; 14 #include "imx6ull-dhcor-som.dtsi" 18 compatible = "marantec,imx6ull-dhcor-maveo-box", "dh,imx6ull-dhcor-som", 28 stdout-path = "serial0:115200n8"; 31 reg_usb_otg1_vbus: regulator-usb-otg1-vbus { 32 compatible = "regulator-fixed"; [all …]
|
/linux/drivers/power/supply/ |
H A 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 116 ret = regmap_bulk_read(info->rn5t618->regmap, in rn5t618_battery_read_doublereg() 161 ret = regmap_read(info->rn5t618->regmap, RN5T618_CHGSTATE, &v); in rn5t618_battery_status() 165 val->intval = POWER_SUPPLY_STATUS_UNKNOWN; in rn5t618_battery_status() 167 if (v & 0xc0) { /* USB or ADP plugged */ in rn5t618_battery_status() 168 val->intval = rn5t618_decode_status(v); in rn5t618_battery_status() 170 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in rn5t618_battery_status() 181 ret = regmap_read(info->rn5t618->regmap, RN5T618_CHGSTATE, &v); in rn5t618_battery_present() [all …]
|
/linux/drivers/net/phy/ |
H A 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 …]
|
/linux/drivers/usb/common/ |
H A 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
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx93-kontron-bl-osm-s.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 6 /dts-v1/; 8 #include "imx93-kontron-osm-s.dtsi" 11 model = "Kontron BL i.MX93 OSM-S"; 12 compatible = "kontron,imx93-bl-osm-s", "kontron,imx93-osm-s", "fsl,imx93"; 20 compatible = "gpio-leds"; 25 linux,default-trigger = "heartbeat"; 29 pwm-beeper { 30 compatible = "pwm-beeper"; 34 reg_vcc_panel: regulator-vcc-panel { [all …]
|
H A 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 …]
|
H A 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> 12 compatible = "gpio-usb-b-connector", "usb-b-connector"; 13 pinctrl-names = "default"; 14 pinctrl-0 = <&pinctrl_usbcon1>; 16 label = "Type-C"; 17 id-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>; 21 remote-endpoint = <&usb3_dwc>; [all …]
|
H A 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 …]
|
H A D | imx93-11x11-evk.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/usb/pd.h> 13 compatible = "fsl,imx93-11x11-evk", "fsl,imx93"; 16 stdout-path = &lpuart1; 19 reserved-memory { 20 #address-cells = <2>; 21 #size-cells = <2>; 25 compatible = "shared-dma-pool"; 27 alloc-ranges = <0 0x80000000 0 0x40000000>; [all …]
|
H A D | imx8dxl-evk.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 6 /dts-v1/; 12 compatible = "fsl,imx8dxl-evk", "fsl,imx8dxl"; 24 stdout-path = &lpuart0; 27 imx8dxl-cm4 { 28 compatible = "fsl,imx8qxp-cm4"; 30 mbox-names = "tx", "rx", "rxdb"; 32 memory-region = <&vdevbuffer>, <&vdev0vring0>, <&vdev0vring1>, 34 power-domains = <&pd IMX_SC_R_M4_0_PID0>, <&pd IMX_SC_R_M4_0_MU_1A>; 35 fsl,resource-id = <IMX_SC_R_M4_0_PID0>; [all …]
|
H A D | imx8mq-tqma8mq-mba8mx.dts | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) 3 * Copyright 2019-2021 TQ-Systems GmbH 6 /dts-v1/; 8 #include "imx8mq-tqma8mq.dtsi" 12 model = "TQ-Systems GmbH i.MX8MQ TQMa8MQ on MBa8Mx"; 13 compatible = "tq,imx8mq-tqma8mq-mba8mx", "tq,imx8mq-tqma8mq", "fsl,imx8mq"; 14 chassis-type = "embedded"; 24 extcon_usbotg: extcon-usbotg0 { 25 compatible = "linux,extcon-usb-gpio"; 26 pinctrl-names = "default"; [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sa8155p-adp.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 9 #include <dt-bindings/gpio/gpio.h> 15 model = "Qualcomm Technologies, Inc. SA8155P ADP"; 16 compatible = "qcom,sa8155p-adp", "qcom,sa8155p"; 24 stdout-path = "serial0:115200n8"; 27 vreg_3p3: vreg-3p3-regulator { 28 compatible = "regulator-fixed"; 29 regulator-name = "vreg_3p3"; [all …]
|
/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-msm8974pro-htc-m8.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 2 #include "qcom-msm8974pro.dtsi" 5 #include <dt-bindings/input/input.h> 10 chassis-type = "handset"; 16 gpio-keys { 17 compatible = "gpio-keys"; 19 pinctrl-0 = <&gpio_keys_default>; 20 pinctrl-names = "default"; 22 key-volume-down { 26 debounce-interval = <20>; [all …]
|
H A D | qcom-msm8974-samsung-hlte.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974.dtsi" 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 12 chassis-type = "handset"; 21 stdout-path = "serial0:115200n8"; 24 gpio-keys { 25 compatible = "gpio-keys"; 27 pinctrl-0 = <&gpio_keys_pin_a>; [all …]
|
/linux/drivers/scsi/ |
H A D | aha1740.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 33 #define HID_MFG "ADP" 78 /* This is used with scatter-gather */ 109 :6, di:1, /* Disable Interrupt */ 112 :1, dsb:1, /* Disable Status Block */ 119 :1, dat:1, /* Data transfer - check direction */
|