Home
last modified time | relevance | path

Searched +full:vbus +full:- +full:divider (Results 1 – 25 of 36) sorted by relevance

12

/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dimx6q-dhcom-som.dtsi1 // SPDX-License-Identifier: (GPL-2.0+)
8 #include <dt-bindings/pwm/pwm.h>
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/clock/imx6qdl-clock.h>
11 #include <dt-bindings/input/input.h>
26 reg_usb_otg_vbus: regulator-usb-otg-vbus {
27 compatible = "regulator-fixed";
28 regulator-name = "usb_otg_vbus";
29 regulator-min-microvolt = <5000000>;
30 regulator-max-microvolt = <5000000>;
[all …]
H A Dimx6qdl-gw53xx.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
27 compatible = "pwm-backlight";
29 brightness-levels = <0 4 8 16 32 64 128 255>;
30 default-brightness-level = <7>;
33 gpio-keys {
34 compatible = "gpio-keys";
35 #address-cells = <1>;
[all …]
H A Dimx6qdl-gw551x.dtsi4 * This file is dual-licensed: you can use it either under the terms
22 * MA 02110-1301 USA
48 #include <dt-bindings/gpio/gpio.h>
49 #include <dt-bindings/media/tda1997x.h>
50 #include <dt-bindings/input/linux-event-codes.h>
51 #include <dt-bindings/interrupt-controller/irq.h>
52 #include <dt-bindings/sound/fsl-imx-audmux.h>
68 gpio-keys {
69 compatible = "gpio-keys";
70 #address-cells = <1>;
[all …]
H A Dimx6qdl-gw5903.dtsi4 * This file is dual-licensed: you can use it either under the terms
22 * MA 02110-1301 USA
48 #include <dt-bindings/gpio/gpio.h>
49 #include <dt-bindings/input/linux-event-codes.h>
50 #include <dt-bindings/interrupt-controller/irq.h>
54 stdout-path = &uart2;
58 compatible = "pwm-backlight";
60 brightness-levels = <
73 default-brightness-level = <100>;
76 gpio-keys {
[all …]
H A Dimx6qdl-gw5904.dtsi4 * This file is dual-licensed: you can use it either under the terms
22 * MA 02110-1301 USA
48 #include <dt-bindings/gpio/gpio.h>
49 #include <dt-bindings/input/linux-event-codes.h>
50 #include <dt-bindings/interrupt-controller/irq.h>
63 stdout-path = &uart2;
67 compatible = "pwm-backlight";
69 brightness-levels = <0 4 8 16 32 64 128 255>;
70 default-brightness-level = <7>;
73 gpio-keys {
[all …]
H A Dimx6qdl-gw51xx.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
24 gpio-keys {
25 compatible = "gpio-keys";
27 user-pb {
33 user-pb1x {
36 interrupt-parent = <&gsc>;
40 key-erased {
[all …]
H A Dimx6qdl-gw560x.dtsi4 * This file is dual-licensed: you can use it either under the terms
22 * MA 02110-1301 USA
48 #include <dt-bindings/gpio/gpio.h>
49 #include <dt-bindings/input/input.h>
50 #include <dt-bindings/interrupt-controller/irq.h>
64 stdout-path = &uart2;
67 backlight-display {
68 compatible = "pwm-backlight";
70 brightness-levels = <
83 default-brightness-level = <100>;
[all …]
H A Dimx6qdl-gw553x.dtsi4 * This file is dual-licensed: you can use it either under the terms
22 * MA 02110-1301 USA
48 #include <dt-bindings/gpio/gpio.h>
49 #include <dt-bindings/input/linux-event-codes.h>
50 #include <dt-bindings/interrupt-controller/irq.h>
63 stdout-path = &uart2;
66 gpio-keys {
67 compatible = "gpio-keys";
69 user-pb {
75 user-pb1x {
[all …]
H A Dimx6qdl-gw52xx.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
27 compatible = "pwm-backlight";
29 brightness-levels = <0 4 8 16 32 64 128 255>;
30 default-brightness-level = <7>;
33 gpio-keys {
34 compatible = "gpio-keys";
35 #address-cells = <1>;
[all …]
H A Dimx6qdl-gw552x.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
25 gpio-keys {
26 compatible = "gpio-keys";
27 #address-cells = <1>;
28 #size-cells = <0>;
30 user-pb {
36 user-pb1x {
[all …]
H A Dimx35-eukrea-mbimxsd35-baseboard.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
6 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include "imx35-eukrea-cpuimx35.dtsi"
14 compatible = "eukrea,mbimxsd35-baseboard", "eukrea,cpuimx35", "fsl,imx35";
17 compatible = "gpio-keys";
18 pinctrl-names = "default";
19 pinctrl-0 = <&pinctrl_bp1>;
25 wakeup-source;
[all …]
H A Dimx6qdl-gw5910.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
19 stdout-path = &uart2;
27 gpio-keys {
28 compatible = "gpio-keys";
29 #address-cells = <1>;
30 #size-cells = <0>;
32 user-pb {
[all …]
H A Dimx25-eukrea-mbimxsd25-baseboard.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
6 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include "imx25-eukrea-cpuimx25.dtsi"
14 compatible = "eukrea,mbimxsd25-baseboard", "eukrea,cpuimx25", "fsl,imx25";
17 compatible = "gpio-keys";
18 pinctrl-names = "default";
19 pinctrl-0 = <&pinctrl_gpiokeys>;
25 wakeup-source;
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/usb/
H A Dti,j721e-usb.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: "http://devicetree.org/schemas/usb/ti,j721e-usb.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: Bindings for the TI wrapper module for the Cadence USBSS-DRD controller
10 - Roger Quadros <rogerq@ti.com>
15 - const: ti,j721e-usb
20 power-domains:
24 Documentation/devicetree/bindings/soc/ti/sci-pm-domain.txt
31 clock-names:
[all …]
H A Dci-hdrc-usb2.txt4 - compatible: should be one of:
5 "fsl,imx23-usb"
6 "fsl,imx27-usb"
7 "fsl,imx28-usb"
8 "fsl,imx6q-usb"
9 "fsl,imx6sl-usb"
10 "fsl,imx6sx-usb"
11 "fsl,imx6ul-usb"
12 "fsl,imx7d-usb"
13 "fsl,imx7ulp-usb"
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/chipidea/
H A Dci_hdrc_imx.h1 /* SPDX-License-Identifier: GPL-2.0+ */
15 /* true if over-current polarity is active low */
22 unsigned int evdo:1; /* set external vbus divider option */
26 unsigned int ext_vbus:1; /* Vbus from exteranl event */
/OK3568_Linux_fs/u-boot/arch/m68k/include/asm/
H A Dm5227x.h4 * Copyright (C) 2004-2007 Freescale Semiconductor, Inc.
5 * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
7 * SPDX-License-Identifier: GPL-2.0+
136 #define CCM_MISCCR_USBPUE (0x2000) /* USB transceiver pull-up */
154 #define CCM_MISCCR_USBOC (0x0002) /* USB VBUS over-current sense pol */
163 #define CCM_UOCSR_DPPD (0x2000) /* D+ 15Kohm pull-down (rd-only) */
164 #define CCM_UOCSR_DMPD (0x1000) /* D- 15Kohm pull-down (rd-only) */
165 #define CCM_UOCSR_CRG_VBUS (0x0400) /* VBUS charge resistor enabled (rd-only) */
166 #define CCM_UOCSR_DCR_VBUS (0x0200) /* VBUS discharge resistor en (rd-only) */
167 #define CCM_UOCSR_DPPU (0x0100) /* D+ pull-up for FS enabled (rd-only) */
[all …]
H A Dm5445x.h4 * Copyright (C) 2004-2007 Freescale Semiconductor, Inc.
5 * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
7 * SPDX-License-Identifier: GPL-2.0+
116 #define SBF_SBFCR_BLDIV(x) (((x)&0x000F)) /* Boot loader clock divider */
139 #define CCM_CCR_360_PLLMULT2(x) (((x)&0x0003)) /* 2-Bit PLL clock mode */
144 #define CCM_CCR_360_PLLMULT3(x) (((x)&0x0007)) /* 3-Bit PLL Clock Mode */
171 #define CCM_CCR_256_PLLMULT3(x) (((x)&0x0007)) /* 3-Bit PLL clock mode */
219 #define CCM_MISCCR_USBOC (0x0002) /* USB VBUS over-current sense polarity */
220 #define CCM_MISCCR_USBPUE (0x0004) /* USB transceiver pull-up enable */
248 #define CCM_CDR_SSIDIV(x) (((x)&0x00FF)) /* SSI oversampling clock divider */
[all …]
/OK3568_Linux_fs/u-boot/board/samsung/odroid/
H A Dodroid.c5 * SPDX-License-Identifier: GPL-2.0+
38 /* Set GPA1 pin 1 to HI - enable XCL205 output */ in set_board_type()
44 /* Set GPC1 pin 2 to IN - check XCL205 output state */ in set_board_type()
48 /* XCL205 - needs some latch time */ in set_board_type()
51 /* Check GPC1 pin2 - LED supplied by XCL205 - X2 only */ in set_board_type()
53 gd->board_type = ODROID_TYPE_X2; in set_board_type()
55 gd->board_type = ODROID_TYPE_U3; in set_board_type()
62 return board_type[gd->board_type]; in get_board_type()
113 clrsetbits_le32(&clk->src_cpu, clr_src_cpu, set); in board_clock_init()
116 while (readl(&clk->mux_stat_cpu) & MUX_STAT_CPU_CHANGING) in board_clock_init()
[all …]
/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Dehci-tegra.c3 * Copyright (c) 2009-2015 NVIDIA Corporation
6 * SPDX-License-Identifier: GPL-2.0+
13 #include <asm-generic/gpio.h>
15 #include <asm/arch-tegra/usb.h>
16 #include <asm/arch-tegra/clk_rst.h>
39 PARAM_DIVN, /* PLL FEEDBACK DIVIDer */
40 PARAM_DIVM, /* PLL INPUT DIVIDER */
41 PARAM_DIVP, /* POST DIVIDER (2^N) */
44 PARAM_ENABLE_DELAY_COUNT, /* PLL-U Enable Delay Count */
45 PARAM_STABLE_COUNT, /* PLL-U STABLE count */
[all …]
H A Dohci-lpc32xx.c4 * @Descr: USB driver - Embedded Artists LPC3250 OEM Board support functions
8 * SPDX-License-Identifier: GPL-2.0+
27 u32 otg_i2c_clk_hi; /* OTG I2C Clock Divider high */
28 u32 otg_i2c_clk_lo; /* OTG I2C Clock Divider low */
126 setbits_le32(&clk_pwr->usb_ctrl, CLK_USBCTRL_USBDVND_EN); in isp1301_configure()
134 clrbits_le32(&clk_pwr->usb_ctrl, in usbpll_setup()
138 setbits_le32(&clk_pwr->usb_ctrl, CLK_USBCTRL_CLK_EN1); in usbpll_setup()
141 setbits_le32(&clk_pwr->usb_ctrl, in usbpll_setup()
142 CLK_USBCTRL_FDBK_PLUS1(192 - 1)); in usbpll_setup()
143 setbits_le32(&clk_pwr->usb_ctrl, CLK_USBCTRL_POSTDIV_2POW(0x01)); in usbpll_setup()
[all …]
/OK3568_Linux_fs/kernel/drivers/iio/adc/
H A Dcpcap-adc.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Copyright (C) 2009-2010 Motorola, Inc.
27 #include <linux/mfd/motorola-cpcap.h>
86 * struct cpcap_adc_ato - timing settings for cpcap adc
103 * struct cpcap-adc - cpcap adc device driver data
125 * enum cpcap_adc_channel - cpcap adc channels
131 CPCAP_ADC_VBUS, /* USB VBUS voltage */
156 * enum cpcap_adc_timing - cpcap adc timing options
168 * struct cpcap_adc_phasing_tbl - cpcap phasing table
171 * @divider: divider in the phasing table
[all …]
/OK3568_Linux_fs/u-boot/drivers/usb/cdns3/
H A Dcdns3-ti.c1 // SPDX-License-Identifier: GPL-2.0
3 * cdns_ti-ti.c - TI specific Glue layer for Cadence USB Controller
5 * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com
9 #include <asm-generic/io.h>
78 return readl(data->usbss + offset); in cdns_ti_readl()
83 writel(value, data->usbss + offset); in cdns_ti_writel()
96 data->dev = dev; in cdns_ti_probe()
98 data->usbss = dev_remap_addr_index(dev, 0); in cdns_ti_probe()
99 if (!data->usbss) in cdns_ti_probe()
100 return -EINVAL; in cdns_ti_probe()
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/ti/
H A Dk3-j7200-common-proc-board.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/
6 /dts-v1/;
8 #include "k3-j7200-som-p0.dtsi"
9 #include <dt-bindings/net/ti-dp83867.h>
10 #include <dt-bindings/mux/ti-serdes.h>
14 stdout-path = "serial2:115200n8";
20 mcu_cpsw_pins_default: mcu-cpsw-pins-default {
21 pinctrl-single,pins = <
37 mcu_mdio_pins_default: mcu-mdio1-pins-default {
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/cdns3/
H A Dcdns3-ti.c1 // SPDX-License-Identifier: GPL-2.0
3 * cdns3-ti.c - TI specific Glue layer for Cadence USB Controller
5 * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com
14 #include <linux/dma-mapping.h>
79 return readl(data->usbss + offset); in cdns_ti_readl()
84 writel(value, data->usbss + offset); in cdns_ti_writel()
89 struct device *dev = &pdev->dev; in cdns_ti_probe()
90 struct device_node *node = pdev->dev.of_node; in cdns_ti_probe()
99 return -ENOMEM; in cdns_ti_probe()
103 data->dev = dev; in cdns_ti_probe()
[all …]

12