18c2ecf20Sopenharmony_ciWhat: /sys/bus/i3c/devices/i3c-<bus-id> 28c2ecf20Sopenharmony_ciKernelVersion: 5.0 38c2ecf20Sopenharmony_ciContact: linux-i3c@vger.kernel.org 48c2ecf20Sopenharmony_ciDescription: 58c2ecf20Sopenharmony_ci An I3C bus. This directory will contain one sub-directory per 68c2ecf20Sopenharmony_ci I3C device present on the bus. 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ciWhat: /sys/bus/i3c/devices/i3c-<bus-id>/current_master 98c2ecf20Sopenharmony_ciKernelVersion: 5.0 108c2ecf20Sopenharmony_ciContact: linux-i3c@vger.kernel.org 118c2ecf20Sopenharmony_ciDescription: 128c2ecf20Sopenharmony_ci Expose the master that owns the bus (<bus-id>-<master-pid>) at 138c2ecf20Sopenharmony_ci the time this file is read. Note that bus ownership can change 148c2ecf20Sopenharmony_ci overtime, so there's no guarantee that when the read() call 158c2ecf20Sopenharmony_ci returns, the value returned is still valid. 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ciWhat: /sys/bus/i3c/devices/i3c-<bus-id>/mode 188c2ecf20Sopenharmony_ciKernelVersion: 5.0 198c2ecf20Sopenharmony_ciContact: linux-i3c@vger.kernel.org 208c2ecf20Sopenharmony_ciDescription: 218c2ecf20Sopenharmony_ci I3C bus mode. Can be "pure", "mixed-fast" or "mixed-slow". See 228c2ecf20Sopenharmony_ci the I3C specification for a detailed description of what each 238c2ecf20Sopenharmony_ci of these modes implies. 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ciWhat: /sys/bus/i3c/devices/i3c-<bus-id>/i3c_scl_frequency 268c2ecf20Sopenharmony_ciKernelVersion: 5.0 278c2ecf20Sopenharmony_ciContact: linux-i3c@vger.kernel.org 288c2ecf20Sopenharmony_ciDescription: 298c2ecf20Sopenharmony_ci The frequency (expressed in Hz) of the SCL signal when 308c2ecf20Sopenharmony_ci operating in I3C SDR mode. 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ciWhat: /sys/bus/i3c/devices/i3c-<bus-id>/i2c_scl_frequency 338c2ecf20Sopenharmony_ciKernelVersion: 5.0 348c2ecf20Sopenharmony_ciContact: linux-i3c@vger.kernel.org 358c2ecf20Sopenharmony_ciDescription: 368c2ecf20Sopenharmony_ci The frequency (expressed in Hz) of the SCL signal when 378c2ecf20Sopenharmony_ci operating in I2C mode. 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_ciWhat: /sys/bus/i3c/devices/i3c-<bus-id>/dynamic_address 408c2ecf20Sopenharmony_ciKernelVersion: 5.0 418c2ecf20Sopenharmony_ciContact: linux-i3c@vger.kernel.org 428c2ecf20Sopenharmony_ciDescription: 438c2ecf20Sopenharmony_ci Dynamic address assigned to the master controller. This 448c2ecf20Sopenharmony_ci address may change if the bus is re-initialized. 458c2ecf20Sopenharmony_ci 468c2ecf20Sopenharmony_ciWhat: /sys/bus/i3c/devices/i3c-<bus-id>/bcr 478c2ecf20Sopenharmony_ciKernelVersion: 5.0 488c2ecf20Sopenharmony_ciContact: linux-i3c@vger.kernel.org 498c2ecf20Sopenharmony_ciDescription: 508c2ecf20Sopenharmony_ci BCR stands for Bus Characteristics Register and express the 518c2ecf20Sopenharmony_ci device capabilities in term of speed, maximum read/write 528c2ecf20Sopenharmony_ci length, etc. See the I3C specification for more details. 538c2ecf20Sopenharmony_ci This entry describes the BCR of the master controller driving 548c2ecf20Sopenharmony_ci the bus. 558c2ecf20Sopenharmony_ci 568c2ecf20Sopenharmony_ciWhat: /sys/bus/i3c/devices/i3c-<bus-id>/dcr 578c2ecf20Sopenharmony_ciKernelVersion: 5.0 588c2ecf20Sopenharmony_ciContact: linux-i3c@vger.kernel.org 598c2ecf20Sopenharmony_ciDescription: 608c2ecf20Sopenharmony_ci DCR stands for Device Characteristics Register and express the 618c2ecf20Sopenharmony_ci device capabilities in term of exposed features. See the I3C 628c2ecf20Sopenharmony_ci specification for more details. 638c2ecf20Sopenharmony_ci This entry describes the DCR of the master controller driving 648c2ecf20Sopenharmony_ci the bus. 658c2ecf20Sopenharmony_ci 668c2ecf20Sopenharmony_ciWhat: /sys/bus/i3c/devices/i3c-<bus-id>/pid 678c2ecf20Sopenharmony_ciKernelVersion: 5.0 688c2ecf20Sopenharmony_ciContact: linux-i3c@vger.kernel.org 698c2ecf20Sopenharmony_ciDescription: 708c2ecf20Sopenharmony_ci PID stands for Provisional ID and is used to uniquely identify 718c2ecf20Sopenharmony_ci a device on a bus. This PID contains information about the 728c2ecf20Sopenharmony_ci vendor, the part and an instance ID so that several devices of 738c2ecf20Sopenharmony_ci the same type can be connected on the same bus. 748c2ecf20Sopenharmony_ci See the I3C specification for more details. 758c2ecf20Sopenharmony_ci This entry describes the PID of the master controller driving 768c2ecf20Sopenharmony_ci the bus. 778c2ecf20Sopenharmony_ci 788c2ecf20Sopenharmony_ciWhat: /sys/bus/i3c/devices/i3c-<bus-id>/hdrcap 798c2ecf20Sopenharmony_ciKernelVersion: 5.0 808c2ecf20Sopenharmony_ciContact: linux-i3c@vger.kernel.org 818c2ecf20Sopenharmony_ciDescription: 828c2ecf20Sopenharmony_ci Expose the HDR (High Data Rate) capabilities of a device. 838c2ecf20Sopenharmony_ci Returns a list of supported HDR mode, each element is separated 848c2ecf20Sopenharmony_ci by space. Modes can be "hdr-ddr", "hdr-tsp" and "hdr-tsl". 858c2ecf20Sopenharmony_ci See the I3C specification for more details about these HDR 868c2ecf20Sopenharmony_ci modes. 878c2ecf20Sopenharmony_ci 888c2ecf20Sopenharmony_ci This entry describes the HDRCAP of the master controller 898c2ecf20Sopenharmony_ci driving the bus. 908c2ecf20Sopenharmony_ci 918c2ecf20Sopenharmony_ciWhat: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid> 928c2ecf20Sopenharmony_ciKernelVersion: 5.0 938c2ecf20Sopenharmony_ciContact: linux-i3c@vger.kernel.org 948c2ecf20Sopenharmony_ciDescription: 958c2ecf20Sopenharmony_ci An I3C device present on I3C bus identified by <bus-id>. Note 968c2ecf20Sopenharmony_ci that all devices are represented including the master driving 978c2ecf20Sopenharmony_ci the bus. 988c2ecf20Sopenharmony_ci 998c2ecf20Sopenharmony_ciWhat: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/dynamic_address 1008c2ecf20Sopenharmony_ciKernelVersion: 5.0 1018c2ecf20Sopenharmony_ciContact: linux-i3c@vger.kernel.org 1028c2ecf20Sopenharmony_ciDescription: 1038c2ecf20Sopenharmony_ci Dynamic address assigned to device <bus-id>-<device-pid>. This 1048c2ecf20Sopenharmony_ci address may change if the bus is re-initialized. 1058c2ecf20Sopenharmony_ci 1068c2ecf20Sopenharmony_ciWhat: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/bcr 1078c2ecf20Sopenharmony_ciKernelVersion: 5.0 1088c2ecf20Sopenharmony_ciContact: linux-i3c@vger.kernel.org 1098c2ecf20Sopenharmony_ciDescription: 1108c2ecf20Sopenharmony_ci BCR stands for Bus Characteristics Register and express the 1118c2ecf20Sopenharmony_ci device capabilities in term of speed, maximum read/write 1128c2ecf20Sopenharmony_ci length, etc. See the I3C specification for more details. 1138c2ecf20Sopenharmony_ci 1148c2ecf20Sopenharmony_ciWhat: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/dcr 1158c2ecf20Sopenharmony_ciKernelVersion: 5.0 1168c2ecf20Sopenharmony_ciContact: linux-i3c@vger.kernel.org 1178c2ecf20Sopenharmony_ciDescription: 1188c2ecf20Sopenharmony_ci DCR stands for Device Characteristics Register and express the 1198c2ecf20Sopenharmony_ci device capabilities in term of exposed features. See the I3C 1208c2ecf20Sopenharmony_ci specification for more details. 1218c2ecf20Sopenharmony_ci 1228c2ecf20Sopenharmony_ciWhat: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/pid 1238c2ecf20Sopenharmony_ciKernelVersion: 5.0 1248c2ecf20Sopenharmony_ciContact: linux-i3c@vger.kernel.org 1258c2ecf20Sopenharmony_ciDescription: 1268c2ecf20Sopenharmony_ci PID stands for Provisional ID and is used to uniquely identify 1278c2ecf20Sopenharmony_ci a device on a bus. This PID contains information about the 1288c2ecf20Sopenharmony_ci vendor, the part and an instance ID so that several devices of 1298c2ecf20Sopenharmony_ci the same type can be connected on the same bus. 1308c2ecf20Sopenharmony_ci See the I3C specification for more details. 1318c2ecf20Sopenharmony_ci 1328c2ecf20Sopenharmony_ciWhat: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/hdrcap 1338c2ecf20Sopenharmony_ciKernelVersion: 5.0 1348c2ecf20Sopenharmony_ciContact: linux-i3c@vger.kernel.org 1358c2ecf20Sopenharmony_ciDescription: 1368c2ecf20Sopenharmony_ci Expose the HDR (High Data Rate) capabilities of a device. 1378c2ecf20Sopenharmony_ci Returns a list of supported HDR mode, each element is separated 1388c2ecf20Sopenharmony_ci by space. Modes can be "hdr-ddr", "hdr-tsp" and "hdr-tsl". 1398c2ecf20Sopenharmony_ci 1408c2ecf20Sopenharmony_ci See the I3C specification for more details about these HDR 1418c2ecf20Sopenharmony_ci modes. 1428c2ecf20Sopenharmony_ci 1438c2ecf20Sopenharmony_ciWhat: /sys/bus/i3c/devices/<bus-id>-<device-pid> 1448c2ecf20Sopenharmony_ciKernelVersion: 5.0 1458c2ecf20Sopenharmony_ciContact: linux-i3c@vger.kernel.org 1468c2ecf20Sopenharmony_ciDescription: 1478c2ecf20Sopenharmony_ci These directories are just symbolic links to 1488c2ecf20Sopenharmony_ci /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>. 149