Re: [PATCH v8 2/2] docs: spi: add documentation for userspace device instantiation
Mark Brown <[email protected]> Fri, 31 Jul 2026 18:22:21 +0100
| Newsgroups | org.kernel.vger.linux-spi,org.kernel.vger.linux-doc |
|---|---|
| Message-ID | <[email protected]> |
--596JTbBaHDJa302v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jul 28, 2026 at 07:10:56PM +0000, Vishwaroop A wrote: > Document the new_device and delete_device sysfs attributes on SPI > controllers: > +What: /sys/class/spi_master/spiB/new_device > +Date: April 2026 > +KernelVersion: 7.2 These need updating. > +On systems that need spidev access at boot, a systemd service or > +udev rule can write to ``new_device`` after the SPI controller is > +available. The fixes for safe ordering of init mean that the new sysfs files will appears slightly after the device is registering, we ought to do something about ensuring there's a notification for the hotplug of the properties. --596JTbBaHDJa302v Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmps2cwACgkQJNaLcl1U h9CcKQf/TyWJU/SYtGlwANMCEq6k3344PbhUKlrrimm/XLYdyHIwJpi5zqbMnawi 5IK4esPqEIspck34edS9baUZfKNzNku7WVr4r1ZfAHllMd532G35OHCNANSBXDtJ yvQO5Zy7axKY9f4fQ4+V7MS2RJzBanpVuXOME1BgksdvSzVl8pGnDjzoQ15sGkB0 MO1blFZ5DTWea6J/6EHL3hab67K2RnnHjLtdnfggHKPpEwmlMXMaoA782vsPJKtr RMpudJ5b2AjetGmUuXy7n4jQyP7BqnxiYImKI51FR/F5NOvURic5R8Ur/7msynQ6 +Se22gAERoKNoPKHK9afixqIsdbJAg== =Ktsh -----END PGP SIGNATURE----- --596JTbBaHDJa302v--