/freebsd/sys/contrib/device-tree/Bindings/pwm/ |
H A D | pwm.txt | 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 18 An optional property "pwm-names" may contain a list of strings to label 19 each of the PWM devices listed in the "pwms" property. If no "pwm-names" 23 "pwm-names" property to map the name of the PWM device requested by the 29 pwm: pwm { 30 #pwm-cells = <2>; [all …]
|
H A D | nvidia,tegra20-pwm.txt | 5 - "nvidia,tegra20-pwm": for Tegra20 6 - "nvidia,tegra30-pwm", "nvidia,tegra20-pwm": for Tegra30 7 - "nvidia,tegra114-pwm", "nvidia,tegra20-pwm": for Tegra114 8 - "nvidia,tegra124-pwm", "nvidia,tegra20-pwm": for Tegra124 9 - "nvidia,tegra132-pwm", "nvidia,tegra20-pwm": for Tegra132 10 - "nvidia,tegra210-pwm", "nvidia,tegra20-pwm": for Tegra210 11 - "nvidia,tegra186-pwm": for Tegra186 12 - "nvidia,tegra194-pwm": for Tegra194 14 - #pwm-cells: should be 2. See pwm.yaml in this directory for a description of 21 - pwm [all …]
|
H A D | pwm-meson.txt | 5 - compatible: Shall contain "amlogic,meson8b-pwm" 6 or "amlogic,meson-gxbb-pwm" 7 or "amlogic,meson-gxbb-ao-pwm" 8 or "amlogic,meson-axg-ee-pwm" 9 or "amlogic,meson-axg-ao-pwm" 10 or "amlogic,meson-g12a-ee-pwm" 11 or "amlogic,meson-g12a-ao-pwm-ab" 12 or "amlogic,meson-g12a-ao-pwm-cd" 13 - #pwm-cells: Should be 3. See pwm.yaml in this directory for a description of 23 pwm_ab: pwm@8550 { [all …]
|
H A D | pwm-mediatek.txt | 4 - compatible: should be "mediatek,<name>-pwm": 5 - "mediatek,mt2712-pwm": found on mt2712 SoC. 6 - "mediatek,mt6795-pwm": found on mt6795 SoC. 7 - "mediatek,mt7622-pwm": found on mt7622 SoC. 8 - "mediatek,mt7623-pwm": found on mt7623 SoC. 9 - "mediatek,mt7628-pwm": found on mt7628 SoC. 10 - "mediatek,mt7629-pwm": found on mt7629 SoC. 11 - "mediatek,mt8183-pwm": found on mt8183 SoC. 12 - "mediatek,mt8195-pwm", "mediatek,mt8183-pwm": found on mt8195 SoC. 13 - "mediatek,mt8365-pwm": found on mt8365 SoC. [all …]
|
H A D | pwm-mtk-disp.txt | 4 - compatible: should be "mediatek,<name>-disp-pwm": 5 - "mediatek,mt2701-disp-pwm": found on mt2701 SoC. 6 - "mediatek,mt6595-disp-pwm": found on mt6595 SoC. 7 - "mediatek,mt8167-disp-pwm", "mediatek,mt8173-disp-pwm": found on mt8167 SoC. 8 - "mediatek,mt8173-disp-pwm": found on mt8173 SoC. 9 - "mediatek,mt8183-disp-pwm": found on mt8183 SoC.$ 11 - #pwm-cells: must be 2. See pwm.yaml in this directory for a description of 22 pwm0: pwm@1401e000 { 23 compatible = "mediatek,mt8173-disp-pwm", 24 "mediatek,mt6595-disp-pwm"; [all …]
|
H A D | atmel-pwm.txt | 5 - "atmel,at91sam9rl-pwm" 6 - "atmel,sama5d3-pwm" 7 - "atmel,sama5d2-pwm" 8 - "microchip,sam9x60-pwm" 10 - #pwm-cells: Should be 3. See pwm.yaml in this directory for a 15 pwm0: pwm@f8034000 { 16 compatible = "atmel,at91sam9rl-pwm"; 18 #pwm-cells = <3>; 22 compatible = "pwm-leds";
|
H A D | pwm-rockchip.txt | 4 - compatible: should be "rockchip,<name>-pwm" 5 "rockchip,rk2928-pwm": found on RK29XX,RK3066 and RK3188 SoCs 6 "rockchip,rk3288-pwm": found on RK3288 SOC 7 "rockchip,rv1108-pwm", "rockchip,rk3288-pwm": found on RV1108 SoC 8 "rockchip,vop-pwm": found integrated in VOP on RK3288 SoC 15 - "pwm": This is used to derive the functional clock. 17 - #pwm-cells: must be 2 (rk2928) or 3 (rk3288). See pwm.yaml in this directory 22 pwm0: pwm@20030000 { 23 compatible = "rockchip,rk2928-pwm"; 26 #pwm-cells = <2>;
|
H A D | lpc1850-sct-pwm.txt | 4 - compatible: Should be "nxp,lpc1850-sct-pwm" 5 - reg: Should contain physical base address and length of pwm registers. 9 - pwm: PWM operating clock. 10 - #pwm-cells: Should be 3. See pwm.yaml in this directory for the description 14 pwm: pwm@40000000 { 15 compatible = "nxp,lpc1850-sct-pwm"; 18 clock-names = "pwm"; 19 #pwm-cells = <3>;
|
H A D | pwm-hibvt.txt | 6 "hisilicon,hi3516cv300-pwm" 7 "hisilicon,hi3519v100-pwm" 8 "hisilicon,hi3559v100-shub-pwm" 9 "hisilicon,hi3559v100-pwm 13 - #pwm-cells: Should be 3. See pwm.yaml in this directory for a description of 17 pwm: pwm@12130000 { 18 compatible = "hisilicon,hi3516cv300-pwm"; 22 #pwm-cells = <3>;
|
H A D | img-pwm.txt | 4 - compatible: Should be "img,pistachio-pwm" 5 - reg: Should contain physical base address and length of pwm registers. 9 - pwm: PWM operating clock. 11 - #pwm-cells: Should be 2. See pwm.yaml in this directory for the 17 pwm: pwm@18101300 { 18 compatible = "img,pistachio-pwm"; 21 clock-names = "pwm", "sys"; 22 #pwm-cells = <2>;
|
H A D | spear-pwm.txt | 5 - "st,spear320-pwm" 6 - "st,spear1340-pwm" 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 | pxa-pwm.txt | 5 - "marvell,pxa250-pwm" 6 - "marvell,pxa270-pwm" 7 - "marvell,pxa168-pwm" 8 - "marvell,pxa910-pwm" 13 - #pwm-cells: Should be 1. This cell is used to specify the period in 18 pwm0: pwm@40b00000 { 19 compatible = "marvell,pxa250-pwm"; 21 #pwm-cells = <1>; 27 compatible = "pwm-backlight";
|
H A D | brcm,kona-pwm.txt | 6 - compatible: should contain "brcm,kona-pwm" 9 - #pwm-cells: Should be 3. See pwm.yaml in this directory for a 16 pwm: pwm@3e01a000 { 17 compatible = "brcm,bcm11351-pwm", "brcm,kona-pwm"; 20 #pwm-cells = <3>;
|
H A D | ti,twl-pwm.txt | 8 - compatible: "ti,twl4030-pwm" or "ti,twl6030-pwm" 9 - #pwm-cells: should be 2. See pwm.yaml in this directory for a description of 14 twl_pwm: pwm { 15 compatible = "ti,twl6030-pwm"; 16 #pwm-cells = <2>;
|
H A D | cirrus,clps711x-pwm.txt | 4 - compatible: Shall contain "cirrus,ep7209-pwm". 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 | pwm-berlin.txt | 4 - compatible: should be "marvell,berlin-pwm" 7 - #pwm-cells: should be 3. See pwm.yaml in this directory for a description of 12 pwm: pwm@f7f20000 { 13 compatible = "marvell,berlin-pwm"; 16 #pwm-cells = <3>;
|
H A D | pwm-sifive.txt | 10 https://github.com/sifive/sifive-blocks/tree/master/src/main/scala/devices/pwm 13 - compatible: Should be "sifive,<chip>-pwm" and "sifive,pwm<version>". 14 Supported compatible strings are: "sifive,fu540-c000-pwm" for the SiFive 20 - #pwm-cells: Should be 3. See pwm.yaml in this directory 26 pwm: pwm@10020000 { 27 compatible = "sifive,fu540-c000-pwm", "sifive,pwm0"; 32 #pwm-cells = <3>;
|
/freebsd/sys/contrib/device-tree/src/arm/microchip/ |
H A D | at91-kizbox.dts | 10 #include <dt-bindings/pwm/pwm.h> 50 compatible = "pwm-leds"; 53 label = "pwm:green:network"; 60 label = "pwm:red:network"; 67 label = "pwm:green:user"; 74 label = "pwm:red:user"; 95 tcb1_pwm0: pwm@0 { 96 compatible = "atmel,tcb-pwm"; 98 #pwm-cells = <3>; 103 tcb1_pwm1: pwm@1 { [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/leds/backlight/ |
H A D | pwm-backlight.txt | 1 pwm-backlight bindings 4 - compatible: "pwm-backlight" 9 - pwm-names: a list of names for the PWM devices specified in the 13 - post-pwm-on-delay-ms: Delay in ms between setting an initial (non-zero) PWM 15 - pwm-off-delay-ms: Delay in ms between disabling the backlight using GPIO 27 resolution pwm duty cycle can be used without 31 [0]: Documentation/devicetree/bindings/pwm/pwm.txt 37 compatible = "pwm-backlight"; 38 pwms = <&pwm 0 5000000>; 45 post-pwm-on-delay-ms = <10>; [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/intel/pxa/ |
H A D | pxa27x.dtsi | 49 pwm0: pwm@40b00000 { 50 compatible = "marvell,pxa270-pwm", "marvell,pxa250-pwm"; 52 #pwm-cells = <1>; 56 pwm1: pwm@40b00010 { 57 compatible = "marvell,pxa270-pwm", "marvell,pxa250-pwm"; 59 #pwm-cells = <1>; 63 pwm2: pwm@40c00000 { 64 compatible = "marvell,pxa270-pwm", "marvell,pxa250-pwm"; 66 #pwm-cells = <1>; 70 pwm3: pwm@40c00010 { [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/leds/ |
H A D | leds-pwm.txt | 4 - compatible : should be "pwm-leds". 6 Each LED is represented as a sub-node of the pwm-leds device. Each 12 - pwm-names : (optional) Name to be used by the PWM subsystem for the PWM device 13 For the pwms and pwm-names property please refer to: 14 Documentation/devicetree/bindings/pwm/pwm.txt 25 twl_pwm: pwm { 27 compatible = "ti,twl6030-pwm"; 28 #pwm-cells = <2>; 34 #pwm-cells = <2>; 38 compatible = "pwm-leds";
|
/freebsd/sys/contrib/device-tree/Bindings/input/ |
H A D | pwm-vibrator.txt | 12 - compatible: should contain "pwm-vibrator" 13 - pwm-names: Should contain "enable" and optionally "direction" 14 - pwms: Should contain a PWM handle for each entry in pwm-names 39 pwm8: dmtimer-pwm { 43 compatible = "ti,omap-dmtimer-pwm"; 44 #pwm-cells = <3>; 49 pwm9: dmtimer-pwm { 53 compatible = "ti,omap-dmtimer-pwm"; 54 #pwm-cells = <3>; 60 compatible = "pwm-vibrator"; [all …]
|
/freebsd/sys/dev/iicbus/pwm/ |
H A D | adm1030.c | 69 static int adm1030_set(struct adm1030_softc *fan, int pwm); 202 static int adm1030_set(struct adm1030_softc *fan, int pwm) in adm1030_set() argument 205 if (pwm > 0xF) in adm1030_set() 206 pwm = 0xF; in adm1030_set() 207 if (pwm < 0) in adm1030_set() 208 pwm = 0; in adm1030_set() 210 if (adm1030_write_byte(fan->sc_dev, fan->sc_addr, 0x22, pwm) < 0) in adm1030_set() 213 fan->sc_pwm = pwm; in adm1030_set() 222 int pwm, error; in adm1030_sysctl() local 227 pwm = sc->sc_pwm; in adm1030_sysctl() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/st/ |
H A D | stm32f746.dtsi | 87 pwm { 88 compatible = "st,stm32-pwm"; 89 #pwm-cells = <3>; 109 pwm { 110 compatible = "st,stm32-pwm"; 111 #pwm-cells = <3>; 131 pwm { 132 compatible = "st,stm32-pwm"; 133 #pwm-cells = <3>; 153 pwm { [all...] |
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | pwm.h | 48 pwm_put(struct pwm_device *pwm) in pwm_put() argument 53 pwm_enable(struct pwm_device *pwm) in pwm_enable() argument 59 pwm_disable(struct pwm_device *pwm) in pwm_disable() argument 64 pwm_is_enabled(const struct pwm_device *pwm) in pwm_is_enabled() argument 83 pwm_get_state(const struct pwm_device *pwm, struct pwm_state *state) in pwm_get_state() argument 85 *state = pwm->state; in pwm_get_state() 89 pwm_apply_state(struct pwm_device *pwm, const struct pwm_state *state) in pwm_apply_state() argument
|