Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2014
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.99 KB | None | 0 0
  1. # modinfo ntc_thermistor.ko
  2. filename: /root/ntc_thermistor/ntc_thermistor.ko
  3. alias: platform:ntc-thermistor
  4. license: GPL
  5. author: MyungJoo Ham <myungjoo.ham@samsung.com>
  6. description: NTC Thermistor Driver
  7. srcversion: DBAD01E8C409F3A3514FAD2
  8. depends:
  9. vermagic: 3.8.13-35-ARCH SMP mod_unload modversions ARMv7 p2v8
  10.  
  11. #lsmod
  12. Module Size Used by
  13. ntc_thermistor 4075 0
  14. omap_rng 4599 0
  15. autofs4 21976 2
  16.  
  17. /dts-v1/;
  18. /plugin/;
  19.  
  20. / {
  21. compatible = "ti,beaglebone", "ti,beaglebone-black";
  22.  
  23. /* identification */
  24. part-number = "BB-NTC";
  25. version = "00A0";
  26.  
  27. /* state the resources this cape uses */
  28. exclusive-use =
  29. /* the pin header uses */
  30. "P9.39", /* AIN0 */
  31. "P9.40", /* AIN1 */
  32. "P9.37", /* AIN2 */
  33. "P9.38", /* AIN3 */
  34. "P9.33", /* AIN4 */
  35. "P9.36", /* AIN5 */
  36. "P9.35", /* AIN6 */
  37. /* the hardware IP uses */
  38. "tscadc";
  39.  
  40. fragment@0 {
  41. target = <&ocp>;
  42. __overlay__ {
  43. /* avoid stupid warning */
  44. #address-cells = <1>;
  45. #size-cells = <1>;
  46.  
  47. tscadc {
  48. compatible = "ti,ti-tscadc";
  49. reg = <0x44e0d000 0x1000>;
  50.  
  51. interrupt-parent = <&intc>;
  52. interrupts = <16>;
  53. ti,hwmods = "adc_tsc";
  54. status = "okay";
  55.  
  56. adc {
  57. ti,adc-channels = <0 1 2 3 4 5 6 7>;
  58. };
  59.  
  60. };
  61.  
  62. ntc@0 {
  63. compatible = "ntc,ncp15wb473";
  64. pullup-uv = <1800000>;
  65. pullup-ohm = <0>;
  66. pulldown-ohm = <12000>;
  67. io-channels = <&tscadc 0>;
  68. };
  69.  
  70. test_helper: helper {
  71. compatible = "bone-iio-helper";
  72. vsense-name = "AIN0", "AIN1", "AIN2", "AIN3", "AIN4", "AIN5", "AIN6", "AIN7";
  73. vsense-scale = <100 100 100 100 100 100 100 100>;
  74. status = "okay";
  75. };
  76. };
  77. };
  78. };
  79.  
  80. #dmesg
  81. [ 102.513840] bone-capemgr bone_capemgr.9: part_number 'BB-NTC', version 'N/A'
  82. [ 102.514030] bone-capemgr bone_capemgr.9: slot #10: generic override
  83. [ 102.514081] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 10
  84. [ 102.514134] bone-capemgr bone_capemgr.9: slot #10: 'Override Board Name,00A0,Override Manuf,BB-NTC'
  85. [ 102.514409] bone-capemgr bone_capemgr.9: slot #10: Requesting part number/version based 'BB-NTC-00A0.dtbo
  86. [ 102.514463] bone-capemgr bone_capemgr.9: slot #10: Requesting firmware 'BB-NTC-00A0.dtbo' for board-name 'Override Board Name', version '00A0'
  87. [ 102.521859] bone-capemgr bone_capemgr.9: slot #10: dtbo 'BB-NTC-00A0.dtbo' loaded; converting to live tree
  88. [ 102.525143] bone-capemgr bone_capemgr.9: slot #10: #1 overlays
  89. [ 102.551219] bone-iio-helper helper.16: ready
  90. [ 102.551443] bone-capemgr bone_capemgr.9: slot #10: Applied #1 overlays.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement