devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] ARM: dts: omap4-embt2ws: Add Bluetooth
@ 2023-10-04  7:03 Andreas Kemnade
  2023-10-04  7:59 ` Krzysztof Kozlowski
  2023-10-05  8:47 ` Krzysztof Kozlowski
  0 siblings, 2 replies; 12+ messages in thread
From: Andreas Kemnade @ 2023-10-04  7:03 UTC (permalink / raw)
  To: bcousson, tony, robh+dt, krzysztof.kozlowski+dt, conor+dt,
	linux-omap, devicetree, linux-kernel
  Cc: Andreas Kemnade

Since the required clock is now available, add bluetooth.

Note: Firmware (bts file) from device vendor reroutes tx for some time
during initialisation and later put it back, producing timeouts in
bluetooth initialisation but ignoring that command leads to proper
initialisation.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
---
Depends on: https://lore.kernel.org/linux-omap/20230916100515.1650336-6-andreas@kemnade.info/T/#u

Changes in V2:
- more standard node name, removing unneeded label

 arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts b/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts
index 46a80eacf771..6a790124bcf5 100644
--- a/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts
+++ b/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts
@@ -447,10 +447,12 @@ &uart2 {
 	interrupts-extended = <&wakeupgen GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH
 			       &omap4_pmx_core OMAP4_UART2_RX>;
 
-	/*
-	 * BT + GPS in WL1283 in WG7500 requiring CLK32KAUDIO of pmic
-	 * which does not have a driver
-	 */
+	bluetooth-gnss {
+		compatible = "ti,wl1283-st";
+		enable-gpios = <&gpio1 25 GPIO_ACTIVE_HIGH>;	/* GPIO_25 */
+		clocks = <&twl 1>;
+		clock-names = "ext_clock";
+	};
 };
 
 &uart3 {
-- 
2.39.2


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-12-01  6:26 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-04  7:03 [PATCH v2] ARM: dts: omap4-embt2ws: Add Bluetooth Andreas Kemnade
2023-10-04  7:59 ` Krzysztof Kozlowski
2023-10-04 10:36   ` Andreas Kemnade
2023-10-04 14:53   ` Andreas Kemnade
2023-10-04 15:00     ` Andreas Kemnade
2023-10-04 15:40       ` Krzysztof Kozlowski
2023-10-05  8:47 ` Krzysztof Kozlowski
2023-10-07  7:00   ` Tony Lindgren
2023-10-07  7:24     ` Tony Lindgren
2023-10-07  8:29       ` Andreas Kemnade
2023-11-30 17:35       ` Andreas Kemnade
2023-12-01  6:25         ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).