Hi Guenter,
Just a gentle ping!
On Mon, 2018-11-12 at 17:37 -0600, Rob Herring wrote:
> On Wed, 7 Nov 2018 15:10:36 +0800, Ryder Lee wrote:
> > This updates dt-binding documentation for MT7629 SoC
> >
> > Signed-off-by: Ryder Lee
> > ---
> > Documentation
The issue was introduced by Kernel CI:
https://kernelci.org/boot/id/5bbdcbad59b5146fc5b43592/
Fix this by using a 'stdout-path' property that points to the device.
Fixes: c0d9f9ad4f76 ("arm64: dts: mt7622: add earlycon to mt7622-rfb1 board")
Cc: sta...@vger.kernel.org
Sign
Fix this by using a 'stdout-path' property that points to the device.
Fixes: 0b6286dd96c0 ("arm64: dts: mt7622: add bananapi BPI-R64 board")
Cc: sta...@vger.kernel.org
Signed-off-by: Ryder Lee
---
arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts | 7 ++-
1 file c
This updates dt-binding documentation for MT7629 SoC
Signed-off-by: Ryder Lee
---
Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt
b/Documentation/devicetree/bindings/watchdog/mtk
This updates bindings for MT7629 RNG driver.
Signed-off-by: Ryder Lee
---
Documentation/devicetree/bindings/rng/mtk-rng.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/rng/mtk-rng.txt
b/Documentation/devicetree/bindings/rng/mtk
nd MT7622
> PCI: mediatek: Save the GIC IRQ in mtk_pcie_port
> PCI: mediatek: Add loadable kernel module support
>
> drivers/pci/controller/Kconfig | 2 +-
> drivers/pci/controller/pcie-mediatek.c | 319
> +
> 2 files changed, 204 insertions(+), 117 deletions(-)
You forgot to add my Acked-by tags in v7.
Acked-by: Ryder Lee for the series.
Thanks.
This patch adds the binding documentation for apmixedsys, infracfg,
pciesys, pericfg, topckgen, ethsys, sgmiisys and ssusbsys for MT7629.
Signed-off-by: Ryder Lee
---
Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt | 1 +
Documentation/devicetree/bindings/arm/mediatek
This adds MT7629 pinctrl driver based on MediaTek pinctrl-moore core.
Cc: Sean Wang
Signed-off-by: Ryder Lee
---
drivers/pinctrl/mediatek/Kconfig | 6 +
drivers/pinctrl/mediatek/Makefile | 1 +
drivers/pinctrl/mediatek/pinctrl-mt7629.c | 512
This updates bindings for MT7629 pinctrl driver.
Cc: Sean Wang
Signed-off-by: Ryder Lee
---
.../devicetree/bindings/pinctrl/pinctrl-mt7622.txt | 128 +
1 file changed, 128 insertions(+)
diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt7622.txt
b
Add all supported clocks exported from every susbystem found on MT7629 SoC.
Signed-off-by: Wenzhen Yu
Signed-off-by: Ryder Lee
---
drivers/clk/mediatek/Kconfig | 23 ++
drivers/clk/mediatek/Makefile | 3 +
drivers/clk/mediatek/clk-mt7629-eth.c | 159
drivers/clk
Add some misc nodes support - timer and ARM CCI-400.
Signed-off-by: Ryder Lee
---
arch/arm64/boot/dts/mediatek/mt7622.dtsi | 36
1 file changed, 36 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi
b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
The input clock of UART0 should be CLK_PERI_UART0_PD.
Fixes: 13f36c326cef ("arm64: dts: mt7622: turn uart0 clock to real ones")
Signed-off-by: Ryder Lee
---
change since v1:
- add Fixes tag.
---
arch/arm64/boot/dts/mediatek/mt7622.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletio
Hi,
On Mon, 2018-07-16 at 15:55 +0200, Matthias Brugger wrote:
> Hi Ryder,
>
> On 10/07/18 09:55, Ryder Lee wrote:
> > The input clock of UART0 should be CLK_PERI_UART0_PD.
> >
> > Signed-off-by: Ryder Lee
>
> Can you provide a "Fixes" tag with the
D and class type for MT7622
> PCI: mediatek: Using chained IRQ to setup IRQ handle
>
> drivers/pci/host/pcie-mediatek.c | 220
> +++++++
> include/linux/pci_ids.h | 2 +
> 2 files changed, 133 insertions(+), 89 deletions(-)
Acked-by: Ryder Lee for the series.
Thanks
Hi Mark,
Is it okay with you?
On Mon, 2018-04-16 at 10:33 +0800, Ryder Lee (李庚?V) wrote:
> The usage of of_device_get_match_data() reduce the code size a bit.
>
> Also, the only way to call mtk_spi_probe() is to match an entry in
> mtk_spi_of_match[], so of_id cannot be NULL.
>
: Ryder Lee
---
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c | 31 ++
1 file changed, 14 insertions(+), 17 deletions(-)
diff --git a/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
b/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
index d6eeb4c..828d11c 100644
--- a/sound/soc
Add MTK_STREAM_NUM to common header and modify related stuff so that
the other SoCs can reuse it.
Signed-off-by: Ryder Lee
Reviewed-by: Garlic Tseng
---
sound/soc/mediatek/common/mtk-base-afe.h | 2 +
sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c | 15 +++--
sound/soc/mediatek
Reduce the boilerplate code to retrieve the private data.
No functional change intended.
Signed-off-by: Ryder Lee
Reviewed-by: Garlic Tseng
---
sound/soc/mediatek/common/mtk-afe-fe-dai.c | 20 +++
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c | 86 +++---
sound/soc
This patch adjusts the mt2701_afe_i2s_ops to simplify the control
logic of the I2S path.
Signed-off-by: Ryder Lee
Reviewed-by: Garlic Tseng
---
sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c | 39
sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.h | 13 ++-
sound/soc/mediatek
Add SPDX identifiers to all remaining files in sound/soc/mediatek/
Signed-off-by: Ryder Lee
---
sound/soc/mediatek/Makefile | 1 +
sound/soc/mediatek/common/Makefile | 14 +-
sound/soc/mediatek/common/mtk-afe-fe-dai.c | 10
ract could help in the long run.
Cc: Jia Zeng
Signed-off-by: Ryder Lee
Reviewed-by: Garlic Tseng
---
sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c | 2 +-
sound/soc/mediatek/mt2701/mt2701-afe-common.h | 11 +++--
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c| 49 ++--
Add support for MT7622 AFE which shares the same binding with MT2701.
Cc: devicet...@vger.kernel.org
Signed-off-by: Ryder Lee
---
Documentation/devicetree/bindings/sound/mt2701-afe-pcm.txt | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings
On Sun, 2019-03-31 at 20:41 +0800, Chunfeng Yun wrote:
> Use devm_clk_get_optional() to get optional clock
>
> Cc: Ryder Lee
> Cc: Honghui Zhang
> Signed-off-by: Chunfeng Yun
Acked-by: Ryder Lee
> ---
> v2:
> 1. cc Ryder and Honghui
> 2. fix up omitted '
There is no need to retun 0 in mt76_dma_attach(), so switch it to void.
Signed-off-by: Ryder Lee
---
drivers/net/wireless/mediatek/mt76/dma.c | 3 +--
drivers/net/wireless/mediatek/mt76/dma.h | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/net/wireless/mediatek
On Mon, 2019-02-11 at 11:38 +0300, Sergei Shtylyov wrote:
> Hello!
>
> On 11.02.2019 5:13, Ryder Lee wrote:
>
> > There is no need to retun 0 in mt76_dma_attach(), so switch it to void.
>^ r missing :-)
> >
> > Signed-off-by: Ryder Le
This fixes the following checkpatch warnings:
CHECK: Alignment should match open parenthesis
CHECK: No space is necessary after a cast
Signed-off-by: Ryder Lee
---
Changes since v2: remove false positive checkpatch warnings.
Changes since v1: none.
---
drivers/net/wireless/mediatek/mt76/agg
drivers/gpu/drm/mediatek/mtk_hdmi_phy.c| 34
> drivers/gpu/drm/mediatek/mtk_hdmi_phy.h| 7 +---
> drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c | 56
> +++---
> drivers/gpu/drm/mediatek/mtk_mt8173_hdmi_phy.c | 23 +++++++
> 8 files changed, 102 insertions(+), 52 deletions(-)
>
I could see the Debian Gnome desktop on my MT7623 R2.
Tested-by: Ryder Lee
support for MT7629
>
> .../devicetree/bindings/pci/mediatek-pcie.txt | 1 +
> drivers/pci/controller/pcie-mediatek.c| 28 +++
> include/linux/pci_ids.h | 1 +
> 3 files changed, 30 insertions(+)
>
Acked-by: Ryder Lee
On Mon, 2019-01-21 at 19:59 +0800, Jianjun Wang wrote:
> There is no need to create the inner domain as a parent for MSI domian,
> some feature has been implemented by MSI framework.
>
> Remove the inner domain and its irq chip, it will be more closer to the
> hardware implementation.
>
> Signed-
CC: sta...@vger.kernel.org
On Fri, 2018-12-21 at 18:17 +0800, Linus Walleij wrote:
> On Thu, Dec 13, 2018 at 3:28 AM Ryder Lee wrote:
>
> > Remove prompts to make all pinctrl cores to non-visible symbols and
> > make sure the target SoCs would be coupled with the corre
This reverts commit 3b99ab7deca1e5f4229b4bdecd005d71e22cfc60.
The compatible "mediatek,mt7623a" is useless, so remove it.
Signed-off-by: Ryder Lee
---
arch/arm/mach-mediatek/mediatek.c | 2 --
arch/arm/mach-mediatek/platsmp.c | 1 -
2 files changed, 3 deletions(-)
diff --git a/arc
As we fallback to use "mediatek,mt7623" for MT7623a, remove unused
root node property "mediatek,mt7623a" in the document.
Signed-off-by: Ryder Lee
---
Documentation/devicetree/bindings/arm/mediatek.txt | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff -
This adds missing bindings for MT7623 sysirq.
Signed-off-by: Ryder Lee
---
.../devicetree/bindings/interrupt-controller/mediatek,sysirq.txt | 1 +
1 file changed, 1 insertion(+)
diff --git
a/Documentation/devicetree/bindings/interrupt-controller/mediatek,sysirq.txt
b/Documentation
Update binding document for MT7622 BPI-R64 and MT7629 reference board.
Signed-off-by: Ryder Lee
---
Documentation/devicetree/bindings/arm/mediatek.txt | 7 +++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/mediatek.txt
b/Documentation/devicetree
This updates bindings for MT7629 SoC, which includes very basic items
such as system timer, UART, sysirq and scpsys unit.
Signed-off-by: Ryder Lee
---
.../devicetree/bindings/interrupt-controller/mediatek,sysirq.txt | 5 +++--
Documentation/devicetree/bindings/serial/mtk-uart.txt
Add support for booting secondary CPUs on MT7629.
Signed-off-by: Ryder Lee
---
arch/arm/mach-mediatek/Kconfig| 4
arch/arm/mach-mediatek/mediatek.c | 1 +
arch/arm/mach-mediatek/platsmp.c | 1 +
3 files changed, 6 insertions(+)
diff --git a/arch/arm/mach-mediatek/Kconfig b/arch/arm
This adds basic support for MT7629 reference board.
Signed-off-by: Ryder Lee
---
The I2C node depends on https://patchwork.kernel.org/patch/10772837/
The PCIe node depends on https://patchwork.kernel.org/patch/10773637/
---
arch/arm/boot/dts/Makefile| 1 +
arch/arm/boot/dts
This updates bindings for the MT7629 SPI-NOR controller.
Signed-off-by: Ryder Lee
Reviewed-by: Rob Herring
---
Changes since v2: none.
Changes since v1: add a Reviewed-by tag.
---
Documentation/devicetree/bindings/mtd/mtk-quadspi.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion
From: Guochun Mao
SNOR_HWCAPS_READ should be supported by this controller, so add this
flag to spi_nor_hwcaps mask.
Signed-off-by: Guochun Mao
Signed-off-by: Ryder Lee
---
Changes since v2: Revise commit msg.
Changes since v1: none.
---
drivers/mtd/spi-nor/mtk-quadspi.c | 3 ++-
1 file
The quadspi is a generic communication interface which could be shared
with other MediaTek SoCs. Hence rename it to a common one.
Signed-off-by: Ryder Lee
---
Changes since v2:
-rebase to v5.0-rc1.
-sort the config in an alphabetical order.
Changes since v1: none.
---
drivers/mtd/spi-nor
On Mon, 2019-01-14 at 12:16 +0100, Matthias Brugger wrote:
>
> On 14/01/2019 09:21, Ryder Lee wrote:
> > This adds a property "mediatek,num-pwms" to avoid having an endless
> > list of compatibles with no other differences for the same driver.
>
This add a property "mediatek,num-pwms" for PWM controller.
Signed-off-by: Ryder Lee
---
arch/arm/boot/dts/mt7623.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi
index 0253691..9d59c28 100644
--- a/arch/arm/boot/
This adds a property "mediatek,num-pwms" in example so that we could
set the number of PWM channels via device tree.
Signed-off-by: Ryder Lee
Reviewed-by: Matthias Brugger
---
Changes since v1: add a Reviewed-by tag.
---
Documentation/devicetree/bindings/pwm/pwm-mediatek.txt | 2
This adds a property "mediatek,num-pwms" to avoid having an endless
list of compatibles with no differences for the same driver.
Thus, the driver should have backwards compatibility to older DTs.
Signed-off-by: Ryder Lee
---
Changes since v1: add some checks for backwards com
This updates bindings for MT7629 pwm controller.
Signed-off-by: Ryder Lee
Reviewed-by: Matthias Brugger
---
Changes since v1: add a Reviewed-by tag.
---
Documentation/devicetree/bindings/pwm/pwm-mediatek.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings
This add a property "mediatek,num-pwms" for PWM controller.
Signed-off-by: Ryder Lee
---
arch/arm64/boot/dts/mediatek/mt7622.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi
b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
index 8fc4aa
From: Guochun Mao
SNOR_HWCAPS_READ is a basic read mode for both flash and controller,
it should be supported, so add the capcity for mtk-quadspi.
Signed-off-by: Guochun Mao
---
Changes since v1: none.
---
drivers/mtd/spi-nor/mtk-quadspi.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(
This updates bindings for the MT7629 SPI-NOR controller.
Signed-off-by: Ryder Lee
Reviewed-by: Rob Herring
---
Changes since v1: add a Reviewed-by tag.
---
Documentation/devicetree/bindings/mtd/mtk-quadspi.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation
The quadspi is a generic communication interface which could be shared
with other MediaTek SoCs. Hence rename it to a common one.
Signed-off-by: Ryder Lee
---
Changes since v1: rebase to v5.0-rc1.
---
drivers/mtd/spi-nor/Kconfig | 16
drivers/mtd/spi-nor/Makefile | 2 +-
2
This adds a property "mediatek,num-pwms" for PWM controller.
Signed-off-by: Ryder Lee
---
arch/arm64/boot/dts/mediatek/mt7622.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi
b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
index 8fc4aa
This updates bindings for MT7629 pwm controller.
Signed-off-by: Ryder Lee
---
Documentation/devicetree/bindings/pwm/pwm-mediatek.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/pwm/pwm-mediatek.txt
b/Documentation/devicetree/bindings/pwm/pwm
This adds a property "mediatek,num-pwms" in example so that we could
set the number of PWM channels via device tree.
Signed-off-by: Ryder Lee
---
Documentation/devicetree/bindings/pwm/pwm-mediatek.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bi
This adds a property "mediatek,num-pwms" to avoid having an endless
list of compatibles with no other differences for the same driver.
Signed-off-by: Ryder Lee
---
drivers/pwm/pwm-mediatek.c | 25 +++--
1 file changed, 11 insertions(+), 14 deletions(-)
diff --git
This adds a property "mediatek,num-pwms" for PWM controller.
Signed-off-by: Ryder Lee
---
arch/arm/boot/dts/mt7623.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi
index 98f1159..2dd2f93 100644
--- a/arch/arm/boot/
On Tue, 2019-01-15 at 07:34 +, tudor.amba...@microchip.com wrote:
> Hi, Ryder,
>
> On 01/14/2019 07:12 AM, Ryder Lee wrote:
> > The quadspi is a generic communication interface which could be shared
> > with other MediaTek SoCs. Hence rename it to a common one.
> >
On Fri, 2019-01-18 at 08:59 +0100, Uwe Kleine-König wrote:
> Hello,
>
> On Fri, Jan 18, 2019 at 11:24:41AM +0800, Ryder Lee wrote:
> > This adds a property "mediatek,num-pwms" to avoid having an endless
> > list of compatibles with no differences for the same dr
On Fri, 2019-01-18 at 09:05 +0100, Uwe Kleine-König wrote:
> Hello,
>
> just realized another issue while looking up a driver detail ...
>
> On Fri, Jan 18, 2019 at 11:24:41AM +0800, Ryder Lee wrote:
> > This adds a property "mediatek,num-pwms" to avoid having an
On Fri, 2019-01-18 at 10:53 +0100, Uwe Kleine-König wrote:
> Hello Ryder,
>
> On Fri, Jan 18, 2019 at 05:42:54PM +0800, Ryder Lee wrote:
> > On Fri, 2019-01-18 at 08:59 +0100, Uwe Kleine-König wrote:
> > > Hello,
> > >
> > > On Fri, Jan 18, 2019 at 11:24
On Fri, 2019-01-18 at 09:43 +0100, Matthias Brugger wrote:
>
> On 18/01/2019 04:24, Ryder Lee wrote:
> > This adds a property "mediatek,num-pwms" to avoid having an endless
> > list of compatibles with no differences for the same driver.
> >
> >
+John
HI John,
On Mon, 2019-01-21 at 16:49 +0800, Uwe Kleine-König wrote:
> On Sat, Jan 19, 2019 at 10:54:47AM +0800, Ryder Lee wrote:
> > On Fri, 2019-01-18 at 09:43 +0100, Matthias Brugger wrote:
> > >
> > > On 18/01/2019 04:24, Ryder Lee wrote:
> > > >
+John
HI John,
On Mon, 2019-01-21 at 16:49 +0800, Uwe Kleine-König wrote:
> On Sat, Jan 19, 2019 at 10:54:47AM +0800, Ryder Lee wrote:
> > On Fri, 2019-01-18 at 09:43 +0100, Matthias Brugger wrote:
> > >
> > > On 18/01/2019 04:24, Ryder Lee wrote:
> > > >
On Sat, 2019-03-30 at 18:00 +0800, Chunfeng Yun wrote:
> Use devm_clk_get_optional() to get optional clock
>
> Signed-off-by: Chunfeng Yun
> ---
> drivers/pci/controller/pcie-mediatek.c | 46 ++
> 1 file changed, 11 insertions(+), 35 deletions(-)
>
> diff --git a/drivers
On Wed, 2019-08-14 at 18:43 +0800, Sam Shih wrote:
> From: sam shih
>
> This adds pwm support for MT7629.
>
> Signed-off-by: Sam Shih
> ---
> arch/arm/boot/dts/mt7629.dtsi | 14 ++
> drivers/pwm/pwm-mediatek.c| 7 +++
> 2 files changed, 21 insertions(+)
Split dts and driv
On Wed, 2019-08-14 at 18:43 +0800, Sam Shih wrote:
> From: sam shih
>
> This updates bindings for MT7628 pwm controller.
>
> Signed-off-by: Sam Shih
> ---
> .../devicetree/bindings/pwm/pwm-mediatek.txt | 14 ++
> 1 file changed, 14 insertions(+)
>
> diff --git a/Documentatio
Add SPDX identifiers to all remaining files in mt76/
Signed-off-by: Ryder Lee
---
drivers/net/wireless/mediatek/mt76/agg-rx.c | 13 +
drivers/net/wireless/mediatek/mt76/debugfs.c| 13 +
drivers/net/wireless/mediatek/mt76/dma.c| 13
d that - copy paste mistake.
And I will fold this one into 'fix many checkpatch.pl warnings' series
then send v1.
Ryder
> On Tue, Jul 23, 2019 at 2:45 PM Ryder Lee wrote:
> >
> > Add SPDX identifiers to all remaining files in mt76/
> >
> > Signed-off-by: Ryder Lee
> > ---
This fixes the following checkpatch warnings:
WARNING: Improper SPDX comment style
CHECK: No space is necessary after a cast
Signed-off-by: Ryder Lee
---
drivers/net/wireless/mediatek/mt76/mt7603/beacon.c | 2 +-
drivers/net/wireless/mediatek/mt76/mt7603/core.c| 2 +-
drivers/net/wireless
Update the help text to fix a checkpatch warning:
WARNING: please write a paragraph that describes the config symbol fully
Signed-off-by: Ryder Lee
---
drivers/net/wireless/mediatek/mt76/mt7603/Kconfig | 6 --
drivers/net/wireless/mediatek/mt76/mt7615/Kconfig | 7 ++-
drivers/net
This fixes the following checkpatch warnings:
WARNING: Improper SPDX comment style
Fix blank lines.
Signed-off-by: Ryder Lee
---
drivers/net/wireless/mediatek/mt76/mt7615/debugfs.c | 2 +-
drivers/net/wireless/mediatek/mt76/mt7615/mac.c | 5 +++--
drivers/net/wireless/mediatek/mt76/mt7615
hould start on a tabstop
WARNING: Unnecessary space before function pointer arguments
Signed-off-by: Ryder Lee
---
.../wireless/mediatek/mt76/mt76x0/mt76x0.h| 2 +-
.../net/wireless/mediatek/mt76/mt76x0/phy.c | 40 ++-
.../net/wireless/mediatek/mt76/mt76x0/phy.h
This gathers many subsets to fix checkpatch.pl warnings and switches
to use SPDX tags.
I still keep some warnings there due to readability. The most of them
are networking block comments or Macro argument reuse...
Changes since v1:
- fix misspellings.
- fix a header convention error.
Ryder Lee
This fixes the following checkpatch warnings:
ERROR: Macros with complex values should be enclosed in parentheses
CHECK: Alignment should match open parenthesis
CHECK: No space is necessary after a cast
Signed-off-by: Ryder Lee
---
drivers/net/wireless/mediatek/mt76/agg-rx.c | 21
No functional change intended.
Add SPDX identifiers to all remaining files in /mt76.
Signed-off-by: Ryder Lee
---
drivers/net/wireless/mediatek/mt76/agg-rx.c | 13 +
drivers/net/wireless/mediatek/mt76/debugfs.c| 13 +
drivers/net/wireless/mediatek/mt76
MT_RXV4_RCPI2, rxdg4) -
> 220) / 2;
> status->chain_signal[3] = (FIELD_GET(MT_RXV4_RCPI3, rxdg4) -
> 220) / 2;
> Am 09.06.2019 um 11:09 schrieb Ryder Lee:
> > Fill in RX status->chain_signal to avoid empty value.
> >
> > Signed-off-by: Ryder Lee
&g
On Mon, 2019-06-10 at 10:09 +0800, Ryder Lee wrote:
> On Sun, 2019-06-09 at 16:44 +0200, Sebastian Gottschall wrote:
> > according to my findings
> >
> > MT_RXV4_RCPI1 is part of rx descriptor 4 and not 3
> > so it must be rxdg4 = rxd[4] etc.
>
> RXV start from
BRSSI is obtained from packet's L-STF portion and
MTK HW PD (packet detection) will take it as a reference. (with
variation more or less)
As for RCPI which is calculated from packet's data portion. The other
MTK chipsets may use IBRSSI as their baseband couldn't report RCPI.
Ryder
>
+Sean
On Tue, 2019-07-02 at 11:40 +0200, Frank Wunderlich wrote:
> From: Josef Friedl
>
> poweroff for BPI-R2
> Suggested-by: Frank Wunderlich
>
> Signed-off-by: Josef Friedl
> ---
> .../devicetree/bindings/mfd/mt6397.txt| 10 ++-
> .../bindings/power/reset/mt6323-poweroff.txt |
On Thu, 2019-06-06 at 12:14 +0200, Sebastian Gottschall wrote:
> in addition you should take care about this problem which is raised up
> if SAE is used. since AES-CMAC required tid to be non zero
>
> WARNING: CPU: 2 PID: 15324 at
> /home/seg/DEV/mt7621/src/router/private/compat-wireless-2017-09
Fill in RX status->chain_signal to avoid empty value.
Signed-off-by: Ryder Lee
---
.../net/wireless/mediatek/mt76/mt7615/mac.c | 30 ++-
.../net/wireless/mediatek/mt76/mt7615/mac.h | 5
2 files changed, 34 insertions(+), 1 deletion(-)
diff --git a/drivers/net/wirel
On Fri, 2019-06-28 at 16:32 -0700, Kevin Hilman wrote:
> writes:
>
> > From: Ryder Lee
> >
> > This adds basic support for MT7629 reference board.
> >
> > Signed-off-by: Ryder Lee
>
> Just noticing this is not upstream yet.
>
> I did a ba
MT7615 hardware supoorts 4 WMM sets, so this patch adds them accordingly.
Also remove incorrect queue mapping in .conf_tx
Signed-off-by: Ryder Lee
---
drivers/net/wireless/mediatek/mt76/mt7615/mac.c | 5 +++--
drivers/net/wireless/mediatek/mt76/mt7615/main.c | 16 ++--
.../net
Add initial values in mt7615_mcu_set_wmm() to cleanup setup flow.
Signed-off-by: Ryder Lee
---
drivers/net/wireless/mediatek/mt76/mt7615/mcu.c | 17 ++---
1 file changed, 6 insertions(+), 11 deletions(-)
diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/mcu.c
b/drivers/net
Fix warnings and errors as much as possible.
Signed-off-by: Ryder Lee
---
drivers/net/wireless/mediatek/mt76/agg-rx.c | 21 +
drivers/net/wireless/mediatek/mt76/dma.c | 2 +-
drivers/net/wireless/mediatek/mt76/mac80211.c | 30 ++--
drivers/net/wireless/mediatek/mt76/mt76
On Fri, 2019-07-19 at 15:05 +0800, Roy Luo wrote:
>
>
>
> On Fri, Jul 19, 2019 at 2:55 PM Ryder Lee
> wrote:
>
> MT7615 hardware supoorts 4 WMM sets, so this patch adds them
> accordingly.
> Also remove incorrect queue mapping in .conf_tx
On Fri, 2019-07-19 at 14:55 +0800, Ryder Lee wrote:
> Add initial values in mt7615_mcu_set_wmm() to cleanup setup flow.
>
> Signed-off-by: Ryder Lee
> ---
> drivers/net/wireless/mediatek/mt76/mt7615/mcu.c | 17 ++---
> 1 file changed, 6 insertions(+), 11 deletions(
bindings);
^
../drivers/pinctrl/mediatek/pinctrl-moore.c: At top level:
../drivers/pinctrl/mediatek/pinctrl-moore.c:22:44: warning:
'mtk_custom_bindings' defined but not used [-Wunused-variable]
static const struct pinconf_generic_params mtk_custom_bindings[] =
From: Ryder Lee
Update the binding for MT7629 SoC, which uses fallback compatible to
MT6765 SYST, so add more descriptions to distinguish it from the other
SoCs that use GPT.
Signed-off-by: Ryder Lee
Cc: Daniel Lezcano
---
.../devicetree/bindings/timer/mediatek,mtk-timer.txt | 11
From: Ryder Lee
This fixes a typo for MT7623A
Signed-off-by: Ryder Lee
---
Documentation/devicetree/bindings/soc/mediatek/scpsys.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt
b/Documentation/devicetree
From: Ryder Lee
This updates bindings for MT7629 SoC, which includes very basic items
such as system timer, UART, sysirq and scpsys unit.
Signed-off-by: Ryder Lee
Cc: Marc Zyngier
Cc: Greg Kroah-Hartman
---
.../devicetree/bindings/interrupt-controller/mediatek,sysirq.txt | 5
On Wed, 2018-09-26 at 09:37 +0800, CK Hu wrote:
> Hi, Ryder:
>
> On Wed, 2018-09-05 at 22:09 +0800, Ryder Lee wrote:
> > Add display subsystem related device nodes for MT7623.
> >
> > Cc: CK Hu
> > Signed-off-by: chunhui dai
> > Signed-off-by: Bi
On Tue, 2018-09-25 at 17:48 +0200, Matthias Brugger wrote:
>
> On 05/09/2018 16:09, Ryder Lee wrote:
> > Add display subsystem related device nodes for MT7623.
> >
> > Cc: CK Hu
> > Signed-off-by: chunhui dai
> > Signed-off-by: Bibby Hsieh
> > Signed-
On Wed, 2018-09-26 at 10:50 +0200, Matthias Brugger wrote:
>
> On 26/09/2018 07:21, CK Hu wrote:
> > Hi, Ryder:
> >
> > On Wed, 2018-09-26 at 10:38 +0800, Ryder Lee wrote:
> >> On Wed, 2018-09-26 at 09:37 +0800, CK Hu wrote:
> >>> Hi, Ryder:
> &g
On Wed, 2018-09-26 at 17:20 +0800, CK Hu wrote:
> Hi, Ryder:
>
> More inline comment.
>
> On Wed, 2018-09-05 at 22:09 +0800, Ryder Lee wrote:
> > Add display subsystem related device nodes for MT7623.
> >
> > Cc: CK Hu
> > Signed-off-by: chunhui dai
>
Add a jpeg decoder device node for MT7623.
Signed-off-by: Ryder Lee
---
arch/arm/boot/dts/mt7623.dtsi | 15 +++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi
index a46987b..d01bdee 100644
--- a/arch/arm/boot/dts/mt7623
Update MT7623 subsystem clock controllers, inlcuding mmsys, imgsys,
vdecsys, g3dsys and bdpsys.
Signed-off-by: Ryder Lee
---
arch/arm/boot/dts/mt7623.dtsi | 41 +
1 file changed, 41 insertions(+)
diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot
Add display subsystem related device nodes for MT7623.
Cc: CK Hu
Signed-off-by: chunhui dai
Signed-off-by: Bibby Hsieh
Signed-off-by: Ryder Lee
---
This patch depends on the series: https://lkml.org/lkml/2018/9/5/223
Hi Matthias,
I know you're working on broken MMSYS - just want t
Add ARM PMU device node to enable hardware perf events.
Signed-off-by: Ryder Lee
---
arch/arm/boot/dts/mt7623.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi
index 1cdc346..8c43bd0 100644
--- a/arch/arm/boot/dts
Add iommu/smi device nodes for MT7623.
Signed-off-by: Ryder Lee
---
arch/arm/boot/dts/mt7623.dtsi | 59 +++
1 file changed, 59 insertions(+)
diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi
index b7ccf8b..a46987b 100644
--- a
Add display subsystem related device nodes for MT7623.
Cc: CK Hu
Signed-off-by: chunhui dai
Signed-off-by: Bibby Hsieh
Signed-off-by: Ryder Lee
---
I forgot to sort nodes in my previous mail. Sorry for the inconvenience.
This patch depends on the series: https://lkml.org/lkml/2018/9/5/223
Fulfill the pinmux macros for MT7623
Signed-off-by: Ryder Lee
---
include/dt-bindings/pinctrl/mt7623-pinfunc.h | 90 +++-
1 file changed, 87 insertions(+), 3 deletions(-)
diff --git a/include/dt-bindings/pinctrl/mt7623-pinfunc.h
b/include/dt-bindings/pinctrl/mt7623
101 - 200 of 425 matches
Mail list logo