Skip to contentSkip to conversation

arm64: dts: meson-g12a: bluetooth fixups

PATCH In review Neil Armstrong 2 participants 7 messages Jun 7, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v2 cover arm64: dts: meson-g12a: bluetooth fixups

These patches :
- adds the 32khz low power clock to the bluetooth node, since this clock is needed for the bluetooth part of the module to initialize
- bumps the bus speed to 2Mbaud/s

Changes since v1:
- removed the invalid Fixes tags
- added the reviewed/acked by tags

Neil Armstrong (4):
arm64: dts: meson-g12a-sei510: add 32k clock to bluetooth node
arm64: dts: meson-g12a-x96-max: add 32k clock to bluetooth node
arm64: dts: meson-g12a-sei510: bump bluetooth bus speed to 2Mbaud/s
arm64: dts: meson-g12a-x96-max: bump bluetooth bus speed to 2Mbaud/s

 arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts  | 3 +++
 arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts | 3 +++
 2 files changed, 6 insertions(+)
Signature · 7 lines
2.21.0


_______________________________________________
linux-amlogic mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-amlogic
#1 lore raw

PATCH v2 1/4 arm64: dts: meson-g12a-sei510: add 32k clock to bluetooth node

The 32k low power clock is necessary for the bluetooth part of the combo module to initialize correctly, simply add the same clock we use for the sdio pwrseq.

---
 arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts +2 -0
index eac57d997e0b..3e0e119c13ce 100644
@@ -530,6 +530,8 @@
 	bluetooth {
 		compatible = "brcm,bcm43438-bt";
 		shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
+		clocks = <&wifi32k>;
+		clock-names = "lpo";
 		vbat-supply = <&vddao_3v3>;
 		vddio-supply = <&vddio_ao1v8>;
 	};
Signature · 1 line
2.21.0
#2 lore raw

PATCH v2 2/4 arm64: dts: meson-g12a-x96-max: add 32k clock to bluetooth node

In reply to Neil Armstrong

The 32k low power clock is necessary for the bluetooth part of the combo module to initialize correctly, simply add the same clock we use for the sdio pwrseq.

---
 arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts +2 -0
index 2c10ebfd9e7c..aa9da5de5c2d 100644
@@ -206,6 +206,8 @@
 	bluetooth {
 		compatible = "brcm,bcm43438-bt";
 		shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
+		clocks = <&wifi32k>;
+		clock-names = "lpo";
 	};
 };
 
Signature · 1 line
2.21.0
#3 lore raw

PATCH v2 3/4 arm64: dts: meson-g12a-sei510: bump bluetooth bus speed to 2Mbaud/s

In reply to Neil Armstrong

Setting to 2Mbaud/s is the nominal bus speed for common usages.

---
 arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts +1 -0
index 3e0e119c13ce..4fc30131e5e7 100644
@@ -530,6 +530,7 @@
 	bluetooth {
 		compatible = "brcm,bcm43438-bt";
 		shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
+		max-speed = <2000000>;
 		clocks = <&wifi32k>;
 		clock-names = "lpo";
 		vbat-supply = <&vddao_3v3>;
Signature · 1 line
2.21.0
#4 lore raw

PATCH v2 4/4 arm64: dts: meson-g12a-x96-max: bump bluetooth bus speed to 2Mbaud/s

In reply to Neil Armstrong

Setting to 2Mbaud/s is the nominal bus speed for common usages.

---
 arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts +1 -0
index aa9da5de5c2d..300c29dad49f 100644
@@ -206,6 +206,7 @@
 	bluetooth {
 		compatible = "brcm,bcm43438-bt";
 		shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
+		max-speed = <2000000>;
 		clocks = <&wifi32k>;
 		clock-names = "lpo";
 	};
Signature · 1 line
2.21.0
maintainer
#6 lore raw
In reply to Neil Armstrong
Quoted 4 lines · Neil Armstrong

These patches :
- adds the 32khz low power clock to the bluetooth node, since this clock is needed for the bluetooth part of the module to initialize
- bumps the bus speed to 2Mbaud/s

Queued for v5.3,

Thanks,

Kevin