Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp1003980lqt; Fri, 19 Apr 2024 18:48:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXB599npSvWpdUVPKet7w6x1y4KDeTKisnE+ZgYdlMsrFlm7JSfbekRF8myLbuCjkDlQ0eLLoaxUpfLv5Sm1CzxV0C+gAZdlOEXx0yQSw== X-Google-Smtp-Source: AGHT+IGwy2NJtvet9wl4WO9uqXZaMl4TCC9KSNnHh8ygCOWPo9cgO39FlSmfH1Tg+e4Ei1/7EmtS X-Received: by 2002:a17:907:94cb:b0:a55:861e:1bb8 with SMTP id dn11-20020a17090794cb00b00a55861e1bb8mr3062809ejc.35.1713577698800; Fri, 19 Apr 2024 18:48:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713577698; cv=pass; d=google.com; s=arc-20160816; b=etnSiSRGQoAtnwr8/w66awoareGVSj/toC9o5VrQgE/SYk/UrTrL/H7Koj50FlzIZa 317CKl1uk36c7989ptlTHozTW7Ryz7ynWPQp7niM59OO/EyQmiAytYBGfrT/RkqBHtW7 hulWmDfdwyKdMwH3VAPvKrFtxdR7mzwRY4qgKul8iX1uN0Z1ruXvBcJ7OnCMg8EWthg+ Y0+eeF+pLl5Gl7Zdl7wItEDHk01fpP0Gw7PKztLm6kBXVgKW/PQ/wNShUunsrwXumk/9 hIwYu1ZOm87stRYIR2tgAPjatEPx09z6qi8WHO1C67JBL2AAbszxl7rBnsV2IAXpkOnN 8EQA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:date:to:cc:from:subject:references:in-reply-to :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:dkim-signature; bh=/5CmRS8HiH3kJSMeFtEZR5LQApr/dDvkmDH/E2gNETA=; fh=uE+K9iQsf12v2zLehtDbow+GhnJ2PT/RmlU0e/Ji43M=; b=uyXQoydVUg5bZmYw1M2/ylfxSvaW1ps4RPF3pUEMeLuaosA2BY0rxDK1nqBlkx3FyB a8S0J3PTH11nBoEaDBKYj23l6LiSP5l3pWNTc77RA71J5Er0sWvMxSVcEfe+C5A80uZr cgJc2toe3ECjw3ij6mgF32wtj5G3FRC4dggSnkR18y5CLwP6coHHBKAq+aQ5HEXMLUMB /w2nykAJYgU4weh1lKp6vhXMLsyEneCfzX280FZLt9p2z6RabvvQoxkb6rR603jXS5vt yOjynzVYxE5urlcAPGLo2+EwoXrb5gz4l+P+mGrYdLbiAGgLBnCpmHLwASAArRw+2b3y ntBg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q0i0Ls0l; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-152074-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152074-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id du1-20020a17090772c100b00a523b2c4159si3072524ejc.604.2024.04.19.18.48.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Apr 2024 18:48:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-152074-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q0i0Ls0l; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-152074-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152074-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 86CB71F21A65 for ; Sat, 20 Apr 2024 01:48:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AD1A079F6; Sat, 20 Apr 2024 01:48:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Q0i0Ls0l" 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 CD2BB205E1E; Sat, 20 Apr 2024 01:47:59 +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=1713577679; cv=none; b=UwqwBFAUXptg+LrnwrMrZeyNvuzn6NOOEg01+awmGdCrboxVVLHngPNN+hvFQM09SGVo/8dqnHx0VNe3GnkOXISvySkP9khhGFmEHAP0sb/2SQ3jpcnZH0S6AQWzMqdGIFJwbSgSwCOtmc2/j943zrCk2V7GvJ+QmWoZ15XRbXk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713577679; c=relaxed/simple; bh=/5CmRS8HiH3kJSMeFtEZR5LQApr/dDvkmDH/E2gNETA=; h=Message-ID:Content-Type:MIME-Version:In-Reply-To:References: Subject:From:Cc:To:Date; b=AyZknC5Fjkf0vTRHaqEaaxB2IgFCLstZM+N/0bxjXAs4JEl8HFCdMkyAZRxwBxYBDmKlLCn61Sbe1MapAAz6Ec1Ctkp5KWEjVo1udj/NhqTo5Otn5pwz5EikM1Sb4NDE2mVmBrkPXjInv9XblxfqMSZ2idcC0BBGkG+93rueb10= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Q0i0Ls0l; arc=none smtp.client-ip=10.30.226.201 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> Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 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. >=20 > Reviewed-by: Neil Armstrong > Signed-off-by: Abel Vesa > --- Applied to spmi-next