/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | samsung,s2mps11.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/mfd/samsung,s2mps11.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Samsung S2MPS11/13/14/15 and S2MPU02 Power Management IC 10 - Krzysztof Kozlowski <krzk@kernel.org> 14 Management IC (PMIC). 16 The Samsung S2MPS11/13/14/15 and S2MPU02 is a family of Power Management IC 18 sub-blocks. 23 - samsung,s2mps11-pmic [all …]
|
H A D | samsung,s5m8767.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 14 Management IC (PMIC). 17 and current regulators, RTC, clock outputs and other sub-blocks. 21 const: samsung,s5m8767-pmic 24 $ref: ../clock/samsung,s2mps11.yaml 39 s5m8767,pmic-buck2-dvs-voltage: 40 $ref: /schemas/types.yaml#/definitions/uint32-array [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/pmic/ |
H A D | s2mps11.txt | 1 SAMSUNG, S2MPS11 PMIC 3 This file describes the binding info for the PMIC driver: 4 - drivers/power/pmic/s2mps11.c 7 - compatible: "samsung,s2mps11-pmic" 8 - reg = 0x66 10 With those two properties, the pmic device can be used for read/write only. 14 s2mps11@66 { 15 compatible = "samsung,s2mps11-pmic";
|
/openbmc/linux/drivers/mfd/ |
H A D | sec-core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 20 #include <linux/mfd/samsung/s2mps11.h> 29 { .name = "s5m8767-pmic", }, 30 { .name = "s5m-rtc", }, 32 .name = "s5m8767-clk", 33 .of_compatible = "samsung,s5m8767-clk", 38 { .name = "s2mps11-regulator", }, 39 { .name = "s2mps14-rtc", }, 41 .name = "s2mps11-clk", 42 .of_compatible = "samsung,s2mps11-clk", [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/clock/ |
H A D | samsung,s2mps11.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/samsung,s2mps11.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 14 Management IC (PMIC). 16 The S2MPS11/13/15 and S5M8767 provide three(AP/CP/BT) buffered 32.768 kHz 20 dt-bindings/clock/samsung,s2mps11.h header. 22 See also Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml for 28 - samsung,s2mps11-clk [all …]
|
/openbmc/u-boot/drivers/power/pmic/ |
H A D | Kconfig | 2 bool "Enable Driver Model for PMIC drivers (UCLASS_PMIC)" 4 ---help--- 5 This config enables the driver-model PMIC support. 6 UCLASS_PMIC - designed to provide an I/O interface for PMIC devices. 7 For the multi-function PMIC devices, this can be used as parent I/O 10 - 'drivers/power/pmic/pmic-uclass.c' 11 - 'include/power/pmic.h' 17 ---help--- 21 U-Boot proper. 27 ---help--- [all …]
|
H A D | s2mps11.c | 1 // SPDX-License-Identifier: GPL-2.0+ 12 #include <power/pmic.h> 13 #include <power/s2mps11.h> 54 regulators_node = dev_read_subnode(dev, "voltage-regulators"); in s2mps11_probe() 57 dev->name); in s2mps11_probe() 58 return -ENXIO; in s2mps11_probe() 61 debug("%s: '%s' - found regulators subnode\n", __func__, dev->name); in s2mps11_probe() 65 debug("%s: %s - no child found\n", __func__, dev->name); in s2mps11_probe() 77 { .compatible = "samsung,s2mps11-pmic" },
|
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0+ 6 obj-$(CONFIG_DM_PMIC) += pmic-uclass.o 7 obj-$(CONFIG_DM_PMIC_FAN53555) += fan53555.o 8 obj-$(CONFIG_DM_PMIC_MAX77686) += max77686.o 9 obj-$(CONFIG_DM_PMIC_MAX8998) += max8998.o 10 obj-$(CONFIG_DM_PMIC_MC34708) += mc34708.o 11 obj-$(CONFIG_$(SPL_)DM_PMIC_PFUZE100) += pfuze100.o 12 obj-$(CONFIG_PMIC_S2MPS11) += s2mps11.o 13 obj-$(CONFIG_DM_PMIC_SANDBOX) += sandbox.o i2c_pmic_emul.o 14 obj-$(CONFIG_PMIC_ACT8846) += act8846.o [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | samsung,s2mps11.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/samsung,s2mps11.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Samsung S2MPS11 Power Management IC regulators 10 - Krzysztof Kozlowski <krzk@kernel.org> 14 Management IC (PMIC). 16 The S2MPS11 provides buck and LDO regulators. 18 See also Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml for 23 "^LDO([1-9]|[1-2][0-9]|3[0-8])$": [all …]
|
H A D | samsung,s2mpu02.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 14 Management IC (PMIC). 18 See also Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml for 23 "^LDO([1-9]|1[0-9]|2[0-8])$": 31 - regulator-name 34 "^BUCK[1-7]$": 42 - regulator-name
|
H A D | samsung,s2mps15.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 14 Management IC (PMIC). 18 See also Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml for 23 "^LDO([1-9]|[1][0-9]|2[0-7])$": 31 - regulator-name 34 "^BUCK([1-9]|10)$": 42 - regulator-name
|
H A D | samsung,s2mps13.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 14 Management IC (PMIC). 18 See also Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml for 23 "^LDO([1-9]|[1-3][0-9]|40)$": 31 - regulator-name 34 "^BUCK([1-9]|10)$": 42 - regulator-name
|
H A D | samsung,s2mps14.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 14 Management IC (PMIC). 18 See also Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml for 22 # 25 LDOs, without LDO10-12 23 "^LDO([1-9]|1[3-9]|2[0-5])$": 31 - regulator-name 33 "^LDO(1[0-2])$": [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/i2c/ |
H A D | i2c-exynos5.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-exynos5.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 19 Documentation/devicetree/bindings/soc/samsung/exynos-usi.yaml for details. 24 - enum: 25 - samsung,exynos5250-hsi2c # Exynos5250 and Exynos5420 26 - samsung,exynos5260-hsi2c # Exynos5260 27 - samsung,exynos7-hsi2c # Exynos7 [all …]
|
/openbmc/u-boot/drivers/power/regulator/ |
H A D | Kconfig | 4 ---help--- 6 UCLASS_REGULATOR - designed to provide a common API for basic regulator's 10 - 'include/power/pmic.h' 11 - 'include/power/regulator.h' 12 - 'drivers/power/pmic/pmic-uclass.c' 13 - 'drivers/power/pmic/regulator-uclass.c' 16 for this purpose if PMIC I/O driver is implemented or dm_scan_fdt_dev() 22 ---help--- 24 code space can be saved by accessing the PMIC registers directly. 31 ---help--- [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | exynos5420-smdk5420.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 9 /dts-v1/; 17 hwid = "smdk5420 TEST A-A 9382"; 26 samsung,min-temp = <25>; 27 samsung,max-temp = <125>; 28 samsung,start-warning = <95>; 29 samsung,start-tripping = <105>; 30 samsung,hw-tripping = <110>; 31 samsung,efuse-min-value = <40>; 32 samsung,efuse-value = <55>; [all …]
|
/openbmc/linux/include/dt-bindings/clock/ |
H A D | samsung,s2mps11.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Device Tree binding constants clocks for the Samsung S2MPS11 PMIC.
|
/openbmc/linux/drivers/regulator/ |
H A D | s2mps11.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // Copyright (c) 2012-2014 Samsung Electronics Co., Ltd 18 #include <linux/mfd/samsung/s2mps11.h> 37 * One bit for each S2MPS11/S2MPS13/S2MPS14/S2MPU02 regulator whether 43 * Array (size: number of regulators) with GPIO-s for external 72 struct s2mps11_info *s2mps11 = rdev_get_drvdata(rdev); in s2mps11_regulator_set_voltage_time_sel() local 79 ramp_delay = s2mps11->ramp_delay2; in s2mps11_regulator_set_voltage_time_sel() 83 ramp_delay = s2mps11->ramp_delay34; in s2mps11_regulator_set_voltage_time_sel() 86 ramp_delay = s2mps11->ramp_delay5; in s2mps11_regulator_set_voltage_time_sel() 90 ramp_delay = s2mps11->ramp_delay16; in s2mps11_regulator_set_voltage_time_sel() [all …]
|
/openbmc/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos5420-smdk5420.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include "exynos5420-cpus.dtsi" 12 #include <dt-bindings/clock/samsung,s2mps11.h> 13 #include <dt-bindings/gpio/gpio.h> 31 stdout-path = "serial2:115200n8"; 34 fixed-rate-clocks { 36 compatible = "samsung,exynos5420-oscclk"; 37 clock-frequency = <24000000>; 41 vdd: regulator-0 { [all …]
|
H A D | exynos5422-samsung-k3g.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Samsung Galaxy S5 (SM-G900H) device-tree source 8 /dts-v1/; 9 #include <dt-bindings/clock/samsung,s2mps11.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 13 #include "exynos5422-cpus.dtsi" 16 model = "Samsung Galaxy S5 (SM-G900H)"; 20 chassis-type = "handset"; 31 fixed-rate-clocks { [all …]
|
H A D | exynos5420-galaxy-tab-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. 10 /dts-v1/; 12 #include "exynos5420-cpus.dtsi" 13 #include <dt-bindings/input/input.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/clock/samsung,s2mps11.h> 18 chassis-type = "tablet"; 24 * The same hack is also needed to boot exynos4412-i9300 with 27 * https://lore.kernel.org/all/1355276466-18295-1-git-send-email-arve@android.com [all …]
|
H A D | exynos5420-arndale-octa.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include "exynos5420-cpus.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/input/input.h> 15 #include <dt-bindings/clock/samsung,s2mps11.h> 19 compatible = "insignal,arndale-octa", "samsung,exynos5420", "samsung,exynos5"; 32 stdout-path = "serial3:115200n8"; 36 compatible = "samsung,secure-firmware"; [all …]
|
/openbmc/u-boot/board/samsung/common/ |
H A D | exynos5-dt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 #include <dwc3-uboot.h> 15 #include <samsung-usb-phy-uboot.h> 26 #include <power/pmic.h> 29 #include <power/s2mps11.h> 31 #include <samsung/exynos5-dt-types.h> 71 /* TODO(sjg@chromium.org): Move into the clock/pmic API */ in exynos_power_init() 81 ret = pmic_get("s5m8767-pmic", &dev); in exynos_power_init() 89 if (ret == -ENODEV) in exynos_power_init() 139 return -ENODEV; in board_usb_init()
|
H A D | exynos5-dt-types.c | 1 // SPDX-License-Identifier: GPL-2.0+ 12 #include <power/pmic.h> 14 #include <power/s2mps11.h> 15 #include <samsung/exynos5-dt-types.h> 30 * 0.2 372 XU3 0.2 | XU3L - no DISPLAYPORT (probe I2C0:0x40 / INA231) 34 * 0.6 1309 XU4-HC1 0.1 35 * 0.7 1470 XU4-HC1+ 0.1 (HC2) 53 if (odroid_info[i].board_type == gd->board_type) in odroid_get_rev() 75 while (retries--) { in odroid_get_adc_val() 87 if ((100 * abs(*adcval - adcval_prev) / adcval_prev) < 3) in odroid_get_adc_val() [all …]
|
/openbmc/linux/drivers/clk/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 59 Low-Noise JESD204B Compliant Clock Jitter Cleaner With Dual Loop PLLs 88 These multi-function devices have two fixed-rate oscillators, clocked at 32KHz each. 97 This driver supports the hi655x PMIC clock. This 98 multi-function device has one fixed-rate oscillator, clocked 129 be pre-programmed to support other configurations and features not yet 178 This driver supports TI CDCE706 programmable 3-PLL clock synthesizer. 181 tristate "Clock Driver for TI TPS68470 PMIC" 186 This driver supports the clocks provided by the TPS68470 PMIC. 196 For example, the CDCE925 contains two PLLs with spread-spectrum [all …]
|