From: Rob Herring <robh@kernel.org>
To: Bo Jiao <bo.jiao@mediatek.com>
Cc: Felix Fietkau <nbd@nbd.name>,
linux-wireless <linux-wireless@vger.kernel.org>,
Ryder Lee <ryder.lee@mediatek.com>,
Xing Song <xing.song@mediatek.com>,
Sujuan Chen <sujuan.chen@mediatek.com>,
Shayne Chen <shayne.chen@mediatek.com>,
Evelyn Tsai <evelyn.tsai@mediatek.com>,
linux-mediatek <linux-mediatek@lists.infradead.org>,
Peter Chiu <chui-hao.chiu@mediatek.com>,
devicetree@vger.kernel.org
Subject: Re: [PATCH v3 1/4] dt-bindings: net: wireless: mt76: document bindings for MT7986
Date: Fri, 4 Feb 2022 20:09:15 -0600 [thread overview]
Message-ID: <Yf3cSyKJz9ymj+Fq@robh.at.kernel.org> (raw)
In-Reply-To: <c6a6ddd797269ea92698f612d6b7c66c9ec03765.1642128031.git.Bo.Jiao@mediatek.com>
On Fri, Jan 14, 2022 at 10:53:20AM +0800, Bo Jiao wrote:
> From: Peter Chiu <chui-hao.chiu@mediatek.com>
>
> Add an entry for MT7986 SoC.
>
> Signed-off-by: Peter Chiu <chui-hao.chiu@mediatek.com>
> Cc: devicetree@vger.kernel.org
> ---
> v3:
> - fix yamllint warnings and errors
> - add 'minItems: 1' to keep 1 reg entry being valid
> ---
> .../bindings/net/wireless/mediatek,mt76.yaml | 31 +++++++++++++++++--
> 1 file changed, 28 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml b/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml
> index 1489d3c..d630a7e 100644
> --- a/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml
> +++ b/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml
> @@ -18,7 +18,7 @@ description: |
> wireless device. The node is expected to be specified as a child
> node of the PCI controller to which the wireless chip is connected.
> Alternatively, it can specify the wireless part of the MT7628/MT7688
> - or MT7622 SoC.
> + or MT7622/MT7986 SoC.
>
> allOf:
> - $ref: ieee80211.yaml#
> @@ -29,9 +29,11 @@ properties:
> - mediatek,mt76
> - mediatek,mt7628-wmac
> - mediatek,mt7622-wmac
> + - mediatek,mt7986-wmac
>
> reg:
> - maxItems: 1
> + minItems: 1
> + maxItems: 3
With more than 1, you need to define what each one is.
>
> interrupts:
> maxItems: 1
> @@ -39,6 +41,17 @@ properties:
> power-domains:
> maxItems: 1
>
> + memory-region:
> + maxItems: 1
> +
> + resets:
> + maxItems: 1
> + description:
> + Specify the consys reset for mt7986.
> +
> + reset-name:
> + const: consys
> +
> mediatek,infracfg:
> $ref: /schemas/types.yaml#/definitions/phandle
> description:
> @@ -165,7 +178,7 @@ required:
> - compatible
> - reg
>
> -additionalProperties: false
> +unevaluatedProperties: false
>
> examples:
> - |
> @@ -231,3 +244,15 @@ examples:
>
> power-domains = <&scpsys 3>;
> };
> +
> + - |
> + wifi@18000000 {
> + compatible = "mediatek,mt7986-wmac";
> + resets = <&watchdog 23>;
> + reset-names = "consys";
> + reg = <0x18000000 0x1000000>,
> + <0x10003000 0x1000>,
> + <0x11d10000 0x1000>;
> + interrupts = <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>;
> + memory-region = <&wmcpu_emi>;
> + };
> --
> 2.18.0
>
>
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
WARNING: multiple messages have this Message-ID (diff)
From: Rob Herring <robh@kernel.org>
To: Bo Jiao <bo.jiao@mediatek.com>
Cc: Felix Fietkau <nbd@nbd.name>,
linux-wireless <linux-wireless@vger.kernel.org>,
Ryder Lee <ryder.lee@mediatek.com>,
Xing Song <xing.song@mediatek.com>,
Sujuan Chen <sujuan.chen@mediatek.com>,
Shayne Chen <shayne.chen@mediatek.com>,
Evelyn Tsai <evelyn.tsai@mediatek.com>,
linux-mediatek <linux-mediatek@lists.infradead.org>,
Peter Chiu <chui-hao.chiu@mediatek.com>,
devicetree@vger.kernel.org
Subject: Re: [PATCH v3 1/4] dt-bindings: net: wireless: mt76: document bindings for MT7986
Date: Fri, 4 Feb 2022 20:09:15 -0600 [thread overview]
Message-ID: <Yf3cSyKJz9ymj+Fq@robh.at.kernel.org> (raw)
In-Reply-To: <c6a6ddd797269ea92698f612d6b7c66c9ec03765.1642128031.git.Bo.Jiao@mediatek.com>
On Fri, Jan 14, 2022 at 10:53:20AM +0800, Bo Jiao wrote:
> From: Peter Chiu <chui-hao.chiu@mediatek.com>
>
> Add an entry for MT7986 SoC.
>
> Signed-off-by: Peter Chiu <chui-hao.chiu@mediatek.com>
> Cc: devicetree@vger.kernel.org
> ---
> v3:
> - fix yamllint warnings and errors
> - add 'minItems: 1' to keep 1 reg entry being valid
> ---
> .../bindings/net/wireless/mediatek,mt76.yaml | 31 +++++++++++++++++--
> 1 file changed, 28 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml b/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml
> index 1489d3c..d630a7e 100644
> --- a/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml
> +++ b/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml
> @@ -18,7 +18,7 @@ description: |
> wireless device. The node is expected to be specified as a child
> node of the PCI controller to which the wireless chip is connected.
> Alternatively, it can specify the wireless part of the MT7628/MT7688
> - or MT7622 SoC.
> + or MT7622/MT7986 SoC.
>
> allOf:
> - $ref: ieee80211.yaml#
> @@ -29,9 +29,11 @@ properties:
> - mediatek,mt76
> - mediatek,mt7628-wmac
> - mediatek,mt7622-wmac
> + - mediatek,mt7986-wmac
>
> reg:
> - maxItems: 1
> + minItems: 1
> + maxItems: 3
With more than 1, you need to define what each one is.
>
> interrupts:
> maxItems: 1
> @@ -39,6 +41,17 @@ properties:
> power-domains:
> maxItems: 1
>
> + memory-region:
> + maxItems: 1
> +
> + resets:
> + maxItems: 1
> + description:
> + Specify the consys reset for mt7986.
> +
> + reset-name:
> + const: consys
> +
> mediatek,infracfg:
> $ref: /schemas/types.yaml#/definitions/phandle
> description:
> @@ -165,7 +178,7 @@ required:
> - compatible
> - reg
>
> -additionalProperties: false
> +unevaluatedProperties: false
>
> examples:
> - |
> @@ -231,3 +244,15 @@ examples:
>
> power-domains = <&scpsys 3>;
> };
> +
> + - |
> + wifi@18000000 {
> + compatible = "mediatek,mt7986-wmac";
> + resets = <&watchdog 23>;
> + reset-names = "consys";
> + reg = <0x18000000 0x1000000>,
> + <0x10003000 0x1000>,
> + <0x11d10000 0x1000>;
> + interrupts = <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>;
> + memory-region = <&wmcpu_emi>;
> + };
> --
> 2.18.0
>
>
next prev parent reply other threads:[~2022-02-05 2:09 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-14 2:53 [PATCH v3 0/4] add mt7986 support Bo Jiao
2022-01-14 2:53 ` Bo Jiao
2022-01-14 2:53 ` [PATCH v3 1/4] dt-bindings: net: wireless: mt76: document bindings for MT7986 Bo Jiao
2022-01-14 2:53 ` Bo Jiao
2022-02-05 2:09 ` Rob Herring [this message]
2022-02-05 2:09 ` Rob Herring
2022-01-14 2:53 ` [PATCH v3 2/4] mt76: redefine mt76_for_each_q_rx to adapt mt7986 changes Bo Jiao
2022-01-14 2:53 ` Bo Jiao
2022-01-14 2:53 ` [PATCH v3 3/4] mt76: mt7915: add support for MT7986 Bo Jiao
2022-01-14 2:53 ` Bo Jiao
2022-01-14 2:53 ` [PATCH v3 4/4] mt76: mt7915: introduce band_idx in mt7915_phy Bo Jiao
2022-01-14 2:53 ` Bo Jiao
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=Yf3cSyKJz9ymj+Fq@robh.at.kernel.org \
--to=robh@kernel.org \
--cc=bo.jiao@mediatek.com \
--cc=chui-hao.chiu@mediatek.com \
--cc=devicetree@vger.kernel.org \
--cc=evelyn.tsai@mediatek.com \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-wireless@vger.kernel.org \
--cc=nbd@nbd.name \
--cc=ryder.lee@mediatek.com \
--cc=shayne.chen@mediatek.com \
--cc=sujuan.chen@mediatek.com \
--cc=xing.song@mediatek.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.