/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | samsung,s5m8767.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/samsung,s5m8767.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Samsung S5M8767 Power Management IC 10 - Krzysztof Kozlowski <krzk@kernel.org> 14 Management IC (PMIC). 16 The Samsung S5M8767 is a Power Management IC which includes voltage 17 and current regulators, RTC, clock outputs and other sub-blocks. 21 const: samsung,s5m8767-pmic [all …]
|
/openbmc/linux/drivers/regulator/ |
H A D | s5m8767.c | 1 // SPDX-License-Identifier: GPL-2.0+ 14 #include <linux/mfd/samsung/s5m8767.h> 162 static int s5m8767_get_register(struct s5m8767_info *s5m8767, int reg_id, in s5m8767_get_register() argument 170 *reg = S5M8767_REG_LDO1CTRL + (reg_id - S5M8767_LDO1); in s5m8767_get_register() 173 *reg = S5M8767_REG_LDO3CTRL + (reg_id - S5M8767_LDO3); in s5m8767_get_register() 179 *reg = S5M8767_REG_BUCK2CTRL + (reg_id - S5M8767_BUCK2) * 9; in s5m8767_get_register() 185 *reg = S5M8767_REG_BUCK6CTRL1 + (reg_id - S5M8767_BUCK6) * 2; in s5m8767_get_register() 188 return -EINVAL; in s5m8767_get_register() 191 for (i = 0; i < s5m8767->num_regulators; i++) { in s5m8767_get_register() 192 if (s5m8767->opmode[i].id == reg_id) { in s5m8767_get_register() [all …]
|
/openbmc/linux/drivers/mfd/ |
H A D | sec-core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 25 #include <linux/mfd/samsung/s5m8767.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/regulator/ |
H A D | samsung,s5m8767.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/samsung,s5m8767.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Samsung S5M8767 Power Management IC regulators 10 - Krzysztof Kozlowski <krzk@kernel.org> 14 Management IC (PMIC). 16 The S5M8767 provides buck and LDO regulators. 18 See also Documentation/devicetree/bindings/mfd/samsung,s5m8767.yaml for 23 "^LDO([1-9]|1[0-9]|2[0-8])$": [all …]
|
/openbmc/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos4412-itop-scp-core.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/input/input.h> 17 #include "exynos4412-ppmu-common.dtsi" 18 #include "exynos-mfc-reserved-memory.dtsi" 31 compatible = "samsung,secure-firmware"; 35 fixed-rate-clocks { 37 compatible = "samsung,clock-xxti"; 38 clock-frequency = <0>; [all …]
|
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 | exynos4412-origen.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. 12 /dts-v1/; 14 #include <dt-bindings/clock/samsung,s2mps11.h> 15 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/input/input.h> 17 #include "exynos-mfc-reserved-memory.dtsi" 34 stdout-path = "serial2:115200n8"; 38 compatible = "samsung,secure-firmware"; 42 mmc_reg: regulator-0 { [all …]
|
H A D | exynos4212-tab3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include "exynos4412-ppmu-common.dtsi" 12 #include "exynos-mfc-reserved-memory.dtsi" 13 #include <dt-bindings/clock/samsung,s2mps11.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/leds/common.h> 16 #include <dt-bindings/input/gpio-keys.h> 17 #include <dt-bindings/input/input.h> 18 #include <dt-bindings/interrupt-controller/irq.h> [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 …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | exynos5250-spring.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> 48 samsung,bl1-offset = <0x1400>; 49 samsung,bl2-offset = <0x3400>; 50 u-boot-memory = "/memory"; 51 u-boot-offset = <0x3e00000 0x100000>; 56 #address-cells = <1>; [all …]
|
/openbmc/u-boot/drivers/power/pmic/ |
H A D | s5m8767.c | 1 // SPDX-License-Identifier: GPL-2.0+ 11 #include <power/pmic.h> 13 #include <power/s5m8767.h> 31 return -EIO; in s5m8767_write() 41 return -EIO; in s5m8767_read() 60 dev->name); in s5m8767_bind() 61 return -ENXIO; in s5m8767_bind() 64 debug("%s: '%s' - found regulators subnode\n", __func__, dev->name); in s5m8767_bind() 68 debug("%s: %s - no child found\n", __func__, dev->name); in s5m8767_bind() 81 { .compatible = "samsung,s5m8767-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 | 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/clock/ |
H A D | samsung,s2mps11.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). 16 The S2MPS11/13/15 and S5M8767 provide three(AP/CP/BT) buffered 32.768 kHz 20 dt-bindings/clock/samsung,s2mps11.h header. 28 - samsung,s2mps11-clk 29 - samsung,s2mps13-clk # S2MPS13 and S2MPS15 30 - samsung,s2mps14-clk [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 …]
|
H A D | s5m8767.c | 1 // SPDX-License-Identifier: GPL-2.0+ 11 #include <power/pmic.h> 13 #include <power/s5m8767.h> 47 * | voltage ----| | enable -| voltage 102 ret = pmic_reg_read(dev->parent, param->vol_addr); in reg_get_value() 106 desc = param->vol; in reg_get_value() 107 val = (ret >> param->vol_bitpos) & param->vol_bitmask; in reg_get_value() 108 uv = desc->min + val * desc->step; in reg_get_value() 119 desc = param->vol; in reg_set_value() 120 if (uv < desc->min || uv > desc->max) in reg_set_value() [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> 30 #include <power/s5m8767.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()
|
/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 …]
|
/openbmc/linux/ |
H A D | opengrok0.0.log | 1 2024-12-28 20:09:05.996-0600 FINEST t1171 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/linux/drivers/staging/media/av7110/video-continue.rst.gz' 2 2024-12-28 20:09:05.942-0600 FINEST t1149 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/u-boot/arch/sh/config.mk.gz' 3 2024-12-2 [all...] |
H A D | opengrok1.0.log | 1 2024-12-28 20:07:11.902-0600 FINER t583 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' 2 2024-12-28 20:07:11.913-0600 FINEST t583 Statistics.logIt: Added: '/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' (CAnalyzer) (took 116 ms) 3 2024-12-28 20:07:11.899-0600 FINER t593 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/tools/testing/selftests/powerpc/tm/tm-signa [all...] |
H A D | opengrok2.0.log | 1 2024-12-28 20:05:26.116-0600 FINEST t586 Statistics.logIt: Added: '/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/rtnetlink.sh' (ShAnalyzer) (took 79 ms) 2 2024-12-28 20:05:26.112-0600 FINER t592 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/qemu',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/qemu/chardev/spice.c' 3 2024-12-28 20:05:26.116-0600 FINEST t592 Statistics.logIt: Added: '/openbmc/qemu/chardev/spice.c' (CAnalyzer) (took 33 ms) 4 2024-1 [all...] |