/linux/Documentation/devicetree/bindings/power/ |
H A D | pd-samsung.yaml | 1 # 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 …]
|
/linux/drivers/pmdomain/samsung/ |
H A D | exynos-pm-domains.c | 1 // 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 …]
|
/linux/arch/arm/mach-s3c/ |
H A D | devs.c | 1 // 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 D | keypad.h | 1 /* 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 D | sdhci.h | 1 /* 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 D | devs.h | 1 /* 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 D | pwm-core.h | 1 /* 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 D | pm-s3c64xx.c | 1 // 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 …]
|
/linux/drivers/mfd/ |
H A D | sec-core.c | 1 // 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 D | max8998.c | 1 // 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 …]
|
H A D | max8997.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // max8997.c - mfd core driver for the Maxim 8966 and 8997 5 // Copyright (C) 2011 Samsung Electronics 6 // MyungJoo Ham <myungjoo.ham@samsung.com> 21 #include <linux/mfd/max8997-private.h> 30 { .name = "max8997-pmic", }, 31 { .name = "max8997-rtc", }, 32 { .name = "max8997-battery", }, 33 { .name = "max8997-haptic", }, 34 { .name = "max8997-muic", }, [all …]
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos4.dtsi | 1 // 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 D | exynos5420.dtsi | 1 // 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 D | exynos3250.dtsi | 1 // 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 D | exynos5250.dtsi | 1 // 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 D | exynos5800.dtsi | 1 // 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 …]
|
H A D | exynos4210.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Samsung's Exynos4210 SoC 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 Exynos4210 SoC device nodes are listed in this file. Exynos4210 20 #include "exynos4-cpu-thermal.dtsi" 23 compatible = "samsung,exynos4210", "samsung,exynos4"; 31 bus_acp: bus-acp { 32 compatible = "samsung,exynos-bus"; [all …]
|
H A D | exynos4x12.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Samsung's Exynos4412 SoC device tree source 5 * Copyright (c) 2012 Samsung Electronics Co., Ltd. 6 * http://www.samsung.com 8 * Samsung's Exynos4x12 SoC series device nodes are listed in this file. 19 #include "exynos4-cpu-thermal.dtsi" 27 fimc-lite0 = &fimc_lite_0; 28 fimc-lite1 = &fimc_lite_1; 31 bus_acp: bus-acp { 32 compatible = "samsung,exynos-bus"; [all …]
|
/linux/drivers/regulator/ |
H A D | max8952.c | 1 // 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 …]
|
/linux/arch/arm64/boot/dts/exynos/ |
H A D | exynos5433.dtsi | 1 // 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 …]
|
/linux/drivers/video/backlight/ |
H A D | lms501kf03.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2012 Samsung Electronics Co., Ltd. 6 * Author: Jingoo Han <jg1.han@samsung.com> 116 return spi_sync(lcd->spi, &msg); in lms501kf03_spi_write_byte() 213 struct lcd_platform_data *pd; in lms501kf03_power_on() local 215 pd = lcd->lcd_pd; in lms501kf03_power_on() 217 if (!pd->power_on) { in lms501kf03_power_on() 218 dev_err(lcd->dev, "power_on is NULL.\n"); in lms501kf03_power_on() 219 return -EINVAL; in lms501kf03_power_on() 222 pd->power_on(lcd->ld, 1); in lms501kf03_power_on() [all …]
|
H A D | ams369fg06.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2011 Samsung Electronics Co., Ltd. 6 * Author: Jingoo Han <jg1.han@samsung.com> 172 return spi_sync(lcd->spi, &msg); in ams369fg06_spi_write_byte() 218 dev_err(lcd->dev, "failed to set gamma table.\n"); in _ams369fg06_gamma_ctl() 308 struct lcd_platform_data *pd; in ams369fg06_power_on() local 311 pd = lcd->lcd_pd; in ams369fg06_power_on() 312 bd = lcd->bd; in ams369fg06_power_on() 314 if (pd->power_on) { in ams369fg06_power_on() 315 pd->power_on(lcd->ld, 1); in ams369fg06_power_on() [all …]
|
/linux/Documentation/devicetree/bindings/iommu/ |
H A D | samsung,sysmmu.yaml | 1 # 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 …]
|
/linux/drivers/clk/samsung/ |
H A D | clk-exynos5-subcmu.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (c) 2018 Samsung Electronics Co., Ltd. 4 // Author: Marek Szyprowski <m.szyprowski@samsung.com> 5 // Common Clock Framework support for Exynos5 power-domain dependent clocks 14 #include "clk-exynos5-subcmu.h" 24 for (; num_regs > 0; --num_regs, ++rd) { in exynos5_subcmu_clk_save() 25 rd->save = readl(base + rd->offset); in exynos5_subcmu_clk_save() 26 writel((rd->save & ~rd->mask) | rd->value, base + rd->offset); in exynos5_subcmu_clk_save() 27 rd->save &= rd->mask; in exynos5_subcmu_clk_save() 35 for (; num_regs > 0; --num_regs, ++rd) in exynos5_subcmu_clk_restore() [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mn-var-som-symphony.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright 2019-2020 Variscite Ltd. 9 /dts-v1/; 11 #include <dt-bindings/usb/pd.h> 12 #include "imx8mn-var-som.dtsi" 15 model = "Variscite VAR-SOM-MX8MN Symphony evaluation board"; 16 compatible = "variscite,var-som-mx8mn-symphony", "variscite,var-som-mx8mn", "fsl,imx8mn"; 18 reg_usdhc2_vmmc: regulator-usdhc2-vmmc { 19 compatible = "regulator-fixed"; 20 pinctrl-names = "default"; [all …]
|