Home
last modified time | relevance | path

Searched refs:gpios (Results 1 – 25 of 2767) sorted by relevance

12345678910>>...111

/openbmc/linux/drivers/tty/serial/
H A Dserial_mctrl_gpio.c52 void mctrl_gpio_set(struct mctrl_gpios *gpios, unsigned int mctrl) in mctrl_gpio_set() argument
59 if (gpios == NULL) in mctrl_gpio_set()
63 if (gpios->gpio[i] && mctrl_gpio_flags_is_dir_out(i)) { in mctrl_gpio_set()
64 desc_array[count] = gpios->gpio[i]; in mctrl_gpio_set()
79 struct gpio_desc *mctrl_gpio_to_gpiod(struct mctrl_gpios *gpios, in mctrl_gpio_to_gpiod() argument
82 if (gpios == NULL) in mctrl_gpio_to_gpiod()
85 return gpios->gpio[gidx]; in mctrl_gpio_to_gpiod()
97 unsigned int mctrl_gpio_get(struct mctrl_gpios *gpios, unsigned int *mctrl) in mctrl_gpio_get() argument
101 if (gpios == NULL) in mctrl_gpio_get()
105 if (gpios->gpio[i] && !mctrl_gpio_flags_is_dir_out(i)) { in mctrl_gpio_get()
[all …]
H A Dserial_mctrl_gpio.h38 void mctrl_gpio_set(struct mctrl_gpios *gpios, unsigned int mctrl);
44 unsigned int mctrl_gpio_get(struct mctrl_gpios *gpios, unsigned int *mctrl);
51 mctrl_gpio_get_outputs(struct mctrl_gpios *gpios, unsigned int *mctrl);
56 struct gpio_desc *mctrl_gpio_to_gpiod(struct mctrl_gpios *gpios,
82 void mctrl_gpio_free(struct device *dev, struct mctrl_gpios *gpios);
87 void mctrl_gpio_enable_ms(struct mctrl_gpios *gpios);
92 void mctrl_gpio_disable_ms(struct mctrl_gpios *gpios);
97 void mctrl_gpio_enable_irq_wake(struct mctrl_gpios *gpios);
102 void mctrl_gpio_disable_irq_wake(struct mctrl_gpios *gpios);
107 void mctrl_gpio_set(struct mctrl_gpios *gpios, unsigned int mctrl) in mctrl_gpio_set() argument
[all …]
/openbmc/skeleton/libopenbmc_intf/
H A Dgpio_configs.c36 void read_power_gpios(GpioConfigs* gpios, const cJSON* gpio_configs) in read_power_gpios() argument
49 gpios->power_gpio.power_good_in.name = g_strdup(pgood->valuestring); in read_power_gpios()
52 gpios->power_gpio.power_good_in.name); in read_power_gpios()
59 gpios->power_gpio.latch_out.name = g_strdup(latch->valuestring); in read_power_gpios()
61 gpios->power_gpio.latch_out.name); in read_power_gpios()
66 gpios->power_gpio.latch_out.name = NULL; in read_power_gpios()
75 gpios->power_gpio.num_power_up_outs = cJSON_GetArraySize(power_up_outs); in read_power_gpios()
77 gpios->power_gpio.num_power_up_outs); in read_power_gpios()
79 if (gpios->power_gpio.num_power_up_outs != 0) in read_power_gpios()
81 gpios->power_gpio.power_up_outs = in read_power_gpios()
[all …]
/openbmc/linux/sound/soc/
H A Dsoc-jack.c207 struct snd_soc_jack_gpio *gpios; member
280 struct snd_soc_jack_gpio *gpios) in jack_free_gpios() argument
285 gpiod_unexport(gpios[i].desc); in jack_free_gpios()
286 unregister_pm_notifier(&gpios[i].pm_notifier); in jack_free_gpios()
287 free_irq(gpiod_to_irq(gpios[i].desc), &gpios[i]); in jack_free_gpios()
288 cancel_delayed_work_sync(&gpios[i].work); in jack_free_gpios()
289 gpiod_put(gpios[i].desc); in jack_free_gpios()
290 gpios[i].jack = NULL; in jack_free_gpios()
298 jack_free_gpios(tbl->jack, tbl->count, tbl->gpios); in jack_devres_free_gpios()
312 struct snd_soc_jack_gpio *gpios) in snd_soc_jack_add_gpios() argument
[all …]
/openbmc/linux/arch/arm64/boot/dts/microchip/
H A Dsparx5_pcb134_board.dtsi12 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
20 gpios = <&sgpio_out0 8 0 GPIO_ACTIVE_LOW>;
24 gpios = <&sgpio_out0 8 1 GPIO_ACTIVE_LOW>;
28 gpios = <&sgpio_out0 9 0 GPIO_ACTIVE_LOW>;
32 gpios = <&sgpio_out0 9 1 GPIO_ACTIVE_LOW>;
36 gpios = <&sgpio_out0 10 0 GPIO_ACTIVE_LOW>;
40 gpios = <&sgpio_out0 10 1 GPIO_ACTIVE_LOW>;
44 gpios = <&sgpio_out0 11 0 GPIO_ACTIVE_LOW>;
48 gpios = <&sgpio_out0 11 1 GPIO_ACTIVE_LOW>;
52 gpios = <&sgpio_out0 12 0 GPIO_ACTIVE_HIGH>;
[all …]
/openbmc/linux/arch/arm/boot/dts/nxp/lpc/
H A Dlpc3250-ea3250.dts27 gpios = <&gpio 4 1 0>; /* GPI_P3 1 */
33 gpios = <&pca9532 0 0>;
39 gpios = <&pca9532 1 0>;
45 gpios = <&pca9532 2 0>;
51 gpios = <&pca9532 3 0>;
57 gpios = <&gpio 2 0 0>; /* P2.0 */
63 gpios = <&gpio 2 1 0>; /* P2.1 */
69 gpios = <&gpio 2 2 0>; /* P2.2 */
75 gpios = <&gpio 2 3 0>; /* P2.3 */
81 gpios = <&gpio 2 4 0>; /* P2.4 */
[all …]
/openbmc/linux/arch/arm/boot/dts/nuvoton/
H A Dnuvoton-npcm750-runbmc-olympus.dts60 gpios = <&gpio3 14 1>;
65 gpios = <&gpio3 15 1>;
75 gpios = <&gpio0 19 0>; /* gpio19 */
81 gpios = <&gpio0 18 0>; /* gpio18 */
87 gpios = <&gpio0 17 0>; /* gpio17 */
92 gpios = <&gpio0 16 0>; /* gpio16 */
429 reset-gpios = <&gpio7 4 GPIO_ACTIVE_LOW>;
432 gpios = <0 0>;
438 gpios = <1 0>;
444 gpios = <2 0>;
[all …]
H A Dnuvoton-npcm730-gbs.dts82 gpios = <&gpio2 9 GPIO_ACTIVE_LOW>;
88 gpios = <&gpio2 8 GPIO_ACTIVE_LOW>;
94 gpios = <&gpio2 7 GPIO_ACTIVE_LOW>;
100 gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
106 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
112 gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
118 gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
124 gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
130 gpios = <&gpio3 24 GPIO_ACTIVE_LOW>;
136 gpios = <&gpio3 25 GPIO_ACTIVE_LOW>;
[all …]
/openbmc/linux/sound/soc/codecs/
H A Dwm1250-ev1.c27 struct gpio gpios[WM1250_EV1_NUM_GPIOS]; member
37 ena = wm1250->gpios[WM1250_EV1_GPIO_CLK_ENA].gpio; in wm1250_ev1_set_bias_level()
83 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL0].gpio, in wm1250_ev1_hw_params()
85 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL1].gpio, in wm1250_ev1_hw_params()
89 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL0].gpio, in wm1250_ev1_hw_params()
91 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL1].gpio, in wm1250_ev1_hw_params()
95 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL0].gpio, in wm1250_ev1_hw_params()
97 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL1].gpio, in wm1250_ev1_hw_params()
101 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL0].gpio, in wm1250_ev1_hw_params()
103 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL1].gpio, in wm1250_ev1_hw_params()
[all …]
/openbmc/linux/drivers/platform/x86/siemens/
H A Dsimatic-ipc-batt.c39 struct gpio_desc *gpios[3]; member
47 if (priv.gpios[2]) { in simatic_ipc_batt_read_gpio()
48 gpiod_set_value(priv.gpios[2], 1); in simatic_ipc_batt_read_gpio()
52 if (gpiod_get_value_cansleep(priv.gpios[0])) in simatic_ipc_batt_read_gpio()
54 else if (gpiod_get_value_cansleep(priv.gpios[1])) in simatic_ipc_batt_read_gpio()
57 if (priv.gpios[2]) in simatic_ipc_batt_read_gpio()
58 gpiod_set_value(priv.gpios[2], 0); in simatic_ipc_batt_read_gpio()
182 priv.gpios[0] = devm_gpiod_get_index(dev, "CMOSBattery empty", 0, GPIOD_IN); in simatic_ipc_batt_probe()
183 if (IS_ERR(priv.gpios[0])) { in simatic_ipc_batt_probe()
184 err = PTR_ERR(priv.gpios[0]); in simatic_ipc_batt_probe()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/input/
H A Dgpio-mouse.txt9 - up-gpios: GPIO line phandle to the line indicating "up"
10 - down-gpios: GPIO line phandle to the line indicating "down"
11 - left-gpios: GPIO line phandle to the line indicating "left"
12 - right-gpios: GPIO line phandle to the line indicating "right"
15 - button-left-gpios: GPIO line handle to the left mouse button
16 - button-middle-gpios: GPIO line handle to the middle mouse button
17 - button-right-gpios: GPIO line handle to the right mouse button
25 up-gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
26 down-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
27 left-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
[all …]
/openbmc/u-boot/drivers/gpio/
H A Dbcm2835_gpio.c22 struct bcm2835_gpios *gpios = dev_get_priv(dev); in bcm2835_gpio_direction_input() local
25 val = readl(&gpios->reg->gpfsel[BCM2835_GPIO_FSEL_BANK(gpio)]); in bcm2835_gpio_direction_input()
28 writel(val, &gpios->reg->gpfsel[BCM2835_GPIO_FSEL_BANK(gpio)]); in bcm2835_gpio_direction_input()
36 struct bcm2835_gpios *gpios = dev_get_priv(dev); in bcm2835_gpio_direction_output() local
41 val = readl(&gpios->reg->gpfsel[BCM2835_GPIO_FSEL_BANK(gpio)]); in bcm2835_gpio_direction_output()
44 writel(val, &gpios->reg->gpfsel[BCM2835_GPIO_FSEL_BANK(gpio)]); in bcm2835_gpio_direction_output()
49 static int bcm2835_get_value(const struct bcm2835_gpios *gpios, unsigned gpio) in bcm2835_get_value() argument
53 val = readl(&gpios->reg->gplev[BCM2835_GPIO_COMMON_BANK(gpio)]); in bcm2835_get_value()
60 const struct bcm2835_gpios *gpios = dev_get_priv(dev); in bcm2835_gpio_get_value() local
62 return bcm2835_get_value(gpios, gpio); in bcm2835_gpio_get_value()
[all …]
H A Dvybrid_gpio.c25 const struct vybrid_gpios *gpios = dev_get_priv(dev); in vybrid_gpio_direction_input() local
27 gpio = gpio + (gpios->chip * VYBRID_GPIO_COUNT); in vybrid_gpio_direction_input()
36 const struct vybrid_gpios *gpios = dev_get_priv(dev); in vybrid_gpio_direction_output() local
38 gpio = gpio + (gpios->chip * VYBRID_GPIO_COUNT); in vybrid_gpio_direction_output()
47 const struct vybrid_gpios *gpios = dev_get_priv(dev); in vybrid_gpio_get_value() local
49 return ((readl(&gpios->reg->gpio_pdir) & (1 << gpio))) ? 1 : 0; in vybrid_gpio_get_value()
55 const struct vybrid_gpios *gpios = dev_get_priv(dev); in vybrid_gpio_set_value() local
57 writel((1 << gpio), &gpios->reg->gpio_psor); in vybrid_gpio_set_value()
59 writel((1 << gpio), &gpios->reg->gpio_pcor); in vybrid_gpio_set_value()
66 const struct vybrid_gpios *gpios = dev_get_priv(dev); in vybrid_gpio_get_function() local
[all …]
/openbmc/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-opp-palmetto.dts45 gpios = <&gpio ASPEED_GPIO(R, 4) GPIO_ACTIVE_LOW>;
49 gpios = <&gpio ASPEED_GPIO(R, 5) GPIO_ACTIVE_LOW>;
53 gpios = <&gpio ASPEED_GPIO(A, 2) GPIO_ACTIVE_LOW>;
66 clock-gpios = <&gpio ASPEED_GPIO(A, 4) GPIO_ACTIVE_HIGH>;
67 data-gpios = <&gpio ASPEED_GPIO(A, 5) GPIO_ACTIVE_HIGH>;
68 mux-gpios = <&gpio ASPEED_GPIO(A, 6) GPIO_ACTIVE_HIGH>;
69 enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
70 trans-gpios = <&gpio ASPEED_GPIO(H, 6) GPIO_ACTIVE_HIGH>;
78 gpios = <&gpio ASPEED_GPIO(P, 5) GPIO_ACTIVE_LOW>;
214 gpios = <ASPEED_GPIO(C, 4) GPIO_ACTIVE_HIGH>;
[all …]
/openbmc/linux/drivers/watchdog/
H A Dmena21_wdt.c34 struct gpio_desc *gpios[NUM_GPIOS]; member
46 reset |= gpiod_get_value(drv->gpios[GPIO_WD_RST0]) ? (1 << 0) : 0; in a21_wdt_get_bootstatus()
47 reset |= gpiod_get_value(drv->gpios[GPIO_WD_RST1]) ? (1 << 1) : 0; in a21_wdt_get_bootstatus()
48 reset |= gpiod_get_value(drv->gpios[GPIO_WD_RST2]) ? (1 << 2) : 0; in a21_wdt_get_bootstatus()
57 gpiod_set_value(drv->gpios[GPIO_WD_ENAB], 1); in a21_wdt_start()
66 gpiod_set_value(drv->gpios[GPIO_WD_ENAB], 0); in a21_wdt_stop()
75 gpiod_set_value(drv->gpios[GPIO_WD_TRIG], 0); in a21_wdt_ping()
77 gpiod_set_value(drv->gpios[GPIO_WD_TRIG], 1); in a21_wdt_ping()
99 gpiod_set_value(drv->gpios[GPIO_WD_FAST], 1); in a21_wdt_set_timeout()
101 gpiod_set_value(drv->gpios[GPIO_WD_FAST], 0); in a21_wdt_set_timeout()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/phy/
H A Dphy-mapphone-mdm6600.txt5 - enable-gpios GPIO to enable the USB PHY
6 - power-gpios GPIO to power on the device
7 - reset-gpios GPIO to reset the device
8 - motorola,mode-gpios Two GPIOs to configure MDM6600 USB start-up mode for
10 - motorola,cmd-gpios Three GPIOs to control the power state of the MDM6600
11 - motorola,status-gpios Three GPIOs to read the power state of the MDM6600
17 enable-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>;
18 power-gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>;
19 reset-gpios = <&gpio2 17 GPIO_ACTIVE_HIGH>;
20 motorola,mode-gpios = <&gpio5 20 GPIO_ACTIVE_HIGH>,
[all …]
/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A Dam572x-idk-common.dtsi55 gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>;
62 gpios = <&gpio3 11 GPIO_ACTIVE_HIGH>;
68 gpios = <&gpio3 12 GPIO_ACTIVE_HIGH>;
75 gpios = <&gpio3 10 GPIO_ACTIVE_HIGH>;
82 gpios = <&gpio7 23 GPIO_ACTIVE_HIGH>;
88 gpios = <&gpio7 22 GPIO_ACTIVE_HIGH>;
99 gpios = <&gpio6 19 GPIO_ACTIVE_HIGH>;
105 gpios = <&gpio3 9 GPIO_ACTIVE_HIGH>;
111 gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
117 gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
[all …]
H A Dam571x-idk.dts55 gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>;
62 gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
68 gpios = <&gpio2 27 GPIO_ACTIVE_HIGH>;
75 gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>;
81 gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
87 gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
98 gpios = <&gpio6 19 GPIO_ACTIVE_HIGH>;
104 gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>;
110 gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
116 gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
[all …]
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-phosphor/gpio/
H A Dphosphor-gpio-monitor_%.bbappend11 SYSTEMD_ENVIRONMENT_FILE:${PN}:append:gbs = " obmc/gpio/gpios-0.conf"
12 SYSTEMD_ENVIRONMENT_FILE:${PN}:append:gbs = " obmc/gpio/gpios-1.conf"
13 SYSTEMD_ENVIRONMENT_FILE:${PN}:append:gbs = " obmc/gpio/gpios-2.conf"
14 SYSTEMD_ENVIRONMENT_FILE:${PN}:append:gbs = " obmc/gpio/gpios-3.conf"
15 SYSTEMD_ENVIRONMENT_FILE:${PN}:append:gbs = " obmc/gpio/gpios-4.conf"
16 SYSTEMD_ENVIRONMENT_FILE:${PN}:append:gbs = " obmc/gpio/gpios-5.conf"
17 SYSTEMD_ENVIRONMENT_FILE:${PN}:append:gbs = " obmc/gpio/gpios-6.conf"
18 SYSTEMD_ENVIRONMENT_FILE:${PN}:append:gbs = " obmc/gpio/gpios-7.conf"
19 SYSTEMD_ENVIRONMENT_FILE:${PN}:append:gbs = " obmc/gpio/gpios-8.conf"
20 SYSTEMD_ENVIRONMENT_FILE:${PN}:append:gbs = " obmc/gpio/gpios-9.conf"
[all …]
/openbmc/u-boot/arch/mips/dts/
H A Dhuawei,hg556a.dts27 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
32 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
37 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
42 gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
47 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
52 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
57 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
62 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
67 gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
72 gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
[all …]
/openbmc/linux/arch/arm/boot/dts/broadcom/
H A Dbcm4709-buffalo-wxr-1900dhp.dts33 gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
38 gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
43 gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
49 gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>;
54 gpios = <&chipcommon 8 GPIO_ACTIVE_HIGH>;
59 gpios = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
64 gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>;
69 gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
74 gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
84 gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
[all …]
H A Dbcm4708-buffalo-wzr-1750dhp.dts31 sck-gpios = <&chipcommon 7 0>;
32 mosi-gpios = <&chipcommon 4 0>;
33 cs-gpios = <&chipcommon 6 0>;
54 gpios = <&hc595 0 GPIO_ACTIVE_HIGH>;
63 gpios = <&hc595 1 GPIO_ACTIVE_HIGH>;
68 gpios = <&hc595 2 GPIO_ACTIVE_HIGH>;
74 gpios = <&hc595 3 GPIO_ACTIVE_HIGH>;
80 gpios = <&hc595 4 GPIO_ACTIVE_HIGH>;
85 gpios = <&hc595 5 GPIO_ACTIVE_HIGH>;
91 gpios = <&hc595 6 GPIO_ACTIVE_HIGH>;
[all …]
H A Dbcm4708-buffalo-wzr-1166dhp-common.dtsi19 sck-gpios = <&chipcommon 7 0>;
20 mosi-gpios = <&chipcommon 4 0>;
21 cs-gpios = <&chipcommon 6 0>;
44 gpios = <&hc595 0 GPIO_ACTIVE_HIGH>;
55 gpios = <&hc595 1 GPIO_ACTIVE_HIGH>;
62 gpios = <&hc595 2 GPIO_ACTIVE_HIGH>;
70 gpios = <&hc595 3 GPIO_ACTIVE_HIGH>;
78 gpios = <&hc595 4 GPIO_ACTIVE_HIGH>;
85 gpios = <&hc595 5 GPIO_ACTIVE_HIGH>;
93 gpios = <&hc595 6 GPIO_ACTIVE_HIGH>;
[all …]
/openbmc/linux/Documentation/devicetree/bindings/siox/
H A Deckelmann,siox-gpio.txt5 - din-gpios, dout-gpios, dclk-gpios, dld-gpios: references gpios for the
15 din-gpios = <&gpio6 11 0>;
16 dout-gpios = <&gpio6 8 0>;
17 dclk-gpios = <&gpio6 9 0>;
18 dld-gpios = <&gpio6 10 0>;
/openbmc/linux/drivers/gpu/drm/panel/
H A Dpanel-ronbo-rb070d30.c37 } gpios; member
57 gpiod_set_value(ctx->gpios.power, 1); in rb070d30_panel_prepare()
59 gpiod_set_value(ctx->gpios.reset, 1); in rb070d30_panel_prepare()
68 gpiod_set_value(ctx->gpios.reset, 0); in rb070d30_panel_unprepare()
69 gpiod_set_value(ctx->gpios.power, 0); in rb070d30_panel_unprepare()
160 ctx->gpios.reset = devm_gpiod_get(&dsi->dev, "reset", GPIOD_OUT_LOW); in rb070d30_panel_dsi_probe()
161 if (IS_ERR(ctx->gpios.reset)) { in rb070d30_panel_dsi_probe()
163 return PTR_ERR(ctx->gpios.reset); in rb070d30_panel_dsi_probe()
166 ctx->gpios.power = devm_gpiod_get(&dsi->dev, "power", GPIOD_OUT_LOW); in rb070d30_panel_dsi_probe()
167 if (IS_ERR(ctx->gpios.power)) { in rb070d30_panel_dsi_probe()
[all …]

12345678910>>...111