From patchwork Wed Apr 10 09:27:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rocky Liao X-Patchwork-Id: 10893525 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C2C2617E0 for ; Wed, 10 Apr 2019 09:28:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AC94E2018F for ; Wed, 10 Apr 2019 09:28:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A0F4928A02; Wed, 10 Apr 2019 09:28:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5006C2018F for ; Wed, 10 Apr 2019 09:28:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729245AbfDJJ2e (ORCPT ); Wed, 10 Apr 2019 05:28:34 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:33990 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728687AbfDJJ2d (ORCPT ); Wed, 10 Apr 2019 05:28:33 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 03F736115B; Wed, 10 Apr 2019 09:28:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1554888513; bh=kL+8NYYATT/dB12MVy270oH9WAUkxjzMIw7MZgWcJAI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bsEq08T0UbzzLzgV61LTD44WEn+t7FPUneiVXAacDbOKlT7LfswCv7WtLpRVTtTyi htsD76eWfB93yFNtetD60C6GtShUkX0LDV/snLg9WqU/T98Jj0Uh4F2CPDKKz9AeK8 Nzxplsd2aib9efJnbL0XgXWXiRjGM9yxOxYFFRM4= Received: from rocky-HP-EliteBook-8460p.qca.qualcomm.com (unknown [180.166.53.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: rjliao@codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id C4E7D61112; Wed, 10 Apr 2019 09:28:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1554888508; bh=kL+8NYYATT/dB12MVy270oH9WAUkxjzMIw7MZgWcJAI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hoJwCEMsHZLNnkQW/zpdWwgy1faFOSmkeZxPhg+VcXlWjB9jxt8K2/g58PqkdVPB2 Lb0XH6lm6lFBJ4269mVWiN8LSH2GRsWIwl/uRfPU/9nlMRUFcNyv1oVXDf+TGM/gqg jLm68unwsCfOD1Tflv707IGC7ZZoinRvhjkzwIBM= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org C4E7D61112 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=rjliao@codeaurora.org From: Rocky Liao To: robh+dt@kernel.org, mark.rutland@arm.com, marcel@holtmann.org, johan.hedberg@gmail.com, thierry.escande@linaro.org Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-arm-msm@vger.kernel.org, bgodavar@codeaurora.org, Rocky Liao Subject: [PATCH v3 2/2] dt-bindings: net: bluetooth: Add device property firmware-name for QCA6174 Date: Wed, 10 Apr 2019 17:27:56 +0800 Message-Id: <1554888476-17560-1-git-send-email-rjliao@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1554368908-22017-2-git-send-email-rjliao@codeaurora.org> References: <1554368908-22017-2-git-send-email-rjliao@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Reviewed-by: Rob Herring --- 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 = <&pm8994_gpios 19 GPIO_ACTIVE_HIGH>; clocks = <&divclk4>; + firmware-name = "nvm_00440302.bin"; }; };