From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5573A2288E5 for ; Wed, 11 Dec 2024 20:57:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733950649; cv=none; b=YljU7wW1xy7JJZ4XLkCQ927ohMLheKFEFENyeTxeEuspM/9Ouyc2WHfRlXtkIhgwMRY31FlrCZ0sHYqNVNVcQURMjx83q/rthw5SapdCd0OuaBVQDXh6Ttlq6GOnpHYb8exlnG0hEj31weE5efjEST/fNZX0hTYS8nmYAxfy1GI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733950649; c=relaxed/simple; bh=DJ/7eJXEMrFS4Ie4t4RtBGueyBXmyzT8wnr9zL0rNjQ=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=ey9VFTMJuP2EaH7fHEWkZii3C8ItuQ4WHjj9pan/xicy8LJQc2C/RZpHevJoPaDZIalfC0Ptvqr/nFCBrdSFI+PVKG5mzF6hiPtPbG1Z89rvFWOigVhhttOYa6Ab05lHRypNU9ehmk9YbqdWtLrAzNeIXGkBD7dxdzdZbnP8JMs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RvBzwilz; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RvBzwilz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A5DCCC4CED2; Wed, 11 Dec 2024 20:57:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1733950647; bh=DJ/7eJXEMrFS4Ie4t4RtBGueyBXmyzT8wnr9zL0rNjQ=; h=From:Subject:Date:To:Cc:From; b=RvBzwilzzX87al39z6Vy+bi5wss+IoFwC2A2j5kwREPrutznLMqsfYpldp2Wyau2L jMVNj0wW18A7FiH9fQZCrNLSD1KB44eG2jaSFv3XrGTfgH2HbBDA0kQ7e7hAh2SFv0 8Ghd9qiTIMJP2qX5ubumbiw516n8dmhwtoY/whTqWDgTp/mwixrUR6HBvfJ3N6bs0D uYmN9WgxxWWPEQRjWZfwFs5rV3vLtcSsyEzs4W5agxHP2L1gWCB/lEVkGU7tc+dGv3 fVrRkisnmBBCy2jnOJQE2Np6T56MYM/fQTpX1u9HkPMBY9bju9OPybNgkuKpeLG5Gq nYs+wcTPQKOZQ== From: "Rob Herring (Arm)" Subject: [PATCH 0/3] mfd: syscon: Cleanup, fix race condition and remove platform driver Date: Wed, 11 Dec 2024 14:57:11 -0600 Message-Id: <20241211-syscon-fixes-v1-0-b5ac8c219e96@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAKf8WWcC/x3LQQqAIBBA0avIrBPSamFXiRZpY81Gw4EoxLs3t Hx8fgXGQsgwqwoFb2LKSWA6BeHc0oGadjHY3o7GGqP55ZCTjvQgaxeHCYN3PnoEWa6Cf5BjWVv 7AC5SSV5eAAAA To: Lee Jones , Arnd Bergmann , Pankaj Dubey , Heiko Stuebner , Liviu Dudau , Sudeep Holla , Lorenzo Pieralisi Cc: Peter Griffin , Will McVicker , Krzysztof Kozlowski , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-Mailer: b4 0.15-dev 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) --- 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 | 92 +++++------------------------------- drivers/mfd/vexpress-sysreg.c | 1 - include/linux/platform_data/syscon.h | 9 ---- 3 files changed, 13 insertions(+), 89 deletions(-) --- base-commit: 40384c840ea1944d7c5a392e8975ed088ecf0b37 change-id: 20241211-syscon-fixes-9f35ecb9bfbe Best regards, -- Rob Herring (Arm)