Re: [PATCH V3] of: Don't create device for OPP tables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 17, 2018 at 11:57:34AM +0530, Viresh Kumar wrote:
> The OPP tables are present as separate nodes, whose phandle is used in
> the "operating-points-v2" property of devices. Currently the OF core
> creates a device for the OPP table unconditionally, which is not used by
> any kernel code.
> 
> This patch creates another OF device_id table for the nodes which must
> be skipped while creating devices and OPP is the only user of it for now.
> 
> Reported-by: Stephen Boyd <sboyd@xxxxxxxxxx>
> Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
> Reviewed-by: Stephen Boyd <sboyd@xxxxxxxxxx>
> ---
> V2->V3:
> - Staticize of_skipped_node_table
> 
> V1->V2:
> - Added Reviewed-by from Stephen.
> - Created a table for nodes to be skipped.
> 
>  drivers/of/platform.c | 11 +++++++++++
>  1 file changed, 11 insertions(+)

Applied, thanks.

Rob
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux