Advertisement
silver2row

tree and ls -l and additions...

Mar 22nd, 2023 (edited)
758
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.05 KB | None | 0 0
  1. /sys/bus/platform/devices/48302200.pwm
  2. |-- driver -> ../../../../../../../../bus/platform/drivers/ehrpwm
  3. |-- driver_override
  4. |-- modalias
  5. |-- of_node -> ../../../../../../../../firmware/devicetree/base/ocp/interconnect@48000000/segment@300000/target-module@2000/epwmss@0/pwm@200
  6. |-- power
  7. |   |-- async
  8. |   |-- autosuspend_delay_ms
  9. |   |-- control
  10. |   |-- runtime_active_kids
  11. |   |-- runtime_active_time
  12. |   |-- runtime_enabled
  13. |   |-- runtime_status
  14. |   |-- runtime_suspended_time
  15. |   `-- runtime_usage
  16. |-- pwm
  17. |   `-- pwmchip5
  18. |       |-- device -> ../../../48302200.pwm
  19. |       |-- export
  20. |       |-- npwm
  21. |       |-- power
  22. |       |   |-- async
  23. |       |   |-- autosuspend_delay_ms
  24. |       |   |-- control
  25. |       |   |-- runtime_active_kids
  26. |       |   |-- runtime_active_time
  27. |       |   |-- runtime_enabled
  28. |       |   |-- runtime_status
  29. |       |   |-- runtime_suspended_time
  30. |       |   `-- runtime_usage
  31. |       |-- pwm0
  32. |       |   |-- capture
  33. |       |   |-- duty_cycle
  34. |       |   |-- enable
  35. |       |   |-- period
  36. |       |   |-- polarity
  37. |       |   |-- power
  38. |       |   |   |-- async
  39. |       |   |   |-- autosuspend_delay_ms
  40. |       |   |   |-- control
  41. |       |   |   |-- runtime_active_kids
  42. |       |   |   |-- runtime_active_time
  43. |       |   |   |-- runtime_enabled
  44. |       |   |   |-- runtime_status
  45. |       |   |   |-- runtime_suspended_time
  46. |       |   |   `-- runtime_usage
  47. |       |   `-- uevent
  48. |       |-- pwm1
  49. |       |   |-- capture
  50. |       |   |-- duty_cycle
  51. |       |   |-- enable
  52. |       |   |-- period
  53. |       |   |-- polarity
  54. |       |   |-- power
  55. |       |   |   |-- async
  56. |       |   |   |-- autosuspend_delay_ms
  57. |       |   |   |-- control
  58. |       |   |   |-- runtime_active_kids
  59. |       |   |   |-- runtime_active_time
  60. |       |   |   |-- runtime_enabled
  61. |       |   |   |-- runtime_status
  62. |       |   |   |-- runtime_suspended_time
  63. |       |   |   `-- runtime_usage
  64. |       |   `-- uevent
  65. |       |-- subsystem -> ../../../../../../../../../../class/pwm
  66. |       |-- uevent
  67. |       `-- unexport
  68. |-- subsystem -> ../../../../../../../../bus/platform
  69. `-- uevent
  70.  
  71. 13 directories, 55 files
  72.  
  73. and...
  74.  
  75. total 0
  76. lrwxrwxrwx 1 root root 0 Dec 31  1999 pwmchip0 -> ../../devices/platform/ocp/48000000.interconnect/48000000.interconnect:segment@300000/48300000.target-module/48300000.epwmss/48300100.pwm/pwm/pwmchip0
  77. lrwxrwxrwx 1 root root 0 Dec 31  1999 pwmchip1 -> ../../devices/platform/ocp/48000000.interconnect/48000000.interconnect:segment@300000/48302000.target-module/48302000.epwmss/48302100.pwm/pwm/pwmchip1
  78. lrwxrwxrwx 1 root root 0 Dec 31  1999 pwmchip2 -> ../../devices/platform/ocp/48000000.interconnect/48000000.interconnect:segment@300000/48304000.target-module/48304000.epwmss/48304100.pwm/pwm/pwmchip2
  79. lrwxrwxrwx 1 root root 0 Dec 31  1999 pwmchip3 -> ../../devices/platform/ocp/48000000.interconnect/48000000.interconnect:segment@300000/48300000.target-module/48300000.epwmss/48300200.pwm/pwm/pwmchip3
  80. lrwxrwxrwx 1 root root 0 Dec 31  1999 pwmchip5 -> ../../devices/platform/ocp/48000000.interconnect/48000000.interconnect:segment@300000/48302000.target-module/48302000.epwmss/48302200.pwm/pwm/pwmchip5
  81. lrwxrwxrwx 1 root root 0 Dec 31  1999 pwmchip7 -> ../../devices/platform/ocp/48000000.interconnect/48000000.interconnect:segment@300000/48304000.target-module/48304000.epwmss/48304200.pwm/pwm/pwmchip7
  82.  
  83. ls -l /dev/bone/pwm
  84.  
  85. total 0
  86. drwxr-xr-x 2 root root 80 Mar 22 12:00 0
  87. drwxr-xr-x 2 root root 80 Mar 22 12:00 1
  88. drwxr-xr-x 2 root root 80 Mar 22 12:00 2
  89.  
  90.  
  91. ls -l /dev/bone/pwm/*
  92.  
  93. /dev/bone/pwm/0:
  94. total 0
  95. lrwxrwxrwx 1 root root 29 Mar 22 12:00 a -> /sys/class/pwm/pwmchip3/pwm0/
  96. lrwxrwxrwx 1 root root 29 Mar 22 12:00 b -> /sys/class/pwm/pwmchip3/pwm1/
  97.  
  98. /dev/bone/pwm/1:
  99. total 0
  100. lrwxrwxrwx 1 root root 29 Mar 22 12:00 a -> /sys/class/pwm/pwmchip5/pwm0/
  101. lrwxrwxrwx 1 root root 29 Mar 22 12:00 b -> /sys/class/pwm/pwmchip5/pwm1/
  102.  
  103. /dev/bone/pwm/2:
  104. total 0
  105. lrwxrwxrwx 1 root root 29 Mar 22 12:00 a -> /sys/class/pwm/pwmchip7/pwm0/
  106. lrwxrwxrwx 1 root root 29 Mar 22 12:00 b -> /sys/class/pwm/pwmchip7/pwm1/
  107.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement