Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1180047lqp; Fri, 22 Mar 2024 07:45:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVdcn3TipjZBI8g7U/n4KMUJSw+mnUBpib59EVIC97zcCz6k587J+0a+7H/jO5zelxjVvckeFtn4nSarGui+qIonlbcr77prE+c8b6mSQ== X-Google-Smtp-Source: AGHT+IEc0c8ZlH1R91stgI2Ce32cSFg/PAoWvEmUxAX5cHEbD4Lgg+QN3MWUj/u3TMyurxZNVLMR X-Received: by 2002:a0d:c604:0:b0:609:879a:aef7 with SMTP id i4-20020a0dc604000000b00609879aaef7mr2558462ywd.30.1711118722113; Fri, 22 Mar 2024 07:45:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711118722; cv=pass; d=google.com; s=arc-20160816; b=GerMFm+g2ozkXWgmVr8xxQu6ER1R1vk1WZQY0yts0DxjKKLA3MjkRRf1nnUA2M44YU 9O4XEGJ1VgU6IbCje6cl+ee6tNiUE5cF+n0j4vtq/khyvaKj/OxmI5bb279hDpf4+XqP yWf7VHDtnSGuBev7JN8TX6Y02Yd617u2Bq9Vgf3SPjPRaG7X2yR2KGcbw2owEjh4we2v jaR0Ir5nt4DrNzu3CMWFccLftKeQyvosb5pfz9hLEQNBVO+xFkEu2N0E9SMxxlDByvr0 waKAAwrxMOLvUbRQ3y3/W+nFbQTnSwqd3GlWEVgDwRLFWJdOGchUWPmhPaB0/4GS1uv9 xsUA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=XBN2+h/UGT1eWVh//fmxR9qtXTE3wvil8+Mr4TBqJzs=; fh=CyDTsyuOmpE4vM4/vfzcWjlP6LUQLpbtcADvSYt44bQ=; b=aigK8Cbta1CNKepk4hUyrCNawoHjtZr/yEm62oYwpYDMz8iqpxfG4IJ8MhRIFe/8to wfsUs0jv2OWc3zXQ4vE888x4FDEpZCzK3nK9pG/JXrj7p4eM5Y6hW+bZMWGOQVW1wMCX zDiZMt0rx3ItQvXbAnu5B77xm01FnesTgNQ+vdR0YvBZ0D7veX5p4wbBPQsOJQmPdwGz u8dI+C7X/K5n2ihxvjKBvZvcYMiLs1xBtY1Nt+EI12968vw2bgzoorm/a54OIk1OErcE A6tNqt/BRxh3YPWvHSc1I6GZxd4Oja/8aptZxtXzFdtbWgyKXk+RnBCCQlY+iOKzGYxm 1PdQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WjPVXYXO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-bluetooth+bounces-2696-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-2696-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id gy3-20020a056214242300b0069187856d2bsi2112333qvb.527.2024.03.22.07.45.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 07:45:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-2696-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WjPVXYXO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-bluetooth+bounces-2696-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-2696-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A4F281C22120 for ; Fri, 22 Mar 2024 14:45:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 117D44AED1; Fri, 22 Mar 2024 14:45:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WjPVXYXO" X-Original-To: linux-bluetooth@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4C6FD47F7F; Fri, 22 Mar 2024 14:45:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711118701; cv=none; b=G5LLB4QlW7KtNWIth73QMYwXHA9lQ6OvvUMxlhISLlOX9iPTLXPlYheCHePYJ2JtrtXa+jIeH8XEESwkwtGYt4HsoQN2rDCh1QlxC9DtEEpZJCFRsoXOpAxRY3qxEueTEVr4IWuc79LtsFLUlgQGITDy82lKK1qUr09KMdeU2pk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711118701; c=relaxed/simple; bh=oJOb22wO4m+N/5n0eP9Z0CpvUQn2sWpgpr9DVZAQk+o=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Cx+bC34pmDYMH+GkAfGfkubPZkQ5xk1oQOuCDpbMaNiDJ6oJWCk+VzHwUj7M7V7W5urC8durhMpVTkgQC9sPK6M7JW9HWaSYFuzlQBT9z784EnfrZsVJyeOkhv3VP5j4XtP0u60N7PCcip5KBUXDK/95K/HxynRATEcEHX+5swA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WjPVXYXO; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 42E37C433F1; Fri, 22 Mar 2024 14:44:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711118700; bh=oJOb22wO4m+N/5n0eP9Z0CpvUQn2sWpgpr9DVZAQk+o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WjPVXYXOBygNVlQYfGKlpPu601j+i0avVfAeryoYW6+156u+jIoWgruPO6EFERoAj x79IJUs2tykeelwIHNxl3+pIoO0/O2eumqYSvFpQhlisKihvn8pWO+e/12vYMhqO4k zye4r+l1JMOda7Iss6U8lxDSuTyyUP6lh97RD61hzndqIQfZNYy9++yYbSoVIu6jDA yGdlGYx5oOPMEZQ1EpjNdu8H4s7/8L98HLD1kY6fRfw0+k4AANax1HNpGaTi811UTE /ynR2igcSH3qdIU4zhwR/j+DXh5/Y6J0/WrsYYCBn6ueJe2UAaHjLJ7nf2AVQn2B+x QFvu/CgFTINkw== Date: Fri, 22 Mar 2024 09:44:57 -0500 From: Bjorn Andersson To: Johan Hovold Cc: Marcel Holtmann , Luiz Augusto von Dentz , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org, Konrad Dybcio , Johan Hedberg , Balakrishna Godavarthi , Matthias Kaehlcke , Douglas Anderson , Rocky Liao , Dmitry Baryshkov , linux-bluetooth@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Rob Clark Subject: Re: [PATCH v4 2/4] arm64: dts: qcom: sc7180-trogdor: mark bluetooth address as broken Message-ID: References: <20240320075554.8178-1-johan+linaro@kernel.org> <20240320075554.8178-3-johan+linaro@kernel.org> Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240320075554.8178-3-johan+linaro@kernel.org> On Wed, Mar 20, 2024 at 08:55:52AM +0100, Johan Hovold wrote: > Several Qualcomm Bluetooth controllers lack persistent storage for the > device address and instead one can be provided by the boot firmware > using the 'local-bd-address' devicetree property. > > The Bluetooth bindings clearly states that the address should be > specified in little-endian order, but due to a long-standing bug in the > Qualcomm driver which reversed the address some boot firmware has been > providing the address in big-endian order instead. > > The boot firmware in SC7180 Trogdor Chromebooks is known to be affected > so mark the 'local-bd-address' property as broken to maintain backwards > compatibility with older firmware when fixing the underlying driver bug. > > Note that ChromeOS always updates the kernel and devicetree in lockstep > so that there is no need to handle backwards compatibility with older > devicetrees. > > Fixes: 7ec3e67307f8 ("arm64: dts: qcom: sc7180-trogdor: add initial trogdor and lazor dt") > Cc: stable@vger.kernel.org # 5.10 > Cc: Rob Clark > Reviewed-by: Douglas Anderson > Signed-off-by: Johan Hovold Acked-by: Bjorn Andersson Reviewed-by: Bjorn Andersson Please merge this through the BT tree, together with the other patches. Regards, Bjorn > --- > arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi > index 46aaeba28604..ebe37678102f 100644 > --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi > @@ -943,6 +943,8 @@ bluetooth: bluetooth { > vddrf-supply = <&pp1300_l2c>; > vddch0-supply = <&pp3300_l10c>; > max-speed = <3200000>; > + > + qcom,local-bd-address-broken; > }; > }; > > -- > 2.43.2 >