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: 7057ec42b9SMatt Johnston PID stands for Provisioned 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. 8754a19b4dSMauro Carvalho Chehab 88a9f3edd0SBoris Brezillon This entry describes the HDRCAP of the master controller 89a9f3edd0SBoris Brezillon driving the bus. 90a9f3edd0SBoris Brezillon 91*4fa0888fSAlexandre BelloniWhat: /sys/bus/i3c/devices/i3c-<bus-id>/hotjoin 92*4fa0888fSAlexandre BelloniKernelVersion: 6.8 93*4fa0888fSAlexandre BelloniContact: linux-i3c@vger.kernel.org 94*4fa0888fSAlexandre BelloniDescription: 95*4fa0888fSAlexandre Belloni I3C’s Hot-Join mechanism allows an I3C Device to inform the 96*4fa0888fSAlexandre Belloni Active Controller that a newly-joined Target is present on the 97*4fa0888fSAlexandre Belloni I3C Bus and is ready to receive a Dynamic Address, in order to 98*4fa0888fSAlexandre Belloni become fully functional on the Bus. Hot-Join is used when the 99*4fa0888fSAlexandre Belloni Target is mounted on the same I3C bus and remains depowered 100*4fa0888fSAlexandre Belloni until needed or until the Target is physically inserted into the 101*4fa0888fSAlexandre Belloni I3C bus 102*4fa0888fSAlexandre Belloni 103*4fa0888fSAlexandre Belloni This entry allows to enable or disable Hot-join of the Current 104*4fa0888fSAlexandre Belloni Controller driving the bus. 105*4fa0888fSAlexandre Belloni 106a9f3edd0SBoris BrezillonWhat: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid> 107a9f3edd0SBoris BrezillonKernelVersion: 5.0 108a9f3edd0SBoris BrezillonContact: linux-i3c@vger.kernel.org 109a9f3edd0SBoris BrezillonDescription: 110a9f3edd0SBoris Brezillon An I3C device present on I3C bus identified by <bus-id>. Note 111a9f3edd0SBoris Brezillon that all devices are represented including the master driving 112a9f3edd0SBoris Brezillon the bus. 113a9f3edd0SBoris Brezillon 114a9f3edd0SBoris BrezillonWhat: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/dynamic_address 115a9f3edd0SBoris BrezillonKernelVersion: 5.0 116a9f3edd0SBoris BrezillonContact: linux-i3c@vger.kernel.org 117a9f3edd0SBoris BrezillonDescription: 118a9f3edd0SBoris Brezillon Dynamic address assigned to device <bus-id>-<device-pid>. This 119a9f3edd0SBoris Brezillon address may change if the bus is re-initialized. 120a9f3edd0SBoris Brezillon 121a9f3edd0SBoris BrezillonWhat: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/bcr 122a9f3edd0SBoris BrezillonKernelVersion: 5.0 123a9f3edd0SBoris BrezillonContact: linux-i3c@vger.kernel.org 124a9f3edd0SBoris BrezillonDescription: 125a9f3edd0SBoris Brezillon BCR stands for Bus Characteristics Register and express the 126a9f3edd0SBoris Brezillon device capabilities in term of speed, maximum read/write 127a9f3edd0SBoris Brezillon length, etc. See the I3C specification for more details. 128a9f3edd0SBoris Brezillon 129a9f3edd0SBoris BrezillonWhat: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/dcr 130a9f3edd0SBoris BrezillonKernelVersion: 5.0 131a9f3edd0SBoris BrezillonContact: linux-i3c@vger.kernel.org 132a9f3edd0SBoris BrezillonDescription: 133a9f3edd0SBoris Brezillon DCR stands for Device Characteristics Register and express the 134a9f3edd0SBoris Brezillon device capabilities in term of exposed features. See the I3C 135a9f3edd0SBoris Brezillon specification for more details. 136a9f3edd0SBoris Brezillon 137a9f3edd0SBoris BrezillonWhat: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/pid 138a9f3edd0SBoris BrezillonKernelVersion: 5.0 139a9f3edd0SBoris BrezillonContact: linux-i3c@vger.kernel.org 140a9f3edd0SBoris BrezillonDescription: 14157ec42b9SMatt Johnston PID stands for Provisioned ID and is used to uniquely identify 142a9f3edd0SBoris Brezillon a device on a bus. This PID contains information about the 143a9f3edd0SBoris Brezillon vendor, the part and an instance ID so that several devices of 144a9f3edd0SBoris Brezillon the same type can be connected on the same bus. 145a9f3edd0SBoris Brezillon See the I3C specification for more details. 146a9f3edd0SBoris Brezillon 147a9f3edd0SBoris BrezillonWhat: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/hdrcap 148a9f3edd0SBoris BrezillonKernelVersion: 5.0 149a9f3edd0SBoris BrezillonContact: linux-i3c@vger.kernel.org 150a9f3edd0SBoris BrezillonDescription: 151a9f3edd0SBoris Brezillon Expose the HDR (High Data Rate) capabilities of a device. 152a9f3edd0SBoris Brezillon Returns a list of supported HDR mode, each element is separated 153a9f3edd0SBoris Brezillon by space. Modes can be "hdr-ddr", "hdr-tsp" and "hdr-tsl". 15454a19b4dSMauro Carvalho Chehab 155a9f3edd0SBoris Brezillon See the I3C specification for more details about these HDR 156a9f3edd0SBoris Brezillon modes. 157a9f3edd0SBoris Brezillon 158a9f3edd0SBoris BrezillonWhat: /sys/bus/i3c/devices/<bus-id>-<device-pid> 159a9f3edd0SBoris BrezillonKernelVersion: 5.0 160a9f3edd0SBoris BrezillonContact: linux-i3c@vger.kernel.org 161a9f3edd0SBoris BrezillonDescription: 162a9f3edd0SBoris Brezillon These directories are just symbolic links to 163a9f3edd0SBoris Brezillon /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>. 164