#
18250ec6 |
| 06-Dec-2024 |
John Baldwin <jhb@FreeBSD.org> |
Replace calls to bus_generic_attach with bus_attach_children
Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D47675
|
Revision tags: release/14.2.0, release/13.4.0, release/14.1.0 |
|
#
accda781 |
| 08-Mar-2024 |
Mitchell Horne <mhorne@FreeBSD.org> |
simple_mfd: don't attach children twice
Trying to probe+attach the child device at the point it is added comes before the syscon handle is set up (if relevant). It will therefore be unavailable to t
simple_mfd: don't attach children twice
Trying to probe+attach the child device at the point it is added comes before the syscon handle is set up (if relevant). It will therefore be unavailable to the attach method which is expecting it, and the first attempt to attach the device will fail.
Just rely on the call to bus_generic_attach() at the end of the function to perform probe+attach of dev's children.
Reviewed by: manu MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D44268
show more ...
|
Revision tags: release/13.3.0 |
|
#
62e8ccc3 |
| 26-Dec-2023 |
Emmanuel Vadot <manu@FreeBSD.org> |
syscon: Move syscon code in dev/syscon
We've removed kernel option EXT_RESOURCES almost two years ago. While it was ok to have some code under a common 'extres' subdirectory at first, we now have a
syscon: Move syscon code in dev/syscon
We've removed kernel option EXT_RESOURCES almost two years ago. While it was ok to have some code under a common 'extres' subdirectory at first, we now have a lot of consumer of it and we made it mandatory so no need to have it under a cryptic name.
Reviewed by: mhorne Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D43196
show more ...
|
#
fdafd315 |
| 24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row.
Remov
sys: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row.
Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/
Sponsored by: Netflix
show more ...
|
Revision tags: release/14.0.0 |
|
#
685dc743 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
4d846d26 |
| 10-May-2023 |
Warner Losh <imp@FreeBSD.org> |
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
show more ...
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0 |
|
#
21cc0918 |
| 17-Aug-2021 |
Elliott Mitchell <ehem+freebsd@m5p.com> |
sys: Nuke double-semicolons
A distinct number of double-semicolons have ended up in FreeBSD. Take a pass at getting rid of many of these harmless typos.
Reviewed by: emaste, rrs Pull Request: http
sys: Nuke double-semicolons
A distinct number of double-semicolons have ended up in FreeBSD. Take a pass at getting rid of many of these harmless typos.
Reviewed by: emaste, rrs Pull Request: https://github.com/freebsd/freebsd-src/pull/609 Differential Revision: https://reviews.freebsd.org/D31716
show more ...
|
#
0a73fdb9 |
| 09-May-2022 |
John Baldwin <jhb@FreeBSD.org> |
fdt simple drivers: Remove unused devclass arguments to DRIVER_MODULE.
|
Revision tags: release/13.0.0 |
|
#
f97f57b5 |
| 04-Mar-2021 |
Michal Meloun <mmel@FreeBSD.org> |
simple_mfd: switch to controllable locking for syscon provider.
MFC after 3 weeks
|
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0 |
|
#
76eeda85 |
| 18-Aug-2019 |
Michal Meloun <mmel@FreeBSD.org> |
Fix bug introduced by r351184. We should check the returned handle, not the pointer to it.
Noticed by: ian X-MFC with: r351184 MFC after: 1 week
|
#
7f8c4c78 |
| 18-Aug-2019 |
Michal Meloun <mmel@FreeBSD.org> |
Add method for getting of syscon handle from parent device.
If simple multifuction device also provides syscon interface, its childern should be able to consume it. Due to this: - declare corespondi
Add method for getting of syscon handle from parent device.
If simple multifuction device also provides syscon interface, its childern should be able to consume it. Due to this: - declare coresponding method in syscon interface - implement it in simple multifunction device driver
MFC after: 1 week
show more ...
|
#
b52d0dc4 |
| 17-Aug-2019 |
Emmanuel Vadot <manu@FreeBSD.org> |
Revert r351129
the point of syscon node is to avoid multiple device driver reading/writing to the same area.
Reported by: ian
|
#
be6d7fc6 |
| 16-Aug-2019 |
Emmanuel Vadot <manu@FreeBSD.org> |
fdt: simple-mfd: Set the syscon memory to SHAREABLE
Since syscon is usually used with another compatible string (and so another driver), this driver might want to map the memory too.
MFC after: 1 w
fdt: simple-mfd: Set the syscon memory to SHAREABLE
Since syscon is usually used with another compatible string (and so another driver), this driver might want to map the memory too.
MFC after: 1 week
show more ...
|
#
a63915c2 |
| 28-Jul-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead @r350386
Sponsored by: The FreeBSD Foundation
|
Revision tags: release/11.3.0 |
|
#
73155b43 |
| 02-Jul-2019 |
Ganbold Tsagaankhuu <ganbold@FreeBSD.org> |
Extend simple_mfd driver to expose a syscon interface if that node is also compatible with syscon. For instance, Rockchip RK3399's GRF (General Register Files) is compatible with simple-mfd as well a
Extend simple_mfd driver to expose a syscon interface if that node is also compatible with syscon. For instance, Rockchip RK3399's GRF (General Register Files) is compatible with simple-mfd as well as syscon and has devices like usb2-phy, emmc-phy and pcie-phy etc. under it.
Reviewed by: manu
show more ...
|
#
2091650b |
| 12-Dec-2018 |
Emmanuel Vadot <manu@FreeBSD.org> |
fdt: Add support for simple-mfd bus
Quoting the binding Documentation :
"These devices comprise a nexus for heterogeneous hardware blocks containing more than one non-unique yet varying hardware fu
fdt: Add support for simple-mfd bus
Quoting the binding Documentation :
"These devices comprise a nexus for heterogeneous hardware blocks containing more than one non-unique yet varying hardware functionality."
Reviewed by: loos Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D17751
show more ...
|