162306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/INTC1092:00/intc_reg 262306a36Sopenharmony_ciDate: August 2021 362306a36Sopenharmony_ciKernelVersion: 5.15 462306a36Sopenharmony_ciContact: Shravan S <s.shravan@intel.com>, 562306a36Sopenharmony_ci An Sudhakar <sudhakar.an@intel.com> 662306a36Sopenharmony_ciDescription: 762306a36Sopenharmony_ci Specific Absorption Rate (SAR) regulatory mode is typically 862306a36Sopenharmony_ci derived based on information like mcc (Mobile Country Code) and 962306a36Sopenharmony_ci mnc (Mobile Network Code) that is available for the currently 1062306a36Sopenharmony_ci attached LTE network. A userspace application is required to set 1162306a36Sopenharmony_ci the current SAR regulatory mode on the Dynamic SAR driver using 1262306a36Sopenharmony_ci this sysfs node. Such an application can also read back using 1362306a36Sopenharmony_ci this sysfs node, the currently configured regulatory mode value 1462306a36Sopenharmony_ci from the Dynamic SAR driver. 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ci Acceptable regulatory modes are: 1762306a36Sopenharmony_ci == ==== 1862306a36Sopenharmony_ci 0 FCC 1962306a36Sopenharmony_ci 1 CE 2062306a36Sopenharmony_ci 2 ISED 2162306a36Sopenharmony_ci == ==== 2262306a36Sopenharmony_ci 2362306a36Sopenharmony_ci - The regulatory mode value has one of the above values. 2462306a36Sopenharmony_ci - The default regulatory mode used in the driver is 0. 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/INTC1092:00/intc_data 2762306a36Sopenharmony_ciDate: August 2021 2862306a36Sopenharmony_ciKernelVersion: 5.15 2962306a36Sopenharmony_ciContact: Shravan S <s.shravan@intel.com>, 3062306a36Sopenharmony_ci An Sudhakar <sudhakar.an@intel.com> 3162306a36Sopenharmony_ciDescription: 3262306a36Sopenharmony_ci This sysfs entry is used to retrieve Dynamic SAR information 3362306a36Sopenharmony_ci emitted/maintained by a BIOS that supports Dynamic SAR. 3462306a36Sopenharmony_ci 3562306a36Sopenharmony_ci The retrieved information is in the order given below: 3662306a36Sopenharmony_ci - device_mode 3762306a36Sopenharmony_ci - bandtable_index 3862306a36Sopenharmony_ci - antennatable_index 3962306a36Sopenharmony_ci - sartable_index 4062306a36Sopenharmony_ci 4162306a36Sopenharmony_ci The above information is sent as integer values separated 4262306a36Sopenharmony_ci by a single space. This information can then be pushed to a 4362306a36Sopenharmony_ci WWAN modem that uses this to control the transmit signal 4462306a36Sopenharmony_ci level using the Band/Antenna/SAR table index information. 4562306a36Sopenharmony_ci These parameters are derived/decided by aggregating 4662306a36Sopenharmony_ci device-mode like laptop/tablet/clamshell etc. and the 4762306a36Sopenharmony_ci proximity-sensor data available to the embedded controller on 4862306a36Sopenharmony_ci given host. The regulatory mode configured on Dynamic SAR 4962306a36Sopenharmony_ci driver also influences these values. 5062306a36Sopenharmony_ci 5162306a36Sopenharmony_ci The userspace applications can poll for changes to this file 5262306a36Sopenharmony_ci using POLLPRI event on file-descriptor (fd) obtained by opening 5362306a36Sopenharmony_ci this sysfs entry. Application can then read this information from 5462306a36Sopenharmony_ci the sysfs node and consume the given information. 55