Home
last modified time | relevance | path

Searched +full:sg2042 +full:- +full:pwm (Results 1 – 9 of 9) sorted by relevance

/linux-6.15/Documentation/devicetree/bindings/pwm/
Dsophgo,sg2042-pwm.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pwm/sophgo,sg2042-pwm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Sophgo SG2042 PWM controller
10 - Chen Wang <unicorn_wang@outlook.com>
13 This controller contains 4 channels which can generate PWM waveforms.
16 - $ref: pwm.yaml#
20 const: sophgo,sg2042-pwm
28 clock-names:
[all …]
/linux-6.15/drivers/pwm/
Dpwm-sophgo-sg2042.c1 // SPDX-License-Identifier: GPL-2.0
3 * Sophgo SG2042 PWM Controller Driver
9 * - After reset, the output of the PWM channel is always high.
11 * - When HLPERIOD or PERIOD is reconfigured, PWM will start to
14 * - When PERIOD and HLPERIOD is set to 0, the PWM wave output will
17 * [1]:https://github.com/sophgo/sophgo-doc/tree/main/SG2042/TRM
26 #include <linux/pwm.h>
47 * struct sg2042_pwm_ddata - private driver data
48 * @base: base address of mapped PWM registers
63 void __iomem *base = ddata->base; in pwm_sg2042_config()
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
2 obj-$(CONFIG_PWM) += core.o
3 obj-$(CONFIG_PWM_AB8500) += pwm-ab8500.o
4 obj-$(CONFIG_PWM_ADP5585) += pwm-adp5585.o
5 obj-$(CONFIG_PWM_APPLE) += pwm-apple.o
6 obj-$(CONFIG_PWM_ATMEL) += pwm-atmel.o
7 obj-$(CONFIG_PWM_ATMEL_HLCDC_PWM) += pwm-atmel-hlcdc.o
8 obj-$(CONFIG_PWM_ATMEL_TCB) += pwm-atmel-tcb.o
9 obj-$(CONFIG_PWM_AXI_PWMGEN) += pwm-axi-pwmgen.o
10 obj-$(CONFIG_PWM_BCM_IPROC) += pwm-bcm-iproc.o
[all …]
DKconfig1 # 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 …]
/linux-6.15/arch/riscv/boot/dts/sophgo/
Dsg2042.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/clock/sophgo,sg2042-clkgen.h>
8 #include <dt-bindings/clock/sophgo,sg2042-pll.h>
9 #include <dt-bindings/clock/sophgo,sg2042-rpgate.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
11 #include <dt-bindings/reset/sophgo,sg2042-reset.h>
13 #include "sg2042-cpus.dtsi"
16 compatible = "sophgo,sg2042";
17 #address-cells = <2>;
[all …]
Dsg2042-milkv-pioneer.dts1 // SPDX-License-Identifier: GPL-2.0 OR MIT
6 #include "sg2042.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
12 model = "Milk-V Pioneer";
13 compatible = "milkv,pioneer", "sophgo,sg2042";
16 stdout-path = "serial0";
19 gpio-power {
20 compatible = "gpio-keys";
22 key-power {
[all …]
/linux-6.15/Documentation/hwmon/
Dindex.rst1 .. SPDX-License-Identifier: GPL-2.0
10 hwmon-kernel-api
11 pmbus-core
12 submitting-patches
13 sysfs-interface
14 userspace-tools
24 acbel-fsg032
47 aspeed-g6-pwm-tach
48 aspeed-pwm-tacho
53 bel-pfe
[all …]
/linux-6.15/drivers/hwmon/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
6 obj-$(CONFIG_HWMON) += hwmon.o
7 obj-$(CONFIG_HWMON_VID) += hwmon-vid.o
10 obj-$(CONFIG_SENSORS_ACPI_POWER) += acpi_power_meter.o
11 obj-$(CONFIG_SENSORS_ATK0110) += asus_atk0110.o
12 obj-$(CONFIG_SENSORS_ASUS_EC) += asus-ec-sensors.o
13 obj-$(CONFIG_SENSORS_ASUS_WMI) += asus_wmi_sensors.o
14 obj-$(CONFIG_SENSORS_HP_WMI) += hp-wmi-sensors.o
18 obj-$(CONFIG_SENSORS_ASB100) += asb100.o
19 obj-$(CONFIG_SENSORS_W83627HF) += w83627hf.o
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
20 sensors-detect script from the lm_sensors package. Read
21 <file:Documentation/hwmon/userspace-tools.rst> for details.
76 with SMpro co-processor.
278 will be called as370-hwmon.
311 will be called axi-fan-control
320 lm-sensors 2.10.1 for proper userspace support.
359 Only Intel-based Apple's computers are supported (MacBook Pro,
366 the laptop to act as a pinball machine-esque joystick.
381 will be called scmi-hwmon.
[all …]