From: Abel Vesa <abel.vesa@linaro.org>
To: Konrad Dybcio <konrad.dybcio@linaro.org>
Cc: Stephen Boyd <sboyd@kernel.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
Bjorn Andersson <andersson@kernel.org>,
Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
Neil Armstrong <neil.armstrong@linaro.org>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
Srini Kandagatla <srinivas.kandagatla@linaro.org>,
Johan Hovold <johan@kernel.org>,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-arm-msm@vger.kernel.org,
linux-mediatek@lists.infradead.org
Subject: Re: [PATCH RFC v3 2/4] spmi: pmic-arb: Make the APID init a version operation
Date: Wed, 14 Feb 2024 23:37:31 +0200 [thread overview]
Message-ID: <Zc0ymyR87km2rZjW@linaro.org> (raw)
In-Reply-To: <d9f88786-abe3-4826-adbd-fee461a70c2c@linaro.org>
On 24-02-14 22:16:58, Konrad Dybcio wrote:
> On 14.02.2024 22:13, Abel Vesa wrote:
> > Rather than using conditionals in probe function, add the APID init
> > as a version specific operation. Due to v7, which supports multiple
> > buses, pass on the bus index to be used for sorting out the apid base
> > and count.
> >
> > Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
> > ---
>
> [...]
>
>
> > +
> > /*
> > * v5 offset per ee and per apid for observer channels and per apid for
> > * read/write channels.
> > @@ -1178,6 +1246,49 @@ static int pmic_arb_offset_v5(struct spmi_pmic_arb *pmic_arb, u8 sid, u16 addr,
> > return offset;
> > }
> >
> > +/*
> > + * Only v7 supports 2 bus buses. Each bus will get a different apid count,
>
> "bus buses"?
Urgh. Will fix in the next version.
>
> Konrad
next prev parent reply other threads:[~2024-02-14 21:37 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-14 21:13 [PATCH RFC v3 0/4] spmi: pmic-arb: Add support for multiple buses Abel Vesa
2024-02-14 21:13 ` [PATCH RFC v3 1/4] dt-bindings: spmi: Add PMIC ARB v7 schema Abel Vesa
2024-02-15 8:54 ` Krzysztof Kozlowski
2024-02-15 9:25 ` Abel Vesa
2024-02-14 21:13 ` [PATCH RFC v3 2/4] spmi: pmic-arb: Make the APID init a version operation Abel Vesa
2024-02-14 21:16 ` Konrad Dybcio
2024-02-14 21:37 ` Abel Vesa [this message]
2024-02-14 21:13 ` [PATCH RFC v3 3/4] spmi: pmic-arb: Make core resources acquiring " Abel Vesa
2024-02-14 21:18 ` Konrad Dybcio
2024-02-14 21:36 ` Abel Vesa
2024-02-14 21:44 ` Konrad Dybcio
2024-02-15 9:26 ` Abel Vesa
2024-02-15 9:30 ` Dmitry Baryshkov
2024-02-15 13:32 ` Abel Vesa
2024-02-15 14:42 ` Dmitry Baryshkov
2024-02-14 21:13 ` [PATCH RFC v3 4/4] spmi: pmic-arb: Add multi bus support Abel Vesa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Zc0ymyR87km2rZjW@linaro.org \
--to=abel.vesa@linaro.org \
--cc=andersson@kernel.org \
--cc=angelogioacchino.delregno@collabora.com \
--cc=dmitry.baryshkov@linaro.org \
--cc=johan@kernel.org \
--cc=konrad.dybcio@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=neil.armstrong@linaro.org \
--cc=sboyd@kernel.org \
--cc=srinivas.kandagatla@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).