From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 55E09C04FF6 for ; Sat, 20 Apr 2024 01:48:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Date:To:Cc:From:Subject:References: In-Reply-To:MIME-Version:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xqc2AQvgXWL02lNqQmhDoDsuhzCs6M7Kqa4WGCG75ZE=; b=WKzKQTyUQ2ZsOi plgeiNXBRlvH1soTwIFz0/Uj/gZv5vpaqNC2MpnTR7/5OOBgLmmp2r0PgcYcNBnIarEHzv2+wyV29 YGa/kTZ5SU72SfureZudJ0uCXCAywkOYK6kcCmL4Q6v8XibS148mVabVnqQe2zUoUV0PX85b5e61q ALL6+0QKSmmSS3x9ooc0ZcWUejUi5LiBNgu95bXm4lY7g2rgIDpqk+GMfeVDNu+ahxzLMo0mV0vl4 KdvvN6eIakwSWuLZ0EjHzq2AgcqEAsfABOFnE1+CHMIaG4m96dN2ws8+n2WbWik1SujJRfv8Emin6 eNhHruVgD6xRJwr1trYQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxzpl-00000007XO1-2tXv; Sat, 20 Apr 2024 01:48:05 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxzpg-00000007XLF-1PzO; Sat, 20 Apr 2024 01:48:01 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id B201F61B4C; Sat, 20 Apr 2024 01:47:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4E53BC32781; Sat, 20 Apr 2024 01:47:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713577679; bh=/5CmRS8HiH3kJSMeFtEZR5LQApr/dDvkmDH/E2gNETA=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=Q0i0Ls0lPJ8FBbPIewbSPyGgnNRLZOjN9bvMpeDX4Apw2MgROEB6JeIQlomfK2wpj O4NBJX0/Xwu+Ap7bQsaWwGvidYUzi2viBS8owbo2GWwH6Hw8AIS2FtnNi2nAXRCcZh zIs/IcowzC2T2FXDr2qzw7lTiLJ6DwXtcZdcm+Lkljqnzj5rihEFyhZV/TFmnxk7Bv 8LnZXHcWv/JkZKdUhxxwim2k7PndfRho1epxkEzkNtdmak/uhZhZzYDNYwhXDsYNTV Lwbg/HMRATn284Gq70sSdeqwMP/r3/xlcpUsiF9lg9ucFRP9l/L9C5PtHvdZ72ldHK 7KikMiUH1y16Q== Message-ID: <492aa42a333063a4d148d1ce9398b106.sboyd@kernel.org> MIME-Version: 1.0 In-Reply-To: <20240417-spmi-multi-master-support-v10-5-5bc6d322e266@linaro.org> References: <20240417-spmi-multi-master-support-v10-0-5bc6d322e266@linaro.org> <20240417-spmi-multi-master-support-v10-5-5bc6d322e266@linaro.org> Subject: Re: [PATCH v10 5/7] spmi: pmic-arb: Make core resources acquiring a version operation From: Stephen Boyd Cc: Srini Kandagatla , Johan Hovold , David Collins , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, Abel Vesa To: Abel Vesa , AngeloGioacchino Del Regno , Bjorn Andersson , Conor Dooley , Dmitry Baryshkov , Konrad Dybcio , Krzysztof Kozlowski , Matthias Brugger , Neil Armstrong , Rob Herring Date: Fri, 19 Apr 2024 18:47:57 -0700 User-Agent: alot/0.10 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240419_184800_458581_85127A18 X-CRM114-Status: UNSURE ( 9.66 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Quoting Abel Vesa (2024-04-17 13:00:57) > Rather than setting up the core, obsrv and chnls in probe by using > version specific conditionals, add a dedicated "get_core_resources" > version specific op and move the acquiring in there. Since there are > no current users of the second bus yet, drop the comment about why > devm_platform_ioremap_resource can't be used in case of "core", > as it is not applicable anymore. > Don't switch to devm_platform_ioremap_resource though as we need > to keep track of core size. > > Reviewed-by: Neil Armstrong > Signed-off-by: Abel Vesa > --- Applied to spmi-next _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel