[PATCH] dt-bindings: Drop k2g genpd device ID macros

Dave Gerlach d-gerlach at ti.com
Tue Jun 13 13:16:01 PDT 2017


Santosh,
On 05/31/2017 11:28 AM, Rob Herring wrote:
> On Mon, May 22, 2017 at 01:37:37PM -0500, Dave Gerlach wrote:
>> Commit 7cc119f29b19 ("dt-bindings: Add TI SCI PM Domains") introduced a
>> number of K2G_DEV_x macros to represent each device ID available on the
>> K2G platform for use by the genpd, clock, and reset drivers. Rather than
>> use these macros, which are only used in the device tree for property
>> values and not actually used by the drivers, let's just use the device
>> ID number directly in the device tree to avoid macro bloat.
>>
>> Signed-off-by: Dave Gerlach <d-gerlach at ti.com>
>> ---
>> Based on discussion here [1] it was agreed that these macros are not needed
>> and it is better to just use the device IDs directly in dt.
>>
>> [1] https://www.spinics.net/lists/arm-kernel/msg577079.html
>>
>>  .../devicetree/bindings/soc/ti/sci-pm-domain.txt   |  5 +-
>>  include/dt-bindings/genpd/k2g.h                    | 90 ----------------------
>>  2 files changed, 3 insertions(+), 92 deletions(-)
>>  delete mode 100644 include/dt-bindings/genpd/k2g.h
> 
> Acked-by: Rob Herring <robh at kernel.org>
> 

Gentle ping on this. If you're OK with the patch any chance you can pick it up?

Regards,
Dave



More information about the linux-arm-kernel mailing list