Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3888574yba; Tue, 9 Apr 2019 06:55:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqwyVMO+H6+oxWTYKP/4tcBeXX4gBhTgG2j9Ksri8Kq+kaqTDVQw7wRohqgJaQBGVjdo8HMz X-Received: by 2002:aa7:8092:: with SMTP id v18mr36053865pff.35.1554818151792; Tue, 09 Apr 2019 06:55:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554818151; cv=none; d=google.com; s=arc-20160816; b=B5WN2DqwlWGRSrIIv5GaTOT83X2ob5TiqRW2RluZO5FOI/++KF65NtPhy1I2Z4v817 es5ep84pQivRxRX3q1Jqa9OkQSxQQvjPFZ4i3LMPr6VaOFXINbsYH1qsB+k2Ucbts9E/ B4FbQSYkhPf1cQa1QgFb31B5dkkgoPhCylIBmsCSMru+FlNERCet4QtDRqsm6P5myCd5 Z9IAJxPn7SkqhD/OB2plgzK0st1DbH6cXQRJ1ce6lO90xV20JcdklGNhoKNlhQzoVvmW 2Eje/HSK3Ckkrj8iBGHziaxz1ncFLyu5iOLuw5eg7Y9SWgW5rUT49NrqZSGWNVICFh/t mbjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=/ueaJDKhi4AlQB2UjiQth8brOTCsfsmnGjx6dHnY1Dc=; b=kFl/zZoSakYCHYnLEWqn1Jqn3CRZTZPf12sCqD6TDX8BEUmnuEy4Ar8wtN3ArtpeHA +VHKEgnYnRL9BE+Gznnr8icxblZyPdYbbXgN/S2UJ90ltWjVDKaGOV9eWJoVsmyDh88g XdhJdPjRd1uiNPHWZ8YV0PdKTKWDmcE7ANhK0OUXbCwWpqM3HaRAH229Tv/qmrNNatp5 Dt90F35wvLQSYwjOIABj/AmmOBxHq62gtzrHRjnt1bEfnrEfZTj/66+gPJVm8DJEHjcV +rc3gY9ACApS1zBISZgud64JG4JRUI/pnzB8wiBrT/lyrwCFzV1ZDgyZRijMSFCLPAM4 vWPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PUO5vx9W; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 c11si8683764pga.462.2019.04.09.06.55.35; Tue, 09 Apr 2019 06:55:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=PUO5vx9W; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1726713AbfDINyW (ORCPT + 99 others); Tue, 9 Apr 2019 09:54:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:47414 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726401AbfDINyV (ORCPT ); Tue, 9 Apr 2019 09:54:21 -0400 Received: from mail-qk1-f171.google.com (mail-qk1-f171.google.com [209.85.222.171]) (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 AD93820880; Tue, 9 Apr 2019 13:54:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1554818060; bh=J7gf1f+1gKKsoy//MU/aBOlh/aYPrM5Cr0FpbuJ2CcM=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=PUO5vx9W7qoBPWlzYLnowQevj9bWUuMcisoO25lFLow+XGMXD8vQapBUlIyycE6td 6raOt9BgjmoWt83ZUoCBNCaBbWTppt1jalcHPfS8G5WO9KIycT1EC2CHn5ZCOD2hb9 f1YZpYhfWlaY1Hc71l2JVq4dWMQ/3u+tgLR4k3k4= Received: by mail-qk1-f171.google.com with SMTP id c1so10276186qkk.4; Tue, 09 Apr 2019 06:54:20 -0700 (PDT) X-Gm-Message-State: APjAAAVl97KRO3SdnC/59G4iu/leIxrYKekXyjD9GAM1Kd+TzfanZOVp Fa4jnVue5s9QG/OBdcX2vxcR2DvTUb4oHPopSQ== X-Received: by 2002:ae9:e313:: with SMTP id v19mr26403652qkf.153.1554818059942; Tue, 09 Apr 2019 06:54:19 -0700 (PDT) MIME-Version: 1.0 References: <1554359858-21049-1-git-send-email-rjliao@codeaurora.org> <1554368908-22017-1-git-send-email-rjliao@codeaurora.org> <1554368908-22017-2-git-send-email-rjliao@codeaurora.org> <535c74d4-00b1-eef2-578a-8807f4b9f640@free.fr> In-Reply-To: <535c74d4-00b1-eef2-578a-8807f4b9f640@free.fr> From: Rob Herring Date: Tue, 9 Apr 2019 08:54:08 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 2/2] dt-bindings: net: bluetooth: Add device property nvm-postfix for QCA6174 To: Marc Gonzalez Cc: Rocky Liao , Marcel Holtmann , Johan Hedberg , Matthias Kaehlcke , LKML , "open list:BLUETOOTH DRIVERS" , MSM , Balakrishna Godavarthi Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 4, 2019 at 7:32 AM Marc Gonzalez wrote: > > +robh > > On 04/04/2019 11:08, Rocky Liao wrote: > > > This patchs patch adds an optional device property nvm-postfix to allow the > > driver to load customized nvm file based on this property > > While text /before/ is indeed called a "prefix", text /after/ is not a "postfix", > but a "suffix". > > > > 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..70cda4b 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) > > + - nvm-postfix: nvm file postfix to load customized nvm file > > The device tree is supposed to describe hardware. > > The name of which file to load can hardly be considered part of the HW. > > Possible solutions: > 1) derive the file name from the compatible string > 2) pass the name as a module parameter > 3) something else Or use the 'firmware-name' property to define the full firmware filename. Rob