Skip to content

Update to clock warning paragraph in device tree? #1671

@HinTak

Description

@HinTak

@pelwell can you clarify and perhaps update your commit from over 4 years ago, on May 18 2016, on clocks in dynamic overlays? b91bcb7#diff-16b28acb48c9229c4a306d4f533f9ccd

I am currently looking at a "regression" : I am finding that dynamic overlays in clocks actually works with 4.19.x on 4-months-old Raspbian (current raspbian is already 5.4 based), but fails with 5.4.x on current 64-bit Ubuntu . The failing call is devm_get_clk_from_child. It returns a valid clk struct on 4.19.x but fails with 5.4.

Unfortunately tracing further is difficult as most of its guts are static / hidden. But have managed to get as far as most of of_parse_clkspec being successful, until it gets to of_clk_get_from_provider. This seems to suggest a registration problem alluded in your commit.

Anyway, since it works for 4.19 (for a specific overlay with adding a new fixed-clock), I am wondering if the 4-year-old statement could be updated a bit at least. Also would appreciate if you can point me in the right direction to find help on this "regression". There were piles of clk-related changes in 5.1 and 5.2 underneath the devm_clk_* calls.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions