From: Yang Li <yang.li@amlogic.com>
To: Krzysztof Kozlowski <krzk@kernel.org>,
Marcel Holtmann <marcel@holtmann.org>,
Luiz Augusto von Dentz <luiz.dentz@gmail.com>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>
Cc: linux-bluetooth@vger.kernel.org, netdev@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2 1/3] dt-bindings: net: bluetooth: Add support for Amlogic Bluetooth
Date: Fri, 19 Jul 2024 16:20:03 +0800 [thread overview]
Message-ID: <30cf7665-ff35-4a1a-ba26-0bbe377512be@amlogic.com> (raw)
In-Reply-To: <18f1301f-6d93-4645-b6d9-e4ccd103ff5d@kernel.org>
Dear Krzysztof
Thanks.
On 2024/7/18 19:40, Krzysztof Kozlowski wrote:
> On 18/07/2024 09:42, Yang Li via B4 Relay wrote:
>> From: Yang Li <yang.li@amlogic.com>
>>
>> Add binding document for Amlogic Bluetooth chipsets attached over UART.
>>
>> Signed-off-by: Yang Li <yang.li@amlogic.com>
>> ---
>> .../bindings/net/bluetooth/amlogic,w155s2-bt.yaml | 66 ++++++++++++++++++++++
>> 1 file changed, 66 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/net/bluetooth/amlogic,w155s2-bt.yaml b/Documentation/devicetree/bindings/net/bluetooth/amlogic,w155s2-bt.yaml
>> new file mode 100644
>> index 000000000000..2e433d5692ff
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/net/bluetooth/amlogic,w155s2-bt.yaml
>> @@ -0,0 +1,66 @@
>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
>> +# Copyright (C) 2024 Amlogic, Inc. All rights reserved
>> +%YAML 1.2
>> +---
>> +$id: http://devicetree.org/schemas/net/bluetooth/amlogic,w155s2-bt.yaml#
>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>> +
>> +title: Amlogic Bluetooth chips
>> +
>> +description:
>> + This binding describes UART-attached Amlogic bluetooth chips.
> <form letter>
> This is a friendly reminder during the review process.
>
> It seems my or other reviewer's previous comments were not fully
> addressed. Maybe the feedback got lost between the quotes, maybe you
> just forgot to apply it. Please go back to the previous discussion and
> either implement all requested changes or keep discussing them.
>
> Thank you.
> </form letter>
Apologies for the earlier omission. I have amended the description of the
UART-attached Amlogic Bluetooth chips in the patch:
"This binding describes Amlogic Bluetooth chips connected via UART,
which function as dual-radio devices supporting Wi-Fi and Bluetooth.
It operates on the H4 protocol over a 4-wire UART, with RTS and CTS lines
used for firmware download. It supports Bluetooth and Wi-Fi coexistence."
>> +
>> +maintainers:
>> + - Yang Li <yang.li@amlogic.com>
>> +
>> +properties:
>> + compatible:
>> + oneOf:
>> + - const: amlogic,w155s2-bt
>> + - items:
>> + - enum:
>> + - amlogic,w265s1-bt
>> + - amlogic,w265p1-bt
>> + - amlogic,w265s2-bt
>> + - const: amlogic,w155s2-bt
>> +
>> + bt-enable-gpios:
> enable-gpios
will do.
>
>> + maxItems: 1
>> + description: gpio specifier used to enable BT
> Drop, redundant.
will do.
>
>> +
>> + bt-supply:
> It's called "bt" in schematics or datasheet? Feels unusual. Please list
> all the pins if you claim that's a real name.
>
Yes, you are correct, the actual name is 'vddio-supply.' I initially
intended to
differentiate it from WiFi, but it seems unnecessary. I will change it
to 'vddio-supply'.
>
>> + description: bluetooth chip 3.3V supply regulator handle
>> +
>> + clocks:
>> + maxItems: 1
>> + description: clock provided to the controller (32.768KHz)
>> +
>> + antenna-number:
>> + default: 1
>> + description: device supports up to two antennas
> Keep it consistent - either descriptions are the last property or
> somewhere else. Usually the last.
>
>> + $ref: /schemas/types.yaml#/definitions/uint32
> And what does it mean? What happens if BT uses antenna number 2, not 1?
> What is connected to the other antenna? It really feels useless to say
> which antenna is connected to hardware.
Sorry, the antenna description was incorrect, it should specify whether
Bluetooth and WiFi coexist. I will change it as below:
aml,work-mode:
type: boolean
description: specifywhether Bluetooth and WiFi coexist.
>> +
>> + firmware-name:
>> + description: specify the path of firmware bin to load
> Missing maxItems
will do.
>
>> + $ref: /schemas/types.yaml#/definitions/string-array
> That's redundant, drop.
will do.
>
>> +
>
> Best regards,
> Krzysztof
>
next prev parent reply other threads:[~2024-07-19 8:20 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-18 7:42 [PATCH v2 0/3] Add support for Amlogic HCI UART Yang Li via B4 Relay
2024-07-18 7:42 ` [PATCH v2 1/3] dt-bindings: net: bluetooth: Add support for Amlogic Bluetooth Yang Li via B4 Relay
2024-07-18 11:40 ` Krzysztof Kozlowski
2024-07-19 8:20 ` Yang Li [this message]
2024-07-20 18:25 ` Krzysztof Kozlowski
2024-07-22 7:41 ` Yang Li
2024-07-22 7:58 ` Krzysztof Kozlowski
2024-07-24 6:48 ` Yang Li
2024-07-30 5:52 ` Yang Li
2024-07-18 7:42 ` [PATCH v2 2/3] Bluetooth: hci_uart: Add support for Amlogic HCI UART Yang Li via B4 Relay
2024-07-18 11:43 ` Krzysztof Kozlowski
2024-07-19 8:26 ` Yang Li
2024-07-18 18:43 ` Sai Krishna Gajula
2024-07-18 19:01 ` Luiz Augusto von Dentz
2024-07-19 9:05 ` Yang Li
2024-07-18 7:42 ` [PATCH v2 3/3] MAINTAINERS: Add an entry for Amlogic HCI UART (M: Yang Li) Yang Li via B4 Relay
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=30cf7665-ff35-4a1a-ba26-0bbe377512be@amlogic.com \
--to=yang.li@amlogic.com \
--cc=catalin.marinas@arm.com \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
--cc=marcel@holtmann.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=robh@kernel.org \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®