/linux/Documentation/devicetree/bindings/i2c/ |
H A 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# 7 title: Samsung S3C/S5P/Exynos SoC I2C Controller 10 - Krzysztof Kozlowski <krzk@kernel.org> 15 - enum: 16 - samsung,s3c2410-i2c 17 - samsung,s3c2440-i2c 18 # For s3c2440-like I2C used inside HDMIPHY block found on several SoCs: [all …]
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos5250-spring.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 10 #include <dt-bindings/clock/samsung,s2mps11.h> 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 13 #include <dt-bindings/input/input.h> 19 chassis-type = "laptop"; 33 stdout-path = "serial3:115200n8"; 36 gpio-keys { 37 compatible = "gpio-keys"; [all …]
|
H A 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 …]
|
H A D | exynos5250-smdk5250.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 10 #include <dt-bindings/clock/maxim,max77686.h> 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 31 stdout-path = "serial2:115200n8"; 34 vdd: fixed-regulator-vdd { 35 compatible = "regulator-fixed"; 36 regulator-name = "vdd-supply"; 37 regulator-min-microvolt = <1800000>; [all …]
|
H A D | exynos4210-i9100.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Samsung's Exynos4210 based Galaxy S2 (GT-I9100 version) device tree 11 /dts-v1/; 13 #include "exynos4412-ppmu-common.dtsi" 15 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/input/linux-event-codes.h> 19 model = "Samsung Galaxy S2 (GT-I9100)"; 21 chassis-type = "handset"; 35 stdout-path = "serial2:115200n8"; 38 vemmc_reg: regulator-0 { [all …]
|
H A D | s5pv210-goni.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2013-2014 Samsung Electronics, Co. Ltd. 13 /dts-v1/; 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/interrupt-controller/irq.h> 16 #include <dt-bindings/input/input.h> 38 pmic_ap_clk: clock-0 { 40 compatible = "fixed-clock"; 41 #clock-cells = <0>; 42 clock-frequency = <32768>; [all …]
|
H A D | exynos5250-arndale.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/clock/samsung,s2mps11.h> 14 #include <dt-bindings/sound/samsung-i2s.h> 32 stdout-path = "serial2:115200n8"; 35 gpio-keys { 36 compatible = "gpio-keys"; [all …]
|
H A D | exynos4210-universal_c210.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. 12 /dts-v1/; 14 #include <dt-bindings/gpio/gpio.h> 19 chassis-type = "handset"; 35 stdout-path = "serial2:115200n8"; 39 fixed-rate-clocks { 41 compatible = "samsung,clock-xxti"; 42 clock-frequency = <0>; 46 compatible = "samsung,clock-xusbxti"; [all …]
|
H A D | exynos4210-trats.dts | 1 // SPDX-License-Identifier: GPL-2.0 12 /dts-v1/; 14 #include <dt-bindings/gpio/gpio.h> 19 chassis-type = "handset"; 37 stdout-path = "serial2:115200n8"; 40 vemmc_reg: regulator-0 { 41 compatible = "regulator-fixed"; 42 regulator-name = "VMEM_VDD_2.8V"; 43 regulator-min-microvolt = <2800000>; 44 regulator-max-microvolt = <2800000>; [all …]
|
H A D | exynos4412-n710x.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 3 #include "exynos4412-midas.dtsi" 7 model = "Samsung Galaxy Note 2 (GT-N7100, GT-N7105) based on Exynos4412"; 8 chassis-type = "handset"; 17 cam_vdda_reg: voltage-regulator-10 { 18 compatible = "regulator-fixed"; 19 regulator-name = "CAM_SENSOR_CORE_1.2V"; 20 regulator-min-microvolt = <1200000>; 21 regulator-max-microvolt = <1200000>; [all …]
|
H A D | exynos4412-midas.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 12 /dts-v1/; 14 #include "exynos4412-ppmu-common.dtsi" 16 #include <dt-bindings/gpio/gpio.h> 17 #include <dt-bindings/input/input.h> 18 #include <dt-bindings/interrupt-controller/irq.h> 19 #include <dt-bindings/clock/maxim,max77686.h> 20 #include "exynos-pinctrl.h" 34 stdout-path = &serial_2; 38 compatible = "samsung,secure-firmware"; [all …]
|
H A D | exynos4412-p4note.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 * Based on exynos4412-midas.dtsi. 10 /dts-v1/; 12 #include "exynos4412-ppmu-common.dtsi" 14 #include <dt-bindings/clock/maxim,max77686.h> 15 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/input/linux-event-codes.h> 17 #include <dt-bindings/interrupt-controller/irq.h> 18 #include <dt-bindings/power/summit,smb347-charger.h> 19 #include "exynos-pinctrl.h" [all …]
|
H A D | exynos3250-monk.dts | 1 // SPDX-License-Identifier: GPL-2.0 12 /dts-v1/; 14 #include "exynos4412-ppmu-common.dtsi" 15 #include <dt-bindings/input/input.h> 16 #include <dt-bindings/gpio/gpio.h> 17 #include <dt-bindings/clock/samsung,s2mps11.h> 34 compatible = "samsung,secure-firmware"; 38 gpio-keys { 39 compatible = "gpio-keys"; 41 power-key { [all …]
|
H A D | exynos3250-rinato.dts | 1 // SPDX-License-Identifier: GPL-2.0 12 /dts-v1/; 14 #include "exynos4412-ppmu-common.dtsi" 15 #include <dt-bindings/input/input.h> 16 #include <dt-bindings/gpio/gpio.h> 17 #include <dt-bindings/clock/samsung,s2mps11.h> 22 chassis-type = "watch"; 31 stdout-path = &serial_1; 40 compatible = "samsung,secure-firmware"; 44 gpio-keys { [all …]
|
H A D | exynos3250-artik5.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <dt-bindings/clock/samsung,s2mps11.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/interrupt-controller/irq.h> 26 stdout-path = &serial_2; 35 compatible = "samsung,secure-firmware"; 39 thermal-zones { 40 cpu_thermal: cpu-thermal { 41 cooling-maps { 44 cooling-device = <&cpu0 5 5>, [all …]
|
H A D | exynos4210-origen.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. 7 * Copyright (c) 2010-2011 Linaro Ltd. 14 /dts-v1/; 16 #include <dt-bindings/gpio/gpio.h> 17 #include <dt-bindings/input/input.h> 18 #include <dt-bindings/leds/common.h> 19 #include "exynos-mfc-reserved-memory.dtsi" 40 stdout-path = "serial2:115200n8"; 43 mmc_reg: voltage-regulator { [all …]
|
/linux/drivers/i2c/busses/ |
H A D | i2c-cgbc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Congatec Board Controller I2C busses driver 9 #include <linux/i2c.h> 33 * Reference code defines 1kHz as min freq and 6.1MHz as max freq. 35 * 1kHz is not functional (minimal working freq is 50kHz). 105 unsigned int freq = reg & CGBC_I2C_FREQ_VALUE_MASK; in cgbc_i2c_reg_to_freq() local 109 return freq * 100000; in cgbc_i2c_reg_to_freq() 111 return freq * 10000; in cgbc_i2c_reg_to_freq() 113 return freq * 1000; in cgbc_i2c_reg_to_freq() 118 struct i2c_algo_cgbc_data *algo_data = adap->algo_data; in cgbc_i2c_get_status() [all …]
|
H A D | i2c-s3c2410.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* linux/drivers/i2c/busses/i2c-s3c2410.c 7 * S3C2410 I2C Controller 13 #include <linux/i2c.h> 34 #include <linux/platform_data/i2c-s3c2410.h> 81 /* Max time to wait for bus to become idle after a xfer (in us) */ 87 /* i2c controller state */ 125 .name = "s3c2410-i2c", 128 .name = "s3c2440-i2c", 131 .name = "s3c2440-hdmiphy-i2c", [all …]
|
H A D | i2c-ls2x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Loongson-2K/Loongson LS7A I2C controller mode driver 6 * Copyright (C) 2014-2017 Lemote, Inc. 7 * Copyright (C) 2018-2022 Loongson Technology Corporation Limited. 18 #include <linux/i2c.h> 29 /* I2C Registers */ 30 #define I2C_LS2X_PRER_LO 0x0 /* Freq Division Low Byte Register */ 31 #define I2C_LS2X_PRER_HI 0x1 /* Freq Division High Byte Register */ 48 #define LS2X_SR_BUSY BIT(6) /* Bus busy state */ 54 #define LS2X_CTR_EN BIT(7) /* 0: I2c frequency setting 1: Normal */ [all …]
|
/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-opp-tacoma.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/i2c/i2c.h> 8 #include <dt-bindings/leds/leds-pca955x.h> 12 compatible = "ibm,tacoma-bmc", "aspeed,ast2600"; 15 stdout-path = &uart5; 24 reserved-memory { 25 #address-cells = <1>; [all …]
|
/linux/arch/arm/boot/dts/arm/ |
H A D | vexpress-v2m-rs1.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 * V2M-P1 8 * HBI-0190D 10 * RS1 memory map ("ARM Cortex-A Series memory map" in the board's 14 * original variant (vexpress-v2m.dtsi), but there is a strong 18 * CHANGES TO vexpress-v2m.dtsi! 20 #include <dt-bindings/interrupt-controller/arm-gic.h> 23 v2m_fixed_3v3: regulator-3v3 { 24 compatible = "regulator-fixed"; 25 regulator-name = "3V3"; [all …]
|
H A 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> 23 bus@40000000 { 24 compatible = "simple-bus"; 25 #address-cells = <1>; 26 #size-cells = <1>; [all …]
|
/linux/arch/arm/boot/dts/marvell/ |
H A D | armada-388-helios4.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 10 /dts-v1/; 11 #include "armada-388.dtsi" 12 #include "armada-38x-solidrun-microsom.dtsi" 25 /* So that mvebu u-boot can update the MAC addresses */ 30 stdout-path = "serial0:115200n8"; 33 reg_12v: regulator-12v { 34 compatible = "regulator-fixed"; 35 regulator-name = "power_brick_12V"; 36 regulator-min-microvolt = <12000000>; [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3399-gru.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright 2016-2017 Google, Inc 8 #include <dt-bindings/input/input.h> 9 #include "rk3399-op1.dtsi" 18 stdout-path = "serial2:115200n8"; 27 * - Rails that only connect to the EC (or devices that the EC talks to) 29 * - Rails _are_ included if the rails go to the AP even if the AP 38 * - The EC controls the enable and the EC always enables a rail as 40 * - The rails are actually connected to each other by a jumper and 45 ppvar_sys: regulator-ppvar-sys { [all …]
|
/linux/drivers/media/tuners/ |
H A D | tda18271-common.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 tda18271-common.c - driver for the Philips / NXP TDA18271 silicon tuner 9 #include "tda18271-priv.h" 13 struct tda18271_priv *priv = fe->tuner_priv; in tda18271_i2c_gate_ctrl() 17 switch (priv->gate) { in tda18271_i2c_gate_ctrl() 20 gate = priv->gate; in tda18271_i2c_gate_ctrl() 24 switch (priv->mode) { in tda18271_i2c_gate_ctrl() 37 if (fe->ops.analog_ops.i2c_gate_ctrl) in tda18271_i2c_gate_ctrl() 38 ret = fe->ops.analog_ops.i2c_gate_ctrl(fe, enable); in tda18271_i2c_gate_ctrl() 41 if (fe->ops.i2c_gate_ctrl) in tda18271_i2c_gate_ctrl() [all …]
|