Hi, I am trying hardly to enable pwm on archlinux-3.8.12-13 on the Beaglebone black.
I came so far that after exporting the overlay there is a directory at "/sys/devices/ocp.3/pwm_test_P9_16.15". Unfortunately there are no files in this directory which would allow me to modify duty_cycle, period and so on. I only find: modalias power subsystem uevent My device tree source overlay is: /* * Copyright (C) 2013 CircuitCo * Copyright (C) 2013 Texas Instruments * * Enables PWM through ehrpwm1 on P9_14 and P9_16. */ /dts-v1/; /plugin/; / { part-number = "BB-HONEYMOON"; version = "00A0"; compatible = "ti,beaglebone", "ti,beaglebone-black" ; exclusive-use = "P9.16", "ehrpwm1A", "ehrpwm1B" ; fragment@0 { target = <&am33xx_pinmux>; __overlay__ { pwm_P9_16: pinmux_pwm_P9_16_pins { pinctrl-single,pins = <0x04c 0x06>; }; }; }; fragment@1 { target = <&ocp>; __overlay__ { pwm_test_P9_16 { status = "okay"; compatible = "pwm_test"; pwm-names = "PWM_P9_16"; pwms = <&ehrpwm1 1 0 1>; pinctrl-0 = <&pwm_P9_16>; pinctrl-names = "default"; enabled = <0>; duty = <0>; }; }; }; fragment@2 { target = <&epwmss1>; __overlay__ { status = "okay"; }; }; fragment@3 { target = <&ehrpwm1>; __overlay__ { status = "okay"; }; }; }; When I export it through slots in bone_capemgr.* I get following in dmesg: [ 41.196408] bone-capemgr bone_capemgr.9: slot #7: generic override [ 41.196425] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 7 [ 41.196444] bone-capemgr bone_capemgr.9: slot #7: 'Override Board Name,00A0,Override Manuf,BB-HONEYMOON' [ 41.196559] bone-capemgr bone_capemgr.9: slot #7: Requesting part number/version based 'BB-HONEYMOON-00A0.dtbo [ 41.196577] bone-capemgr bone_capemgr.9: slot #7: Requesting firmware 'BB-HONEYMOON-00A0.dtbo' for board-name 'Override Board Name', version '00A0' [ 41.196903] bone-capemgr bone_capemgr.9: slot #7: dtbo 'BB-HONEYMOON-00A0.dtbo' loaded; converting to live tree [ 41.197302] bone-capemgr bone_capemgr.9: slot #7: #2 overlays [ 41.206273] bone-capemgr bone_capemgr.9: slot #7: Applied #2 overlays. [ 41.235206] pwm_test pwm_test_P9_16.15: unable to request PWM [ 41.248481] platform pwm_test_P9_16.15: Driver pwm_test requests probe deferral Hope somebody could tell me what I am doing wrong... -- 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. For more options, visit https://groups.google.com/groups/opt_out.