2368aeae61
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> |
||
---|---|---|
.. | ||
atmel,sam-pwm.yaml | ||
atmel,sam0-tcc-pwm.yaml | ||
fsl,imx7d-pwm.yaml | ||
litex,pwm.yaml | ||
microchip,xec-pwm.yaml | ||
nordic,nrf-pwm.yaml | ||
nordic,nrf-sw-pwm.yaml | ||
nuvoton,npcx-pwm.yaml | ||
nxp,flexpwm.yaml | ||
nxp,imx-pwm.yaml | ||
nxp,kinetis-ftm-pwm.yaml | ||
nxp,kinetis-pwt.yaml | ||
nxp,kinetis-tpm.yaml | ||
openisa,rv32m1-tpm.yaml | ||
pwm-controller.yaml | ||
sifive,pwm0.yaml | ||
silabs,gecko-pwm.yaml | ||
snps,designware-pwm.yaml | ||
st,stm32-pwm.yaml | ||
xlnx,xps-timer-1.00.a-pwm.yaml |