From 618119edb74520b5bf8aa456ea13760fda8a721c Mon Sep 17 00:00:00 2001 From: Matteo Golin Date: Wed, 8 Jul 2026 20:24:02 -0400 Subject: [PATCH] docs/raspberrypi-4b: Document PWM configuration Documents the configuration which allows PWM audio. Signed-off-by: Matteo Golin --- .../arm64/bcm2711/boards/raspberrypi-4b/index.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/platforms/arm64/bcm2711/boards/raspberrypi-4b/index.rst b/Documentation/platforms/arm64/bcm2711/boards/raspberrypi-4b/index.rst index cbe8c809155..a841a15f616 100644 --- a/Documentation/platforms/arm64/bcm2711/boards/raspberrypi-4b/index.rst +++ b/Documentation/platforms/arm64/bcm2711/boards/raspberrypi-4b/index.rst @@ -322,3 +322,15 @@ This configuration leverages all four A72 cores of the BCM2711. It comes with the standard NSH shell, :doc:`/applications/testing/getprime/index`, :doc:`/applications/testing/ostest/index`, and :doc:`/applications/testing/smp/index` tests. + +audio_tone +---------- + +This configuration enables PWM0 and PWM1 interfaces and provides examples like +:doc:`/applications/examples/pwm/index` for playing with sound. The audio jack +right and left channels are channel 1 and 2 of ``/dev/pwm1``. + +.. warning:: + + Audio output over the jack is very loud. DO NOT plug in earbuds until first + assessing the sound level with them out of your ears.