/linux/Documentation/devicetree/bindings/reset/ |
H A D | st,stih407-powerdown.yaml | 4 $id: http://devicetree.org/schemas/reset/st,stih407-powerdown.yaml# 7 title: STMicroelectronics STi family Sysconfig Peripheral Powerdown Reset Controller 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/drivers/iio/dac/ |
H A D | ti-dac7311.c | 42 * @powerdown: whether the chip is powered down 52 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() 143 .name = "powerdown", [all …]
|
H A D | ti-dac082s085.c | 44 * @powerdown: whether the chip is powered down 55 bool powerdown; member 64 #define POWERDOWN(mode) (0x30 | ((mode) + 1) << 6) macro 98 if (ti_dac->powerdown) { in ti_dac_set_powerdown_mode() 99 ret = ti_dac_cmd(ti_dac, POWERDOWN(mode), 0); 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() [all …]
|
H A D | max5821.c | 37 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() 134 .name = "powerdown", 318 /* max5821 start in powerdown mode 100Kohm to ground */ in max5821_probe() 320 data->powerdown[tmp] = true; in max5821_probe()
|
H A D | mcp4725.c | 44 bool powerdown; member 59 data->powerdown = true; in mcp4725_suspend() 79 data->powerdown = false; in mcp4725_resume() 110 inoutbuf[0] |= data->powerdown ? ((data->powerdown_mode + 1) << 1) : 0; in mcp4725_store_eeprom() 188 return sysfs_emit(buf, "%d\n", data->powerdown); in mcp4725_read_powerdown() 235 .name = "powerdown", 249 .name = "powerdown", 311 if (data->powerdown) in mcp4726_set_cfg() 312 outbuf[0] |= data->powerdown << 1; in mcp4726_set_cfg() 473 data->powerdown = pd > 0; in mcp4725_probe()
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | qcom,wsa881x.yaml | 28 powerdown-gpios: 29 description: GPIO spec for Powerdown/Shutdown line to use 41 - powerdown-gpios 57 powerdown-gpios = <&wcdpinctrl 2 0>; 65 powerdown-gpios = <&wcdpinctrl 2 0>;
|
H A D | qcom,wsa8840.yaml | 27 powerdown-gpios: 28 description: Powerdown/Shutdown line to use (pin SD_N) 32 description: Powerdown/Shutdown line to use (pin SD_N) 58 - powerdown-gpios 77 powerdown-gpios = <&lpass_tlmm 18 GPIO_ACTIVE_LOW>;
|
H A D | qcom,wsa883x.yaml | 28 powerdown-gpios: 29 description: GPIO spec for Powerdown/Shutdown line to use (pin SD_N) 53 - powerdown-gpios 71 powerdown-gpios = <&tlmm 1 GPIO_ACTIVE_LOW>; 81 powerdown-gpios = <&tlmm 89 GPIO_ACTIVE_LOW>;
|
/linux/Documentation/devicetree/bindings/usb/ |
H A D | dwc3-st.txt | 14 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";
|
H A D | ohci-st.txt | 16 - 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>,
|
H A D | ehci-st.txt | 17 - 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/drivers/iio/amplifiers/ |
H A D | hmc425a.c | 65 bool powerdown; member 80 if (st->powerdown) in gain_dB_to_code() 116 if (st->powerdown) in code_to_gain_dB() 242 return sysfs_emit(buf, "%d\n", st->powerdown); in ltc6373_read_powerdown() 252 bool powerdown; in ltc6373_write_powerdown() local 255 ret = kstrtobool(buf, &powerdown); in ltc6373_write_powerdown() 260 st->powerdown = powerdown; in ltc6373_write_powerdown() 261 code = (powerdown) ? LTC6373_SHUTDOWN : st->gain; in ltc6373_write_powerdown() 269 .name = "powerdown", 392 st->powerdown = true; in hmc425a_probe()
|
/linux/include/dt-bindings/reset/ |
H A D | stih407-resets.h | 4 * based peripheral powerdown requests on the STMicroelectronics 10 /* Powerdown requests control 0 */ 14 /* Synp GMAC PowerDown */ 17 /* Powerdown requests control 1 */
|
/linux/drivers/gpu/drm/bridge/ |
H A D | ti-tfp410.c | 30 struct gpio_desc *powerdown; member 181 gpiod_set_value_cansleep(dvi->powerdown, 0); in tfp410_enable() 188 gpiod_set_value_cansleep(dvi->powerdown, 1); in tfp410_disable() 370 /* Get the powerdown GPIO. */ in tfp410_init() 371 dvi->powerdown = devm_gpiod_get_optional(dev, "powerdown", in tfp410_init() 373 if (IS_ERR(dvi->powerdown)) { in tfp410_init() 374 dev_err(dev, "failed to parse powerdown gpio\n"); in tfp410_init() 375 return PTR_ERR(dvi->powerdown); in tfp410_init()
|
/linux/Documentation/devicetree/bindings/media/i2c/ |
H A D | galaxycore,gc0308.yaml | 39 powerdown-gpios: 40 description: GPIO descriptor for the powerdown pin. 73 - powerdown-gpios 90 powerdown-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
|
H A D | ovti,ov02a10.yaml | 55 powerdown-gpios: 59 or shutdown mode. As the line needs to be high for the powerdown mode 107 - powerdown-gpios 125 powerdown-gpios = <&pio 107 GPIO_ACTIVE_HIGH>;
|
H A D | ovti,ov8858.yaml | 41 powerdown-gpios: 42 description: PWDNB powerdown GPIO (active low) 96 powerdown-gpios = <&gpio2 RK_PB4 GPIO_ACTIVE_LOW>;
|
H A D | galaxycore,gc2145.yaml | 34 powerdown-gpios: 76 - powerdown-gpios 100 powerdown-gpios = <&mcp23017 3 (GPIO_ACTIVE_LOW | GPIO_PUSH_PULL)>;
|
H A D | ovti,ov4689.yaml | 46 powerdown-gpios: 48 GPIO connected to the powerdown pin (active low) 114 powerdown-gpios = <&pio 107 GPIO_ACTIVE_LOW>;
|
/linux/Documentation/devicetree/bindings/mmc/ |
H A D | mmc-pwrseq-sd8787.yaml | 18 powerdown-gpios: 30 - powerdown-gpios 40 powerdown-gpios = <&twl_gpio 0 GPIO_ACTIVE_LOW>;
|
/linux/Documentation/devicetree/bindings/display/bridge/ |
H A D | ps8640.yaml | 28 powerdown-gpios: 30 description: GPIO connected to active low powerdown. 65 - powerdown-gpios 83 powerdown-gpios = <&pio 116 GPIO_ACTIVE_LOW>;
|
H A D | nxp,ptn3460.yaml | 34 powerdown-gpios: 64 - powerdown-gpios 82 powerdown-gpios = <&gpy2 5 GPIO_ACTIVE_HIGH>;
|
/linux/drivers/reset/sti/ |
H A D | reset-stih407.c | 13 /* STiH407 Peripheral powerdown definitions. */ 25 /* Powerdown requests control 0 */ 28 /* Powerdown requests control 1 (High Speed Links) */ 32 /* Ethernet powerdown/status/reset */ 132 .compatible = "st,stih407-powerdown",
|
/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | maxim,max34408.yaml | 44 powerdown-gpios: 51 powerdown-status-gpios: 123 powerdown-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; 124 powerdown-status-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
|
/linux/arch/arm/boot/dts/st/ |
H A D | stih418.dtsi | 92 resets = <&powerdown STIH407_USB2_PORT0_POWERDOWN>, 106 resets = <&powerdown STIH407_USB2_PORT0_POWERDOWN>, 118 resets = <&powerdown STIH407_USB2_PORT1_POWERDOWN>, 132 resets = <&powerdown STIH407_USB2_PORT1_POWERDOWN>,
|