Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

docs: ABI: update OCP TimeCard sysfs entries

Update documentation according to the changes in the driver.

New attributes group tty is exposed and ttyGNSS, ttyGNSS2, ttyMAC and
ttyNMEA are moved to this group. Also, these attributes are no more
links to the devices but rather simple text files containing names of
tty devices.

Signed-off-by: Vadim Fedorenko <vadfed@meta.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>

authored by

Vadim Fedorenko and committed by
Paolo Abeni
40bec579 82ace0c8

+19 -14
+19 -14
Documentation/ABI/testing/sysfs-timecard
··· 258 258 the estimated point where the FPGA latches the PHC time. This 259 259 value may be changed by writing an unsigned integer. 260 260 261 - What: /sys/class/timecard/ocpN/ttyGNSS 262 - What: /sys/class/timecard/ocpN/ttyGNSS2 263 - Date: September 2021 264 - Contact: Jonathan Lemon <jonathan.lemon@gmail.com> 265 - Description: These optional attributes link to the TTY serial ports 266 - associated with the GNSS devices. 261 + What: /sys/class/timecard/ocpN/tty 262 + Date: August 2024 263 + Contact: Vadim Fedorenko <vadim.fedorenko@linux.dev> 264 + Description: (RO) Directory containing the sysfs nodes for TTY attributes 267 265 268 - What: /sys/class/timecard/ocpN/ttyMAC 269 - Date: September 2021 266 + What: /sys/class/timecard/ocpN/tty/ttyGNSS 267 + What: /sys/class/timecard/ocpN/tty/ttyGNSS2 268 + Date: August 2024 270 269 Contact: Jonathan Lemon <jonathan.lemon@gmail.com> 271 - Description: This optional attribute links to the TTY serial port 272 - associated with the Miniature Atomic Clock. 270 + Description: (RO) These optional attributes contain names of the TTY serial 271 + ports associated with the GNSS devices. 273 272 274 - What: /sys/class/timecard/ocpN/ttyNMEA 275 - Date: September 2021 273 + What: /sys/class/timecard/ocpN/tty/ttyMAC 274 + Date: August 2024 276 275 Contact: Jonathan Lemon <jonathan.lemon@gmail.com> 277 - Description: This optional attribute links to the TTY serial port 278 - which outputs the PHC time in NMEA ZDA format. 276 + Description: (RO) This optional attribute contains name of the TTY serial 277 + port associated with the Miniature Atomic Clock. 278 + 279 + What: /sys/class/timecard/ocpN/tty/ttyNMEA 280 + Date: August 2024 281 + Contact: Jonathan Lemon <jonathan.lemon@gmail.com> 282 + Description: (RO) This optional attribute contains name of the TTY serial 283 + port which outputs the PHC time in NMEA ZDA format. 279 284 280 285 What: /sys/class/timecard/ocpN/utc_tai_offset 281 286 Date: September 2021