Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1248063

Re: [PATCH] spmi-pmic-arb: support configurable number of peripherals

From Stephen Boyd <sboyd@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH] spmi-pmic-arb: support configurable number of peripherals
Date 2015-10-15 20:30 +0200
Message-ID <qjVrQ-65I-11@gated-at.bofh.it> (permalink)
References (1 earlier) <q8Neh-6JP-5@gated-at.bofh.it> <q8WAW-3m7-19@gated-at.bofh.it> <q939o-4nZ-7@gated-at.bofh.it> <qjD1U-4gA-17@gated-at.bofh.it> <qjN1g-2cP-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 10/15, Ivan T. Ivanov wrote:
> 
> > On Oct 15, 2015, at 1:43 AM, Stephen Boyd <sboyd@codeaurora.org> wrote:
> > 
> > I have to take this back. I missed the part where some pmics are on
> > slave id 2 or slave id 4, so this check isn't going to work. I've
> > adjusted it to use sid % 2 instead and I'll resend these two patches,
> > but I imagine to be more robust we're going to need to add a revid node
> > to the DT under the SID that actually has it. Then we can search the
> > child nodes for a revid compatible node and do the rev probing stuff.
> 
> Ah, yes. We don’t use revision information for now. 
> I suppose we can just remove these reads until we need
> this information?
> 

True, we could just remove all the code and make it look for a
revid node at some later time. But later would be soon because
I'm working on patches to add the read/write/volatile regmap
tables to this driver. I guess I'll just go all the way and do
the revid node part.

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH] spmi-pmic-arb: support configurable number of peripherals Stephen Boyd <sboyd@codeaurora.org> - 2015-10-15 00:50 +0200
  Re: [PATCH] spmi-pmic-arb: support configurable number of peripherals "Ivan T. Ivanov" <iivanov.xz@gmail.com> - 2015-10-15 11:30 +0200
    Re: [PATCH] spmi-pmic-arb: support configurable number of peripherals Stephen Boyd <sboyd@codeaurora.org> - 2015-10-15 20:30 +0200

csiph-web