| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/i2c/ |
| D | i2c-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Wolfram Sang <wsa@kernel.org> 13 - $ref: /schemas/i2c/i2c-controller.yaml# 18 - const: i2c-gpio 20 sda-gpios: 22 gpio used for the sda signal, this should be flagged as 24 from <dt-bindings/gpio/gpio.h> since the signal is by definition [all …]
|
| D | samsung,s3c2410-i2c.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/i2c/samsung,s3c2410-i2c.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 15 - samsung,s3c2410-i2c 16 - samsung,s3c2440-i2c 17 # For s3c2440-like I2C used inside HDMIPHY block found on several SoCs: 18 - samsung,s3c2440-hdmiphy-i2c 19 # For s3c2440-like I2C used as a host to SATA PHY controller on an [all …]
|
| /kernel/linux/linux-6.6/drivers/i2c/busses/ |
| D | i2c-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/i2c-algo-bit.h> 16 #include <linux/platform_data/i2c-gpio.h> 22 struct gpio_desc *sda; member 36 * Toggle SDA by changing the output value of the pin. This is only 38 * high effectively turns off the output driver.) 44 gpiod_set_value_cansleep(priv->sda, state); in i2c_gpio_setsda_val() 48 * Toggle SCL by changing the output value of the pin. This is used 49 * for pins that are configured as open drain and for output-only 57 gpiod_set_value_cansleep(priv->scl, state); in i2c_gpio_setscl_val() [all …]
|
| D | i2c-acorn.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * - PCF8583 real time clock & static RAM 12 #include <linux/i2c-algo-bit.h> 20 #define SDA 0x01 macro 23 * We must preserve all non-i2c output bits in IOC_CONTROL. 25 * SDA outputs as well (which may be different from the 32 u_int ioc_control = ioc_readb(IOC_CONTROL) & ~(SCL | SDA); in ioc_setscl() 47 u_int ioc_control = ioc_readb(IOC_CONTROL) & ~(SCL | SDA); in ioc_setsda() 51 ones |= SDA; in ioc_setsda() 53 ones &= ~SDA; in ioc_setsda() [all …]
|
| /kernel/linux/linux-6.6/include/linux/platform_data/ |
| D | i2c-gpio.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * i2c-gpio interface to platform code 11 * struct i2c_gpio_platform_data - Platform-dependent data for i2c-gpio 15 * @sda_is_open_drain: SDA is configured as open drain, i.e. the pin 16 * isn't actively driven high when setting the output value high. 18 * pin is configured as an output. 19 * @sda_is_output_only: SDA output drivers can't be turned off. 20 * This is for clients that can only read SDA/SCL. 21 * @sda_has_no_pullup: SDA is used in a non-compliant way and has no pull-up. 22 * Therefore disable open-drain. [all …]
|
| /kernel/linux/linux-5.10/drivers/i2c/busses/ |
| D | i2c-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/i2c-algo-bit.h> 17 #include <linux/platform_data/i2c-gpio.h> 22 struct gpio_desc *sda; member 36 * Toggle SDA by changing the output value of the pin. This is only 38 * high effectively turns off the output driver.) 44 gpiod_set_value_cansleep(priv->sda, state); in i2c_gpio_setsda_val() 48 * Toggle SCL by changing the output value of the pin. This is used 49 * for pins that are configured as open drain and for output-only 57 gpiod_set_value_cansleep(priv->scl, state); in i2c_gpio_setscl_val() [all …]
|
| D | i2c-acorn.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * - PCF8583 real time clock & static RAM 12 #include <linux/i2c-algo-bit.h> 20 #define SDA 0x01 macro 23 * We must preserve all non-i2c output bits in IOC_CONTROL. 25 * SDA outputs as well (which may be different from the 32 u_int ioc_control = ioc_readb(IOC_CONTROL) & ~(SCL | SDA); in ioc_setscl() 47 u_int ioc_control = ioc_readb(IOC_CONTROL) & ~(SCL | SDA); in ioc_setsda() 51 ones |= SDA; in ioc_setsda() 53 ones &= ~SDA; in ioc_setsda() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/i2c/ |
| D | i2c-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Wolfram Sang <wolfram@the-dreams.de> 13 - $ref: /schemas/i2c/i2c-controller.yaml# 18 - const: i2c-gpio 20 sda-gpios: 22 gpio used for the sda signal, this should be flagged as 24 from <dt-bindings/gpio/gpio.h> since the signal is by definition [all …]
|
| D | i2c-s3c2410.txt | 6 - compatible: value should be either of the following. 7 (a) "samsung, s3c2410-i2c", for i2c compatible with s3c2410 i2c. 8 (b) "samsung, s3c2440-i2c", for i2c compatible with s3c2440 i2c. 9 (c) "samsung, s3c2440-hdmiphy-i2c", for s3c2440-like i2c used 11 (d) "samsung, exynos5-sata-phy-i2c", for s3c2440-like i2c used as 13 - reg: physical base address of the controller and length of memory mapped 15 - interrupts: interrupt number to the cpu. 16 - samsung,i2c-sda-delay: Delay (in ns) applied to data line (SDA) edges. 18 Required for all cases except "samsung,s3c2440-hdmiphy-i2c": 19 - Samsung GPIO variant (deprecated): [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/sm750fb/ |
| D | ddk750_swi2c.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * swi2c.c --- SM750/SM718 DDK 19 * a point in time where the SCL or SDA may be changed. 22 * +-------------+-------------+-------------+-------------+ 28 * I.e. the SCL may only be changed in section 1. and section 3. while 29 * the SDA may only be changed in section 2. and section 4. The table 37 * ---------------+---+---+---+---+ 38 * Tx Start SDA | | H | | L | 40 * ---------------+---+---+---+---+ 41 * Tx Stop SDA | | L | | H | [all …]
|
| /kernel/linux/linux-6.6/drivers/staging/sm750fb/ |
| D | ddk750_swi2c.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * swi2c.c --- SM750/SM718 DDK 19 * a point in time where the SCL or SDA may be changed. 22 * +-------------+-------------+-------------+-------------+ 28 * I.e. the SCL may only be changed in section 1. and section 3. while 29 * the SDA may only be changed in section 2. and section 4. The table 37 * ---------------+---+---+---+---+ 38 * Tx Start SDA | | H | | L | 40 * ---------------+---+---+---+---+ 41 * Tx Stop SDA | | L | | H | [all …]
|
| /kernel/linux/linux-5.10/drivers/media/usb/cx231xx/ |
| D | cx231xx-avcore.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 cx231xx_avcore.c - driver for Conexant Cx23100/101/102 24 #include <media/v4l2-common.h> 25 #include <media/v4l2-ioctl.h> 27 #include "cx231xx-dif.h" 31 -: BLOCK ARRANGEMENT :- 32 I2S block ----------------------| 35 Analog Front End --> Direct IF -|-> Cx25840 --> Audio 38 |-> Cx25840 --> Video 73 dev_dbg(dev->dev, "verve_read_byte address0x07=0x%x\n", val); in initGPIO() [all …]
|
| /kernel/linux/linux-6.6/drivers/media/usb/cx231xx/ |
| D | cx231xx-avcore.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 cx231xx_avcore.c - driver for Conexant Cx23100/101/102 24 #include <media/v4l2-common.h> 25 #include <media/v4l2-ioctl.h> 27 #include "cx231xx-dif.h" 31 -: BLOCK ARRANGEMENT :- 32 I2S block ----------------------| 35 Analog Front End --> Direct IF -|-> Cx25840 --> Audio 38 |-> Cx25840 --> Video 73 dev_dbg(dev->dev, "verve_read_byte address0x07=0x%x\n", val); in initGPIO() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/ |
| D | cirrus,lochnagar.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - patches@opensource.cirrus.com 15 Logic devices on mini-cards, as well as allowing connection of various 26 [2] Pinctrl: ../pinctrl/pinctrl-bindings.txt 29 [3] include/dt-bindings/pinctrl/lochnagar.h 37 - cirrus,lochnagar-pinctrl 39 gpio-controller: true 41 '#gpio-cells': [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/pinctrl/ |
| D | cirrus,lochnagar.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - patches@opensource.cirrus.com 15 Logic devices on mini-cards, as well as allowing connection of various 26 [2] Pinctrl: ../pinctrl/pinctrl-bindings.txt 29 [3] include/dt-bindings/pinctrl/lochnagar.h 37 - cirrus,lochnagar-pinctrl 39 gpio-controller: true 41 '#gpio-cells': [all …]
|
| /kernel/linux/linux-5.10/include/linux/platform_data/ |
| D | i2c-gpio.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * i2c-gpio interface to platform code 11 * struct i2c_gpio_platform_data - Platform-dependent data for i2c-gpio 15 * @sda_is_open_drain: SDA is configured as open drain, i.e. the pin 16 * isn't actively driven high when setting the output value high. 18 * pin is configured as an output. 21 * @scl_is_output_only: SCL output drivers cannot be turned off.
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/imx/ |
| D | imx6q-bx50v3.dtsi | 5 * This file is dual-licensed: you can use it either under the terms 7 * licensing only applies to this file, and not this project as a 43 #include "imx6q-ba16.dtsi" 46 mclk: clock-mclk { 47 compatible = "fixed-clock"; 48 #clock-cells = <0>; 49 clock-frequency = <22000000>; 52 gpio-poweroff { 53 compatible = "gpio-poweroff"; 58 reg_wl18xx_vmmc: regulator-wl18xx { [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | imx6q-bx50v3.dtsi | 5 * This file is dual-licensed: you can use it either under the terms 7 * licensing only applies to this file, and not this project as a 43 #include "imx6q-ba16.dtsi" 46 mclk: clock-mclk { 47 compatible = "fixed-clock"; 48 #clock-cells = <0>; 49 clock-frequency = <22000000>; 52 gpio-poweroff { 53 compatible = "gpio-poweroff"; 58 reg_wl18xx_vmmc: regulator-wl18xx { [all …]
|
| D | ste-nomadik-s8815.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree for the ST-Ericsson Nomadik S8815 board 7 /dts-v1/; 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include "ste-nomadik-stn8815.dtsi" 12 model = "Calao Systems USB-S8815"; 13 compatible = "calaosystems,usb-s8815"; 26 mmcsd-gpio { 27 gpio-hog; 29 output-low; [all …]
|
| D | bcm2711.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <dt-bindings/interrupt-controller/arm-gic.h> 5 #include <dt-bindings/soc/bcm2835-pm.h> 10 #address-cells = <2>; 11 #size-cells = <1>; 13 interrupt-parent = <&gicv2>; 16 compatible = "brcm,bcm2711-vc5"; 20 clk_27MHz: clk-27M { 21 #clock-cells = <0>; 22 compatible = "fixed-clock"; [all …]
|
| /kernel/linux/linux-6.6/drivers/hwmon/ |
| D | max31760.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <linux/hwmon-sysfs.h> 34 #define TEMP11_TO_REG(val) (DIV_ROUND_CLOSEST(clamp_val((val), -128000, \ 46 struct sensor_device_attribute sda; member 91 ret = regmap_read(state->regmap, REG_STATUS, ®val); in max31760_read() 99 ret = regmap_read(state->regmap, REG_STATUS, ®val); in max31760_read() 110 ret = regmap_read(state->regmap, REG_STATUS, ®val); in max31760_read() 130 return -EOPNOTSUPP; in max31760_read() 133 ret = regmap_bulk_read(state->regmap, reg_temp, reg, 2); in max31760_read() 145 ret = regmap_bulk_read(state->regmap, REG_TACH(channel), reg, 2); in max31760_read() [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-sa1100/ |
| D | assabet.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-sa1100/assabet.c 7 * This file contains all Assabet-specific tweaks. 13 #include <linux/gpio/gpio-reg.h> 17 #include <linux/platform_data/sa11x0-serial.h> 33 #include <asm/mach-types.h> 36 #include <asm/pgtable-hwdef.h> 41 #include <linux/platform_data/irda-sa11x0.h> 44 #include <linux/platform_data/mfd-mcp-sa11x0.h> 83 assabet_bcr_gc->set_multiple(assabet_bcr_gc, &m, &v); in ASSABET_BCR_frob() [all …]
|
| /kernel/linux/linux-6.6/arch/arm/mach-sa1100/ |
| D | assabet.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-sa1100/assabet.c 7 * This file contains all Assabet-specific tweaks. 14 #include <linux/gpio/gpio-reg.h> 18 #include <linux/platform_data/sa11x0-serial.h> 34 #include <asm/mach-types.h> 37 #include <asm/pgtable-hwdef.h> 44 #include <linux/platform_data/mfd-mcp-sa11x0.h> 83 assabet_bcr_gc->set_multiple(assabet_bcr_gc, &m, &v); in ASSABET_BCR_frob() 93 gc = gpio_reg_init(NULL, reg, -1, 32, "assabet", 0xff000000, def_val, in assabet_init_gpio() [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/st/ |
| D | ste-nomadik-s8815.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree for the ST-Ericsson Nomadik S8815 board 7 /dts-v1/; 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include "ste-nomadik-stn8815.dtsi" 12 model = "Calao Systems USB-S8815"; 13 compatible = "calaosystems,usb-s8815"; 26 mmcsd-gpio { 27 gpio-hog; 29 output-low; [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
| D | intel_i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright © 2006-2007 Intel Corporation 11 #include <linux/i2c-algo-bit.h> 26 struct drm_device *dev = chan->drm_dev; in get_clock() 29 val = REG_READ(chan->reg); in get_clock() 36 struct drm_device *dev = chan->drm_dev; in get_data() 39 val = REG_READ(chan->reg); in get_data() 46 struct drm_device *dev = chan->drm_dev; in set_clock() 51 REG_READ(chan->reg) & (GPIO_DATA_PULLUP_DISABLE | in set_clock() 59 REG_WRITE(chan->reg, reserved | clock_bits); in set_clock() [all …]
|