| /freebsd/sys/powerpc/powermac/ | 
| H A D | fcu.c | 1 /*-2  * SPDX-License-Identifier: BSD-2-Clause
 56 #define FCU_RPM_FAIL      0x0b      /* fans states in bits 0<1-6>7 */
 66 #define FCU_PWM_SGET(x)   0x30 + (x) * 2 /* Set or get PWM. */
 76 	} type;  member
 89 /* We can read the PWM and the RPM from a PWM controlled fan.
 108 static int  fcu_fan_set_pwm(struct fcu_fan *fan, int pwm);
 109 static int  fcu_fan_get_pwm(device_t dev, struct fcu_fan *fan, int *pwm,
 155 			return (-1);  in fcu_write()
 183 			  return (-1);  in fcu_read_1()
 [all …]
 
 | 
| H A D | smu.c | 1 /*-2  * SPDX-License-Identifier: BSD-2-Clause
 82 	} type;  member
 88 /* We can read the PWM and the RPM from a PWM controlled fan.
 106 	} type;  member
 276 	sc->sc_cmd_phys = segs[0].ds_addr;  in smu_phys_callback()
 288 	mtx_init(&sc->sc_mtx, "smu", NULL, MTX_DEF);  in smu_attach()
 289 	sc->sc_cur_cmd = NULL;  in smu_attach()
 290 	sc->sc_doorbellirqid = -1;  in smu_attach()
 292 	sc->sc_u3 = 0;  in smu_attach()
 [all …]
 
 | 
| /freebsd/sys/contrib/device-tree/Bindings/arm/bcm/ | 
| H A D | raspberrypi,bcm2835-firmware.yaml | 1 # SPDX-License-Identifier: GPL-2.03 ---
 4 $id: http://devicetree.org/schemas/arm/bcm/raspberrypi,bcm2835-firmware.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - Eric Anholt <eric@anholt.net>
 11   - Stefan Wahren <wahrenst@gmx.net>
 17         const: raspberrypi,bcm2835-firmware
 20     - compatible
 25       - const: raspberrypi,bcm2835-firmware
 26       - const: simple-mfd
 [all …]
 
 | 
| /freebsd/sys/contrib/device-tree/Bindings/mfd/ | 
| H A D | st,stm32-lptimer.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/mfd/st,stm32-lptimer.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: STMicroelectronics STM32 Low-Power Timers
 10   The STM32 Low-Power Timer (LPTIM) is a 16-bit timer that provides several
 12    - PWM output (with programmable prescaler, configurable polarity)
 13    - Trigger source for STM32 ADC/DAC (LPTIM_OUT)
 14    - Several counter modes:
 15      - quadrature encoder to detect angular position and direction of rotary
 [all …]
 
 | 
| H A D | st,stm32-timers.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/mfd/st,stm32-timers.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   This hardware block provides 3 types of timer along with PWM functionality:
 11     - advanced-control timers consist of a 16-bit auto-reload counter driven
 12       by a programmable prescaler, break input feature, PWM outputs and
 13       complementary PWM outputs channels.
 14     - general-purpose timers consist of a 16-bit or 32-bit auto-reload counter
 15       driven by a programmable prescaler and PWM outputs.
 [all …]
 
 | 
| H A D | google,cros-ec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/mfd/google,cros-ec.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - Benson Leung <bleung@chromium.org>
 11   - Guenter Roeck <groeck@chromium.org>
 22       - description:
 24         const: google,cros-ec-i2c
 25       - description:
 27         const: google,cros-ec-spi
 [all …]
 
 | 
| H A D | stericsson,ab8500.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)3 ---
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: ST-Ericsson Analog Baseband AB8500 and AB8505
 10   - Linus Walleij <linus.walleij@linaro.org>
 13   the AB8500 "Analog Baseband" is the mixed-signals integrated circuit
 14   handling power management (regulators), analog-to-digital conversion
 15   (ADC), battery charging, fuel gauging of the battery, battery-backed
 16   RTC, PWM, USB PHY and some GPIO lines in the ST-Ericsson U8500 platforms
 21   USB charging handling has changed, and it has an embedded USB-to-serial
 [all …]
 
 | 
| /freebsd/sys/contrib/device-tree/Bindings/leds/backlight/ | 
| H A D | mediatek,mt6370-backlight.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/leds/backlight/mediatek,mt6370-backligh
 [all...]
 | 
| /freebsd/sys/contrib/device-tree/Bindings/timer/ | 
| H A D | ingenic,tcu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 5 $schema: http://devicetree.org/meta-schema
 [all...]
 | 
| H A D | ti,timer-dm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/timer/ti,timer-dm.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: TI dual-mode timer
 10   - Tony Lindgren <tony@atomide.com>
 13   The TI dual-mode timer is a general purpose timer with PWM capabilities.
 18       - items:
 19           - enum:
 20               - ti,am335x-timer
 [all …]
 
 | 
| /freebsd/sys/contrib/device-tree/Bindings/input/ | 
| H A D | dlg,da7280.txt | 4 - compatible: Should be "dlg,da7280".5 - reg: Specifies the I2C slave address.
 7 - interrupt-parent : Specifies the phandle of the interrupt controller to
 10 - dlg,actuator-type: Set Actuator type. it should be one of:
 11   "LRA" - Linear Resonance Actuator type.
 12   "ERM-bar" - Bar type Eccentric Rotating Mass.
 13   "ERM-coin" - Coin type Eccentric Rotating Mass.
 15 - dlg,const-op-mode: Haptic operation mode for FF_CONSTANT.
 17 	1 - Direct register override(DRO) mode triggered by i2c(default),
 18 	2 - PWM data source mode controlled by PWM duty,
 [all …]
 
 | 
| /freebsd/sys/contrib/device-tree/Bindings/leds/ | 
| H A D | leds-qcom-lpg.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/leds/leds-qcom-lpg.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - Bjorn Andersson <bjorn.andersson@linaro.org>
 20       - enum:
 21           - qcom,pm660l-lpg
 22           - qcom,pm8150b-lpg
 23           - qcom,pm8150l-lpg
 24           - qcom,pm8350c-pwm
 [all …]
 
 | 
| H A D | leds-pwm-multicolor.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/leds/leds-pwm-multicolor.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: Multi-color LEDs connected to PWM
 10   - Sven Schwermer <sven.schwermer@disruptive-technologies.com>
 13   This driver combines several monochrome PWM LEDs into one multi-color
 18     const: pwm-leds-multicolor
 20   multi-led:
 21     type: object
 [all …]
 
 | 
| H A D | leds-pwm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/leds/leds-pwm.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: LEDs connected to PWM
 10   - Pavel Machek <pavel@ucw.cz>
 13   Each LED is represented as a sub-node of the pwm-leds device.  Each
 18     const: pwm-leds
 21   "^led(-[0-9a-f]+)?$":
 22     type: object
 [all …]
 
 | 
| /freebsd/sys/dev/iicbus/pwm/ | 
| H A D | adt746x.c | 1 /*-2  * SPDX-License-Identifier: BSD-2-Clause
 90 	} type;  member
 119 static int  adt746x_fan_set_pwm(struct adt746x_fan *fan, int pwm);
 169 			return (-1);  in adt746x_write()
 198 			return (-1);  in adt746x_read()
 222 	sc->sc_dev = dev;  in adt746x_probe()
 223 	sc->sc_addr = iicbus_get_addr(dev);  in adt746x_probe()
 237 	sc->enum_hook.ich_func = adt746x_start;  in adt746x_attach()
 238 	sc->enum_hook.ich_arg = dev;  in adt746x_attach()
 [all …]
 
 | 
| /freebsd/sys/contrib/device-tree/Bindings/pwm/ | 
| H A D | google,cros-ec-pwm.yaml | 1 # SPDX-License-Identifier: GPL-2.03 ---
 4 $id: http://devicetree.org/schemas/pwm/google,cros-ec-pwm.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: PWM controlled by ChromeOS EC
 10   - Thierry Reding <thierry.reding@gmail.com>
 11   - '"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>'
 14   Google's ChromeOS EC PWM is a simple PWM attached to the Embedded Controller
 15   (EC) and controlled via a host-command interface.
 16   An EC PWM node should be only found as a sub-node of the EC node (see
 [all …]
 
 | 
| /freebsd/sys/contrib/device-tree/src/arm/samsung/ | 
| H A D | exynos5422-odroidhc1.dts | 1 // SPDX-License-Identifier: GPL-2.010 /dts-v1/;
 11 #include <dt-bindings/leds/common.h>
 12 #include "exynos5422-odroid-core.dtsi"
 16 	compatible = "hardkernel,odroid-hc1", "samsung,exynos5800", \
 19 	led-controller {
 20 		compatible = "pwm-leds";
 22 		led-1 {
 25 			pwms = <&pwm 2 2000000 0>;
 26 			pwm-names = "pwm2";
 [all …]
 
 | 
| /freebsd/sys/contrib/device-tree/Bindings/soc/microchip/ | 
| H A D | atmel,at91rm9200-tcb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/soc/microchip/atmel,at91rm9200-tcb.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - Alexandre Belloni <alexandre.belloni@bootlin.com>
 19       - enum:
 20           - atmel,at91rm9200-tcb
 21           - atmel,at91sam9x5-tcb
 22           - atmel,sama5d2-tcb
 23       - const: simple-mfd
 [all …]
 
 | 
| /freebsd/sys/contrib/device-tree/Bindings/hwmon/ | 
| H A D | pwm-fan.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/hwmon/pwm-fan.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: Fan connected to PWM lines
 10   - Jean Delvare <jdelvare@suse.com>
 11   - Guenter Roeck <linux@roeck-us.net>
 15     const: pwm-fan
 17   cooling-levels:
 18     description: PWM duty cycle values corresponding to thermal cooling states.
 [all …]
 
 | 
| /freebsd/sys/contrib/device-tree/Bindings/sound/ | 
| H A D | atmel,sama5d2-classd.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)4 ---
 5 $id: http://devicetree.org/schemas/sound/atmel,sama5d2-classd.yaml#
 6 $schema: http://devicetree.org/meta-schemas/core.yaml#
 11   - Nicolas Ferre <nicolas.ferre@microchip.com>
 12   - Alexandre Belloni <alexandre.belloni@bootlin.com>
 13   - Claudiu Beznea <claudiu.beznea@microchip.com>
 17   Modulated (PWM) output stereo Class D amplifier.
 22       - items:
 23           - const: atmel,sama5d2-classd
 [all …]
 
 | 
| H A D | atmel-classd.txt | 4 - compatible5 	Should be "atmel,sama5d2-classd".
 6 - reg
 8 - interrupts
 10 - dmas
 11 	One DMA specifiers as described in atmel-dma.txt and dma.txt files.
 12 - dma-names
 14 - clock-names
 17 - clocks
 18 	Please refer to clock-bindings.txt.
 [all …]
 
 | 
| /freebsd/sys/contrib/device-tree/src/arm64/qcom/ | 
| H A D | pm8550.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause6 #include <dt-bindings/interrupt-controller/irq.h>
 7 #include <dt-bindings/spmi/spmi.h>
 10 	thermal-zones {
 11 		pm8550-thermal {
 12 			polling-delay-passive = <100>;
 14 			thermal-sensors = <&pm8550_temp_alarm>;
 20 					type = "passive";
 26 					type = "hot";
 36 		compatible = "qcom,pm8550", "qcom,spmi-pmic";
 [all …]
 
 | 
| H A D | x1e80100-pmics.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause6 #include <dt-bindings/input/input.h>
 7 #include <dt-bindings/input/linux-event-codes.h>
 8 #include <dt-bindings/interrupt-controller/irq.h>
 9 #include <dt-bindings/spmi/spmi.h>
 12 	thermal-zones {
 13 		pm8550-thermal {
 14 			polling-delay-passive = <100>;
 16 			thermal-sensors = <&pm8550_temp_alarm>;
 22 					type = "passive";
 [all …]
 
 | 
| /freebsd/sys/contrib/device-tree/Bindings/pinctrl/ | 
| H A D | mediatek,mt7986-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt7986-pinctr
 [all...]
 | 
| H A D | mediatek,mt7981-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt7981-pinctr
 [all...]
 |