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


Groups > linux.kernel > #1217020

Re: [PATCH 1/2] regulator: pbias: use untranslated address to program pbias regulator

From Mark Brown <broonie@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] regulator: pbias: use untranslated address to program pbias regulator
Date 2015-09-01 20:40 +0200
Message-ID <q3YDo-6fB-23@gated-at.bofh.it> (permalink)
References (5 earlier) <q1mVB-8gb-25@gated-at.bofh.it> <q3uOZ-5hK-5@gated-at.bofh.it> <q3yIX-2rV-39@gated-at.bofh.it> <q3Qmu-2NS-19@gated-at.bofh.it> <q3UzM-w6-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Tue, Sep 01, 2015 at 07:17:21AM -0700, Tony Lindgren wrote:

> Why don't you just make reg unused for pbias_regulator since
> we already use regmap for this driver?

> Then in the pbias driver just define the register offset from
> the syscon base? You may need to set it based on the compatible
> value, but it's not like it's going to change for SoC.

> If we eventually add some API to calculate reg base offset
> from the syscon base it's easy to update the driver to use
> that.

That'd work.  The other thing I was thinking we could do is to get
syscon to treat any excessively large address that gets passed in that
looks like an absolute address appropriately.

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


Thread

Re: [PATCH 1/2] regulator: pbias: use untranslated address to program  pbias regulator Grygorii Strashko <grygorii.strashko@ti.com> - 2015-08-25 12:10 +0200
  Re: [PATCH 1/2] regulator: pbias: use untranslated address to  program pbias regulator Mark Brown <broonie@kernel.org> - 2015-08-25 16:00 +0200
    Re: [PATCH 1/2] regulator: pbias: use untranslated address to program  pbias regulator Kishon Vijay Abraham I <kishon@ti.com> - 2015-08-31 12:50 +0200
      Re: [PATCH 1/2] regulator: pbias: use untranslated address to  program pbias regulator Mark Brown <broonie@kernel.org> - 2015-08-31 17:00 +0200
        Re: [PATCH 1/2] regulator: pbias: use untranslated address to program  pbias regulator Kishon Vijay Abraham I <kishon@ti.com> - 2015-09-01 11:50 +0200
          Re: [PATCH 1/2] regulator: pbias: use untranslated address to program  pbias regulator Kishon Vijay Abraham I <kishon@ti.com> - 2015-09-01 13:40 +0200
          Re: [PATCH 1/2] regulator: pbias: use untranslated address to  program pbias regulator Tony Lindgren <tony@atomide.com> - 2015-09-01 16:20 +0200
            Re: [PATCH 1/2] regulator: pbias: use untranslated address to  program pbias regulator Mark Brown <broonie@kernel.org> - 2015-09-01 20:40 +0200
              Re: [PATCH 1/2] regulator: pbias: use untranslated address to  program pbias regulator Tony Lindgren <tony@atomide.com> - 2015-09-01 21:00 +0200
                Re: [PATCH 1/2] regulator: pbias: use untranslated address to  program pbias regulator Mark Brown <broonie@kernel.org> - 2015-09-02 13:20 +0200

csiph-web