Home
last modified time | relevance | path

Searched +full:dc +full:- +full:gpios (Results 1 – 25 of 138) sorted by relevance

123456

/kernel/linux/linux-4.19/drivers/staging/fbtft/
Dfbtft_device.c1 // SPDX-License-Identifier: GPL-2.0+
44 static int mode = -1;
48 static char *gpios; variable
49 module_param(gpios, charp, 0000);
50 MODULE_PARM_DESC(gpios,
51 …"List of gpios. Comma separated with the form: reset:23,dc:24 (when overriding the default, all gp…
66 static int bgr = -1;
99 "level: 0-7 (the remaining 29 bits is for advanced usage)");
104 "0 silent, >0 show gpios, >1 show devices, >2 show devices before (default=3)");
128 -1, MIPI_DCS_EXIT_SLEEP_MODE,
[all …]
Dfbtft-core.c1 // SPDX-License-Identifier: GPL-2.0+
37 int fbtft_write_buf_dc(struct fbtft_par *par, void *buf, size_t len, int dc) in fbtft_write_buf_dc() argument
41 if (gpio_is_valid(par->gpio.dc)) in fbtft_write_buf_dc()
42 gpio_set_value(par->gpio.dc, dc); in fbtft_write_buf_dc()
44 ret = par->fbtftops.write(par, buf, len); in fbtft_write_buf_dc()
46 dev_err(par->info->device, in fbtft_write_buf_dc()
65 512 - text_len, false); in fbtft_dbg_hex()
81 __func__, gpio->name); in fbtft_request_gpios_match()
83 if (strcasecmp(gpio->name, "reset") == 0) { in fbtft_request_gpios_match()
84 par->gpio.reset = gpio->gpio; in fbtft_request_gpios_match()
[all …]
Dfbtft.h1 /* SPDX-License-Identifier: GPL-2.0+ */
23 * struct fbtft_gpio - Structure that holds one pinname to gpio mapping
24 * @name: pinname (reset, dc, etc.)
36 * struct fbtft_ops - FBTFT operations structure
48 * @request_gpios: Request gpios from the kernel
49 * @free_gpios: Free previously requested gpios
50 * @verify_gpios: Verify that necessary gpios is present (optional)
88 * struct fbtft_display - Describes the display properties
124 * struct fbtft_platform_data - Passes display specific data to the driver
126 * @gpios: Pointer to an array of pinname to gpio mappings
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/
Dilitek,ili9486.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Kamlesh Gurudasani <kamlesh.gurudasani@gmail.com>
17 - $ref: panel/panel-common.yaml#
22 - enum:
24 - waveshare,rpi-lcd-35
26 - ozzmaker,piscreen
27 - const: ilitek,ili9486
29 spi-max-frequency:
[all …]
Dsitronix,st7735r.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - David Lechner <david@lechnology.com>
17 - $ref: panel/panel-common.yaml#
22 - description:
25 - enum:
26 - jianda,jd-t18003-t01
27 - const: sitronix,st7735r
28 - description:
[all …]
Dilitek,ili9341.txt7 - compatible: "adafruit,yx240qv29", "ilitek,ili9341"
8 - dc-gpios: D/C pin
9 - reset-gpios: Reset pin
12 all mandatory properties described in ../spi/spi-bus.txt must be specified.
15 - rotation: panel rotation in degrees counter clockwise (0,90,180,270)
16 - backlight: phandle of the backlight device attached to the panel
22 spi-max-frequency = <32000000>;
23 dc-gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
24 reset-gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
Dmulti-inno,mi0283qt.txt1 Multi-Inno MI0283QT display panel
4 - compatible: "multi-inno,mi0283qt".
7 all mandatory properties described in ../spi/spi-bus.txt must be specified.
10 - dc-gpios: D/C pin. The presence/absence of this GPIO determines
12 - present: IM=x110 4-wire 8-bit data serial interface
13 - absent: IM=x101 3-wire 9-bit data serial interface
14 - reset-gpios: Reset pin
15 - power-supply: A regulator node for the supply voltage.
16 - backlight: phandle of the backlight device attached to the panel
17 - rotation: panel rotation in degrees counter clockwise (0,90,180,270)
[all …]
Dhimax,hx8357d.txt7 - compatible: "adafruit,yx350hv15", "himax,hx8357d"
8 - dc-gpios: D/C pin
9 - reg: address of the panel on the SPI bus
12 all mandatory properties described in ../spi/spi-bus.txt must be specified.
15 - rotation: panel rotation in degrees counter clockwise (0,90,180,270)
16 - backlight: phandle of the backlight device attached to the panel
22 spi-max-frequency = <32000000>;
23 dc-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/power/supply/
Dmax8903-charger.txt4 - compatible: "maxim,max8903" for MAX8903 Battery Charger
5 - dok-gpios: Valid DC power has been detected (active low, input), optional if uok-gpios is provided
6 - uok-gpios: Valid USB power has been detected (active low, input), optional if dok-gpios is provid…
9 - cen-gpios: Charge enable pin (active low, output)
10 - chg-gpios: Charger status pin (active low, input)
11 - flt-gpios: Fault pin (active low, output)
12 - dcm-gpios: Current limit mode setting (DC=1 or USB=0, output)
13 - usus-gpios: USB suspend pin (active high, output)
18 max8903-charger {
20 dok-gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/
Dmax8903-charger.txt4 - compatible: "maxim,max8903" for MAX8903 Battery Charger
5 - dok-gpios: Valid DC power has been detected (active low, input), optional if uok-gpios is provided
6 - uok-gpios: Valid USB power has been detected (active low, input), optional if dok-gpios is provid…
9 - cen-gpios: Charge enable pin (active low, output)
10 - chg-gpios: Charger status pin (active low, input)
11 - flt-gpios: Fault pin (active low, output)
12 - dcm-gpios: Current limit mode setting (DC=1 or USB=0, output)
13 - usus-gpios: USB suspend pin (active high, output)
18 max8903-charger {
20 dok-gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/sound/
Dcs43130.txt5 - compatible : "cirrus,cs43130", "cirrus,cs4399", "cirrus,cs43131",
8 - reg : the I2C address of the device for I2C
10 - VA-supply, VP-supply, VL-supply, VCP-supply, VD-supply:
17 - reset-gpios : Active low GPIO used to reset the device
19 - cirrus,xtal-ibias:
28 - cirrus,dc-measure:
29 Boolean, define to enable headphone DC impedance measurement.
31 - cirrus,ac-measure:
33 DC impedance must also be enabled for AC impedance measurement.
35 - cirrus,dc-threshold:
[all …]
Dst,sta350.txt7 - compatible: "st,sta350"
8 - reg: the I2C address of the device for I2C
9 - reset-gpios: a GPIO spec for the reset pin. If specified, it will be
12 - power-down-gpios: a GPIO spec for the power down pin. If specified,
16 - vdd-dig-supply: regulator spec, providing 3.3V
17 - vdd-pll-supply: regulator spec, providing 3.3V
18 - vcc-supply: regulator spec, providing 5V - 26V
22 - st,output-conf: number, Selects the output configuration:
23 0: 2-channel (full-bridge) power, 2-channel data-out
24 1: 2 (half-bridge). 1 (full-bridge) on-board power
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dcs43130.txt5 - compatible : "cirrus,cs43130", "cirrus,cs4399", "cirrus,cs43131",
8 - reg : the I2C address of the device for I2C
10 - VA-supply, VP-supply, VL-supply, VCP-supply, VD-supply:
17 - reset-gpios : Active low GPIO used to reset the device
19 - cirrus,xtal-ibias:
28 - cirrus,dc-measure:
29 Boolean, define to enable headphone DC impedance measurement.
31 - cirrus,ac-measure:
33 DC impedance must also be enabled for AC impedance measurement.
35 - cirrus,dc-threshold:
[all …]
Dst,sta350.txt7 - compatible: "st,sta350"
8 - reg: the I2C address of the device for I2C
9 - reset-gpios: a GPIO spec for the reset pin. If specified, it will be
12 - power-down-gpios: a GPIO spec for the power down pin. If specified,
16 - vdd-dig-supply: regulator spec, providing 3.3V
17 - vdd-pll-supply: regulator spec, providing 3.3V
18 - vcc-supply: regulator spec, providing 5V - 26V
22 - st,output-conf: number, Selects the output configuration:
23 0: 2-channel (full-bridge) power, 2-channel data-out
24 1: 2 (half-bridge). 1 (full-bridge) on-board power
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/dac/
Dad5758.txt4 - compatible: Must be "adi,ad5758"
5 - reg: SPI chip select number for the device
6 - spi-max-frequency: Max SPI frequency to use (< 50000000)
7 - spi-cpha: is the only mode that is supported
11 - adi,dc-dc-mode: Mode of operation of the dc-to-dc converter
19 In this mode, the VDPC+ voltage is user-programmable to
36 - adi,range-microvolt: Voltage output range
40 * <(-5000000) 5000000>: ±5 V voltage range
41 * <(-10000000) 10000000>: ±10 V voltage range
42 - adi,range-microamp: Current output range
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/display/
Dsitronix,st7735r.txt7 - compatible: "jianda,jd-t18003-t01", "sitronix,st7735r"
8 - dc-gpios: Display data/command selection (D/CX)
9 - reset-gpios: Reset signal (RSTX)
12 all mandatory properties described in ../spi/spi-bus.txt must be specified.
15 - rotation: panel rotation in degrees counter clockwise (0,90,180,270)
16 - backlight: phandle of the backlight device attached to the panel
21 compatible = "gpio-backlight";
22 gpios = <&gpio 44 GPIO_ACTIVE_HIGH>;
28 compatible = "jianda,jd-t18003-t01", "sitronix,st7735r";
30 spi-max-frequency = <32000000>;
[all …]
Dilitek,ili9341.txt7 - compatible: "adafruit,yx240qv29", "ilitek,ili9341"
8 - dc-gpios: D/C pin
9 - reset-gpios: Reset pin
12 all mandatory properties described in ../spi/spi-bus.txt must be specified.
15 - rotation: panel rotation in degrees counter clockwise (0,90,180,270)
16 - backlight: phandle of the backlight device attached to the panel
22 spi-max-frequency = <32000000>;
23 dc-gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
24 reset-gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
Dmulti-inno,mi0283qt.txt1 Multi-Inno MI0283QT display panel
4 - compatible: "multi-inno,mi0283qt".
7 all mandatory properties described in ../spi/spi-bus.txt must be specified.
10 - dc-gpios: D/C pin. The presence/absence of this GPIO determines
12 - present: IM=x110 4-wire 8-bit data serial interface
13 - absent: IM=x101 3-wire 9-bit data serial interface
14 - reset-gpios: Reset pin
15 - power-supply: A regulator node for the supply voltage.
16 - backlight: phandle of the backlight device attached to the panel
17 - rotation: panel rotation in degrees counter clockwise (0,90,180,270)
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Daspeed-bmc-opp-zaius.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
3 #include "aspeed-g5.dtsi"
4 #include <dt-bindings/gpio/aspeed-gpio.h>
8 compatible = "ingrasys,zaius-bmc", "aspeed,ast2500";
19 stdout-path = &uart5;
27 reserved-memory {
28 #address-cells = <1>;
29 #size-cells = <1>;
33 no-map;
[all …]
/kernel/linux/linux-5.10/drivers/power/supply/
Dmax8903_charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * max8903_charger.c - Maxim 8903 USB/Adapter Charger Driver
44 val->intval = POWER_SUPPLY_STATUS_UNKNOWN; in max8903_get_property()
45 if (gpio_is_valid(data->pdata->chg)) { in max8903_get_property()
46 if (gpio_get_value(data->pdata->chg) == 0) in max8903_get_property()
47 val->intval = POWER_SUPPLY_STATUS_CHARGING; in max8903_get_property()
48 else if (data->usb_in || data->ta_in) in max8903_get_property()
49 val->intval = POWER_SUPPLY_STATUS_NOT_CHARGING; in max8903_get_property()
51 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in max8903_get_property()
55 val->intval = 0; in max8903_get_property()
[all …]
/kernel/linux/linux-4.19/drivers/power/supply/
Dmax8903_charger.c2 * max8903_charger.c - Maxim 8903 USB/Adapter Charger Driver
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
58 val->intval = POWER_SUPPLY_STATUS_UNKNOWN; in max8903_get_property()
59 if (gpio_is_valid(data->pdata->chg)) { in max8903_get_property()
60 if (gpio_get_value(data->pdata->chg) == 0) in max8903_get_property()
61 val->intval = POWER_SUPPLY_STATUS_CHARGING; in max8903_get_property()
62 else if (data->usb_in || data->ta_in) in max8903_get_property()
63 val->intval = POWER_SUPPLY_STATUS_NOT_CHARGING; in max8903_get_property()
65 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in max8903_get_property()
69 val->intval = 0; in max8903_get_property()
[all …]
/kernel/linux/linux-5.10/include/linux/power/
Dmax8903_charger.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * max8903_charger.h - Maxim 8903 USB/Adapter Charger Driver
14 * GPIOs
20 int dok; /* DC(Adapter) Power OK output */
24 int dcm; /* Current-Limit Mode input (1: DC, 2: USB) */
28 * DC(Adapter/TA) is wired
/kernel/linux/linux-4.19/include/linux/power/
Dmax8903_charger.h2 * max8903_charger.h - Maxim 8903 USB/Adapter Charger Driver
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28 * GPIOs
34 int dok; /* DC(Adapter) Power OK output */
38 int dcm; /* Current-Limit Mode input (1: DC, 2: USB) */
42 * DC(Adapter/TA) is wired
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Daspeed-bmc-opp-zaius.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
3 #include "aspeed-g5.dtsi"
4 #include <dt-bindings/gpio/aspeed-gpio.h>
8 compatible = "ingrasys,zaius-bmc", "aspeed,ast2500";
11 stdout-path = &uart5;
19 reserved-memory {
20 #address-cells = <1>;
21 #size-cells = <1>;
25 no-map;
[all …]
/kernel/linux/linux-5.10/drivers/staging/fbtft/
Dfbtft.h1 /* SPDX-License-Identifier: GPL-2.0+ */
23 * struct fbtft_gpio - Structure that holds one pinname to gpio mapping
24 * @name: pinname (reset, dc, etc.)
36 * struct fbtft_ops - FBTFT operations structure
48 * @request_gpios: Request gpios from the kernel
49 * @free_gpios: Free previously requested gpios
50 * @verify_gpios: Verify that necessary gpios is present (optional)
88 * struct fbtft_display - Describes the display properties
124 * struct fbtft_platform_data - Passes display specific data to the driver
126 * @gpios: Pointer to an array of pinname to gpio mappings
[all …]

123456