Re: Using PWM on the beaglebone black

2020-07-13 Thread James Fitzsimons
HI Chris, On Fri, 10 Jul 2020 at 11:27, Chris Johns wrote: > On 5/7/20 8:23 pm, James Fitzsimons wrote: > > Hi all, > > > > Problem solved! > > > > After coming back to this fresh the next day I realised I had gone down > > a blind alley with the device tree thinking. The PWM driver does all > >

Re: Using PWM on the beaglebone black

2020-07-09 Thread Chris Johns
On 5/7/20 8:23 pm, James Fitzsimons wrote: Hi all, Problem solved! After coming back to this fresh the next day I realised I had gone down a blind alley with the device tree thinking. The PWM driver does all hardware configuration required - no fdt required. I have done this a number of tim

Re: Using PWM on the beaglebone black

2020-07-05 Thread James Fitzsimons
Hi all, Problem solved! After coming back to this fresh the next day I realised I had gone down a blind alley with the device tree thinking. The PWM driver does all hardware configuration required - no fdt required. I started double checking everything in the driver code and eventually found the

Re: Using PWM on the beaglebone black

2020-07-04 Thread James Fitzsimons
After thinking about this some more I realised the pinmux setup is part of the PWM driver code, so I assume the fdt overlay isn't required to set the pin mux. I tried reducing the overlay to just the following: /dts-v1/; /plugin/; / { compatible = "ti,am335x-bone-black-wireless", "ti,am335x-bone-