/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/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/mfd/ |
H A D | sec-common.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2012 Samsung Electronics Co., Ltd 4 * http://www.samsung.com 7 * Samsung SxM core driver 15 #include <linux/mfd/samsung/core.h> 16 #include <linux/mfd/samsung/irq.h> 17 #include <linux/mfd/samsung/s2mps11.h> 18 #include <linux/mfd/samsung/s2mps13.h> 24 #include "sec-core.h" 27 MFD_CELL_NAME("s5m8767-pmic"), [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 …]
|
/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> 26 #include <linux/platform_data/s3c-hsotg.h> 35 #include "gpio-samsung.h" 36 #include "gpio-cfg.h" 41 #include <linux/platform_data/i2c-s3c2410.h> 43 #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/pmdomain/thead/ |
H A D | th1520-pm-domains.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (c) 2024 Samsung Electronics Co., Ltd. 5 * Author: Michal Wilczynski <m.wilczynski@samsung.com> 9 #include <linux/firmware/thead/thead,th1520-aon.h> 14 #include <dt-bindings/power/thead,th1520-power.h> 53 struct th1520_power_domain *pd = to_th1520_power_domain(domain); in th1520_pd_power_on() local 55 return th1520_aon_power_update(pd->aon_chan, pd->rsrc, true); in th1520_pd_power_on() 60 struct th1520_power_domain *pd = to_th1520_power_domain(domain); in th1520_pd_power_off() local 62 return th1520_aon_power_update(pd->aon_chan, pd->rsrc, false); in th1520_pd_power_off() 68 struct generic_pm_domain *domain = ERR_PTR(-ENOENT); in th1520_pd_xlate() [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 …]
|
/linux/arch/arm64/boot/dts/exynos/google/ |
H A D | gs101-pixel-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Device Tree nodes common for all GS101-based Pixel 5 * Copyright 2021-2023 Google LLC 6 * Copyright 2023 Linaro Ltd - <peter.griffin@linaro.org> 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/usb/pd.h> 14 #include "gs101-pinctrl.h" 25 stdout-path = &serial_0; [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/arch/arm64/boot/dts/freescale/ |
H A D | imx93-tqma9352-mba93xxla.dts | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) 3 * Copyright (c) 2022-2024 TQ-Systems GmbH <linux@ew.tq-group.com>, 4 * D-82229 Seefeld, Germany. 8 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/net/ti-dp83867.h> 13 #include <dt-bindings/pwm/pwm.h> 14 #include <dt-bindings/usb/pd.h> 15 #include "imx93-tqma9352.dtsi" [all …]
|
H A D | imx93-tqma9352-mba91xxca.dts | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) 3 * Copyright (c) 2022-2025 TQ-Systems GmbH <linux@ew.tq-group.com>, 4 * D-82229 Seefeld, Germany. 8 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/net/ti-dp83867.h> 13 #include <dt-bindings/pwm/pwm.h> 14 #include <dt-bindings/usb/pd.h> 15 #include "imx93-tqma9352.dtsi" [all …]
|
H A D | imx93-tqma9352-mba93xxca.dts | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) 3 * Copyright (c) 2022-2024 TQ-Systems GmbH <linux@ew.tq-group.com>, 4 * D-82229 Seefeld, Germany. 8 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/net/ti-dp83867.h> 13 #include <dt-bindings/pwm/pwm.h> 15 #include "imx93-tqma9352.dtsi" 18 model = "TQ-Systems i.MX93 TQMa93xxLA/TQMa93xxCA on MBa93xxCA starter kit"; [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 …]
|