summaryrefslogtreecommitdiff
path: root/Documentation/filesystems/configfs/configfs_example.c
diff options
context:
space:
mode:
authorJean-François Lessard <jefflessard3@gmail.com>2025-09-18 08:13:15 -0400
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2025-10-15 18:46:01 +0200
commit3ba5c78fe7c5d60edae0c47361f191d40c5c1cf0 (patch)
treea8198790dbb2bcc4c924e66e471821e32755658f /Documentation/filesystems/configfs/configfs_example.c
parente25063466d6d365b669320c0323b3282ea52f21c (diff)
auxdisplay: linedisp: support attribute attachment to auxdisplay devices
Enable linedisp library integration into existing kernel devices (like LED class) to provide a uniform 7-segment userspace API without creating separate child devices, meeting the consistent interface while maintaining coherent device hierarchies. This allows uniform 7-segment API across all drivers while solving device proliferation and fragmented userspace interfaces. The sysfs attributes appear in one of the two locations depending on usage: 1. On linedisp.N child devices (legacy linedisp_register()) 2. On the parent auxdisplay device (new linedisp_attach()) Functionality is identical in both modes. Existing consumers of linedisp_register() are unaffected. The new API enables drivers like TM16XX to integrate 7-segment display functionality seamlessly within their LED class device hierarchy. Signed-off-by: Jean-François Lessard <jefflessard3@gmail.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'Documentation/filesystems/configfs/configfs_example.c')
0 files changed, 0 insertions, 0 deletions