relocating fixed-clock entry, based on upstream advice
See upstream - https://github.com/raspberrypi/documentation/issues/1671 https://github.com/raspberrypi/documentation/pull/1673 Quoted here: * Only Device Tree nodes at the top level of the tree and children of a bus node will be probed. For nodes added at run-time there is the further limitation that the bus must register for notifications of the addition and removal of children. However, there are exceptions that break this rule and cause confusion: the kernel explicitly scans the entire tree for some device types - clocks and interrupt controller being the two main ones - in order to (for clocks) initialise them early and/or (for interrupt controllers) in a particular order. This search mechanism only happens during booting and so doesn't work for nodes added by an overlay at run-time. It is therefore recommended for overlays to place fixed-clock nodes in the root of the tree unless it is guaranteed that the overlay will not be used at run-time.
This commit is contained in:
parent
955707d944
commit
47d97e7bd5
|
@ -13,7 +13,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
fragment@1 {
|
fragment@1 {
|
||||||
target-path = "/clocks";
|
target-path = "/";
|
||||||
__overlay__ {
|
__overlay__ {
|
||||||
ac108_mclk: codec-mclk {
|
ac108_mclk: codec-mclk {
|
||||||
compatible = "fixed-clock";
|
compatible = "fixed-clock";
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
fragment@1 {
|
fragment@1 {
|
||||||
target-path = "/clocks";
|
target-path = "/";
|
||||||
__overlay__ {
|
__overlay__ {
|
||||||
ac10x_mclk: codec-mclk {
|
ac10x_mclk: codec-mclk {
|
||||||
compatible = "fixed-clock";
|
compatible = "fixed-clock";
|
||||||
|
|
Loading…
Reference in New Issue