| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/i2c/ |
| D | i2c-arb-gpio-challenge.txt | 1 GPIO-based I2C Arbitration Using a Challenge & Response Mechanism 7 the standard I2C multi-master rules. Using GPIOs is generally useful in 21 others can see. These are all active low with pull-ups enabled. We'll 24 - OUR_CLAIM: output from us signaling to other hosts that we want the bus 25 - THEIR_CLAIMS: output from others signaling that they want the bus 33 2. Waits a little bit for the other sides to notice (slew time, say 10 43 - compatible: i2c-arb-gpio-challenge 44 - our-claim-gpio: The GPIO that we use to claim the bus. 45 - their-claim-gpios: The GPIOs that the other sides use to claim the bus. 47 - I2C arbitration bus node. See i2c-arb.txt in this directory. [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/i2c/ |
| D | i2c-arb-gpio-challenge.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-arb-gpio-challenge.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: GPIO-based I2C Arbitration Using a Challenge & Response Mechanism 10 - Doug Anderson <dianders@chromium.org> 11 - Peter Rosin <peda@axentia.se> 18 standard I2C multi-master rules. Using GPIOs is generally useful in the case 30 others can see. These are all active low with pull-ups enabled. We'll 32 * OUR_CLAIM: output from us signaling to other hosts that we want the bus [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/xilinx/ |
| D | zynqmp-sck-kv-g-revB.dtso | 1 // SPDX-License-Identifier: GPL-2.0 5 * (C) Copyright 2020 - 2022, Xilinx, Inc. 6 * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc. 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/net/ti-dp83867.h> 13 #include <dt-bindings/phy/phy.h> 14 #include <dt-bindings/pinctrl/pinctrl-zynqmp.h> 16 /dts-v1/; 20 si5332_0: si5332-0 { /* u17 */ 21 compatible = "fixed-clock"; [all …]
|
| D | zynqmp-sck-kv-g-revA.dtso | 1 // SPDX-License-Identifier: GPL-2.0 5 * (C) Copyright 2020 - 2022, Xilinx, Inc. 6 * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc. 9 * "A" - A01 board un-modified (NXP) 10 * "Y" - A01 board modified with legacy interposer (Nexperia) 11 * "Z" - A01 board modified with Diode interposer 16 #include <dt-bindings/gpio/gpio.h> 17 #include <dt-bindings/net/ti-dp83867.h> 18 #include <dt-bindings/phy/phy.h> 19 #include <dt-bindings/pinctrl/pinctrl-zynqmp.h> [all …]
|
| D | zynqmp-zcu100-revC.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * (C) Copyright 2016 - 2022, Xilinx, Inc. 6 * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc. 12 /dts-v1/; 15 #include "zynqmp-clk-ccf.dtsi" 16 #include <dt-bindings/input/input.h> 17 #include <dt-bindings/interrupt-controller/irq.h> 18 #include <dt-bindings/gpio/gpio.h> 19 #include <dt-bindings/pinctrl/pinctrl-zynqmp.h> 20 #include <dt-bindings/phy/phy.h> [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/rockchip/ |
| D | rk3399-gru-chromebook.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Google Gru-Chromebook shared properties 8 #include "rk3399-gru.dtsi" 11 pp900_ap: pp900-ap { 12 compatible = "regulator-fixed"; 13 regulator-name = "pp900_ap"; 16 regulator-always-on; 17 regulator-boot-on; 18 regulator-min-microvolt = <900000>; 19 regulator-max-microvolt = <900000>; [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/ |
| D | max8973-regulator.txt | 5 - compatible: must be one of following: 8 - reg: the i2c slave address of the regulator. It should be 0x1b. 15 -maxim,externally-enable: boolean, externally control the regulator output 17 -maxim,enable-gpio: GPIO for enable control. If the valid GPIO is provided 19 -maxim,dvs-gpio: GPIO which is connected to DVS pin of device. 20 -maxim,dvs-default-state: Default state of GPIO during initialisation. 22 -maxim,enable-remote-sense: boolean, enable reote sense. 23 -maxim,enable-falling-slew-rate: boolean, enable falling slew rate. 24 -maxim,enable-active-discharge: boolean: enable active discharge. 25 -maxim,enable-frequency-shift: boolean, enable 9% frequency shift. [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/ |
| D | maxim,max8973.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 13 - $ref: regulator.yaml# 18 - maxim,max8973 19 - maxim,max77621 21 junction-warn-millicelsius: 30 maxim,dvs-gpio: 35 maxim,dvs-default-state: [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/rockchip/ |
| D | rk3399-gru-chromebook.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Google Gru-Chromebook shared properties 8 #include "rk3399-gru.dtsi" 11 pp900_ap: pp900-ap { 12 compatible = "regulator-fixed"; 13 regulator-name = "pp900_ap"; 16 regulator-always-on; 17 regulator-boot-on; 18 regulator-min-microvolt = <900000>; 19 regulator-max-microvolt = <900000>; [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/dac/ |
| D | ad5758.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/delay.h> 102 * struct ad5758_state - driver instance specific data 108 * @dc_dc_ilim: variable which stores the dc-to-dc converter current limit 109 * @slew_time: variable which stores the target slew time 136 * 1101: -1 mA to +22 mA current range 161 { AD5758_RANGE_PLUSMINUS_5V, -5000000, 5000000 }, 162 { AD5758_RANGE_PLUSMINUS_10V, -10000000, 10000000 } 169 { AD5758_RANGE_PLUSMINUS_20mA, -20000, 20000 }, 170 { AD5758_RANGE_PLUSMINUS_24mA, -24000, 24000 }, [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/dac/ |
| D | ad5758.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/delay.h> 101 * struct ad5758_state - driver instance specific data 107 * @dc_dc_ilim: variable which stores the dc-to-dc converter current limit 108 * @slew_time: variable which stores the target slew time 135 * 1101: -1 mA to +22 mA current range 160 { AD5758_RANGE_PLUSMINUS_5V, -5000000, 5000000 }, 161 { AD5758_RANGE_PLUSMINUS_10V, -10000000, 10000000 } 168 { AD5758_RANGE_PLUSMINUS_20mA, -20000, 20000 }, 169 { AD5758_RANGE_PLUSMINUS_24mA, -24000, 24000 }, [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/microchip/ |
| D | at91-sama7g5ek.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sama7g5ek.dts - Device Tree file for SAMA7G5-EK board 11 /dts-v1/; 12 #include "sama7g5-pinfunc.h" 14 #include <dt-bindings/mfd/atmel-flexcom.h> 15 #include <dt-bindings/input/input.h> 16 #include <dt-bindings/pinctrl/at91.h> 17 #include <dt-bindings/sound/microchip,pdmc.h> 20 model = "Microchip SAMA7G5-EK"; 25 stdout-path = "serial0:115200n8"; [all …]
|
| /kernel/linux/linux-6.6/drivers/i2c/muxes/ |
| D | i2c-arb-gpio-challenge.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * GPIO-based I2C Arbitration Using a Challenge & Response Mechanism 8 #include <linux/delay.h> 12 #include <linux/i2c-mux.h> 19 * struct i2c_arbitrator_data - Driver data for I2C arbitrator 38 * i2c_arbitrator_select - claim the I2C bus 40 * Use the GPIO-based signalling protocol; return -EBUSY if we fail. 48 stop_time = jiffies + usecs_to_jiffies(arb->wait_free_us) + 1; in i2c_arbitrator_select() 51 gpiod_set_value(arb->our_gpio, 1); in i2c_arbitrator_select() 52 udelay(arb->slew_delay_us); in i2c_arbitrator_select() [all …]
|
| /kernel/linux/linux-5.10/drivers/i2c/muxes/ |
| D | i2c-arb-gpio-challenge.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * GPIO-based I2C Arbitration Using a Challenge & Response Mechanism 8 #include <linux/delay.h> 12 #include <linux/i2c-mux.h> 19 * struct i2c_arbitrator_data - Driver data for I2C arbitrator 38 * i2c_arbitrator_select - claim the I2C bus 40 * Use the GPIO-based signalling protocol; return -EBUSY if we fail. 48 stop_time = jiffies + usecs_to_jiffies(arb->wait_free_us) + 1; in i2c_arbitrator_select() 51 gpiod_set_value(arb->our_gpio, 1); in i2c_arbitrator_select() 52 udelay(arb->slew_delay_us); in i2c_arbitrator_select() [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | tegra30-asus-nexus7-grouper-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/input/gpio-keys.h> 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/power/summit,smb347-charger.h> 6 #include <dt-bindings/thermal/thermal.h> 9 #include "tegra30-cpu-opp.dtsi" 10 #include "tegra30-cpu-opp-microvolt.dtsi" 26 * pre-existing /chosen node to be available to insert the 35 reserved-memory { 36 #address-cells = <1>; [all …]
|
| D | exynos5250-snow-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/clock/maxim,max77686.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/sound/samsung-i2s.h> 27 stdout-path = "serial3:115200n8"; 30 gpio-keys { 31 compatible = "gpio-keys"; 32 pinctrl-names = "default"; [all …]
|
| /kernel/linux/linux-6.6/drivers/cpufreq/ |
| D | pmac64-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2002 - 2005 Benjamin Herrenschmidt <benh@kernel.crashing.org> 4 * and Markus Demleitner <msdemlei@cl.uni-heidelberg.de> 18 #include <linux/delay.h> 73 * the various frequencies, retrieved from the device-tree 117 u32 slew, done = 0; in g5_vdnap_switch_volt() local 120 slew = (speed_mode == CPUFREQ_LOW) ? 1 : 0; in g5_vdnap_switch_volt() 122 args.u[0].p = &slew; in g5_vdnap_switch_volt() 350 int rc = -ENODEV; in g5_neo2_cpufreq_init() 361 return -ENODEV; in g5_neo2_cpufreq_init() [all …]
|
| D | maple-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2011 Dmitry Eremin-Solenikov 4 * Copyright (C) 2002 - 2005 Benjamin Herrenschmidt <benh@kernel.crashing.org> 5 * and Markus Demleitner <msdemlei@cl.uni-heidelberg.de> 19 #include <linux/delay.h> 67 * the various frequencies, retrieved from the device-tree 164 int rc = -ENODEV; in maple_cpufreq_init() 189 /* Look for the powertune data in the device-tree */ in maple_cpufreq_init() 191 * On Maple this property is provided by PIBS in dual-processor config, in maple_cpufreq_init() 195 maple_pmode_data = of_get_property(cpunode, "power-mode-data", &psize); in maple_cpufreq_init() [all …]
|
| /kernel/linux/linux-5.10/drivers/cpufreq/ |
| D | pmac64-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2002 - 2005 Benjamin Herrenschmidt <benh@kernel.crashing.org> 4 * and Markus Demleitner <msdemlei@cl.uni-heidelberg.de> 18 #include <linux/delay.h> 73 * the various frequencies, retrieved from the device-tree 117 u32 slew, done = 0; in g5_vdnap_switch_volt() local 120 slew = (speed_mode == CPUFREQ_LOW) ? 1 : 0; in g5_vdnap_switch_volt() 122 args.u[0].p = &slew; in g5_vdnap_switch_volt() 350 int rc = -ENODEV; in g5_neo2_cpufreq_init() 361 return -ENODEV; in g5_neo2_cpufreq_init() [all …]
|
| D | maple-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2011 Dmitry Eremin-Solenikov 4 * Copyright (C) 2002 - 2005 Benjamin Herrenschmidt <benh@kernel.crashing.org> 5 * and Markus Demleitner <msdemlei@cl.uni-heidelberg.de> 19 #include <linux/delay.h> 67 * the various frequencies, retrieved from the device-tree 164 int rc = -ENODEV; in maple_cpufreq_init() 189 /* Look for the powertune data in the device-tree */ in maple_cpufreq_init() 191 * On Maple this property is provided by PIBS in dual-processor config, in maple_cpufreq_init() 195 maple_pmode_data = of_get_property(cpunode, "power-mode-data", &psize); in maple_cpufreq_init() [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/nvidia/ |
| D | tegra30-asus-nexus7-grouper-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/input/gpio-keys.h> 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/power/summit,smb347-charger.h> 6 #include <dt-bindings/thermal/thermal.h> 9 #include "tegra30-cpu-opp.dtsi" 10 #include "tegra30-cpu-opp-microvolt.dtsi" 11 #include "tegra30-asus-lvds-display.dtsi" 27 * pre-existing /chosen node to be available to insert the 33 trusted-foundations { [all …]
|
| D | tegra20-asus-tf101.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/atmel-maxtouch.h> 5 #include <dt-bindings/input/gpio-keys.h> 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/thermal/thermal.h> 10 #include "tegra20-cpu-opp.dtsi" 11 #include "tegra20-cpu-opp-microvolt.dtsi" 16 chassis-type = "convertible"; 33 * pre-existing /chosen node to be available to insert the [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/renesas/ |
| D | beacon-renesom-baseboard.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/clock/versaclock.h> 11 backlight_lvds: backlight-lvds { 12 compatible = "pwm-backlight"; 13 power-supply = <®_lcd>; 14 enable-gpios = <&gpio_exp1 3 GPIO_ACTIVE_HIGH>; 16 brightness-levels = <0 4 8 16 32 64 128 255>; 17 default-brightness-level = <6>; [all …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | max98388.c | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <linux/delay.h> 76 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in max98388_dac_event() 81 regmap_write(max98388->regmap, in max98388_dac_event() 86 regmap_write(max98388->regmap, in max98388_dac_event() 89 max98388->tdm_mode = false; in max98388_dac_event() 132 static DECLARE_TLV_DB_SCALE(max98388_digital_tlv, -6350, 50, 1); 133 static DECLARE_TLV_DB_SCALE(max98388_amp_gain_tlv, -300, 300, 0); 136 "0dBFS", "-1dBFS", "-2dBFS", "-3dBFS", "-4dBFS", "-5dBFS", 137 "-6dBFS", "-7dBFS", "-8dBFS", "-9dBFS", "-10dBFS", "-11dBFS", [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/samsung/ |
| D | exynos5250-snow-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/clock/maxim,max77686.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/sound/samsung-i2s.h> 30 stdout-path = "serial3:115200n8"; 33 gpio-keys { 34 compatible = "gpio-keys"; 35 pinctrl-names = "default"; [all …]
|