| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | nuvoton,nau8825.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - John Hsu <KCHSU0@nuvoton.com> 13 - $ref: dai-common.yaml# 18 - nuvoton,nau8825 26 nuvoton,jkdet-enable: 31 nuvoton,jkdet-pull-enable: 33 Enable JKDET pin pull. 34 If set - pin pull enabled, otherwise pin in high impedance state. [all …]
|
| /kernel/linux/linux-5.10/drivers/power/supply/ |
| D | isp1704_charger.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/power/supply/ |
| D | isp1704_charger.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/pinctrl/ |
| D | starfive,jh7100-pinctrl.yaml | 1 # 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 …]
|
| /kernel/linux/linux-6.6/Documentation/w1/slaves/ |
| D | w1_ds28e04.rst | 7 * 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.
|
| /kernel/linux/linux-5.10/Documentation/w1/slaves/ |
| D | w1_ds28e04.rst | 7 * 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.
|
| /kernel/linux/linux-6.6/drivers/w1/ |
| D | w1_io.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/w1/ |
| D | w1_io.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | w1.h | 1 /* 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 …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | w1.h | 1 /* 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 …]
|
| /kernel/linux/linux-6.6/drivers/input/touchscreen/ |
| D | colibri-vf50-ts.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/input/touchscreen/ |
| D | colibri-vf50-ts.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/w1/masters/ |
| D | ds2482.c | 1 // 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 25 * The APU bit controls whether an active pullup (controlled slew-rate 27 * a 1-Wire line from low to high. When APU = 0, active pullup is disabled 29 * only a single slave on the 1-Wire line. 34 "0-disable, 1-enable (default)"); 36 /* extra configurations - e.g. 1WS */ [all …]
|
| D | ds2490.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/w1/masters/ |
| D | ds2482.c | 1 // 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 …]
|
| D | ds2490.c | 1 // 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() 187 err = usb_control_msg(dev->udev, usb_sndctrlpipe(dev->udev, dev->ep[EP_CONTROL]), in ds_send_control_mode() 202 err = usb_control_msg(dev->udev, usb_sndctrlpipe(dev->udev, dev->ep[EP_CONTROL]), in ds_send_control() 222 pr_info("0x%x: count=%d, status: ", dev->ep[EP_STATUS], count); in ds_dump_status() 229 ds_print_msg(buf, "1-wire speed", 1); in ds_dump_status() 230 ds_print_msg(buf, "strong pullup duration", 2); in ds_dump_status() [all …]
|
| /kernel/linux/linux-6.6/Documentation/process/ |
| D | 2.Process.rst | 14 --------------- 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 …]
|
| D | maintainer-pgp-guide.rst | 12 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 ---------------------- 70 $ gpg --version | head -n1 [all …]
|
| /kernel/linux/linux-5.10/Documentation/process/ |
| D | 2.Process.rst | 14 --------------- 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 …]
|
| D | maintainer-pgp-guide.rst | 12 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 …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | vexpress-v2m.dtsi | 1 // 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! 24 model = "V2M-P1"; 27 compatible = "arm,vexpress,v2m-p1", "simple-bus"; 28 #address-cells = <2>; /* SMB chipselect number and offset */ 29 #size-cells = <1>; 30 #interrupt-cells = <1>; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/arm/ |
| D | vexpress-v2m.dtsi | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/pinctrl/ |
| D | pinctrl-k210.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 #include <linux/pinctrl/pinconf-generic.h> 21 #include <dt-bindings/pinctrl/k210-fpioa.h> 25 #include "pinctrl-utils.h" 52 #define K210_PC_PU BIT(16) /* Pull Up */ 53 #define K210_PC_PD BIT(17) /* Pull Down */ 54 /* Strong pull up not implemented on K210 */ 81 * @pins: 48 32-bits IO pin registers 132 * no pins 48-55). 465 { "output-polarity-invert", PIN_CONFIG_OUTPUT_INVERT, 1 }, [all …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | nau8825.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Co-author: Meng-Huang Kuo <mhkuo@nuvoton.com> 35 #define NUVOTON_CODEC_DAI "nau8825-hifi" 223 * nau8825_sema_acquire - acquire the semaphore of nau88l25 233 * this function returns -ETIME. If the sleep is interrupted by a signal, 234 * this function will return -EINTR. It returns 0 if the semaphore was 246 ret = down_timeout(&nau8825->xtalk_sem, timeout); in nau8825_sema_acquire() 248 dev_warn(nau8825->dev, "Acquire semaphore timeout\n"); in nau8825_sema_acquire() 250 ret = down_trylock(&nau8825->xtalk_sem); in nau8825_sema_acquire() 252 dev_warn(nau8825->dev, "Acquire semaphore fail\n"); in nau8825_sema_acquire() [all …]
|
| /kernel/linux/linux-6.6/drivers/pinctrl/starfive/ |
| D | pinctrl-starfive-jh7100.c | 1 // SPDX-License-Identifier: GPL-2.0 26 #include <dt-bindings/pinctrl/pinctrl-starfive-jh7100.h> 29 #include "../pinctrl-utils.h" 33 #define DRIVER_NAME "pinctrl-starfive" 37 * https://github.com/starfive-tech/JH7100_Docs 48 * The following 32-bit registers come in pairs, but only the offset of the 49 * first register is defined. The first controls (interrupts for) GPIO 0-31 and 50 * the second GPIO 32-63. 54 * Interrupt Type. If set to 1 the interrupt is edge-triggered. If set to 0 the 55 * interrupt is level-triggered. [all …]
|