Message ID | 20241217-syscon-fixes-v2-0-4f56d750541d@kernel.org (mailing list archive) |
---|---|
Headers | show |
Series | mfd: syscon: Cleanup, fix race condition and remove platform driver | expand |
On Tue, 17 Dec 2024 12:11:39 -0600, Rob Herring (Arm) wrote: > Questions from Krzysztof and a syscon related binding review got me > looking at the syscon "driver". This series is the result. > > This short series drops the stale platform driver part of syscon > support, fixes a race condition in device_node_get_regmap() > which is used by all the lookup functions, and allows for registering > nodes without "syscon" compatibles. > > [...] Applied, thanks! [1/3] mfd: syscon: Fix race in device_node_get_regmap() commit: 805f7aaf7fee14a57b56af01d270edf6c10765e8 [2/3] mfd: syscon: Remove the platform driver support commit: 26769582bf353ae613f5113a1414ff3a80e08264 [3/3] mfd: syscon: Allow syscon nodes without a "syscon" compatible commit: ba5095ebbc7a83965ac049a50fa493d7c751f19b -- Lee Jones [李琼斯]
Questions from Krzysztof and a syscon related binding review got me looking at the syscon "driver". This series is the result. This short series drops the stale platform driver part of syscon support, fixes a race condition in device_node_get_regmap() which is used by all the lookup functions, and allows for registering nodes without "syscon" compatibles. Compile tested only. Testing on Tensor, the one user of of_syscon_register_regmap(), would be helpful. Signed-off-by: Rob Herring (Arm) <robh@kernel.org> --- Changes in v2: - Fix patch 3 logic when a syscon is found in list to not return an error - Add tags - Link to v1: https://lore.kernel.org/r/20241211-syscon-fixes-v1-0-b5ac8c219e96@kernel.org --- Rob Herring (Arm) (3): mfd: syscon: Fix race in device_node_get_regmap() mfd: syscon: Remove the platform driver support mfd: syscon: Allow syscon nodes without a "syscon" compatible drivers/mfd/syscon.c | 95 ++++++------------------------------ drivers/mfd/vexpress-sysreg.c | 1 - include/linux/platform_data/syscon.h | 9 ---- 3 files changed, 15 insertions(+), 90 deletions(-) --- base-commit: 40384c840ea1944d7c5a392e8975ed088ecf0b37 change-id: 20241211-syscon-fixes-9f35ecb9bfbe Best regards,