Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2686298rdh; Wed, 27 Sep 2023 09:36:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGtO6HKegknPqzlOvKidY+awbZIDtuF4NAIkRj72hxjfp2iWuFxBky2GEWTTopmFKRLy9aX X-Received: by 2002:a05:6a00:1996:b0:68f:b5a3:5ec6 with SMTP id d22-20020a056a00199600b0068fb5a35ec6mr3941047pfl.0.1695832614670; Wed, 27 Sep 2023 09:36:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695832614; cv=none; d=google.com; s=arc-20160816; b=ubjCuFkbVBdJdggBmfkUk5QFZLQZ4pcjiI9NxGMjwcBVjgBQswO9rxLctqhBmf6FBf pc3PzM1P6aYP2xuX9GT0Ja5HKZPrWdNWxxNBylKdDtv3WpqKcR3z9rbbx6HGjbINnLxp hYfGTUaUiy6KG/JGazXEjAIswX0mCHAiMy8Oe8IxtyreYvULFXnCYXOJGa9rwfpXYck5 vBHU26rRzzWRfpJI5O8dN8QA2vtCSvqdUCMfJ+EXct7vPW5hyeFs+kHckP3Fa4yZbAfe ckCWcvIiogDseaNBRRTi8DjVTMXCI1wqcPyFqjWu9sRyhFEDBgqz3pj5amKcD+POdgK3 pFQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=lgJMF0JeJtAAXohZy3G7LX9cACmdxX1QHw3a9tw4jAc=; fh=p2SkMt2ReqXlCPRX7VEEuynwxLq42KuAh7kNk9KJxJk=; b=hmm5v4a3IUAB2TCiZiXrxJWsfel24BZhSZxRkjaaYbFirtV2BNqWvNLNwCLfswyqlI kL1p96bnyjhT2qNqq051c4aKwyb9IMwFf0EJ7ZAIGbF/TmUvOta1Gr6YjmIHrIqnD6Hv ZCI9mC0rbcbIBntmlTxr2n2MSIY5fQt/m7VEI+DN7EIbxzintPRf2vzAhhyu8Iq/qFUD Lm89l4XY1NODce/sNh8d9OztkDIs7jjPBSwZUwB63msU/3VL10oBQZUVQ7jq+Y/Vx8k/ Nko5jik3iP5pQFdi9VbFZ5emneM3u/1bACGKkBRfzwUBoPd20AG86fe9r/iki+04rG9x XN9A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id l65-20020a639144000000b00578acf1e8a4si15603808pge.573.2023.09.27.09.36.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 09:36:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id C5BCF802697B; Wed, 27 Sep 2023 09:29:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230415AbjI0Q3O (ORCPT + 99 others); Wed, 27 Sep 2023 12:29:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229692AbjI0Q3M (ORCPT ); Wed, 27 Sep 2023 12:29:12 -0400 Received: from mail.andi.de1.cc (mail.andi.de1.cc [IPv6:2a02:c205:3004:2154::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6198391; Wed, 27 Sep 2023 09:29:10 -0700 (PDT) Received: from p5dcc3085.dip0.t-ipconnect.de ([93.204.48.133] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qlXPO-004Eov-0C; Wed, 27 Sep 2023 18:29:05 +0200 Date: Wed, 27 Sep 2023 18:29:03 +0200 From: Andreas Kemnade To: Krzysztof Kozlowski Cc: bcousson@baylibre.com, tony@atomide.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: dts: omap4-embt2ws: Add Bluetooth Message-ID: <20230927182903.4cf1527f@aktux> In-Reply-To: References: <20230926204204.2120316-1-andreas@kemnade.info> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 27 Sep 2023 09:29:38 -0700 (PDT) On Wed, 27 Sep 2023 09:56:28 +02Krzysztof Kozlowski wrote: > On 26/09/2023 22:42, Andreas Kemnade wrote: > > 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 > > --- > > Depends on: https://lore.kernel.org/linux-omap/20230916100515.1650336-6-andreas@kemnade.info/T/#u > > 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 9d2f2d8639496..25b80385dc1f0 100644 > > --- a/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts > > +++ b/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts > > @@ -478,10 +478,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: tiwi { > > Node names should be generic. See also an explanation and list of > examples (not exhaustive) in DT specification: > https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation > > E.g. "bluetooth" > well, that is what I get currently as a reward from the kernel for describing the hardware and so the motivation for the patch, not necessarily the most important functionality. But the over the uart runs the ti shared transport protocol (also there is a non dt compatible driver in drivers/misc/ti-st) which provides more than Bluetooth, e.g. it also provides at least GNSS and FM (although it do not know if it works in this particular hardware). GPS/GNSS should work. So the node name would be bluetoothgnss then? Well, I think we do not need the label then. Regards, Andreas