lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Wed, 12 Dec 2018 22:05:36 +0100
From:   Santiago Garcia Mantinan <manty@...ty.net>
To:     linux-kernel@...r.kernel.org
Subject: [PATCH] arm: bcm2835-audio: Document the device tree node to enable
 bcm2835-audio driver

This patch makes it posible to use the bcm2835-audio driver on the Raspberry.

In drivers/staging/vc04_services/bcm2835-audio/TODO Michael Zoran says
that this is to be done, in fact as we noted on
https://bugs.debian.org/856505 without this patch the driver is not
loaded and when loaded it doesn't do a thing.

After applying the patch on both 4.19.X and 4.20-rc5 you get the
driver autoloaded and working sound on hdmi and on the minijack
(selection done through amixer cset).

I'd like this patch to be applied so that people with a Raspberry can
get sound out of it.

Signed-off-by: Santiago García Mantiñán <manty@...ty.net>
---
 arch/arm/boot/dts/bcm283x.dtsi                   | 5 +++++
 drivers/staging/vc04_services/bcm2835-audio/TODO | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi
index 31b29646b14c..120e8f85617d 100644
--- a/arch/arm/boot/dts/bcm283x.dtsi
+++ b/arch/arm/boot/dts/bcm283x.dtsi
@@ -634,6 +634,11 @@
         vc4: gpu {
             compatible = "brcm,bcm2835-vc4";
         };
+
+        audio: audio {
+            compatible = "brcm,bcm2835-audio";
+            brcm,pwm-channels = <8>;
+        };
     };

     clocks {
diff --git a/drivers/staging/vc04_services/bcm2835-audio/TODO
b/drivers/staging/vc04_services/bcm2835-audio/TODO
index 73d41fa631ac..5611c88978e2 100644
--- a/drivers/staging/vc04_services/bcm2835-audio/TODO
+++ b/drivers/staging/vc04_services/bcm2835-audio/TODO
@@ -5,7 +5,7 @@
 *****************************************************************************


-1) Document the device tree node
+1) Document the device tree node (DONE)

 The downstream tree(the tree that the driver was imported from) at
 http://www.github.com/raspberrypi/linux uses this node:
-- 
2.19.2

Regards
--
Manty/BestiaTester -> http://manty.net

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ