So . . . yeah. For 4.x kernels it's broken.

william@beaglebone:~$ ls /sys/class/pwm/
william@beaglebone:~$ nano bspwm_P9_22_13-00A0.dts
william@beaglebone:~$ dtc -O dtb -o bspwm_P9_22_13-00A0.dtbo -b 0 -@
bspwm_P9_22_13-00A0.dts
Error: bspwm_P9_22_13-00A0.dts:53.2-54.1 syntax error
FATAL ERROR: Unable to parse input tree

At minimum and just at a glance.

 fragment@20 {
        target = <&epwmss0>;
        __overlay__ {
            status = "okay";
        };
    };

    fragment@21 {
        target = <&ehrpwm0>;
        __overlay__ {
            status = "okay";
            pinctrl-names = "default";
            pinctrl-0 = <>;
        };
    };

Fragment @20 here is from a working overlay file. epwmss* is required to
use ehrpwm* modules in kernel 4.x. Additionally . . . there's a syntax
error that I do not care to look into . . .


On Thu, Jul 28, 2016 at 1:23 PM, William Hermans <yyrk...@gmail.com> wrote:

> Hi Mike,
>
> Yeah, that's pretty cool, except it does need an update at minimum when
> showing sysfs paths for *ocp* targets
> . Also I'm not entirerly sure it generates correct overlay files for( at
> minimum ) ehrpwm* and kernels 4.1.x+
>
>
>
> On Thu, Jul 28, 2016 at 1:16 PM, Mike <bellyac...@gmail.com> wrote:
>
>> On 07/28/2016 03:20 PM, William Hermans wrote:
>>
>>> I think what would be super useful, if a web interface, or maybe even
>>> native app that did pinmux for people. Select a few options from dropdowns,
>>> click a few checkboxes, and viola ! Have it generate a *dts file for you.
>>>
>>
>> http://kilobaser.com/blog/2014-07-28-beaglebone-black-devicetreeoverlay-generator#dtogenerator
>>
>> Mike
>>
>> --
>> For more options, visit http://beagleboard.org/discuss
>> --- You received this message because you are subscribed to the Google
>> Groups "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to beagleboard+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/beagleboard/8ab582f3-53bc-4bbb-4b7d-506f3e8d1aa2%40gmail.com
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CALHSORp1vqrwh_ygMh99O4_BH5_bt%2BtG0YNXATf0BCBM7pmovA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to