From: Krzysztof Kozlowski <krzk@kernel.org>
To: Rosen Penev <rosenp@gmail.com>, linux-wireless@vger.kernel.org
Cc: "Toke Høiland-Jørgensen" <toke@toke.dk>,
"Johannes Berg" <johannes@sipsolutions.net>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Thomas Bogendoerfer" <tsbogend@alpha.franken.de>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@vger.kernel.org>,
"open list" <linux-kernel@vger.kernel.org>,
"open list:MIPS" <linux-mips@vger.kernel.org>
Subject: Re: [PATCHv2 4/5] dt-bindings: net: wireless: ath9k: add OF bindings
Date: Thu, 22 May 2025 21:54:28 +0200 [thread overview]
Message-ID: <871d18ab-a696-4141-bc3a-7b6e968fc649@kernel.org> (raw)
In-Reply-To: <20250522184516.13176-5-rosenp@gmail.com>
On 22/05/2025 20:45, Rosen Penev wrote:
> Now that support was added to the driver, document it.
That's not appropriate commit msg. Binding must be before the user (see
submitting patches in DT directory). Describe the hardware, what are you
adding here.
Subject: OF bindings is redundant. It duplicates dt-bindings. Instead:
"Add Atheros AR9-foo-bar on AHB bus" or something similar
Missing SoB.
Please run scripts/checkpatch.pl on the patches and fix reported
warnings. After that, run also 'scripts/checkpatch.pl --strict' on the
patches and (probably) fix more warnings. Some warnings can be ignored,
especially from --strict run, but the code here looks like it needs a
fix. Feel free to get in touch if the warning is not clear.
> ---
> .../bindings/net/wireless/qca,ath9k.yaml | 23 ++++++++++++++++++-
> 1 file changed, 22 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/net/wireless/qca,ath9k.yaml b/Documentation/devicetree/bindings/net/wireless/qca,ath9k.yaml
> index 0e5412cff2bc..81d00f257922 100644
> --- a/Documentation/devicetree/bindings/net/wireless/qca,ath9k.yaml
> +++ b/Documentation/devicetree/bindings/net/wireless/qca,ath9k.yaml
> @@ -12,7 +12,7 @@ maintainers:
> description: |
> This node provides properties for configuring the ath9k wireless device.
> The node is expected to be specified as a child node of the PCI controller
> - to which the wireless chip is connected.
> + or AHB bus to which the wireless chip is connected.
>
> allOf:
> - $ref: ieee80211.yaml#
> @@ -35,6 +35,12 @@ properties:
> - pci168c,0034 # AR9462
> - pci168c,0036 # AR9565
> - pci168c,0037 # AR1111 and AR9485
> + - qca,ar9130-wmac
> + - qca,ar9330-wmac
> + - qca,ar9340-wmac
> + - qca,qca9530-wmac
> + - qca,qca9550-wmac
> + - qca,qca9560-wmac
>
> reg:
> maxItems: 1
> @@ -88,3 +94,18 @@ examples:
> nvmem-cell-names = "mac-address", "calibration";
> };
> };
> + - |
> + apb {
> + compatible = "simple-bus";
> + ranges;
> +
Drop these two.
> + #address-cells = <1>;
> + #size-cells = <1>;
Best regards,
Krzysztof
next prev parent reply other threads:[~2025-05-22 19:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-22 18:45 [PATCHv2 0/5] wifi: ath9k: add ahb OF support Rosen Penev
2025-05-22 18:45 ` [PATCHv2 1/5] wifi: ath9k: ahb: reorder declarations Rosen Penev
2025-05-22 18:45 ` [PATCHv2 2/5] wifi: ath9k: ahb: reorder includes Rosen Penev
2025-05-22 18:45 ` [PATCHv2 3/5] wifi: ath9k: ahb: replace id_table with of Rosen Penev
2025-05-22 18:45 ` [PATCHv2 4/5] dt-bindings: net: wireless: ath9k: add OF bindings Rosen Penev
2025-05-22 19:54 ` Krzysztof Kozlowski [this message]
2025-05-23 0:04 ` Rosen Penev
2025-05-23 6:24 ` Krzysztof Kozlowski
2025-05-22 18:45 ` [PATCHv2 5/5] mips: dts: qca: add wmac support Rosen Penev
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=871d18ab-a696-4141-bc3a-7b6e968fc649@kernel.org \
--to=krzk@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=johannes@sipsolutions.net \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=robh@kernel.org \
--cc=rosenp@gmail.com \
--cc=toke@toke.dk \
--cc=tsbogend@alpha.franken.de \
/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;
as well as URLs for NNTP newsgroup(s).