Home
last modified time | relevance | path

Searched +full:pd +full:- +full:samsung (Results 1 – 25 of 61) sorted by relevance

123

/openbmc/linux/Documentation/devicetree/bindings/power/
H A Dpd-samsung.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/pd-samsung.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Samsung Exynos SoC Power Domains
10 - Krzysztof Kozlowski <krzk@kernel.org>
17 - $ref: power-domain.yaml#
22 - samsung,exynos4210-pd
23 - samsung,exynos5433-pd
32 clock-names:
[all …]
/openbmc/linux/drivers/pmdomain/samsung/
H A Dexynos-pm-domains.c1 // SPDX-License-Identifier: GPL-2.0
5 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
6 // http://www.samsung.com
9 // conjunction with runtime-pm. Support for both device-tree and non-device-tree
32 struct generic_pm_domain pd; member
38 struct exynos_pm_domain *pd; in exynos_pd_power() local
43 pd = container_of(domain, struct exynos_pm_domain, pd); in exynos_pd_power()
44 base = pd->base; in exynos_pd_power()
46 pwr = power_on ? pd->local_pwr_cfg : 0; in exynos_pd_power()
52 while ((readl_relaxed(base + 0x4) & pd->local_pwr_cfg) != pwr) { in exynos_pd_power()
[all …]
/openbmc/linux/arch/arm/mach-s3c/
H A Ddevs.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (c) 2011 Samsung Electronics Co., Ltd.
4 // http://www.samsung.com
6 // Base Samsung platform device definitions
21 #include <linux/dma-mapping.h>
27 #include <linux/platform_data/s3c-hsotg.h>
36 #include "gpio-samsung.h"
37 #include "gpio-cfg.h"
42 #include <linux/platform_data/i2c-s3c2410.h>
44 #include "pwm-core.h"
[all …]
H A Dkeypad.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Samsung Platform - Keypad platform data definitions
5 * Copyright (C) 2010 Samsung Electronics Co.Ltd
6 * Author: Joonyoung Shim <jy0922.shim@samsung.com>
12 #include <linux/input/samsung-keypad.h>
15 * samsung_keypad_set_platdata - Set platform data for Samsung Keypad device.
16 * @pd: Platform data to register to device.
18 * Register the given platform data for use with Samsung Keypad device.
22 extern void samsung_keypad_set_platdata(struct samsung_keypad_platdata *pd);
H A Dsdhci.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (c) 2011 Samsung Electronics Co., Ltd.
4 * http://www.samsung.com
11 * S3C Platform - SDHCI (HSMMC) platform data definitions
17 #include <linux/platform_data/mmc-sdhci-s3c.h>
20 /* s3c_sdhci_set_platdata() - common helper for setting SDHCI platform data
21 * @pd: The default platform data for this device.
24 extern void s3c_sdhci_set_platdata(struct s3c_sdhci_platdata *pd,
28 * s3c_sdhci0_set_platdata - Set platform data for S3C SDHCI device.
29 * @pd: Platform data to register to device.
[all …]
H A Ddevs.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (c) 2011 Samsung Electronics Co., Ltd.
4 * http://www.samsung.com
46 * s3c_set_platdata() - helper for setting platform data
47 * @pd: The default platform data for this device.
54 extern void *s3c_set_platdata(void *pd, size_t pdsize,
H A Dpwm-core.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Samsung PWM controller platform data helpers.
14 extern void samsung_pwm_set_platdata(struct samsung_pwm_variant *pd);
16 static inline void samsung_pwm_set_platdata(struct samsung_pwm_variant *pd) { } in samsung_pwm_set_platdata() argument
H A Dpm-s3c64xx.c1 // SPDX-License-Identifier: GPL-2.0
23 #include "wakeup-mask.h"
25 #include "regs-gpio.h"
26 #include "regs-clock.h"
27 #include "gpio-samsung.h"
29 #include "regs-gpio-memport-s3c64xx.h"
30 #include "regs-modem-s3c64xx.h"
31 #include "regs-sys-s3c64xx.h"
32 #include "regs-syscon-power-s3c64xx.h"
38 struct generic_pm_domain pd; member
[all …]
/openbmc/linux/drivers/mfd/
H A Dsec-core.c1 // SPDX-License-Identifier: GPL-2.0+
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd
4 // http://www.samsung.com
17 #include <linux/mfd/samsung/core.h>
18 #include <linux/mfd/samsung/irq.h>
19 #include <linux/mfd/samsung/s2mpa01.h>
20 #include <linux/mfd/samsung/s2mps11.h>
21 #include <linux/mfd/samsung/s2mps13.h>
22 #include <linux/mfd/samsung/s2mps14.h>
23 #include <linux/mfd/samsung/s2mps15.h>
[all …]
H A Dmax8998.c1 // SPDX-License-Identifier: GPL-2.0+
3 // max8998.c - mfd core driver for the Maxim 8998
5 // Copyright (C) 2009-2010 Samsung Electronics
6 // Kyungmin Park <kyungmin.park@samsung.com>
7 // Marek Szyprowski <m.szyprowski@samsung.com>
20 #include <linux/mfd/max8998-private.h>
26 .name = "max8998-pmic",
28 .name = "max8998-rtc",
30 .name = "max8998-battery",
36 .name = "lp3974-pmic",
[all …]
/openbmc/linux/drivers/regulator/
H A Dmax8952.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * max8952.c - Voltage and current regulation for the Maxim 8952
5 * Copyright (C) 2010 Samsung Electronics
6 * MyungJoo Ham <myungjoo.ham@samsung.com>
46 int ret = i2c_smbus_read_byte_data(max8952->client, reg); in max8952_read_reg()
57 return i2c_smbus_write_byte_data(max8952->client, reg, value); in max8952_write_reg()
66 return -EINVAL; in max8952_list_voltage()
68 return (max8952->pdata->dvs_mode[selector] * 10 + 770) * 1000; in max8952_list_voltage()
76 if (max8952->vid0) in max8952_get_voltage_sel()
78 if (max8952->vid1) in max8952_get_voltage_sel()
[all …]
/openbmc/linux/arch/arm/boot/dts/samsung/
H A Dexynos4.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung's Exynos4 SoC series common device tree source
5 * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com
7 * Copyright (c) 2010-2011 Linaro Ltd.
10 * Samsung's Exynos4 SoC series device nodes are listed in this file. Particular
19 #include <dt-bindings/clock/exynos4.h>
20 #include <dt-bindings/clock/exynos-audss-clk.h>
21 #include <dt-bindings/interrupt-controller/arm-gic.h>
22 #include <dt-bindings/interrupt-controller/irq.h>
[all …]
H A Dexynos5420.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung Exynos5420 SoC device tree source
5 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com
8 * Samsung Exynos5420 SoC device nodes are listed in this file.
14 #include <dt-bindings/clock/exynos5420.h>
15 #include <dt-bindings/clock/exynos-audss-clk.h>
16 #include <dt-bindings/interrupt-controller/arm-gic.h>
19 compatible = "samsung,exynos5420", "samsung,exynos5";
37 bus_disp1: bus-disp1 {
[all …]
H A Dexynos3250.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung's Exynos3250 SoC device tree source
5 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com
8 * Samsung's Exynos3250 SoC device nodes are listed in this file. Exynos3250
17 #include "exynos4-cpu-thermal.dtsi"
18 #include <dt-bindings/clock/exynos3250.h>
19 #include <dt-bindings/interrupt-controller/arm-gic.h>
20 #include <dt-bindings/interrupt-controller/irq.h>
23 compatible = "samsung,exynos3250";
[all …]
H A Dexynos5250.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung Exynos5250 SoC device tree source
5 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com
8 * Samsung Exynos5250 SoC device nodes are listed in this file.
17 #include <dt-bindings/clock/exynos5250.h>
19 #include "exynos4-cpu-thermal.dtsi"
20 #include <dt-bindings/clock/exynos-audss-clk.h>
23 compatible = "samsung,exynos5250", "samsung,exynos5";
46 #address-cells = <1>;
[all …]
H A Dexynos5800.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung Exynos5800 SoC device tree source
5 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com
8 * Samsung Exynos5800 SoC device nodes are listed in this file.
16 compatible = "samsung,exynos5800", "samsung,exynos5";
20 compatible = "samsung,exynos5800-clock", "syscon";
24 opp-2000000000 {
25 opp-hz = /bits/ 64 <2000000000>;
26 opp-microvolt = <1312500 1312500 1500000>;
[all …]
/openbmc/linux/Documentation/devicetree/bindings/connector/
H A Dusb-connector.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/connector/usb-connector.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
20 - enum:
21 - usb-a-connector
22 - usb-b-connector
23 - usb-c-connector
25 - items:
[all …]
/openbmc/linux/arch/arm64/boot/dts/exynos/
H A Dexynos5433.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung's Exynos5433 SoC device tree source
5 * Copyright (c) 2016 Samsung Electronics Co., Ltd.
7 * Samsung's Exynos5433 SoC device nodes are listed in this file.
16 #include <dt-bindings/clock/exynos5433.h>
17 #include <dt-bindings/interrupt-controller/arm-gic.h>
20 compatible = "samsung,exynos5433";
21 #address-cells = <2>;
22 #size-cells = <2>;
24 interrupt-parent = <&gic>;
[all …]
/openbmc/linux/drivers/video/backlight/
H A Dlms501kf03.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
6 * Author: Jingoo Han <jg1.han@samsung.com>
118 return spi_sync(lcd->spi, &msg); in lms501kf03_spi_write_byte()
215 struct lcd_platform_data *pd; in lms501kf03_power_on() local
217 pd = lcd->lcd_pd; in lms501kf03_power_on()
219 if (!pd->power_on) { in lms501kf03_power_on()
220 dev_err(lcd->dev, "power_on is NULL.\n"); in lms501kf03_power_on()
221 return -EINVAL; in lms501kf03_power_on()
224 pd->power_on(lcd->ld, 1); in lms501kf03_power_on()
[all …]
H A Dams369fg06.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 2011 Samsung Electronics Co., Ltd.
6 * Author: Jingoo Han <jg1.han@samsung.com>
173 return spi_sync(lcd->spi, &msg); in ams369fg06_spi_write_byte()
219 dev_err(lcd->dev, "failed to set gamma table.\n"); in _ams369fg06_gamma_ctl()
309 struct lcd_platform_data *pd; in ams369fg06_power_on() local
312 pd = lcd->lcd_pd; in ams369fg06_power_on()
313 bd = lcd->bd; in ams369fg06_power_on()
315 if (pd->power_on) { in ams369fg06_power_on()
316 pd->power_on(lcd->ld, 1); in ams369fg06_power_on()
[all …]
/openbmc/u-boot/arch/arm/mach-exynos/include/mach/
H A Dpwm_backlight.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (C) 2012 Samsung Electronics
5 * Author: Donghwa Lee <dh09.lee@samsung.com>
18 extern int exynos_pwm_backlight_init(struct pwm_backlight_data *pd);
/openbmc/u-boot/arch/arm/dts/
H A Dexynos4x12.dtsi2 * Samsung's Exynos4x12 SoCs device tree source
4 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
7 * Samsung's Exynos4x12 SoCs device nodes are listed in this file. Exynos4x12
21 #include "exynos4x12-pinctrl.dtsi"
22 #include "exynos4x12-pinctrl-uboot.dtsi"
32 pd_isp: isp-power-domain@10023CA0 {
33 compatible = "samsung,exynos4210-pd";
37 clock: clock-controller@10030000 {
38 compatible = "samsung,exynos4412-clock";
[all …]
H A Dexynos4210.dtsi2 * Samsung's Exynos4210 SoC device tree source
4 * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
6 * Copyright (c) 2010-2011 Linaro Ltd.
9 * Samsung's Exynos4210 SoC device nodes are listed in this file. Exynos4210
23 #include "exynos4210-pinctrl.dtsi"
24 #include "exynos4210-pinctrl-uboot.dtsi"
27 compatible = "samsung,exynos4210";
35 pd_lcd1: lcd1-power-domain@10023CA0 {
36 compatible = "samsung,exynos4210-pd";
[all …]
/openbmc/linux/Documentation/devicetree/bindings/iommu/
H A Dsamsung,sysmmu.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/iommu/samsung,sysmmu.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Samsung Exynos IOMMU H/W, System MMU (System Memory Management Unit)
10 - Marek Szyprowski <m.szyprowski@samsung.com>
13 Samsung's Exynos architecture contains System MMUs that enables scattered
14 physical memory chunks visible as a contiguous region to DMA-capable peripheral
15 devices like MFC, FIMC, FIMD, GScaler, FIMC-IS and so forth.
20 another capabilities like L2 TLB or block-fetch buffers to minimize translation
[all …]
/openbmc/u-boot/drivers/video/exynos/
H A Dexynos_pwm_bl.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Author: Donghwa Lee <dh09.lee@samsung.com>
23 int brightness = pwm->brightness; in exynos_pwm_backlight_update_status()
24 int max = pwm->max_brightness; in exynos_pwm_backlight_update_status()
27 pwm_config(pwm->pwm_id, 0, pwm->period); in exynos_pwm_backlight_update_status()
28 pwm_disable(pwm->pwm_id); in exynos_pwm_backlight_update_status()
30 pwm_config(pwm->pwm_id, in exynos_pwm_backlight_update_status()
31 brightness * pwm->period / max, pwm->period); in exynos_pwm_backlight_update_status()
32 pwm_enable(pwm->pwm_id); in exynos_pwm_backlight_update_status()
37 int exynos_pwm_backlight_init(struct pwm_backlight_data *pd) in exynos_pwm_backlight_init() argument
[all …]

123