Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp562655lqp; Fri, 5 Apr 2024 02:02:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXibkrhrs8fbUYskkHOLHv2XNnBPROE64QIhYWH0op5x1mlOhJkeI6fCLrjdNxR7gkRydpp0QBm+12W5nx7EUOlZNdPGUW8huKdOINlwA== X-Google-Smtp-Source: AGHT+IGfJAnnoIuLin+wMXFH9OaSLONwcV3ckpHfvDDNuAyfd/3IJUabCw80IjE4WPBBKxIVg1gU X-Received: by 2002:ac8:5895:0:b0:431:5c25:8105 with SMTP id t21-20020ac85895000000b004315c258105mr759064qta.16.1712307746860; Fri, 05 Apr 2024 02:02:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712307746; cv=pass; d=google.com; s=arc-20160816; b=DMON+XeRFBRLia7hxfC/LbPI2kgy4P76g2K3tIcYMQD1+NoRIKbI9HGCgoZ4IMOc4a jj6cDt7pH4qAI+jjll3ouW/YCJhSQH7fyjcQJIDHtGcNxGR1SPNSBj3D80qob81NxibM CYuw3owGBdDz30VC/pPOk1H8SJR/cMLmNO7I0bcwhfs0jq8wEImmWwdPhKNNqjv5l9wh 8ylAoPgUt+v3Lv7FvLvM3nxL6EGwxI8O56znEziBXvYsiBJgL5+JaGKbifgvjpJ8XHQP QOnUlOx6CddQrcNQJ4oSHQDUxb9ZLTET6Vu+gPbGd9J/Yx0lgaa9mGGcBlis/v8hatvE jDvA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=h7Q/npYhqqven2TZ13vBY/7keRMDf13+MsXeiXN2OTY=; fh=yhN0YROEHUseLNR08iCdgyPss/Ex0wKQaUMEJCcMOiM=; b=Y48YOmb/KHeS4tpq1gHSgVarEb/xA+rpcLHDVGM8kGz9e66cwJtSEqX5vp30vIPvRX fLR00Xane1IEeMp5SZ0GoDrg6vHDD4t55riY3Qy+SI5CJ10ekq8g6t17LcOwRoKSrD/C SelmboP2LXSxFckuevKPmRiF9/5a17pOEt/t2yTr1tBPx3YlvyYuiB8RYO1P1C+Gv1ie 0xlyHbOUeVyHNpleCNWMNJSTUF0gBr6AwGPM6azQhwTx2rfGtt6iL/WzegqDHZic2/4w N4k5VYRoIzrcoecW3qFzbxQBtC6ncRkUn9Vkb+cdopRqSMP8oW801XRQNuobIu9O7oZO pvsA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-bluetooth+bounces-3255-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-3255-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id z10-20020a05622a028a00b00432d61bd593si1291215qtw.626.2024.04.05.02.02.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 02:02:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-3255-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-bluetooth+bounces-3255-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-3255-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com 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 8B73E1C21310 for ; Fri, 5 Apr 2024 09:02:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7C17D16078F; Fri, 5 Apr 2024 09:01:44 +0000 (UTC) X-Original-To: linux-bluetooth@vger.kernel.org Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) (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 69D0A15FA7F; Fri, 5 Apr 2024 09:01:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=92.121.34.21 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712307704; cv=none; b=VyfcmqqvcDOc5L36vgY9c2VCiQk6UYwB2ymztjYSmbwSnZv1dVX24CvVDWhYUCHoj/fSa4cZf4+9EZ7v3SZ3GZJ4TZo52v8vI0XnpTtuu5cG7WXLVLW/T7yLoDPpsQLO48ZlEKrxaSOKCdLFt5xXUL02gigOhrFQ2xSEPxGQ+KA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712307704; c=relaxed/simple; bh=+CGC8ZxRnPkLnB2bwYcIb90Vs1Fp+CoONNI+Hnio564=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=APIjfn32uEbYrLpJ69ZdrY4aR6EDyAbOyeBjTGP+IfzlJJXiIN4ywjgyjNoaXLP157tc+R2jfjkv2Yt4GFc6pV9m5NdYXr2jc524j58BcSDJYA2eaQWfDerTB/C6Vt2WKd0P4F3LYRvaXu1RuYGjGGgkjyd2Eaujy43IEncU2SM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; arc=none smtp.client-ip=92.121.34.21 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id E28F62018ED; Fri, 5 Apr 2024 11:01:34 +0200 (CEST) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 8C136200EE8; Fri, 5 Apr 2024 11:01:34 +0200 (CEST) Received: from pe-lt8779.in-pnq01.nxp.com (pe-lt8779.in-pnq01.nxp.com [10.17.104.141]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 733CC183AD25; Fri, 5 Apr 2024 17:01:32 +0800 (+08) From: Neeraj Sanjay Kale To: marcel@holtmann.org, luiz.dentz@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-bluetooth@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, amitkumar.karwar@nxp.com, rohit.fule@nxp.com, neeraj.sanjaykale@nxp.com, sherry.sun@nxp.com, ziniu.wang_1@nxp.com, haibo.chen@nxp.com, LnxRevLi@nxp.com Subject: [PATCH v1 1/2] dt-bindings: net: bluetooth: btnxpuart: Add firmware-name property Date: Fri, 5 Apr 2024 14:31:17 +0530 Message-Id: <20240405090118.582310-2-neeraj.sanjaykale@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240405090118.582310-1-neeraj.sanjaykale@nxp.com> References: <20240405090118.582310-1-neeraj.sanjaykale@nxp.com> Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP This adds a new optional device tree property called firware-name. If this property is specified, the driver overrides the firmware name hardcoded in the driver source code. Signed-off-by: Neeraj Sanjay Kale --- .../devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml b/Documentation/devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml index f01a3988538c..25c258212bcd 100644 --- a/Documentation/devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml +++ b/Documentation/devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml @@ -31,6 +31,13 @@ properties: This property depends on the module vendor's configuration. + firmware-name: + $ref: /schemas/types.yaml#/definitions/string + description: + Specify firmware file name, prepended with nxp/. + This property overrides the firmware names hardcoded + in the driver source code. + required: - compatible @@ -42,5 +49,6 @@ examples: bluetooth { compatible = "nxp,88w8987-bt"; fw-init-baudrate = <3000000>; + firmware-name = "nxp/uartuart8987_bt_v0.bin"; }; }; -- 2.34.1