Home
last modified time | relevance | path

Searched refs:powerdown (Results 1 – 25 of 132) sorted by relevance

123456

/linux-6.6.21/Documentation/devicetree/bindings/reset/
Dst,stih407-powerdown.yaml4 $id: http://devicetree.org/schemas/reset/st,stih407-powerdown.yaml#
15 "powerdown" control bits found in the STi family SoC system configuration
19 The actual action taken when powerdown is asserted is hardware dependent.
26 const: st,stih407-powerdown
41 powerdown: powerdown-controller {
42 compatible = "st,stih407-powerdown";
46 // Specifying powerdown control of devices:
48 resets = <&powerdown STIH407_USB3_POWERDOWN>;
/linux-6.6.21/drivers/iio/dac/
Dti-dac7311.c52 bool powerdown; member
58 static u8 ti_dac_get_power(struct ti_dac_chip *ti_dac, bool powerdown) in ti_dac_get_power() argument
60 if (powerdown) in ti_dac_get_power()
113 return sysfs_emit(buf, "%d\n", ti_dac->powerdown); in ti_dac_read_powerdown()
122 bool powerdown; in ti_dac_write_powerdown() local
126 ret = kstrtobool(buf, &powerdown); in ti_dac_write_powerdown()
130 power = ti_dac_get_power(ti_dac, powerdown); in ti_dac_write_powerdown()
135 ti_dac->powerdown = powerdown; in ti_dac_write_powerdown()
196 u8 power = ti_dac_get_power(ti_dac, ti_dac->powerdown); in ti_dac_write_raw()
207 if (ti_dac->powerdown) in ti_dac_write_raw()
[all …]
Dti-dac082s085.c55 bool powerdown; member
98 if (ti_dac->powerdown) { in ti_dac_set_powerdown_mode()
124 return sysfs_emit(buf, "%d\n", ti_dac->powerdown); in ti_dac_read_powerdown()
133 bool powerdown; in ti_dac_write_powerdown() local
136 ret = kstrtobool(buf, &powerdown); in ti_dac_write_powerdown()
140 if (ti_dac->powerdown == powerdown) in ti_dac_write_powerdown()
144 if (powerdown) in ti_dac_write_powerdown()
149 ti_dac->powerdown = powerdown; in ti_dac_write_powerdown()
231 if (ti_dac->powerdown) in ti_dac_write_raw()
Dti-dac5571.c51 bool powerdown[4]; member
143 if (data->powerdown[chan->channel]) { in dac5571_set_powerdown_mode()
171 return sysfs_emit(buf, "%d\n", data->powerdown[chan->channel]); in dac5571_read_powerdown()
180 bool powerdown; in dac5571_write_powerdown() local
183 ret = kstrtobool(buf, &powerdown); in dac5571_write_powerdown()
187 if (data->powerdown[chan->channel] == powerdown) in dac5571_write_powerdown()
191 if (powerdown) in dac5571_write_powerdown()
200 data->powerdown[chan->channel] = powerdown; in dac5571_write_powerdown()
281 if (data->powerdown[chan->channel]) in dac5571_write_raw()
Dmax5821.c37 bool powerdown[MAX5821_MAX_DAC_CHANNELS]; member
87 return sysfs_emit(buf, "%d\n", st->powerdown[chan->channel]); in max5821_read_dac_powerdown()
102 if (data->powerdown[chan->channel]) in max5821_sync_powerdown_mode()
116 bool powerdown; in max5821_write_dac_powerdown() local
119 ret = kstrtobool(buf, &powerdown); in max5821_write_dac_powerdown()
123 data->powerdown[chan->channel] = powerdown; in max5821_write_dac_powerdown()
320 data->powerdown[tmp] = true; in max5821_probe()
Dmcp4725.c39 bool powerdown; member
54 data->powerdown = true; in mcp4725_suspend()
74 data->powerdown = false; in mcp4725_resume()
105 inoutbuf[0] |= data->powerdown ? ((data->powerdown_mode + 1) << 1) : 0; in mcp4725_store_eeprom()
183 return sysfs_emit(buf, "%d\n", data->powerdown); in mcp4725_read_powerdown()
306 if (data->powerdown) in mcp4726_set_cfg()
307 outbuf[0] |= data->powerdown << 1; in mcp4726_set_cfg()
470 data->powerdown = pd > 0; in mcp4725_probe()
Dmcp4728.c88 bool powerdown; member
135 if (data->powerdown) { in mcp4728_store_eeprom()
200 if (data->powerdown) in mcp4728_program_channel_cfg()
246 return sysfs_emit(buf, "%d\n", data->powerdown); in mcp4728_read_powerdown()
470 data->powerdown = true; in mcp4728_suspend()
488 data->powerdown = false; in mcp4728_resume()
/linux-6.6.21/Documentation/devicetree/bindings/sound/
Dqcom,wsa881x.yaml28 powerdown-gpios:
41 - powerdown-gpios
57 powerdown-gpios = <&wcdpinctrl 2 0>;
65 powerdown-gpios = <&wcdpinctrl 2 0>;
Dqcom,wsa883x.yaml28 powerdown-gpios:
45 - powerdown-gpios
63 powerdown-gpios = <&tlmm 1 GPIO_ACTIVE_LOW>;
73 powerdown-gpios = <&tlmm 89 GPIO_ACTIVE_LOW>;
Dqcom,wsa8840.yaml27 powerdown-gpios:
40 - powerdown-gpios
60 powerdown-gpios = <&lpass_tlmm 18 GPIO_ACTIVE_LOW>;
/linux-6.6.21/Documentation/devicetree/bindings/mmc/
Dmmc-pwrseq-sd8787.yaml18 powerdown-gpios:
30 - powerdown-gpios
40 powerdown-gpios = <&twl_gpio 0 GPIO_ACTIVE_LOW>;
/linux-6.6.21/Documentation/devicetree/bindings/usb/
Ddwc3-st.txt14 for the powerdown and softreset lines of the usb3 IP
15 - reset-names : list of reset signal names. Names should be "powerdown" and "softreset"
16 See: Documentation/devicetree/bindings/reset/st,stih407-powerdown.yaml
49 resets = <&powerdown STIH407_USB3_POWERDOWN>,
51 reset-names = "powerdown", "softreset";
Dohci-st.txt16 - resets : phandle to the powerdown and reset controller for the USB IP
18 See: Documentation/devicetree/bindings/reset/st,stih407-powerdown.yaml
33 resets = <&powerdown STIH416_USB0_POWERDOWN>,
Dehci-st.txt17 - resets : phandle + reset specifier pairs to the powerdown and softreset lines
20 See: Documentation/devicetree/bindings/reset/st,stih407-powerdown.yaml
35 resets = <&powerdown STIH416_USB1_POWERDOWN>,
/linux-6.6.21/arch/arm/boot/dts/st/
Dstih418.dtsi57 resets = <&powerdown STIH407_USB2_PORT0_POWERDOWN>,
71 resets = <&powerdown STIH407_USB2_PORT0_POWERDOWN>,
83 resets = <&powerdown STIH407_USB2_PORT1_POWERDOWN>,
97 resets = <&powerdown STIH407_USB2_PORT1_POWERDOWN>,
/linux-6.6.21/Documentation/devicetree/bindings/display/bridge/
Dps8640.yaml28 powerdown-gpios:
30 description: GPIO connected to active low powerdown.
65 - powerdown-gpios
83 powerdown-gpios = <&pio 116 GPIO_ACTIVE_LOW>;
Dnxp,ptn3460.yaml34 powerdown-gpios:
64 - powerdown-gpios
82 powerdown-gpios = <&gpy2 5 GPIO_ACTIVE_HIGH>;
/linux-6.6.21/drivers/gpu/drm/bridge/
Dti-tfp410.c30 struct gpio_desc *powerdown; member
186 gpiod_set_value_cansleep(dvi->powerdown, 0); in tfp410_enable()
193 gpiod_set_value_cansleep(dvi->powerdown, 1); in tfp410_disable()
376 dvi->powerdown = devm_gpiod_get_optional(dev, "powerdown", in tfp410_init()
378 if (IS_ERR(dvi->powerdown)) { in tfp410_init()
380 return PTR_ERR(dvi->powerdown); in tfp410_init()
/linux-6.6.21/Documentation/devicetree/bindings/media/i2c/
Dovti,ov8858.yaml41 powerdown-gpios:
42 description: PWDNB powerdown GPIO (active low)
96 powerdown-gpios = <&gpio2 RK_PB4 GPIO_ACTIVE_LOW>;
Dovti,ov4689.yaml46 powerdown-gpios:
48 GPIO connected to the powerdown pin (active low)
118 powerdown-gpios = <&pio 107 GPIO_ACTIVE_LOW>;
Dovti,ov02a10.yaml55 powerdown-gpios:
59 or shutdown mode. As the line needs to be high for the powerdown mode
113 - powerdown-gpios
131 powerdown-gpios = <&pio 107 GPIO_ACTIVE_HIGH>;
Dovti,ov5640.yaml37 powerdown-gpios:
40 Reference to the GPIO connected to the powerdown pin, if any.
109 powerdown-gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>;
Dov9650.txt12 - powerdown-gpios: reference to the GPIO connected to the pwdn pin, if any.
27 powerdown-gpios = <&axi_gpio_0 1 GPIO_ACTIVE_HIGH>;
/linux-6.6.21/drivers/staging/media/atomisp/i2c/
Datomisp-gc0310.c88 struct gpio_desc *powerdown; member
630 dev->powerdown = devm_gpiod_get(&client->dev, "powerdown", GPIOD_OUT_HIGH); in gc0310_probe()
631 if (IS_ERR(dev->powerdown)) { in gc0310_probe()
633 return dev_err_probe(&client->dev, PTR_ERR(dev->powerdown), in gc0310_probe()
683 gpiod_set_value_cansleep(gc0310_dev->powerdown, 1); in gc0310_suspend()
696 gpiod_set_value_cansleep(gc0310_dev->powerdown, 0); in gc0310_resume()
/linux-6.6.21/Documentation/devicetree/bindings/gpio/
Dgpio-consumer-common.yaml30 powerdown-gpios:
38 description: Use powerdown-gpios

123456