Thread (8 messages) 8 messages, 4 authors, 2025-01-14

Re: [PATCH v2 1/2] dt-bindings: net: bluetooth: nxp: Add support to set BD address

From: Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>
Date: 2025-01-14 14:21:07
Also in: linux-devicetree, lkml

Hi Krzysztof,

Thank you for the review.

If I understood it correctly, local-bd-address property would be picked from bluetooth-controller.yaml ref. Updated commit msg accordingly.

Please let me know if any further comments.

Thanks,
Neeraj.
-----Original Message-----
From: Krzysztof Kozlowski <krzk@kernel.org>
Sent: Tuesday, January 14, 2025 7:09 PM
To: Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>; marcel@holtmann.org;
luiz.dentz@gmail.com; robh@kernel.org; krzk+dt@kernel.org;
conor+dt@kernel.org
Cc: linux-bluetooth@vger.kernel.org; linux-kernel@vger.kernel.org;
devicetree@vger.kernel.org; Amitkumar Karwar
[off-list ref]; Sherry Sun [off-list ref]; Luke
Wang [off-list ref]; johan.korsnes@remarkable.no;
kristian.krohn@remarkable.no; Manjeet Gupta [off-list ref]
Subject: [EXT] Re: [PATCH v2 1/2] dt-bindings: net: bluetooth: nxp: Add
support to set BD address

Caution: This is an external email. Please take care when clicking links or
opening attachments. When in doubt, report the message using the 'Report
this email' button


On 14/01/2025 14:35, Neeraj Sanjay Kale wrote:
quoted
This adds a new optional device tree property local-bd-address to
allow
Please do not use "This commit/patch/change", but imperative mood. See
longer explanation here:
https://elixir.b/
ootlin.com%2Flinux%2Fv5.17.1%2Fsource%2FDocumentation%2Fprocess%2F
submitting-
patches.rst%23L95&data=05%7C02%7Cneeraj.sanjaykale%40nxp.com%7C84b
bc484675244ce050308dd34a0d9ac%7C686ea1d3bc2b4c6fa92cd99c5c301635
%7C0%7C0%7C638724587636722337%7CUnknown%7CTWFpbGZsb3d8eyJFb
XB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWF
pbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=EH9V57j1ClNq7VMsUt%2
BzcZ3sisbeSIrOCogGt02Ca1M%3D&reserved=0
quoted
user to set custom BD address for NXP chipsets.
quoted
Signed-off-by: Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>
---
v2: Add allOf and unevaluatedProperties: false (Krzysztof)
---
 .../devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml | 8
+++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git
a/Documentation/devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml
b/Documentation/devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml
index 0a2d7baf5db3..5d75a45cac14 100644
---
a/Documentation/devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml
+++ b/Documentation/devicetree/bindings/net/bluetooth/nxp,88w8987-bt.y
+++ aml
@@ -17,6 +17,9 @@ description:
 maintainers:
   - Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>

+allOf:
+  - $ref: bluetooth-controller.yaml#
+
 properties:
   compatible:
     enum:
@@ -40,10 +43,12 @@ properties:
       Host-To-Chip power save mechanism is driven by this GPIO
       connected to BT_WAKE_IN pin of the NXP chipset.

+  local-bd-address: true
In case I was not clear: drop. And rephrase the commit msg to reflect this.

Best regards,
Krzysztof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help