1a9f3edd0SBoris BrezillonWhat: /sys/bus/i3c/devices/i3c-<bus-id> 2a9f3edd0SBoris BrezillonKernelVersion: 5.0 3a9f3edd0SBoris BrezillonContact: linux-i3c@vger.kernel.org 4a9f3edd0SBoris BrezillonDescription: 5a9f3edd0SBoris Brezillon An I3C bus. This directory will contain one sub-directory per 6a9f3edd0SBoris Brezillon I3C device present on the bus. 7a9f3edd0SBoris Brezillon 8a9f3edd0SBoris BrezillonWhat: /sys/bus/i3c/devices/i3c-<bus-id>/current_master 9a9f3edd0SBoris BrezillonKernelVersion: 5.0 10a9f3edd0SBoris BrezillonContact: linux-i3c@vger.kernel.org 11a9f3edd0SBoris BrezillonDescription: 12a9f3edd0SBoris Brezillon Expose the master that owns the bus (<bus-id>-<master-pid>) at 13a9f3edd0SBoris Brezillon the time this file is read. Note that bus ownership can change 14a9f3edd0SBoris Brezillon overtime, so there's no guarantee that when the read() call 15a9f3edd0SBoris Brezillon returns, the value returned is still valid. 16a9f3edd0SBoris Brezillon 17a9f3edd0SBoris BrezillonWhat: /sys/bus/i3c/devices/i3c-<bus-id>/mode 18a9f3edd0SBoris BrezillonKernelVersion: 5.0 19a9f3edd0SBoris BrezillonContact: linux-i3c@vger.kernel.org 20a9f3edd0SBoris BrezillonDescription: 21a9f3edd0SBoris Brezillon I3C bus mode. Can be "pure", "mixed-fast" or "mixed-slow". See 22a9f3edd0SBoris Brezillon the I3C specification for a detailed description of what each 23a9f3edd0SBoris Brezillon of these modes implies. 24a9f3edd0SBoris Brezillon 25a9f3edd0SBoris BrezillonWhat: /sys/bus/i3c/devices/i3c-<bus-id>/i3c_scl_frequency 26a9f3edd0SBoris BrezillonKernelVersion: 5.0 27a9f3edd0SBoris BrezillonContact: linux-i3c@vger.kernel.org 28a9f3edd0SBoris BrezillonDescription: 29a9f3edd0SBoris Brezillon The frequency (expressed in Hz) of the SCL signal when 30a9f3edd0SBoris Brezillon operating in I3C SDR mode. 31a9f3edd0SBoris Brezillon 32a9f3edd0SBoris BrezillonWhat: /sys/bus/i3c/devices/i3c-<bus-id>/i2c_scl_frequency 33a9f3edd0SBoris BrezillonKernelVersion: 5.0 34a9f3edd0SBoris BrezillonContact: linux-i3c@vger.kernel.org 35a9f3edd0SBoris BrezillonDescription: 36a9f3edd0SBoris Brezillon The frequency (expressed in Hz) of the SCL signal when 37a9f3edd0SBoris Brezillon operating in I2C mode. 38a9f3edd0SBoris Brezillon 39a9f3edd0SBoris BrezillonWhat: /sys/bus/i3c/devices/i3c-<bus-id>/dynamic_address 40a9f3edd0SBoris BrezillonKernelVersion: 5.0 41a9f3edd0SBoris BrezillonContact: linux-i3c@vger.kernel.org 42a9f3edd0SBoris BrezillonDescription: 43a9f3edd0SBoris Brezillon Dynamic address assigned to the master controller. This 44a9f3edd0SBoris Brezillon address may change if the bus is re-initialized. 45a9f3edd0SBoris Brezillon 46a9f3edd0SBoris BrezillonWhat: /sys/bus/i3c/devices/i3c-<bus-id>/bcr 47a9f3edd0SBoris BrezillonKernelVersion: 5.0 48a9f3edd0SBoris BrezillonContact: linux-i3c@vger.kernel.org 49a9f3edd0SBoris BrezillonDescription: 50a9f3edd0SBoris Brezillon BCR stands for Bus Characteristics Register and express the 51a9f3edd0SBoris Brezillon device capabilities in term of speed, maximum read/write 52a9f3edd0SBoris Brezillon length, etc. See the I3C specification for more details. 53a9f3edd0SBoris Brezillon This entry describes the BCR of the master controller driving 54a9f3edd0SBoris Brezillon the bus. 55a9f3edd0SBoris Brezillon 56a9f3edd0SBoris BrezillonWhat: /sys/bus/i3c/devices/i3c-<bus-id>/dcr 57a9f3edd0SBoris BrezillonKernelVersion: 5.0 58a9f3edd0SBoris BrezillonContact: linux-i3c@vger.kernel.org 59a9f3edd0SBoris BrezillonDescription: 60a9f3edd0SBoris Brezillon DCR stands for Device Characteristics Register and express the 61a9f3edd0SBoris Brezillon device capabilities in term of exposed features. See the I3C 62a9f3edd0SBoris Brezillon specification for more details. 63a9f3edd0SBoris Brezillon This entry describes the DCR of the master controller driving 64a9f3edd0SBoris Brezillon the bus. 65a9f3edd0SBoris Brezillon 66a9f3edd0SBoris BrezillonWhat: /sys/bus/i3c/devices/i3c-<bus-id>/pid 67a9f3edd0SBoris BrezillonKernelVersion: 5.0 68a9f3edd0SBoris BrezillonContact: linux-i3c@vger.kernel.org 69a9f3edd0SBoris BrezillonDescription: 70a9f3edd0SBoris Brezillon PID stands for Provisional ID and is used to uniquely identify 71a9f3edd0SBoris Brezillon a device on a bus. This PID contains information about the 72a9f3edd0SBoris Brezillon vendor, the part and an instance ID so that several devices of 73a9f3edd0SBoris Brezillon the same type can be connected on the same bus. 74a9f3edd0SBoris Brezillon See the I3C specification for more details. 75a9f3edd0SBoris Brezillon This entry describes the PID of the master controller driving 76a9f3edd0SBoris Brezillon the bus. 77a9f3edd0SBoris Brezillon 78a9f3edd0SBoris BrezillonWhat: /sys/bus/i3c/devices/i3c-<bus-id>/hdrcap 79a9f3edd0SBoris BrezillonKernelVersion: 5.0 80a9f3edd0SBoris BrezillonContact: linux-i3c@vger.kernel.org 81a9f3edd0SBoris BrezillonDescription: 82a9f3edd0SBoris Brezillon Expose the HDR (High Data Rate) capabilities of a device. 83a9f3edd0SBoris Brezillon Returns a list of supported HDR mode, each element is separated 84a9f3edd0SBoris Brezillon by space. Modes can be "hdr-ddr", "hdr-tsp" and "hdr-tsl". 85a9f3edd0SBoris Brezillon See the I3C specification for more details about these HDR 86a9f3edd0SBoris Brezillon modes. 87*54a19b4dSMauro Carvalho Chehab 88a9f3edd0SBoris Brezillon This entry describes the HDRCAP of the master controller 89a9f3edd0SBoris Brezillon driving the bus. 90a9f3edd0SBoris Brezillon 91a9f3edd0SBoris BrezillonWhat: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid> 92a9f3edd0SBoris BrezillonKernelVersion: 5.0 93a9f3edd0SBoris BrezillonContact: linux-i3c@vger.kernel.org 94a9f3edd0SBoris BrezillonDescription: 95a9f3edd0SBoris Brezillon An I3C device present on I3C bus identified by <bus-id>. Note 96a9f3edd0SBoris Brezillon that all devices are represented including the master driving 97a9f3edd0SBoris Brezillon the bus. 98a9f3edd0SBoris Brezillon 99a9f3edd0SBoris BrezillonWhat: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/dynamic_address 100a9f3edd0SBoris BrezillonKernelVersion: 5.0 101a9f3edd0SBoris BrezillonContact: linux-i3c@vger.kernel.org 102a9f3edd0SBoris BrezillonDescription: 103a9f3edd0SBoris Brezillon Dynamic address assigned to device <bus-id>-<device-pid>. This 104a9f3edd0SBoris Brezillon address may change if the bus is re-initialized. 105a9f3edd0SBoris Brezillon 106a9f3edd0SBoris BrezillonWhat: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/bcr 107a9f3edd0SBoris BrezillonKernelVersion: 5.0 108a9f3edd0SBoris BrezillonContact: linux-i3c@vger.kernel.org 109a9f3edd0SBoris BrezillonDescription: 110a9f3edd0SBoris Brezillon BCR stands for Bus Characteristics Register and express the 111a9f3edd0SBoris Brezillon device capabilities in term of speed, maximum read/write 112a9f3edd0SBoris Brezillon length, etc. See the I3C specification for more details. 113a9f3edd0SBoris Brezillon 114a9f3edd0SBoris BrezillonWhat: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/dcr 115a9f3edd0SBoris BrezillonKernelVersion: 5.0 116a9f3edd0SBoris BrezillonContact: linux-i3c@vger.kernel.org 117a9f3edd0SBoris BrezillonDescription: 118a9f3edd0SBoris Brezillon DCR stands for Device Characteristics Register and express the 119a9f3edd0SBoris Brezillon device capabilities in term of exposed features. See the I3C 120a9f3edd0SBoris Brezillon specification for more details. 121a9f3edd0SBoris Brezillon 122a9f3edd0SBoris BrezillonWhat: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/pid 123a9f3edd0SBoris BrezillonKernelVersion: 5.0 124a9f3edd0SBoris BrezillonContact: linux-i3c@vger.kernel.org 125a9f3edd0SBoris BrezillonDescription: 126a9f3edd0SBoris Brezillon PID stands for Provisional ID and is used to uniquely identify 127a9f3edd0SBoris Brezillon a device on a bus. This PID contains information about the 128a9f3edd0SBoris Brezillon vendor, the part and an instance ID so that several devices of 129a9f3edd0SBoris Brezillon the same type can be connected on the same bus. 130a9f3edd0SBoris Brezillon See the I3C specification for more details. 131a9f3edd0SBoris Brezillon 132a9f3edd0SBoris BrezillonWhat: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/hdrcap 133a9f3edd0SBoris BrezillonKernelVersion: 5.0 134a9f3edd0SBoris BrezillonContact: linux-i3c@vger.kernel.org 135a9f3edd0SBoris BrezillonDescription: 136a9f3edd0SBoris Brezillon Expose the HDR (High Data Rate) capabilities of a device. 137a9f3edd0SBoris Brezillon Returns a list of supported HDR mode, each element is separated 138a9f3edd0SBoris Brezillon by space. Modes can be "hdr-ddr", "hdr-tsp" and "hdr-tsl". 139*54a19b4dSMauro Carvalho Chehab 140a9f3edd0SBoris Brezillon See the I3C specification for more details about these HDR 141a9f3edd0SBoris Brezillon modes. 142a9f3edd0SBoris Brezillon 143a9f3edd0SBoris BrezillonWhat: /sys/bus/i3c/devices/<bus-id>-<device-pid> 144a9f3edd0SBoris BrezillonKernelVersion: 5.0 145a9f3edd0SBoris BrezillonContact: linux-i3c@vger.kernel.org 146a9f3edd0SBoris BrezillonDescription: 147a9f3edd0SBoris Brezillon These directories are just symbolic links to 148a9f3edd0SBoris Brezillon /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>. 149