/openbmc/linux/drivers/pwm/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 menuconfig PWM config 3 bool "Pulse-Width Modulation (PWM) Support" 5 Generic Pulse-Width Modulation (PWM) support. 7 In Pulse-Width Modulation, a variation of the width of pulses 14 This framework provides a generic interface to PWM devices 16 to register and unregister a PWM chip, an abstraction of a PWM 17 controller, that supports one or more PWM devices. Client 18 drivers can request PWM devices and use the generic framework 21 This generic framework replaces the legacy PWM framework which [all …]
|
H A D | pwm-lpss-platform.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Intel Low Power Subsystem PWM controller driver 7 * Derived from the original pwm-lpss.c 17 #include "pwm-lpss.h" 26 info = device_get_match_data(&pdev->dev); in pwm_lpss_probe_platform() 28 return -ENODEV; in pwm_lpss_probe_platform() 34 lpwm = devm_pwm_lpss_probe(&pdev->dev, base, info); in pwm_lpss_probe_platform() 41 * On Cherry Trail devices the GFX0._PS0 AML checks if the controller in pwm_lpss_probe_platform() 43 * believes is the correct state to the PWM controller. in pwm_lpss_probe_platform() 44 * Because of this we must disallow direct-complete, which keeps the in pwm_lpss_probe_platform() [all …]
|
H A D | pwm-tegra.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * drivers/pwm/pwm-tegra.c 5 * Tegra pulse-width-modulation controller driver 7 * Copyright (c) 2010-2020, NVIDIA Corporation. 8 * Based on arch/arm/plat-mxc/pwm.c by Sascha Hauer <s.hauer@pengutronix.de> 11 * 1. 13-bit: Frequency division (SCALE) 12 * 2. 8-bit : Pulse division (DUTY) 13 * 3. 1-bit : Enable bit 15 * The PWM clock frequency is divided by 256 before subdividing it based 17 * frequency for PWM output. The maximum output frequency that can be [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | npcm750-pwm-fan.txt | 1 Nuvoton NPCM PWM and Fan Tacho controller device 3 The Nuvoton BMC NPCM7XX supports 8 Pulse-width modulation (PWM) 4 controller outputs and 16 Fan tachometer controller inputs. 6 The Nuvoton BMC NPCM8XX supports 12 Pulse-width modulation (PWM) 7 controller outputs and 16 Fan tachometer controller inputs. 9 Required properties for pwm-fan node 10 - #address-cells : should be 1. 11 - #size-cells : should be 0. 12 - compatible : "nuvoton,npcm750-pwm-fan" for Poleg NPCM7XX. 13 : "nuvoton,npcm845-pwm-fan" for Arbel NPCM8XX. [all …]
|
H A D | aspeed-pwm-tacho.txt | 1 ASPEED AST2400/AST2500 PWM and Fan Tacho controller device driver 3 The ASPEED PWM controller can support upto 8 PWM outputs. The ASPEED Fan Tacho 4 controller can support upto 16 Fan tachometer inputs. 6 There can be upto 8 fans supported. Each fan can have one PWM output and 9 Required properties for pwm-tacho node: 10 - #address-cells : should be 1. 12 - #size-cells : should be 1. 14 - #cooling-cells: should be 2. 16 - reg : address and length of the register set for the device. 18 - pinctrl-names : a pinctrl state named "default" must be defined. [all …]
|
H A D | aspeed,g6-pwm-tach.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/hwmon/aspeed,g6-pwm-tach.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: ASPEED G6 PWM and Fan Tach controller 11 - Billy Tsai <billy_tsai@aspeedtech.com> 14 The ASPEED PWM controller can support up to 16 PWM outputs. 15 The ASPEED Fan Tacho controller can support up to 16 fan tach input. 22 - aspeed,ast2600-pwm-tach 33 "#pwm-cells": [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/pwm/ |
H A D | pwm.txt | 1 Specifying PWM information for devices 4 1) PWM user nodes 5 ----------------- 7 PWM users should specify a list of PWM devices that they want to use 8 with a property containing a 'pwm-list': 10 pwm-list ::= <single-pwm> [pwm-list] 11 single-pwm ::= <pwm-phandle> <pwm-specifier> 12 pwm-phandle : phandle to PWM controller node 13 pwm-specifier : array of #pwm-cells specifying the given PWM 14 (controller specific) [all …]
|
H A D | tegra20-pwm.txt | 1 Tegra SoC PWFM controller 4 - compatible: should be one of: 5 - "nvidia,tegra20-pwm" 6 - "nvidia,tegra30-pwm" 7 - reg: physical base address and length of the controller's registers 8 - #pwm-cells: On Tegra the number of cells used to specify a PWM is 2. The 9 first cell specifies the per-chip index of the PWM to use and the second 14 pwm: pwm@7000a000 { 15 compatible = "nvidia,tegra20-pwm"; 17 #pwm-cells = <2>;
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | kontron,sl28cpld.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Kontron's sl28cpld board management controller 10 - Michael Walle <michael@walle.cc> 13 The board management controller may contain different IP blocks like 14 watchdog, fan monitoring, PWM controller, interrupt controller and a 15 GPIO controller. 26 "#address-cells": 29 "#size-cells": [all …]
|
H A D | netronix,ntxec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Netronix Embedded Controller 10 - Jonathan Neuschäfer <j.neuschaefer@gmx.net> 13 This EC is found in e-book readers of multiple brands (e.g. Kobo, Tolino), and 22 - description: The I2C address of the EC 24 system-power-controller: 26 description: See Documentation/devicetree/bindings/power/power-controller.txt 33 "#pwm-cells": [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/pwm/ |
H A D | mediatek,mt2712-pwm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pwm/mediatek,mt2712-pwm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MediaTek PWM Controller 10 - John Crispin <john@phrozen.org> 13 - $ref: pwm.yaml# 18 - enum: 19 - mediatek,mt2712-pwm 20 - mediatek,mt6795-pwm [all …]
|
H A D | pwm-sprd.txt | 1 Spreadtrum PWM controller 3 Spreadtrum SoCs PWM controller provides 4 PWM channels. 6 - compatible : Should be "sprd,ums512-pwm". 7 - reg: Physical base address and length of the controller's registers. 8 - clocks: The phandle and specifier referencing the controller's clocks. 9 - clock-names: Should contain following entries: 10 "pwmn": used to derive the functional clock for PWM channel n (n range: 0 ~ 3). 11 "enablen": for PWM channel n enable clock (n range: 0 ~ 3). 12 - #pwm-cells: Should be 2. See pwm.yaml in this directory for a description of 16 - assigned-clocks: Reference to the PWM clock entries. [all …]
|
H A D | pwm.txt | 1 Specifying PWM information for devices 4 1) PWM user nodes 5 ----------------- 7 PWM users should specify a list of PWM devices that they want to use 8 with a property containing a 'pwm-list': 10 pwm-list ::= <single-pwm> [pwm-list] 11 single-pwm ::= <pwm-phandle> <pwm-specifier> 12 pwm-phandle : phandle to PWM controller node 13 pwm-specifier : array of #pwm-cells specifying the given PWM 14 (controller specific) [all …]
|
H A D | pwm-hibvt.txt | 1 Hisilicon PWM controller 4 -compatible: should contain one SoC specific compatible string 6 "hisilicon,hi3516cv300-pwm" 7 "hisilicon,hi3519v100-pwm" 8 "hisilicon,hi3559v100-shub-pwm" 9 "hisilicon,hi3559v100-pwm 10 - reg: physical base address and length of the controller's registers. 11 - clocks: phandle and clock specifier of the PWM reference clock. 12 - resets: phandle and reset specifier for the PWM controller reset. 13 - #pwm-cells: Should be 3. See pwm.yaml in this directory for a description of [all …]
|
H A D | mediatek,pwm-disp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pwm/mediatek,pwm-disp.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MediaTek DISP_PWM Controller 10 - Jitao Shi <jitao.shi@mediatek.com> 11 - Xinlei Lee <xinlei.lee@mediatek.com> 14 - $ref: pwm.yaml# 19 - enum: 20 - mediatek,mt2701-disp-pwm [all …]
|
H A D | pxa-pwm.txt | 1 Marvell PWM controller 4 - compatible: should be one or more of: 5 - "marvell,pxa250-pwm" 6 - "marvell,pxa270-pwm" 7 - "marvell,pxa168-pwm" 8 - "marvell,pxa910-pwm" 9 - reg: Physical base address and length of the registers used by the PWM channel 10 Note that one device instance must be created for each PWM that is used, so the 11 length covers only the register window for one PWM output, not that of the 12 entire PWM controller. Currently length is 0x10 for all supported devices. [all …]
|
H A D | spear-pwm.txt | 1 == ST SPEAr SoC PWM controller == 4 - compatible: should be one of: 5 - "st,spear320-pwm" 6 - "st,spear1340-pwm" 7 - reg: physical base address and length of the controller's registers 8 - #pwm-cells: should be 2. See pwm.yaml in this directory for a description of 13 pwm: pwm@a8000000 { 14 compatible ="st,spear320-pwm"; 16 #pwm-cells = <2>;
|
H A D | cirrus,clps711x-pwm.txt | 1 * Cirris Logic CLPS711X PWM controller 4 - compatible: Shall contain "cirrus,ep7209-pwm". 5 - reg: Physical base address and length of the controller's registers. 6 - clocks: phandle + clock specifier pair of the PWM reference clock. 7 - #pwm-cells: Should be 1. The cell specifies the index of the channel. 10 pwm: pwm@80000400 { 11 compatible = "cirrus,ep7312-pwm", "cirrus,ep7209-pwm"; 14 #pwm-cells = <1>;
|
H A D | brcm,bcm7038-pwm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pwm/brcm,bcm7038-pwm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Broadcom BCM7038 PWM controller (BCM7xxx Set Top Box PWM controller) 10 - Florian Fainelli <f.fainelli@gmail.com> 13 - $ref: pwm.yaml# 17 const: brcm,bcm7038-pwm 22 "#pwm-cells": 29 - compatible [all …]
|
H A D | brcm,kona-pwm.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/pwm/brcm,kona-pwm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Broadcom Kona family PWM controller 10 This controller has 6 channels. 13 - Florian Fainelli <f.fainelli@gmail.com> 16 - $ref: pwm.yaml# 21 - enum: 22 - brcm,bcm11351-pwm [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/gpio/ |
H A D | gpio-mvebu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpio/gpio-mvebu.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Marvell EBU GPIO controller 10 - Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 11 - Andrew Lunn <andrew@lunn.ch> 16 - enum: 17 - marvell,armada-8k-gpio 18 - marvell,orion-gpio [all …]
|
/openbmc/linux/arch/arm/boot/dts/renesas/ |
H A D | r8a7779.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the R-Car H1 (R8A77790) SoC 9 #include <dt-bindings/clock/r8a7779-clock.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/power/r8a7779-sysc.h> 16 interrupt-parent = <&gic>; 17 #address-cells = <1>; 18 #size-cells = <1>; 21 #address-cells = <1>; [all …]
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8-ss-lsio.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018-2020 NXP 7 #include <dt-bindings/clock/imx8-lpcg.h> 8 #include <dt-bindings/firmware/imx/rsrc.h> 11 compatible = "simple-bus"; 12 #address-cells = <1>; 13 #size-cells = <1>; 17 lsio_mem_clk: clock-lsio-mem { 18 compatible = "fixed-clock"; 19 #clock-cells = <0>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A D | stm32mp131.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2021 - All Rights Reserved 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/clock/stm32mp13-clks.h> 8 #include <dt-bindings/reset/stm32mp13-resets.h> 11 #address-cells = <1>; 12 #size-cells = <1>; 15 #address-cells = <1>; 16 #size-cells = <0>; 19 compatible = "arm,cortex-a7"; [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | pptable_v1_0.h | 35 …AMETERS_NOFAN 0x80 /* No fan is connected to this controller. */ 43 …* Thermal controller 'combo type' to use an external controller for Fan control and an internal co… 46 * The driver can pick the correct internal controller based on the ASIC. 49 …LCONTROLLER_ADT7473_WITH_INTERNAL 0x89 /* ADT7473 Fan Control + Internal Thermal Controller */ 50 …LCONTROLLER_EMC2103_WITH_INTERNAL 0x8D /* EMC2103 Fan Control + Internal Thermal Controller */ 245 ULONG ulDClk; /* UVD D-clock */ 246 ULONG ulVClk; /* UVD V-clock */ 274 …sTMin; /* The temperature, in 0.01 centigrades, below which we just run at a minimal PWM. */ 277 USHORT usPWMMin; /* The minimum PWM value in percent (0.01% increments). */ 278 USHORT usPWMMed; /* The PWM value (in percent) at TMed. */ [all …]
|