diff mbox series

[2/2] board/raspberrypi: reword console comment

Message ID 20240808123938.898039-2-gael.portay@rtone.fr
State Accepted
Headers show
Series [1/2] configs: add Raspberry Pi Zero 2 W 64-bit defconfig | expand

Commit Message

Gaël PORTAY Aug. 8, 2024, 12:39 p.m. UTC
The Raspberry Pi with Bluetooth connectivity up to 4 (i.e. Zero W, Zero
2 W, 3, 4 and Compute Module 4) use the miniuart-bt overlay to restore
UART0 for the serial console (like the Raspberry Pi and Raspberry Pi 2
that have no Bluetooth); the Bluetooth uses the mini-UART instead[1][2].

This rewords the comment instead of enumerating every hardwares that can
be extended in the future.

[1]: https://www.raspberrypi.com/documentation/computers/configuration.html#uarts-and-device-tree
[2]: https://github.com/raspberrypi/linux/blob/rpi-6.6.y/arch/arm/boot/dts/overlays/miniuart-bt-overlay.dts#L4-L6

Signed-off-by: Gaël PORTAY <gael.portay@rtone.fr>
---
 board/raspberrypi/config_0w.txt           | 2 +-
 board/raspberrypi/config_3.txt            | 2 +-
 board/raspberrypi/config_3_64bit.txt      | 2 +-
 board/raspberrypi/config_3_qt5we.txt      | 2 +-
 board/raspberrypi/config_4.txt            | 2 +-
 board/raspberrypi/config_4_64bit.txt      | 2 +-
 board/raspberrypi/config_cm4io.txt        | 2 +-
 board/raspberrypi/config_cm4io_64bit.txt  | 2 +-
 board/raspberrypi/config_zero2w.txt       | 2 +-
 board/raspberrypi/config_zero2w_64bit.txt | 2 +-
 10 files changed, 10 insertions(+), 10 deletions(-)

Comments

Thomas Petazzoni Aug. 8, 2024, 4:43 p.m. UTC | #1
On Thu,  8 Aug 2024 14:39:38 +0200
"Gaël PORTAY" <gael.portay@gmail.com> wrote:

> The Raspberry Pi with Bluetooth connectivity up to 4 (i.e. Zero W, Zero
> 2 W, 3, 4 and Compute Module 4) use the miniuart-bt overlay to restore
> UART0 for the serial console (like the Raspberry Pi and Raspberry Pi 2
> that have no Bluetooth); the Bluetooth uses the mini-UART instead[1][2].
> 
> This rewords the comment instead of enumerating every hardwares that can
> be extended in the future.
> 
> [1]: https://www.raspberrypi.com/documentation/computers/configuration.html#uarts-and-device-tree
> [2]: https://github.com/raspberrypi/linux/blob/rpi-6.6.y/arch/arm/boot/dts/overlays/miniuart-bt-overlay.dts#L4-L6
> 
> Signed-off-by: Gaël PORTAY <gael.portay@rtone.fr>
> ---
>  board/raspberrypi/config_0w.txt           | 2 +-
>  board/raspberrypi/config_3.txt            | 2 +-
>  board/raspberrypi/config_3_64bit.txt      | 2 +-
>  board/raspberrypi/config_3_qt5we.txt      | 2 +-
>  board/raspberrypi/config_4.txt            | 2 +-
>  board/raspberrypi/config_4_64bit.txt      | 2 +-
>  board/raspberrypi/config_cm4io.txt        | 2 +-
>  board/raspberrypi/config_cm4io_64bit.txt  | 2 +-
>  board/raspberrypi/config_zero2w.txt       | 2 +-
>  board/raspberrypi/config_zero2w_64bit.txt | 2 +-
>  10 files changed, 10 insertions(+), 10 deletions(-)

Applied to master, of course without the change in
config_zero2w_64bit.txt, as I didn't apply PATCH 1/2. Thanks!

Thomas
diff mbox series

Patch

diff --git a/board/raspberrypi/config_0w.txt b/board/raspberrypi/config_0w.txt
index bc59d5fad2..123e09cf56 100644
--- a/board/raspberrypi/config_0w.txt
+++ b/board/raspberrypi/config_0w.txt
@@ -22,7 +22,7 @@  gpu_mem_256=100
 gpu_mem_512=100
 gpu_mem_1024=100
 
-# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console
+# Enable UART0 for serial console on ttyAMA0
 dtoverlay=miniuart-bt
 
 # enable autoprobing of Bluetooth driver without need of hciattach/btattach
diff --git a/board/raspberrypi/config_3.txt b/board/raspberrypi/config_3.txt
index bc59d5fad2..123e09cf56 100644
--- a/board/raspberrypi/config_3.txt
+++ b/board/raspberrypi/config_3.txt
@@ -22,7 +22,7 @@  gpu_mem_256=100
 gpu_mem_512=100
 gpu_mem_1024=100
 
-# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console
+# Enable UART0 for serial console on ttyAMA0
 dtoverlay=miniuart-bt
 
 # enable autoprobing of Bluetooth driver without need of hciattach/btattach
diff --git a/board/raspberrypi/config_3_64bit.txt b/board/raspberrypi/config_3_64bit.txt
index 6672871125..88206e9b14 100644
--- a/board/raspberrypi/config_3_64bit.txt
+++ b/board/raspberrypi/config_3_64bit.txt
@@ -22,7 +22,7 @@  gpu_mem_256=100
 gpu_mem_512=100
 gpu_mem_1024=100
 
-# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console
+# Enable UART0 for serial console on ttyAMA0
 dtoverlay=miniuart-bt
 
 # enable autoprobing of Bluetooth driver without need of hciattach/btattach
diff --git a/board/raspberrypi/config_3_qt5we.txt b/board/raspberrypi/config_3_qt5we.txt
index 752310b179..3d81a4e5da 100644
--- a/board/raspberrypi/config_3_qt5we.txt
+++ b/board/raspberrypi/config_3_qt5we.txt
@@ -22,5 +22,5 @@  gpu_mem_256=100
 gpu_mem_512=100
 gpu_mem_1024=200
 
-# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console
+# Enable UART0 for serial console on ttyAMA0
 dtoverlay=miniuart-bt
diff --git a/board/raspberrypi/config_4.txt b/board/raspberrypi/config_4.txt
index 74a7b270cd..9b77d23d74 100644
--- a/board/raspberrypi/config_4.txt
+++ b/board/raspberrypi/config_4.txt
@@ -22,7 +22,7 @@  gpu_mem_256=100
 gpu_mem_512=100
 gpu_mem_1024=100
 
-# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console
+# Enable UART0 for serial console on ttyAMA0
 dtoverlay=miniuart-bt
 
 # enable autoprobing of Bluetooth driver without need of hciattach/btattach
diff --git a/board/raspberrypi/config_4_64bit.txt b/board/raspberrypi/config_4_64bit.txt
index a4ae327d2a..fcb1c5c30a 100644
--- a/board/raspberrypi/config_4_64bit.txt
+++ b/board/raspberrypi/config_4_64bit.txt
@@ -22,7 +22,7 @@  gpu_mem_256=100
 gpu_mem_512=100
 gpu_mem_1024=100
 
-# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console
+# Enable UART0 for serial console on ttyAMA0
 dtoverlay=miniuart-bt
 
 # enable autoprobing of Bluetooth driver without need of hciattach/btattach
diff --git a/board/raspberrypi/config_cm4io.txt b/board/raspberrypi/config_cm4io.txt
index cf7e6df1a1..15751e7187 100644
--- a/board/raspberrypi/config_cm4io.txt
+++ b/board/raspberrypi/config_cm4io.txt
@@ -22,7 +22,7 @@  gpu_mem_256=100
 gpu_mem_512=100
 gpu_mem_1024=100
 
-# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console
+# Enable UART0 for serial console on ttyAMA0
 dtoverlay=miniuart-bt
 
 # enable RTC
diff --git a/board/raspberrypi/config_cm4io_64bit.txt b/board/raspberrypi/config_cm4io_64bit.txt
index 813f6eba7b..4884bda553 100644
--- a/board/raspberrypi/config_cm4io_64bit.txt
+++ b/board/raspberrypi/config_cm4io_64bit.txt
@@ -22,7 +22,7 @@  gpu_mem_256=100
 gpu_mem_512=100
 gpu_mem_1024=100
 
-# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console
+# Enable UART0 for serial console on ttyAMA0
 dtoverlay=miniuart-bt
 
 # enable RTC
diff --git a/board/raspberrypi/config_zero2w.txt b/board/raspberrypi/config_zero2w.txt
index 55095f64a7..123e09cf56 100644
--- a/board/raspberrypi/config_zero2w.txt
+++ b/board/raspberrypi/config_zero2w.txt
@@ -22,7 +22,7 @@  gpu_mem_256=100
 gpu_mem_512=100
 gpu_mem_1024=100
 
-# fixes rpi (3B, 3B+, 3A+, 4B ,zero W and zero 2) ttyAMA0 serial console
+# Enable UART0 for serial console on ttyAMA0
 dtoverlay=miniuart-bt
 
 # enable autoprobing of Bluetooth driver without need of hciattach/btattach
diff --git a/board/raspberrypi/config_zero2w_64bit.txt b/board/raspberrypi/config_zero2w_64bit.txt
index 6672871125..88206e9b14 100644
--- a/board/raspberrypi/config_zero2w_64bit.txt
+++ b/board/raspberrypi/config_zero2w_64bit.txt
@@ -22,7 +22,7 @@  gpu_mem_256=100
 gpu_mem_512=100
 gpu_mem_1024=100
 
-# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console
+# Enable UART0 for serial console on ttyAMA0
 dtoverlay=miniuart-bt
 
 # enable autoprobing of Bluetooth driver without need of hciattach/btattach