/linux/drivers/staging/sm750fb/ |
H A D | ddk750_power.c | 1 // SPDX-License-Identifier: GPL-2.0 30 * On hardware reset, power mode 0 is default. 58 /* Set up other fields in Power Control Register */ in sm750_set_power_mode() 71 /* Program new power mode. */ in sm750_set_power_mode() 75 void sm750_set_current_gate(unsigned int gate) in sm750_set_current_gate() argument 78 poke32(MODE1_GATE, gate); in sm750_set_current_gate() 80 poke32(MODE0_GATE, gate); in sm750_set_current_gate() 88 u32 gate; in sm750_enable_2d_engine() local 90 gate = peek32(CURRENT_GATE); in sm750_enable_2d_engine() 92 gate |= (CURRENT_GATE_DE | CURRENT_GATE_CSC); in sm750_enable_2d_engine() [all …]
|
/linux/Documentation/devicetree/bindings/phy/ |
H A D | samsung,usb3-drd-phy.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/samsung,usb3-drd-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 11 - Marek Szyprowski <m.szyprowski@samsung.com> 12 - Sylwester Nawrocki <s.nawrocki@samsung.com> 15 For samsung,exynos5250-usbdrd-phy and samsung,exynos5420-usbdrd-phy 18 0 - UTMI+ type phy, 19 1 - PIPE3 type phy. [all …]
|
/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | rockchip,rk3399-dmc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/rockchip,rk3399-dmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Brian Norris <briannorris@chromium.org> 15 - rockchip,rk3399-dmc 17 devfreq-events: 26 clock-names: 28 - const: dmc_clk 30 operating-points-v2: true [all …]
|
/linux/Documentation/devicetree/bindings/display/samsung/ |
H A D | samsung,exynos-hdmi.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/display/samsung/samsung,exynos-hdmi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Inki Dae <inki.dae@samsung.com> 11 - Seung-Woo Kim <sw0312.kim@samsung.com> 12 - Kyungmin Park <kyungmin.park@samsung.com> 13 - Krzysztof Kozlowski <krzk@kernel.org> 18 - samsung,exynos4210-hdmi 19 - samsung,exynos4212-hdmi [all …]
|
/linux/Documentation/devicetree/bindings/clock/ti/ |
H A D | dpll.txt | 4 register-mapped DPLL with usually two selectable input clocks 8 modes (locked, low power stop etc.) This binding has several 9 sub-types, which effectively result in slightly different setup 12 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt 15 - compatible : shall be one of: 16 "ti,omap3-dpll-clock", 17 "ti,omap3-dpll-core-clock", 18 "ti,omap3-dpll-per-clock", 19 "ti,omap3-dpll-per-j-type-clock", 20 "ti,omap4-dpll-clock", [all …]
|
/linux/drivers/clk/samsung/ |
H A D | clk-exynos4412-isp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <dt-bindings/clock/exynos4.h> 12 #include <linux/clk-provider.h> 19 /* Exynos4x12 specific registers, which belong to ISP power domain */ 51 GATE(CLK_ISP_FIMC_ISP, "isp", "aclk200", E4X12_GATE_ISP0, 0, 0, 0), 52 GATE(CLK_ISP_FIMC_DRC, "drc", "aclk200", E4X12_GATE_ISP0, 1, 0, 0), 53 GATE(CLK_ISP_FIMC_FD, "fd", "aclk200", E4X12_GATE_ISP0, 2, 0, 0), 54 GATE(CLK_ISP_FIMC_LITE0, "lite0", "aclk200", E4X12_GATE_ISP0, 3, 0, 0), 55 GATE(CLK_ISP_FIMC_LITE1, "lite1", "aclk200", E4X12_GATE_ISP0, 4, 0, 0), 56 GATE(CLK_ISP_MCUISP, "mcuisp", "aclk200", E4X12_GATE_ISP0, 5, 0, 0), [all …]
|
/linux/drivers/clk/mxs/ |
H A D | clk-pll.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 #include <linux/clk-provider.h> 14 * struct clk_pll - mxs pll clock 17 * @power: the shift of power bit 20 * The mxs pll is a fixed rate clock with power and gate control, 21 * and the shift of gate bit is always 31. 26 u8 power; member 36 writel_relaxed(1 << pll->power, pll->base + SET); in clk_pll_prepare() 47 writel_relaxed(1 << pll->power, pll->base + CLR); in clk_pll_unprepare() 54 writel_relaxed(1 << 31, pll->base + CLR); in clk_pll_enable() [all …]
|
/linux/drivers/media/tuners/ |
H A D | fc0013.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2012 Hans-Frieder Vogt <hfvogt@gmx.net> 11 #include "fc0013-priv.h" 17 .addr = priv->addr, .flags = 0, .buf = buf, .len = 2 in fc0013_writereg() 20 if (i2c_transfer(priv->i2c, &msg, 1) != 1) { in fc0013_writereg() 22 return -EREMOTEIO; in fc0013_writereg() 30 { .addr = priv->addr, .flags = 0, .buf = ®, .len = 1 }, in fc0013_readreg() 31 { .addr = priv->addr, .flags = I2C_M_RD, .buf = val, .len = 1 }, in fc0013_readreg() 34 if (i2c_transfer(priv->i2c, msg, 2) != 2) { in fc0013_readreg() 36 return -EREMOTEIO; in fc0013_readreg() [all …]
|
H A D | fc0012.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2012 Hans-Frieder Vogt <hfvogt@gmx.net> 9 #include "fc0012-priv.h" 15 .addr = priv->cfg->i2c_address, .flags = 0, .buf = buf, .len = 2 in fc0012_writereg() 18 if (i2c_transfer(priv->i2c, &msg, 1) != 1) { in fc0012_writereg() 19 dev_err(&priv->i2c->dev, in fc0012_writereg() 22 return -EREMOTEIO; in fc0012_writereg() 30 { .addr = priv->cfg->i2c_address, .flags = 0, in fc0012_readreg() 32 { .addr = priv->cfg->i2c_address, .flags = I2C_M_RD, in fc0012_readreg() 36 if (i2c_transfer(priv->i2c, msg, 2) != 2) { in fc0012_readreg() [all …]
|
/linux/drivers/clk/x86/ |
H A D | clk-cgu.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2020-2022 MaxLinear, Inc. 8 #include <linux/clk-provider.h> 12 #include "clk-cgu.h" 29 if (list->div_flags & CLOCK_FLAG_VAL_INIT) in lgm_clk_register_fixed() 30 lgm_set_clk_val(ctx->membase, list->div_off, list->div_shift, in lgm_clk_register_fixed() 31 list->div_width, list->div_val); in lgm_clk_register_fixed() 33 return clk_hw_register_fixed_rate(NULL, list->name, in lgm_clk_register_fixed() 34 list->parent_data[0].name, in lgm_clk_register_fixed() 35 list->flags, list->mux_flags); in lgm_clk_register_fixed() [all …]
|
/linux/include/dt-bindings/clock/ |
H A D | tegra234-clock.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright (c) 2018-2022, NVIDIA CORPORATION. All rights reserved. */ 14 /** @brief output of gate CLK_ENB_ADSP */ 16 /** @brief output of gate CLK_ENB_ADSPNEON */ 20 /** @brief output of gate CLK_ENB_APB2APE */ 30 /** @brief output of gate CLK_ENB_CAN1_HOST */ 34 /** @brief output of gate CLK_ENB_CAN2_HOST */ 46 /** @brief output of gate CLK_ENB_DPAUX */ 78 * throughput and memory controller power. 85 /** @brief output of gate CLK_ENB_EQOS_RX */ [all …]
|
H A D | hi6220-clock.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 41 /* gate clocks */ 60 /* gate clock */ 124 /* gate clock */ 130 /* gate clocks */ 161 /* clk in Hi6220 power controller */ 162 /* gate clocks */
|
/linux/Documentation/devicetree/bindings/clock/ |
H A D | imx8qxp-lpcg.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/imx8qxp-lpcg.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP i.MX8QXP LPCG (Low-Power Clock Gating) Clock 10 - Aisheng Dong <aisheng.dong@nxp.com> 13 The Low-Power Clock Gate (LPCG) modules contain a local programming 15 is used to locally gate the clocks for the associated peripheral. 24 include/dt-bindings/clock/imx8-lpcg.h 29 - const: fsl,imx8qxp-lpcg [all …]
|
/linux/drivers/clk/pxa/ |
H A D | clk-pxa.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 92 * - a low power parent 93 * - a normal parent 95 * +------------+ +-----------+ 96 * | Low Power | --- | x mult_lp | 98 * +------------+ +-----------+ \+-----+ +-----------+ 99 * | Mux |---| CKEN gate | 100 * +------------+ +-----------+ /+-----+ +-----------+ 101 * | High Power | | x mult_hp |/ 102 * | Clock | --- | / div_hp | [all …]
|
/linux/Documentation/devicetree/bindings/pci/ |
H A D | hisilicon-histb-pcie.txt | 6 Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml. 11 - compatible: Should be one of the following strings: 12 "hisilicon,hi3798cv200-pcie" 13 - reg: Should contain sysctl, rc_dbi, config registers location and length. 14 - reg-names: Must include the following entries: 16 "rc-dbi": configuration space of PCIe controller; 18 - bus-range: PCI bus numbers covered. 19 - interrupts: MSI interrupt. 20 - interrupt-names: Must include "msi" entries. 21 - clocks: List of phandle and clock specifier pairs as listed in clock-names [all …]
|
/linux/drivers/gpu/drm/hisilicon/hibmc/ |
H A D | hibmc_drm_de.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 60 struct drm_framebuffer *fb = new_plane_state->fb; in hibmc_plane_atomic_check() 61 struct drm_crtc *crtc = new_plane_state->crtc; in hibmc_plane_atomic_check() 63 u32 src_w = new_plane_state->src_w >> 16; in hibmc_plane_atomic_check() 64 u32 src_h = new_plane_state->src_h >> 16; in hibmc_plane_atomic_check() 73 if (src_w != new_plane_state->crtc_w || src_h != new_plane_state->crtc_h) { in hibmc_plane_atomic_check() 74 drm_dbg_atomic(plane->dev, "scale not support\n"); in hibmc_plane_atomic_check() 75 return -EINVAL; in hibmc_plane_atomic_check() 78 if (new_plane_state->crtc_x < 0 || new_plane_state->crtc_y < 0) { in hibmc_plane_atomic_check() 79 drm_dbg_atomic(plane->dev, "crtc_x/y of drm_plane state is invalid\n"); in hibmc_plane_atomic_check() [all …]
|
H A D | hibmc_drm_drv.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 38 status = readl(priv->mmio + HIBMC_RAW_INTERRUPT); in hibmc_interrupt() 42 priv->mmio + HIBMC_RAW_INTERRUPT); in hibmc_interrupt() 96 struct drm_device *dev = &priv->dev; in hibmc_kms_init() 103 dev->mode_config.min_width = 0; in hibmc_kms_init() 104 dev->mode_config.min_height = 0; in hibmc_kms_init() 105 dev->mode_config.max_width = 1920; in hibmc_kms_init() 106 dev->mode_config.max_height = 1200; in hibmc_kms_init() 108 dev->mode_config.preferred_depth = 24; in hibmc_kms_init() 109 dev->mode_config.prefer_shadow = 1; in hibmc_kms_init() [all …]
|
/linux/arch/arm/mach-tegra/ |
H A D | platsmp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-tegra/platsmp.c 26 #include <asm/mach-types.h> 50 * power-gated via the flow controller). This will have no in tegra20_boot_secondary() 58 * power-gate the CPU this will cause the flow controller to in tegra20_boot_secondary() 80 * The power up sequence of cold boot CPU and warm boot CPU in tegra30_boot_secondary() 84 * power will be resumed automatically after un-halting the in tegra30_boot_secondary() 103 * The power status of the cold boot CPU is power gated as in tegra30_boot_secondary() 104 * default. To power up the cold boot CPU, the power should in tegra30_boot_secondary() 105 * be un-gated by un-toggling the power gate register in tegra30_boot_secondary() [all …]
|
/linux/Documentation/trace/coresight/ |
H A D | coresight-ect.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 -------------------- 21 0 C 0----------->: : +======>(other CTI channel IO) 22 0 P 0<-----------: : v 24 0000000 : CTI :<=========>*CTM*<====>: CTI :---+ 25 ####### in_trigs : : (id 0-3) ***** ::::::: v 26 # ETM #----------->: : ^ ####### 27 # #<-----------: : +---# ETR # 35 channel gate. 42 attached CTIs will also be enabled. By default/on power up the CTIs have [all …]
|
/linux/arch/arm/boot/dts/intel/pxa/ |
H A D | pxa300-raumfeld-speaker-one.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 /dts-v1/; 5 #include "pxa300-raumfeld-common.dtsi" 9 compatible = "raumfeld,raumfeld-speaker-one-pxa303", "marvell,pxa300"; 13 #sound-dai-cells = <0>; 14 Vdd-supply = <®_3v3>; 15 Vdda-supply = <®_va_5v0>; 18 xo_11mhz: oscillator-11mhz { 19 compatible = "fixed-clock"; 20 #clock-cells = <0>; [all …]
|
/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-gxbb-wetek.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include "meson-gxbb.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/leds/common.h> 19 stdout-path = "serial0:115200n8"; 28 compatible = "gpio-leds"; 30 led-power { 31 /* red in suspend or power-off */ 35 default-state = "on"; 36 panic-indicator; [all …]
|
H A D | meson-gxl-s905x-p212.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * Based on meson-gx-p23x-q20x.dtsi: 5 * - Copyright (c) 2016 Endless Computers, Inc. 7 * - Copyright (c) 2016 BayLibre, SAS. 13 #include "meson-gxl-s905x.dtsi" 22 stdout-path = "serial0:115200n8"; 30 hdmi_5v: regulator-hdmi-5v { 31 compatible = "regulator-fixed"; 33 regulator-name = "HDMI_5V"; 34 regulator-min-microvolt = <5000000>; [all …]
|
H A D | meson-gxl-s905x-nexbox-a95x.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "meson-gxl-s905x.dtsi" 13 compatible = "nexbox,a95x", "amlogic,s905x", "amlogic,meson-gxl"; 22 stdout-path = "serial0:115200n8"; 30 vddio_card: gpio-regulator { 31 compatible = "regulator-gpio"; 33 regulator-name = "VDDIO_CARD"; 34 regulator-min-microvolt = <1800000>; 35 regulator-max-microvolt = <3300000>; [all …]
|
/linux/drivers/clk/keystone/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 7 a power sleep control module that gate the clock to the IPs and PLLs. 35 This adds clock driver support for syscon based gate
|
/linux/Documentation/devicetree/bindings/arm/ux500/ |
H A D | power_domain.txt | 1 * ST-Ericsson UX500 PM Domains 3 UX500 supports multiple PM domains which are used to gate power to one or 12 - compatible: Must be "stericsson,ux500-pm-domains". 13 - #power-domain-cells : Number of cells in a power domain specifier, must be 1. 17 compatible = "stericsson,ux500-pm-domains"; 18 #power-domain-cells = <1>; 24 - power-domains: A phandle and PM domain specifier. Below are the list of 28 ----- --------- 34 power-domains = <&pm_domains DOMAIN_VAPE>
|