sysfs-driver-intc_sar 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. What: /sys/bus/platform/devices/INTC1092:00/intc_reg
  2. Date: August 2021
  3. KernelVersion: 5.15
  4. Contact: Shravan S <[email protected]>,
  5. An Sudhakar <[email protected]>
  6. Description:
  7. Specific Absorption Rate (SAR) regulatory mode is typically
  8. derived based on information like mcc (Mobile Country Code) and
  9. mnc (Mobile Network Code) that is available for the currently
  10. attached LTE network. A userspace application is required to set
  11. the current SAR regulatory mode on the Dynamic SAR driver using
  12. this sysfs node. Such an application can also read back using
  13. this sysfs node, the currently configured regulatory mode value
  14. from the Dynamic SAR driver.
  15. Acceptable regulatory modes are:
  16. == ====
  17. 0 FCC
  18. 1 CE
  19. 2 ISED
  20. == ====
  21. - The regulatory mode value has one of the above values.
  22. - The default regulatory mode used in the driver is 0.
  23. What: /sys/bus/platform/devices/INTC1092:00/intc_data
  24. Date: August 2021
  25. KernelVersion: 5.15
  26. Contact: Shravan S <[email protected]>,
  27. An Sudhakar <[email protected]>
  28. Description:
  29. This sysfs entry is used to retrieve Dynamic SAR information
  30. emitted/maintained by a BIOS that supports Dynamic SAR.
  31. The retrieved information is in the order given below:
  32. - device_mode
  33. - bandtable_index
  34. - antennatable_index
  35. - sartable_index
  36. The above information is sent as integer values separated
  37. by a single space. This information can then be pushed to a
  38. WWAN modem that uses this to control the transmit signal
  39. level using the Band/Antenna/SAR table index information.
  40. These parameters are derived/decided by aggregating
  41. device-mode like laptop/tablet/clamshell etc. and the
  42. proximity-sensor data available to the embedded controller on
  43. given host. The regulatory mode configured on Dynamic SAR
  44. driver also influences these values.
  45. The userspace applications can poll for changes to this file
  46. using POLLPRI event on file-descriptor (fd) obtained by opening
  47. this sysfs entry. Application can then read this information from
  48. the sysfs node and consume the given information.