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


Groups > linux.kernel > #1629419

Re: [PATCH v2 1/5] dt-bindings: gpu: add bindings for the ARM Mali Midgard GPU

From Guillaume Tucker <guillaume.tucker@collabora.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 1/5] dt-bindings: gpu: add bindings for the ARM Mali Midgard GPU
Date 2017-04-24 12:50 +0200
Message-ID <tzJJ8-5V5-25@gated-at.bofh.it> (permalink)
References <trIKd-6jZ-5@gated-at.bofh.it> <trIKe-6jZ-21@gated-at.bofh.it> <tsm4V-6Or-1@gated-at.bofh.it> <txxsJ-4oB-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 18/04/17 10:15, Guillaume Tucker wrote:
> Hi Rob,
>
> On 04/04/17 03:00, Rob Herring wrote:
>> On Sun, Apr 02, 2017 at 08:59:44AM +0100, Guillaume Tucker wrote:

>>> +- operating-points : Refer to Documentation/devicetree/bindings/power/opp.txt
>>> +  for details.
>>
>> Is this going to be sufficient vs. operating-points-v2? Or should it be
>> a power domain with OPPs?
>
> In principle, switching to operating-points-v2 should be very
> straightforward.  I have smoke-tested the driver with an
> operating-points-v2 table and a phandle to it inside the gpu node
> in place of operating-points and it seems to be working fine.  At
> least it parsed the OPPs and got initialised correctly.
>
> My understanding is that operating-points (v1) are not deprecated
> so we could keep the bindings as-is, but please let me know
> otherwise and I can try to address that in my next patch version.
> In the documentation, it should only be the case of replacing
> operating-points with operating-points-v2.

While the opp bindings documentation doesn't mention anything
about operating-points being deprecated, the code and comments in
of.c are pretty clear about this:

	/*
	 * OPPs have two version of bindings now. The older one is deprecated,
	 * try for the new binding first.
	 */

So I shall use operating-points-v2 in my patch v4.

Thanks,
Guillaume

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


Thread

Re: [PATCH v2 1/5] dt-bindings: gpu: add bindings for the ARM Mali  Midgard GPU Guillaume Tucker <guillaume.tucker@collabora.com> - 2017-04-18 11:20 +0200
  Re: [PATCH v2 1/5] dt-bindings: gpu: add bindings for the ARM Mali  Midgard GPU Guillaume Tucker <guillaume.tucker@collabora.com> - 2017-04-24 12:50 +0200

csiph-web