/openbmc/linux/arch/arm/boot/dts/ |
H A D | cros-adc-thermistors.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 15 pullup-uv = <1800000>; 16 pullup-ohm = <47000>; 17 pulldown-ohm = <0>; 18 io-channels = <&adc 3>; 22 pullup-uv = <1800000>; 23 pullup-ohm = <47000>; 24 pulldown-ohm = <0>; 25 io-channels = <&adc 4>; 29 pullup-uv = <1800000>; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | ntc-thermistor.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 --- 3 $id: http://devicetree.org/schemas/hwmon/ntc-thermistor.yaml# 4 $schema: http://devicetree.org/meta-schemas/core.yaml# 9 - Linus Walleij <linus.walleij@linaro.org> 13 vary in resistance in an often non-linear way in relation to temperature. 16 temperature is non-linear, software drivers most often need to use a look 20 pull-up resistor or/and a pull-down resistor and a fixed voltage like this: 22 + e.g. 5V = pull-up voltage (puv) 24 +-+ [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | ntc_thermistor.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * ntc_thermistor.c - NTC Thermistors 16 #include <linux/fixp-arith.h> 31 unsigned int ohm; member 35 * Used as index in a zero-terminated array, holes not allowed so 68 * A compensation table should be sorted by the values of .ohm 74 { .temp_c = -40, .ohm = 1747920 }, 75 { .temp_c = -35, .ohm = 1245428 }, 76 { .temp_c = -30, .ohm = 898485 }, 77 { .temp_c = -25, .ohm = 655802 }, [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | rk3399-gru-kevin.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Google Gru-Kevin Rev 6+ board device tree source 5 * Copyright 2016-2017 Google, Inc 8 /dts-v1/; 9 #include "rk3399-gru-chromebook.dtsi" 10 #include <dt-bindings/input/linux-event-codes.h> 13 * Kevin-specific things 21 compatible = "google,kevin-rev15", "google,kevin-rev14", 22 "google,kevin-rev13", "google,kevin-rev12", 23 "google,kevin-rev11", "google,kevin-rev10", [all …]
|
/openbmc/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3399-gru-kevin.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Google Gru-Kevin Rev 6+ board device tree source 5 * Copyright 2016-2017 Google, Inc 8 /dts-v1/; 9 #include "rk3399-gru-chromebook.dtsi" 10 #include <dt-bindings/input/linux-event-codes.h> 13 * Kevin-specific things 21 compatible = "google,kevin-rev15", "google,kevin-rev14", 22 "google,kevin-rev13", "google,kevin-rev12", 23 "google,kevin-rev11", "google,kevin-rev10", [all …]
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A D | ste-hrefv60plus.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2012 ST-Ericsson AB 6 #include "ste-href-ab8500.dtsi" 7 #include "ste-href.dtsi" 10 model = "ST-Ericsson HREF (v60+) platform with Device Tree"; 11 compatible = "st-ericsson,hrefv60+", "st-ericsson,u8500"; 13 thermal-zones { 14 chassis-thermal { 16 polling-delay = <20000>; 18 polling-delay-passive = <2000>; [all …]
|
H A D | ste-href.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2012 ST-Ericsson AB 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/leds/common.h> 8 #include "ste-href-family-pinctrl.dtsi" 17 compatible = "simple-battery"; 18 battery-type = "lithium-ion-polymer"; 21 thermal-zones { 22 battery-thermal { 24 polling-delay = <0>; [all …]
|
H A D | ste-snowball.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2011 ST-Ericsson AB 6 /dts-v1/; 7 #include "ste-db9500.dtsi" 8 #include "ste-href-ab8500.dtsi" 9 #include "ste-href-family-pinctrl.dtsi" 13 compatible = "calaosystems,snowball-a9500", "st-ericsson,u9500"; 21 compatible = "simple-battery"; 22 battery-type = "lithium-ion-polymer"; 25 thermal-zones { [all …]
|
H A D | ste-ux500-samsung-golden.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /dts-v1/; 4 #include "ste-db8500.dtsi" 5 #include "ste-ab8505.dtsi" 6 #include "ste-dbx5x0-pinctrl.dtsi" 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/leds/common.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 14 * You need an intermediate, device-tree compatible bootloader [all …]
|
H A D | ste-ux500-samsung-skomer.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung XCover 2 GT-S7710 also known as Skomer. 6 /dts-v1/; 7 #include "ste-db8500.dtsi" 8 #include "ste-ab8505.dtsi" 9 #include "ste-dbx5x0-pinctrl.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
H A D | ste-ux500-samsung-kyle.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy Amp SGH-I407 also known as Kyle. 10 /dts-v1/; 11 #include "ste-db8500.dtsi" 12 #include "ste-ab8505.dtsi" 13 #include "ste-dbx5x0-pinctrl.dtsi" 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/leds/common.h> 16 #include <dt-bindings/input/input.h> 17 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
H A D | ste-ux500-samsung-codina-tmo.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy Exhibit SGH-T599 also known as Codina-TMO, 4 * the "TMO" shall be read "T-Mobile" as this phone was produced exlusively 5 * for T-Mobile in the United States. 8 * - No CPU speed cap, full ~1GHz rate 9 * - Different power management IC, AB8505 10 * - As AB8505 has a micro USB phy, no TI TSU6111 11 * - Different power routing such as the removal of the external LDO for the 13 * - Using a regulator for the key backlight LED 14 * - Using the Samsung S6D27A1 panel by default [all …]
|
H A D | ste-ux500-samsung-gavini.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy Beam GT-I8530 also known as Gavini. 6 /dts-v1/; 7 #include "ste-db8500.dtsi" 8 #include "ste-ab8500.dtsi" 9 #include "ste-dbx5x0-pinctrl.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
H A D | ste-ux500-samsung-codina.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy Ace 2 GT-I8160 also known as Codina. 11 * The Samsung tree further talks about GT-I8160P and GT-I8160chn (China). 12 * The GT-I8160 plain is known as the "europe" variant. 13 * The GT-I8160P is the CDMA version and it appears to not use the ST 15 * The GT-I8160chn appears to be the same as the europe variant. 17 * There is also the Codina-TMO, Samsung SGH-T599, which has its own device 21 /dts-v1/; 22 #include "ste-db8500.dtsi" 23 #include "ste-ab8500.dtsi" [all …]
|
H A D | ste-ux500-samsung-janice.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy S Advance GT-I9070 also known as Janice. 6 /dts-v1/; 7 #include "ste-db8500.dtsi" 8 #include "ste-ab8500.dtsi" 9 #include "ste-dbx5x0-pinctrl.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | samsung,exynos-adc.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/samsung,exynos-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 15 - samsung,exynos-adc-v1 # Exynos5250 16 - samsung,exynos-adc-v2 17 - samsung,exynos3250-adc 18 - samsung,exynos4212-adc # Exynos4212 and Exynos4412 19 - samsung,exynos7-adc [all …]
|
/openbmc/u-boot/board/tbs/tbs2910/ |
H A D | tbs2910.cfg | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 9 #include "asm/arch/mx6-ddr.h" 28 /* set IPU AXI-id1 Qos=0x1 AXI-id0/2/3 Qos=0x7 */ 35 * use default 40 Ohm pad drive strength, no odt 36 * 4x256Mx16 DDR3L-1066 7-7-7 39 /* disable dq pullup */ 41 /* disable dqs pullup */ 87 /* tXPR=0x8e+1,SDE2RST=0x10-2,RST2CKE=0x23-2 */ 91 /* read odt settings, 120 Ohm */ 94 /* cs0, 15-bit row, 10-bit column, BL 8, 64-bit bus */
|
/openbmc/linux/arch/arm/boot/dts/samsung/ |
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 | 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 …]
|
/openbmc/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt8183-pumpkin.dts | 1 // SPDX-License-Identifier: GPL-2.0 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 16 compatible = "mediatek,mt8183-pumpkin", "mediatek,mt8183"; 28 stdout-path = "serial0:921600n8"; 31 reserved-memory { 32 #address-cells = <2>; 33 #size-cells = <2>; 37 compatible = "shared-dma-pool"; [all …]
|
H A D | mt8183-evb.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 /dts-v1/; 14 chassis-type = "embedded"; 15 compatible = "mediatek,mt8183-evb", "mediatek,mt8183"; 27 stdout-path = "serial0:921600n8"; 30 reserved-memory { 31 #address-cells = <2>; 32 #size-cells = <2>; 35 compatible = "shared-dma-pool"; 37 no-map; [all …]
|
/openbmc/linux/arch/arm64/boot/dts/exynos/ |
H A D | exynos5433-tm2-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 11 /dts-v1/; 13 #include <dt-bindings/clock/samsung,s2mps11.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/input/input.h> 16 #include <dt-bindings/interrupt-controller/irq.h> 17 #include <dt-bindings/sound/samsung-i2s.h> 48 stdout-path = &serial_1; 56 gpio-keys { 57 compatible = "gpio-keys"; [all …]
|
/openbmc/linux/drivers/pinctrl/mediatek/ |
H A D | pinctrl-mtk-common-v2.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <dt-bindings/pinctrl/mt65xx.h> 18 #include "mtk-eint.h" 19 #include "pinctrl-mtk-common-v2.h" 22 * struct mtk_drive_desc - the structure that holds the information 29 * formula: output = ((input) / step - 1) * scal 49 writel_relaxed(val, pctl->base[i] + reg); in mtk_w32() 54 return readl_relaxed(pctl->base[i] + reg); in mtk_r32() 62 spin_lock_irqsave(&pctl->lock, flags); in mtk_rmw() 69 spin_unlock_irqrestore(&pctl->lock, flags); in mtk_rmw() [all …]
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-ds1305.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rtc-ds1305.c -- driver for DS1305 and DS1306 SPI RTC chips 21 * otherwise you're reading it. All non-bitmask values are BCD. 27 * - Need fancy "hours" encoding in 12hour mode 28 * - Don't rely on the "day-of-week" field (or tm_wday) 29 * - Are a 21st-century clock (2000 <= year < 2100) 50 * NOTE ALSO that while we could generate once-a-second IRQs (UIE), we 98 /*----------------------------------------------------------------------*/ 101 * Utilities ... tolerate 12-hour AM/PM notation in case of non-Linux 116 return hour - 1; in bcd2hour() [all …]
|