Home
last modified time | relevance | path

Searched +full:strong +full:- +full:pull +full:- +full:up (Results 1 – 18 of 18) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/sound/
Dnau8825.txt6 - compatible : Must be "nuvoton,nau8825"
8 - reg : the I2C address of the device. This is either 0x1a (CSB=0) or 0x1b (CSB=1).
11 - nuvoton,jkdet-enable: Enable jack detection via JKDET pin.
12 - nuvoton,jkdet-pull-enable: Enable JKDET pin pull. If set - pin pull enabled,
14 - nuvoton,jkdet-pull-up: Pull-up JKDET pin. If set then JKDET pin is pull up, otherwise pull down.
15 - nuvoton,jkdet-polarity: JKDET pin polarity. 0 - active high, 1 - active low.
17 - nuvoton,vref-impedance: VREF Impedance selection
18 0 - Open
19 1 - 25 kOhm
20 2 - 125 kOhm
[all …]
/Linux-v6.1/drivers/power/supply/
Disp1704_charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (C) 2012 - 2013 Pali Rohár <pali@kernel.org>
63 return usb_phy_io_read(isp->phy, reg); in isp1704_read()
68 return usb_phy_io_write(isp->phy, val, reg); in isp1704_write()
73 gpiod_set_value(isp->enable_gpio, on); in isp1704_charger_set_power()
103 /* Enable strong pull-up on DP (1.5K) and reset */ in isp1704_charger_type()
138 /* Clear the DP and DM pull-down bits */ in isp1704_charger_verify()
142 /* Enable strong pull-up on DP (1.5K) and reset */ in isp1704_charger_verify()
149 /* Disable strong pull-up on DP (1.5K) */ in isp1704_charger_verify()
157 /* Enable weak pull-up resistor on DP */ in isp1704_charger_verify()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/pinctrl/
Dstarfive,jh7100-pinctrl.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/starfive,jh7100-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 Bindings for the JH7100 RISC-V SoC from StarFive Ltd.
15 interesting 2-layered approach to pin muxing best illustrated by the diagram
21 LCD output -----------------| |
22 CMOS Camera interface ------| |--- PAD_GPIO[0]
23 Ethernet PHY interface -----| MUX |--- PAD_GPIO[1]
25 | |--- PAD_GPIO[63]
[all …]
/Linux-v6.1/Documentation/w1/slaves/
Dw1_ds28e04.rst7 * Maxim DS28E04-100 4096-Bit Addressable 1-Wire EEPROM with PIO
15 Author: Markus Franke, <franke.m@sebakmt.com> <franm@hrz.tu-chemnitz.de>
18 -----------
22 attribute "crccheck". The strong pull-up can optionally be enabled/disabled
37 The 2 PIOs of the DS28E04-100 are accessible via the "pio" sysfs file.
41 driven low-active, i.e. the driver delivers/expects low-active values.
/Linux-v6.1/drivers/w1/
Dw1_io.c1 // SPDX-License-Identifier: GPL-2.0-or-later
48 * w1_touch_bit() - Generates a write-0 or write-1 cycle and samples the level.
50 * @bit: 0 - write a 0, 1 - write a 0 read the level
54 if (dev->bus_master->touch_bit) in w1_touch_bit()
55 return dev->bus_master->touch_bit(dev->bus_master->data, bit); in w1_touch_bit()
66 * w1_write_bit() - Generates a write-0 or write-1 cycle.
70 * Only call if dev->bus_master->touch_bit is NULL
79 dev->bus_master->write_bit(dev->bus_master->data, 0); in w1_write_bit()
81 dev->bus_master->write_bit(dev->bus_master->data, 1); in w1_write_bit()
84 dev->bus_master->write_bit(dev->bus_master->data, 0); in w1_write_bit()
[all …]
/Linux-v6.1/include/linux/
Dw1.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
12 * struct w1_reg_num - broken out slave device id
49 * struct w1_slave - holds a single slave device on the bus
84 * struct w1_bus_master - operations available on a bus master
92 * @touch_bit: the lowest-level function for devices that really support the
93 * 1-wire protocol.
94 * touch_bit(0) = write-0 cycle
95 * touch_bit(1) = write-1 / read cycle
111 * @reset_bus: long write-0 with a read for the presence pulse detection
112 * @return -1=Error, 0=Device present, 1=No device present
[all …]
/Linux-v6.1/drivers/input/touchscreen/
Dcolibri-vf50-ts.c1 // SPDX-License-Identifier: GPL-2.0-or-later
25 #define DRIVER_NAME "colibri-vf50-ts"
27 #define VF_ADC_MAX ((1 << 12) - 1)
87 /* Enable plate YM (needs to be strong GND, high active) */ in vf50_ts_enable_touch_detection()
88 gpiod_set_value(vf50_ts->gpio_ym, 1); in vf50_ts_enable_touch_detection()
92 * Pull-Up on GPIO in vf50_ts_enable_touch_detection()
94 pinctrl_pm_select_idle_state(&vf50_ts->pdev->dev); in vf50_ts_enable_touch_detection()
96 /* Wait for the pull-up to be stable on high */ in vf50_ts_enable_touch_detection()
106 struct device *dev = &vf50_ts->pdev->dev; in vf50_ts_irq_bh()
111 gpiod_set_value(vf50_ts->gpio_ym, 0); in vf50_ts_irq_bh()
[all …]
/Linux-v6.1/drivers/w1/masters/
Dds2482.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * ds2482.c - provides i2c to w1-master bridge(s)
7 * It is a I2C to 1-wire bridge.
8 * There are two variations: -100 and -800, which have 1 or 8 1-wire ports.
10 * http://www.maxim-ic.com/quick_view2.cfm/qv_pk/4382
26 * The APU bit controls whether an active pullup (controlled slew-rate
28 * a 1-Wire line from low to high. When APU = 0, active pullup is disabled
30 * only a single slave on the 1-Wire line.
35 "0-disable, 1-enable (default)");
37 /* extra configurations - e.g. 1WS */
[all …]
Dds2490.c1 // SPDX-License-Identifier: GPL-2.0-or-later
92 #define ST_SPUA 0x01 /* Strong Pull-up is active */
131 /* Strong PullUp
135 /* spu_bit contains COMM_SPU or 0 depending on if the strong pullup
172 err = usb_control_msg(dev->udev, usb_sndctrlpipe(dev->udev, dev->ep[EP_CONTROL]), in ds_send_control_cmd()
175 dev_err(&dev->udev->dev, in ds_send_control_cmd()
188 err = usb_control_msg(dev->udev, usb_sndctrlpipe(dev->udev, dev->ep[EP_CONTROL]), in ds_send_control_mode()
191 dev_err(&dev->udev->dev, in ds_send_control_mode()
204 err = usb_control_msg(dev->udev, usb_sndctrlpipe(dev->udev, dev->ep[EP_CONTROL]), in ds_send_control()
207 dev_err(&dev->udev->dev, in ds_send_control()
[all …]
/Linux-v6.1/Documentation/process/
D2.Process.rst14 ---------------
16 The kernel developers use a loosely time-based release process, with a new
53 be called 5.6-rc1. The -rc1 release is the signal that the time to
63 exception is made for drivers for previously-unsupported hardware; if they
64 touch no in-tree code, they cannot cause regressions and should be safe to
68 time. Linus releases new -rc kernels about once a week; a normal series
69 will get up to somewhere between -rc6 and -rc9 before the kernel is
78 September 30 5.4-rc1, merge window closes
79 October 6 5.4-rc2
80 October 13 5.4-rc3
[all …]
Dmaintainer-pgp-guide.rst12 Linux Foundation. Please read that document for more in-depth discussion
15 .. _`Protecting Code Integrity`: https://github.com/lfit/itpol/blob/master/protecting-code-integrit…
22 communication channels between developers via PGP-signed email exchange.
26 - Distributed source repositories (git)
27 - Periodic release snapshots (tarballs)
35 - git repositories provide PGP signatures on all tags
36 - tarballs provide detached PGP signatures with all downloads
41 -------------------------------------------
64 ------------
68 release -- many distributions still package both, with the default
[all …]
/Linux-v6.1/arch/arm/boot/dts/
Dvexpress-v2m.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 * V2M-P1
8 * HBI-0190D
14 * RS1 variant (vexpress-v2m-rs1.dtsi), but there is a strong
18 * CHANGES TO vexpress-v2m-rs1.dtsi!
20 #include <dt-bindings/interrupt-controller/arm-gic.h>
24 compatible = "simple-bus";
25 #address-cells = <1>;
26 #size-cells = <1>;
30 #interrupt-cells = <1>;
[all …]
/Linux-v6.1/drivers/pinctrl/
Dpinctrl-k210.c1 // SPDX-License-Identifier: GPL-2.0-or-later
17 #include <linux/pinctrl/pinconf-generic.h>
19 #include <dt-bindings/pinctrl/k210-fpioa.h>
23 #include "pinctrl-utils.h"
50 #define K210_PC_PU BIT(16) /* Pull Up */
51 #define K210_PC_PD BIT(17) /* Pull Down */
52 /* Strong pull up not implemented on K210 */
79 * @pins: 48 32-bits IO pin registers
130 * no pins 48-55).
463 { "output-polarity-invert", PIN_CONFIG_OUTPUT_INVERT, 1 },
[all …]
/Linux-v6.1/sound/soc/codecs/
Dnau8825.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Co-author: Meng-Huang Kuo <mhkuo@nuvoton.com>
34 #define NUVOTON_CODEC_DAI "nau8825-hifi"
239 * nau8825_sema_acquire - acquire the semaphore of nau88l25
249 * this function returns -ETIME. If the sleep is interrupted by a signal,
250 * this function will return -EINTR. It returns 0 if the semaphore was
262 ret = down_timeout(&nau8825->xtalk_sem, timeout); in nau8825_sema_acquire()
264 dev_warn(nau8825->dev, "Acquire semaphore timeout\n"); in nau8825_sema_acquire()
266 ret = down_trylock(&nau8825->xtalk_sem); in nau8825_sema_acquire()
268 dev_warn(nau8825->dev, "Acquire semaphore fail\n"); in nau8825_sema_acquire()
[all …]
Dmax98090.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * max98090.c -- MAX98090 ALSA SoC Audio driver
5 * Copyright 2011-2012 Maxim Integrated Products
280 /* Reset the codec by writing to this write-only reset register */ in max98090_reset()
281 ret = regmap_write(max98090->regmap, M98090_REG_SOFTWARE_RESET, in max98090_reset()
284 dev_err(max98090->component->dev, in max98090_reset()
301 -600, 600, 0);
304 0, 3, TLV_DB_SCALE_ITEM(-600, 300, 0),
309 static const DECLARE_TLV_DB_SCALE(max98090_av_tlv, -1200, 100, 0);
312 static const DECLARE_TLV_DB_SCALE(max98090_dv_tlv, -1500, 100, 0);
[all …]
/Linux-v6.1/drivers/pinctrl/starfive/
Dpinctrl-starfive-jh7100.c1 // SPDX-License-Identifier: GPL-2.0
23 #include <dt-bindings/pinctrl/pinctrl-starfive-jh7100.h>
26 #include "../pinctrl-utils.h"
30 #define DRIVER_NAME "pinctrl-starfive"
34 * https://github.com/starfive-tech/JH7100_Docs
45 * The following 32-bit registers come in pairs, but only the offset of the
46 * first register is defined. The first controls (interrupts for) GPIO 0-31 and
47 * the second GPIO 32-63.
51 * Interrupt Type. If set to 1 the interrupt is edge-triggered. If set to 0 the
52 * interrupt is level-triggered.
[all …]
/Linux-v6.1/kernel/kcsan/
Dcore.c1 // SPDX-License-Identifier: GPL-2.0
52 /* Per-CPU kcsan_ctx for interrupts */
61 * The purpose is 2-fold:
69 * given this should be rare, this is a reasonable trade-off to make, since this
85 * SLOT_IDX_FAST is used in the fast-path. Not first checking the address's primary
96 * zero-initialized state matches INVALID_WATCHPOINT.
98 * Add NUM_SLOTS-1 entries to account for overflow; this helps avoid having to
99 * use more complicated SLOT_IDX_FAST calculation with modulo in the fast-path.
101 static atomic_long_t watchpoints[CONFIG_KCSAN_NUM_WATCHPOINTS + NUM_SLOTS-1];
105 * per-CPU counter to avoid excessive contention.
[all …]
/Linux-v6.1/drivers/scsi/
Dvmw_pvscsi.c2 * Linux driver for VMware's para-virtualized SCSI HBA.
4 * Copyright (C) 2008-2014, VMware, Inc. All Rights Reserved.
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
56 * 1-to-1 mapping completions back to requests.
114 MODULE_PARM_DESC(ring_pages, "Number of pages per req/cmp ring - (default="
116 "[up to 16 targets],"
121 MODULE_PARM_DESC(msg_ring_pages, "Number of pages for the msg ring - (default="
125 MODULE_PARM_DESC(cmd_per_lun, "Maximum commands per lun - (default="
129 MODULE_PARM_DESC(disable_msi, "Disable MSI use in driver - (default=0)");
132 MODULE_PARM_DESC(disable_msix, "Disable MSI-X use in driver - (default=0)");
[all …]