This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

nuvoton,npcx-pwm

Vendor: Nuvoton Technology Corporation

Description

Nuvoton, NPCX Pulse Width Modulator (PWM) node

Properties

Properties not inherited from the base binding file.

Name

Type

Details

pinctrl-0

phandles

configurations of pinmux controllers

This property is required.

drive-open-drain

boolean

The PWM output will be configured as open-drain. If not set,
defaults to push-pull.

clock-bus

string

Select a specific input clock source for the PWM module. If this
property doesn't exist, fallback to default value in clocks property.

Legal values: 'NPCX_CLOCK_BUS_APB2', 'NPCX_CLOCK_BUS_LFCLK'

#pwm-cells

int

Number of items to expect in a pwm specifier

This property is required.

Specifier cell names

  • pwm cells: channel, flags