Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp910623yba; Fri, 26 Apr 2019 10:46:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqyL6cIWt+1FZ3DGtMamo622OSEstBJC4Z5ytQXQbfp6XAjNxJsDMoYJFqGJy4U3fytSYJPN X-Received: by 2002:a17:902:e709:: with SMTP id co9mr29911992plb.86.1556300808168; Fri, 26 Apr 2019 10:46:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556300808; cv=none; d=google.com; s=arc-20160816; b=AZSHelbGbnGnZ/QS1a/lhU8fvSf4W8VXFbaTHJecwp3yptv//J8M3w0rziB0z80W68 eDNl8RBYx9QgiZ5495848mCTtJaYPXKjA+2hOYaxJ+J2L8KC175KjQR/dQput4dx6Hww YbjjgS3C9adXlFAZpW+MV36+9i5SuL4VXSFjfn9zH4vi0ORWMUa1CCerU+e7LJR7z6Au ZBBdX3AdPfjpnZ74afjoNxaesBlbWFhUIhMPhLH9AichgGtyYhKHBqSL4Jc6YRw0KYJ0 MT77TfuRrmRO9jQzwW+jF71pyQ9higR0MTzZdLZZGk9Xtlaws7mEH2+5lqQlLBXt8S5K D1JQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=AnLz11I9zodtroxAi0tFts0tfSNxIA/QvCDWtru1gyI=; b=vDaqQxULTctitZzTQGwDKJHCNn/JArC3GI7mvVvQUXl+PNHBEgigbzfh208ack7CtT 5KZDknlgltiruhdPCcEg1cCkLkeY9Df7SIyE0bDcVxgqHnVTg6sVGb9mglHjVRxHi4us o54NWlQzs8cnhOvPOS5LAHqWRY8FBOWuBVth0pzw5TjFENtQ6MAizhLfOxDmWVPO3FTN 6D9asVuOIU5rX3vYNPe0aKgrPPkb5F49c56Vnq2INxOxjrEvTMl7S57a+ptob9O1gwt9 UmLyFRu3AE/SqbTAEUH86uLEH7ACYL2DKe/Am3LeBmXcDxLJ7hY3QyNARo9NX59LJaQ/ T7Rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=TbHi5QoW; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k5si23543667pgq.193.2019.04.26.10.46.17; Fri, 26 Apr 2019 10:46:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=TbHi5QoW; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726357AbfDZRp0 (ORCPT + 99 others); Fri, 26 Apr 2019 13:45:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:59172 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726049AbfDZRp0 (ORCPT ); Fri, 26 Apr 2019 13:45:26 -0400 Received: from mail-qt1-f181.google.com (mail-qt1-f181.google.com [209.85.160.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7FF7D214C6; Fri, 26 Apr 2019 17:45:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556300725; bh=TJ9Ao1gs7rboatKj0SDIWvYfHAvad3BH3lbXj244RBc=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=TbHi5QoWcFd132aTWvqI4L9De/6u1TcQmyhQJqClEs+lkH4xfLZfMCYDyTVQ6qJC8 syKGdl5O1Rute4fTl9abClJc/Y5E+i8bi35zDZ4WHmLA//DUMSpYn+YTB6aWM+htxn 1jgmXT3n+bhhqDahRW7WPusoYbfofTucCYJKJ+Uo= Received: by mail-qt1-f181.google.com with SMTP id b3so4981928qtc.12; Fri, 26 Apr 2019 10:45:25 -0700 (PDT) X-Gm-Message-State: APjAAAUKRqAh5iADCyB5pDspIhzgj1c+MVREmMVncJH+CYHRIFadLvJZ H2fxydm585e55eJHOz+OrIau1KUIoQ3QHLnCsA== X-Received: by 2002:a0c:fe65:: with SMTP id b5mr11141066qvv.106.1556300724826; Fri, 26 Apr 2019 10:45:24 -0700 (PDT) MIME-Version: 1.0 References: <1554368908-22017-2-git-send-email-rjliao@codeaurora.org> <1554888476-17560-1-git-send-email-rjliao@codeaurora.org> <7e0cf9ba98260309c43d9d6e63dead6c@codeaurora.org> In-Reply-To: <7e0cf9ba98260309c43d9d6e63dead6c@codeaurora.org> From: Rob Herring Date: Fri, 26 Apr 2019 12:45:12 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 2/2] dt-bindings: net: bluetooth: Add device property firmware-name for QCA6174 To: Rocky Liao Cc: Marcel Holtmann , Mark Rutland , Johan Hedberg , Thierry Escande , netdev , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , "open list:BLUETOOTH DRIVERS" , linux-arm-msm , Balakrishna Godavarthi Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org On Wed, Apr 24, 2019 at 1:19 AM Rocky Liao wrote: > > On 2019-04-24 01:06, Marcel Holtmann wrote: > > Hi Rocky, > > > >> This patch adds an optional device property "firmware-name" to allow > >> the > >> driver to load customized nvm firmware file based on this property. > >> > >> Signed-off-by: Rocky Liao > >> --- > >> Changes in v3: > >> * added firmware-name instead of nvm-postfix to specify full firmware > >> name > >> --- > >> Documentation/devicetree/bindings/net/qualcomm-bluetooth.txt | 2 ++ > >> 1 file changed, 2 insertions(+) > >> > >> diff --git > >> a/Documentation/devicetree/bindings/net/qualcomm-bluetooth.txt > >> b/Documentation/devicetree/bindings/net/qualcomm-bluetooth.txt > >> index 824c0e2..2bcea50 100644 > >> --- a/Documentation/devicetree/bindings/net/qualcomm-bluetooth.txt > >> +++ b/Documentation/devicetree/bindings/net/qualcomm-bluetooth.txt > >> @@ -16,6 +16,7 @@ Optional properties for compatible string > >> qcom,qca6174-bt: > >> > >> - enable-gpios: gpio specifier used to enable chip > >> - clocks: clock provided to the controller (SUSCLK_32KHZ) > >> + - firmware-name: specify the name of nvm firmware to load > >> > >> Required properties for compatible string qcom,wcn3990-bt: > >> > >> @@ -39,6 +40,7 @@ serial@7570000 { > >> > >> enable-gpios =3D <&pm8994_gpios 19 GPIO_ACTIVE_HIGH>; > >> clocks =3D <&divclk4>; > >> + firmware-name =3D "nvm_00440302.bin"; > >> }; > > > > and how is this a firmware-name property. Wouldn=E2=80=99t this be more= like > > nvm-file or something along these lines. This really needs to be > > cleared with Rob to pick the right property name. > > > > Regards > > > > Marcel > > Hi Rob, > > Are you OK to use a property name "nvm-file" or "firmware-nvm-file"? > Actually we have two firmware files, one is the patch file which is > common to all of the products, the other is the nvm file which is > customized. Using a "nvm-file" or "firmware-nvm-file" property name > would be more clear. 'firmware-name' is the standard name for specifying firmware file names. Rob