lkml.org 
[lkml]   [2021]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 2/2] pinctrl: Propagate firmware node from a parent device
    On Tue, Dec 14, 2021 at 02:58:55PM +0200, Andy Shevchenko wrote:
    > When creating MFD platform devices the firmware node is left unset.
    > This, in particular, prevents GPIO library to use it for different
    > purposes. Propagate firmware node from the parent device and let
    > GPIO library do the right thing.
    >

    I came across the same thing this week. By populating the of_compatible
    field of the mfd_cell, the child device will have the appropriate
    firmware node populated. Unfortunately that currently means that I'll
    have to put every device type in the MFD instead of in an of_match_table
    in the child driver itself. Figuring that out is one of the next things
    on my list.

    \
     
     \ /
      Last update: 2021-12-14 17:39    [W:3.898 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site