-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
snd_soc_hifiberry_dacplus broken in 5.4.21 #3481
Comments
I think we want this: https://patchwork.kernel.org/patch/11394967/ from @HiassofT |
It shouldn't hurt to include this patch until it dribbles down into stable trees, it'll at least avoid the warning and splat in regulator core. The real issue with the hifiberry dacplus card seems to be though that it's (downstream) clock driver isn't loaded/loading (the warning/splat is just a consequence of that) - see eg lsmod output in the dmesg info linked above. Most likely the clock driver and/or DT overlay need some changes after the clocks DT changes in 3292779 |
Commit [1] ([2] upstream) removed the "simple-bus" compatible string, "#address-cells" and "#size-cells" to fix some DT scheme warnings. In doing so it prevented the child clocks from being instantiated - the node might as well be absent. Fix the problem (at least with regards to functionality) by restoring "simple-bus" and the sizes. See: #3481 Fixes: [1] 238506e ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Fixes: [2] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Signed-off-by: Phil Elwell <phil@raspberrypi.com>
By removing "simple-bus", the clock DT change broke the instantiation of its children. I've fixed it with a partial reversion. |
Commit [1] ([2] upstream) removed the "simple-bus" compatible string, "#address-cells" and "#size-cells" to fix some DT scheme warnings. In doing so it prevented the child clocks from being instantiated - the node might as well be absent. Fix the problem (at least with regards to functionality) by restoring "simple-bus" and the sizes. See: #3481 Fixes: [1] 238506e ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Fixes: [2] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Commit [1] ([2] upstream) removed the "simple-bus" compatible string, "#address-cells" and "#size-cells" to fix some DT scheme warnings. In doing so it prevented the child clocks from being instantiated - the node might as well be absent. Fix the problem (at least with regards to functionality) by restoring "simple-bus" and the sizes. See: #3481 Fixes: [1] 238506e ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Fixes: [2] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Signed-off-by: Phil Elwell <phil@raspberrypi.com>
@lategoodbye I now understand what is happening, and I owe you an apology. of_clk_init (called early in the boot sequence) searches the tree for all compatible strings for drivers declared with CLK_OF_DECLARE, including clk_fixed_rate. This is why your change is fine for upstream DTBs. AFAIK the HifiBerry clock driver can't make use of CLK_OF_DECLARE because it's a module, so it does have to rely on something else causing its driver to be instantiated. If we say that |
commit 4b2d246 upstream. The fixed clocks doesn't form some kind of bus. So let's remove it. This fixes the follow DT schema warnings: clocks: clock@3:reg:0: [3] is too short clocks: clock@4:reg:0: [4] is too short clocks: $nodename:0: 'clocks' does not match '^(bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$' clocks: #size-cells:0:0: 0 is not one of [1, 2] clocks: 'ranges' is a required property clock@3: 'reg' does not match any of the regexes: 'pinctrl-[0-9]+' clock@4: 'reg' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Change [1] removes the simple-bus compatible string from the "/clocks" node, preventing any custom clocks placed there from being initialised. Rather than reinstate the compatible string and trigger DT warnings at kernel build time, change the overlays to instantiate those clocks under the root node ("/"). See: #3481 Signed-off-by: Phil Elwell <phil@raspberrypi.com> [1] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks")
Change [1] removes the simple-bus compatible string from the "/clocks" node, preventing any custom clocks placed there from being initialised. Rather than reinstate the compatible string and trigger DT warnings at kernel build time, change the overlays to instantiate those clocks under the root node ("/"). See: #3481 Signed-off-by: Phil Elwell <phil@raspberrypi.com> [1] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks")
Builds over at https://forum.kodi.tv/showthread.php?tid=343068&pid=2928218#pid2928218 confirm the fix, hifiberry dacplus card initializes successfully now. |
Change [1] removes the simple-bus compatible string from the "/clocks" node, preventing any custom clocks placed there from being initialised. Rather than reinstate the compatible string and trigger DT warnings at kernel build time, change the overlays to instantiate those clocks under the root node ("/"). See: #3481 Signed-off-by: Phil Elwell <phil@raspberrypi.com> [1] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks")
Commit [1] ([2] upstream) removed the "simple-bus" compatible string, "#address-cells" and "#size-cells" to fix some DT scheme warnings. In doing so it prevented the child clocks from being instantiated - the node might as well be absent. Fix the problem (at least with regards to functionality) by restoring "simple-bus" and the sizes. See: #3481 Fixes: [1] 238506e ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Fixes: [2] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Change [1] removes the simple-bus compatible string from the "/clocks" node, preventing any custom clocks placed there from being initialised. Rather than reinstate the compatible string and trigger DT warnings at kernel build time, change the overlays to instantiate those clocks under the root node ("/"). See: #3481 Signed-off-by: Phil Elwell <phil@raspberrypi.com> [1] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks")
Commit [1] ([2] upstream) removed the "simple-bus" compatible string, "#address-cells" and "#size-cells" to fix some DT scheme warnings. In doing so it prevented the child clocks from being instantiated - the node might as well be absent. Fix the problem (at least with regards to functionality) by restoring "simple-bus" and the sizes. See: #3481 Fixes: [1] 238506e ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Fixes: [2] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Change [1] removes the simple-bus compatible string from the "/clocks" node, preventing any custom clocks placed there from being initialised. Rather than reinstate the compatible string and trigger DT warnings at kernel build time, change the overlays to instantiate those clocks under the root node ("/"). See: #3481 Signed-off-by: Phil Elwell <phil@raspberrypi.com> [1] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks")
Change [1] removes the simple-bus compatible string from the "/clocks" node, preventing any custom clocks placed there from being initialised. Rather than reinstate the compatible string and trigger DT warnings at kernel build time, change the overlays to instantiate those clocks under the root node ("/"). See: #3481 Signed-off-by: Phil Elwell <phil@raspberrypi.com> [1] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks")
Commit [1] ([2] upstream) removed the "simple-bus" compatible string, "#address-cells" and "#size-cells" to fix some DT scheme warnings. In doing so it prevented the child clocks from being instantiated - the node might as well be absent. Fix the problem (at least with regards to functionality) by restoring "simple-bus" and the sizes. See: #3481 Fixes: [1] 238506e ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Fixes: [2] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Change [1] removes the simple-bus compatible string from the "/clocks" node, preventing any custom clocks placed there from being initialised. Rather than reinstate the compatible string and trigger DT warnings at kernel build time, change the overlays to instantiate those clocks under the root node ("/"). See: #3481 Signed-off-by: Phil Elwell <phil@raspberrypi.com> [1] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks")
Commit [1] ([2] upstream) removed the "simple-bus" compatible string, "#address-cells" and "#size-cells" to fix some DT scheme warnings. In doing so it prevented the child clocks from being instantiated - the node might as well be absent. Fix the problem (at least with regards to functionality) by restoring "simple-bus" and the sizes. See: #3481 Fixes: [1] 238506e ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Fixes: [2] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Change [1] removes the simple-bus compatible string from the "/clocks" node, preventing any custom clocks placed there from being initialised. Rather than reinstate the compatible string and trigger DT warnings at kernel build time, change the overlays to instantiate those clocks under the root node ("/"). See: #3481 Signed-off-by: Phil Elwell <phil@raspberrypi.com> [1] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks")
Change [1] removes the simple-bus compatible string from the "/clocks" node, preventing any custom clocks placed there from being initialised. Rather than reinstate the compatible string and trigger DT warnings at kernel build time, change the overlays to instantiate those clocks under the root node ("/"). See: #3481 Signed-off-by: Phil Elwell <phil@raspberrypi.com> [1] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks")
Change [1] removes the simple-bus compatible string from the "/clocks" node, preventing any custom clocks placed there from being initialised. Rather than reinstate the compatible string and trigger DT warnings at kernel build time, change the overlays to instantiate those clocks under the root node ("/"). See: #3481 Signed-off-by: Phil Elwell <phil@raspberrypi.com> [1] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks")
Commit [1] ([2] upstream) removed the "simple-bus" compatible string, "#address-cells" and "#size-cells" to fix some DT scheme warnings. In doing so it prevented the child clocks from being instantiated - the node might as well be absent. Fix the problem (at least with regards to functionality) by restoring "simple-bus" and the sizes. See: #3481 Fixes: [1] 238506e ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Fixes: [2] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Change [1] removes the simple-bus compatible string from the "/clocks" node, preventing any custom clocks placed there from being initialised. Rather than reinstate the compatible string and trigger DT warnings at kernel build time, change the overlays to instantiate those clocks under the root node ("/"). See: #3481 Signed-off-by: Phil Elwell <phil@raspberrypi.com> [1] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks")
Commit [1] ([2] upstream) removed the "simple-bus" compatible string, "#address-cells" and "#size-cells" to fix some DT scheme warnings. In doing so it prevented the child clocks from being instantiated - the node might as well be absent. Fix the problem (at least with regards to functionality) by restoring "simple-bus" and the sizes. See: #3481 Fixes: [1] 238506e ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Fixes: [2] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Change [1] removes the simple-bus compatible string from the "/clocks" node, preventing any custom clocks placed there from being initialised. Rather than reinstate the compatible string and trigger DT warnings at kernel build time, change the overlays to instantiate those clocks under the root node ("/"). See: #3481 Signed-off-by: Phil Elwell <phil@raspberrypi.com> [1] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks")
Change [1] removes the simple-bus compatible string from the "/clocks" node, preventing any custom clocks placed there from being initialised. Rather than reinstate the compatible string and trigger DT warnings at kernel build time, change the overlays to instantiate those clocks under the root node ("/"). See: #3481 Signed-off-by: Phil Elwell <phil@raspberrypi.com> [1] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks")
Commit [1] ([2] upstream) removed the "simple-bus" compatible string, "#address-cells" and "#size-cells" to fix some DT scheme warnings. In doing so it prevented the child clocks from being instantiated - the node might as well be absent. Fix the problem (at least with regards to functionality) by restoring "simple-bus" and the sizes. See: #3481 Fixes: [1] 238506e ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Fixes: [2] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Commit [1] ([2] upstream) removed the "simple-bus" compatible string, "#address-cells" and "#size-cells" to fix some DT scheme warnings. In doing so it prevented the child clocks from being instantiated - the node might as well be absent. Fix the problem (at least with regards to functionality) by restoring "simple-bus" and the sizes. See: #3481 Fixes: [1] 238506e ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Fixes: [2] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Change [1] removes the simple-bus compatible string from the "/clocks" node, preventing any custom clocks placed there from being initialised. Rather than reinstate the compatible string and trigger DT warnings at kernel build time, change the overlays to instantiate those clocks under the root node ("/"). See: #3481 Signed-off-by: Phil Elwell <phil@raspberrypi.com> [1] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks")
Commit [1] ([2] upstream) removed the "simple-bus" compatible string, "#address-cells" and "#size-cells" to fix some DT scheme warnings. In doing so it prevented the child clocks from being instantiated - the node might as well be absent. Fix the problem (at least with regards to functionality) by restoring "simple-bus" and the sizes. See: #3481 Fixes: [1] 238506e ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Fixes: [2] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Change [1] removes the simple-bus compatible string from the "/clocks" node, preventing any custom clocks placed there from being initialised. Rather than reinstate the compatible string and trigger DT warnings at kernel build time, change the overlays to instantiate those clocks under the root node ("/"). See: #3481 Signed-off-by: Phil Elwell <phil@raspberrypi.com> [1] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks")
Closing as issue is fixed. |
Commit [1] ([2] upstream) removed the "simple-bus" compatible string, "#address-cells" and "#size-cells" to fix some DT scheme warnings. In doing so it prevented the child clocks from being instantiated - the node might as well be absent. Fix the problem (at least with regards to functionality) by restoring "simple-bus" and the sizes. See: #3481 Fixes: [1] 238506e ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Fixes: [2] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Change [1] removes the simple-bus compatible string from the "/clocks" node, preventing any custom clocks placed there from being initialised. Rather than reinstate the compatible string and trigger DT warnings at kernel build time, change the overlays to instantiate those clocks under the root node ("/"). See: #3481 Signed-off-by: Phil Elwell <phil@raspberrypi.com> [1] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks")
Commit [1] ([2] upstream) removed the "simple-bus" compatible string, "#address-cells" and "#size-cells" to fix some DT scheme warnings. In doing so it prevented the child clocks from being instantiated - the node might as well be absent. Fix the problem (at least with regards to functionality) by restoring "simple-bus" and the sizes. See: #3481 Fixes: [1] 238506e ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Fixes: [2] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Change [1] removes the simple-bus compatible string from the "/clocks" node, preventing any custom clocks placed there from being initialised. Rather than reinstate the compatible string and trigger DT warnings at kernel build time, change the overlays to instantiate those clocks under the root node ("/"). See: #3481 Signed-off-by: Phil Elwell <phil@raspberrypi.com> [1] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks")
Change [1] removes the simple-bus compatible string from the "/clocks" node, preventing any custom clocks placed there from being initialised. Rather than reinstate the compatible string and trigger DT warnings at kernel build time, change the overlays to instantiate those clocks under the root node ("/"). See: #3481 Signed-off-by: Phil Elwell <phil@raspberrypi.com> [1] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks")
Commit [1] ([2] upstream) removed the "simple-bus" compatible string, "#address-cells" and "#size-cells" to fix some DT scheme warnings. In doing so it prevented the child clocks from being instantiated - the node might as well be absent. Fix the problem (at least with regards to functionality) by restoring "simple-bus" and the sizes. See: #3481 Fixes: [1] 238506e ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Fixes: [2] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Change [1] removes the simple-bus compatible string from the "/clocks" node, preventing any custom clocks placed there from being initialised. Rather than reinstate the compatible string and trigger DT warnings at kernel build time, change the overlays to instantiate those clocks under the root node ("/"). See: #3481 Signed-off-by: Phil Elwell <phil@raspberrypi.com> [1] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks")
Change [1] removes the simple-bus compatible string from the "/clocks" node, preventing any custom clocks placed there from being initialised. Rather than reinstate the compatible string and trigger DT warnings at kernel build time, change the overlays to instantiate those clocks under the root node ("/"). See: #3481 Signed-off-by: Phil Elwell <phil@raspberrypi.com> [1] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks")
Source: kernel.org MR: 103889 Type: Enhancement Disposition: Merged from https://github.com/raspberrypi/linux.git rpi-5.4.y ChangeID: 95a85861eecce585b6878c816e04d4a519f4998d Description: Commit [1] ([2] upstream) removed the "simple-bus" compatible string, "#address-cells" and "#size-cells" to fix some DT scheme warnings. In doing so it prevented the child clocks from being instantiated - the node might as well be absent. Fix the problem (at least with regards to functionality) by restoring "simple-bus" and the sizes. See: raspberrypi/linux#3481 Fixes: [1] 238506ebdea7 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Fixes: [2] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Signed-off-by: Phil Elwell <phil@raspberrypi.com> Signed-off-by: Corey Minyard <cminyard@mvista.com>
Source: kernel.org MR: 103889 Type: Enhancement Disposition: Merged from https://github.com/raspberrypi/linux.git rpi-5.4.y ChangeID: e955b2581e016651e0735a3b8094e3e213138f44 Description: Change [1] removes the simple-bus compatible string from the "/clocks" node, preventing any custom clocks placed there from being initialised. Rather than reinstate the compatible string and trigger DT warnings at kernel build time, change the overlays to instantiate those clocks under the root node ("/"). See: raspberrypi/linux#3481 Signed-off-by: Phil Elwell <phil@raspberrypi.com> [1] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Signed-off-by: Corey Minyard <cminyard@mvista.com>
Commit [1] ([2] upstream) removed the "simple-bus" compatible string, "#address-cells" and "#size-cells" to fix some DT scheme warnings. In doing so it prevented the child clocks from being instantiated - the node might as well be absent. Fix the problem (at least with regards to functionality) by restoring "simple-bus" and the sizes. See: #3481 Fixes: [1] 238506e ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Fixes: [2] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Change [1] removes the simple-bus compatible string from the "/clocks" node, preventing any custom clocks placed there from being initialised. Rather than reinstate the compatible string and trigger DT warnings at kernel build time, change the overlays to instantiate those clocks under the root node ("/"). See: #3481 Signed-off-by: Phil Elwell <phil@raspberrypi.com> [1] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks")
Change [1] removes the simple-bus compatible string from the "/clocks" node, preventing any custom clocks placed there from being initialised. Rather than reinstate the compatible string and trigger DT warnings at kernel build time, change the overlays to instantiate those clocks under the root node ("/"). See: #3481 Signed-off-by: Phil Elwell <phil@raspberrypi.com> [1] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks")
Change [1] removes the simple-bus compatible string from the "/clocks" node, preventing any custom clocks placed there from being initialised. Rather than reinstate the compatible string and trigger DT warnings at kernel build time, change the overlays to instantiate those clocks under the root node ("/"). See: #3481 Signed-off-by: Phil Elwell <phil@raspberrypi.com> [1] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks")
Commit [1] ([2] upstream) removed the "simple-bus" compatible string, "#address-cells" and "#size-cells" to fix some DT scheme warnings. In doing so it prevented the child clocks from being instantiated - the node might as well be absent. Fix the problem (at least with regards to functionality) by restoring "simple-bus" and the sizes. See: #3481 Fixes: [1] 238506e ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Fixes: [2] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Change [1] removes the simple-bus compatible string from the "/clocks" node, preventing any custom clocks placed there from being initialised. Rather than reinstate the compatible string and trigger DT warnings at kernel build time, change the overlays to instantiate those clocks under the root node ("/"). See: #3481 Signed-off-by: Phil Elwell <phil@raspberrypi.com> [1] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks")
Commit [1] ([2] upstream) removed the "simple-bus" compatible string, "#address-cells" and "#size-cells" to fix some DT scheme warnings. In doing so it prevented the child clocks from being instantiated - the node might as well be absent. Fix the problem (at least with regards to functionality) by restoring "simple-bus" and the sizes. See: #3481 Fixes: [1] 238506e ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Fixes: [2] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Change [1] removes the simple-bus compatible string from the "/clocks" node, preventing any custom clocks placed there from being initialised. Rather than reinstate the compatible string and trigger DT warnings at kernel build time, change the overlays to instantiate those clocks under the root node ("/"). See: #3481 Signed-off-by: Phil Elwell <phil@raspberrypi.com> [1] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks")
Commit [1] ([2] upstream) removed the "simple-bus" compatible string, "#address-cells" and "#size-cells" to fix some DT scheme warnings. In doing so it prevented the child clocks from being instantiated - the node might as well be absent. Fix the problem (at least with regards to functionality) by restoring "simple-bus" and the sizes. See: #3481 Fixes: [1] 238506e ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Fixes: [2] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Change [1] removes the simple-bus compatible string from the "/clocks" node, preventing any custom clocks placed there from being initialised. Rather than reinstate the compatible string and trigger DT warnings at kernel build time, change the overlays to instantiate those clocks under the root node ("/"). See: #3481 Signed-off-by: Phil Elwell <phil@raspberrypi.com> [1] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks")
Commit [1] ([2] upstream) removed the "simple-bus" compatible string, "#address-cells" and "#size-cells" to fix some DT scheme warnings. In doing so it prevented the child clocks from being instantiated - the node might as well be absent. Fix the problem (at least with regards to functionality) by restoring "simple-bus" and the sizes. See: #3481 Fixes: [1] 238506e ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Fixes: [2] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks") Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Change [1] removes the simple-bus compatible string from the "/clocks" node, preventing any custom clocks placed there from being initialised. Rather than reinstate the compatible string and trigger DT warnings at kernel build time, change the overlays to instantiate those clocks under the root node ("/"). See: #3481 Signed-off-by: Phil Elwell <phil@raspberrypi.com> [1] 4b2d246 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks")
Describe the bug
Using kernel 5.4.21 module snd_soc_hifiberry_dacplus fails to initialize the hifiberry hardware.
To reproduce
Raspi 3 with hifiberry DAC+ , boot kernel 5.4.21 (not ok) or 5.4.11 (ok)
Expected behaviour
module loads, initializes hifiberry DAC+,
aplay -l
listssndrpihifiberry [snd_rpi_hifiberry_dacplus]
dmesg | grep hifi
showsActual behaviour
module loads but fails to initialize hifiberry DAC+, therefore
aplay -l
listsaplay: device_list:272: no soundcards found...
dmesg | grep hifi
showsPlease note the missing last line, this means the driver failed to load or initialize the hifiberry
Last working kernel version was 5.4.11 , can be reproduced by down/upgrading (see links to forum discusssion below)
Logs
dmesg see https://paste.kodi.tv/sasuxiqure
Additional info
see also discussions on
https://forum.kodi.tv/showthread.php?tid=343068&pid=2926110#pid2926110
and
https://support.hifiberry.com/hc/en-us/community/posts/360009449558-module-snd-soc-hifiberry-dacplus-broken-in-kernel-5-4-18
The text was updated successfully, but these errors were encountered: