zephyr/dts/bindings/pwm
Mulin Chao 2368aeae61 dts: pwm: npcx: add override mechanism for pwm input clock assignment.
This CL adds a override mechanism for pwm module's input clock source
assignment. If the 'clock-bus' property exists, the NPCX_DT_PROP_ENUM_OR
macro function will return an enum upper token value. Otherwise, it
expands to default value in 'clocks' property.

For example, if the users want to select LFCLK as pwm0's input clock,
ths node can be overridden by adding 'clock-bus' property with an enum
string, "NPCX_CLOCK_BUS_LFCLK".

&pwm0 {
	status = "okay";
	clock-bus = "NPCX_CLOCK_BUS_LFCLK";
};

Signed-off-by: Keith Short <keithshort@google.com>
Signed-off-by: Mulin Chao <mlchao@nuvoton.com>
2021-04-26 21:51:24 -04:00
..
atmel,sam-pwm.yaml
atmel,sam0-tcc-pwm.yaml
fsl,imx7d-pwm.yaml
litex,pwm.yaml
microchip,xec-pwm.yaml
nordic,nrf-pwm.yaml dts: bindings: improve documentation for Nordic IPs 2021-01-16 07:59:27 -06:00
nordic,nrf-sw-pwm.yaml
nuvoton,npcx-pwm.yaml dts: pwm: npcx: add override mechanism for pwm input clock assignment. 2021-04-26 21:51:24 -04:00
nxp,flexpwm.yaml
nxp,imx-pwm.yaml
nxp,kinetis-ftm-pwm.yaml
nxp,kinetis-pwt.yaml dts: bindings: pwm: add binding for the NXP Kinetis Pulse Width Timer 2021-01-20 08:05:57 -06:00
nxp,kinetis-tpm.yaml
openisa,rv32m1-tpm.yaml
pwm-controller.yaml
sifive,pwm0.yaml
silabs,gecko-pwm.yaml gecko pwm: add bindings files 2021-04-02 18:45:33 -04:00
snps,designware-pwm.yaml dts: add a binding for Synopsys DesignWare PWM node 2020-12-20 13:32:15 -05:00
st,stm32-pwm.yaml
xlnx,xps-timer-1.00.a-pwm.yaml