Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v5.0 22 lines 739 B view raw
1ZTE ZX PWM controller 2 3Required properties: 4 - compatible: Should be "zte,zx296718-pwm". 5 - reg: Physical base address and length of the controller's registers. 6 - clocks : The phandle and specifier referencing the controller's clocks. 7 - clock-names: "pclk" for PCLK, "wclk" for WCLK to the PWM controller. The 8 PCLK is for register access, while WCLK is the reference clock for 9 calculating period and duty cycles. 10 - #pwm-cells: Should be 3. See pwm.txt in this directory for a description of 11 the cells format. 12 13Example: 14 15 pwm: pwm@1439000 { 16 compatible = "zte,zx296718-pwm"; 17 reg = <0x1439000 0x1000>; 18 clocks = <&lsp1crm LSP1_PWM_PCLK>, 19 <&lsp1crm LSP1_PWM_WCLK>; 20 clock-names = "pclk", "wclk"; 21 #pwm-cells = <3>; 22 };