Currently, empty messages are not supported in GCM mode, hence add
a check to prevent producing incorrect results.
Signed-off-by: Ryder Lee
---
drivers/crypto/mediatek/mtk-aes.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/crypto/mediatek/mtk-aes.c
b/drivers/crypto/mediatek
Hi,
On Wed, 2017-08-16 at 14:18 +0200, Stephan Mueller wrote:
> Am Mittwoch, 16. August 2017, 13:19:48 CEST schrieb Ryder Lee:
>
> Hi Ryder,
>
> > Currently, empty messages are not supported in GCM mode, hence add
> > a check to prevent producing incorrect results.
>
Update pinmux data so that PCIe function can work normally.
Signed-off-by: Ryder Lee
---
drivers/pinctrl/mediatek/pinctrl-mtk-mt2701.h | 24
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/drivers/pinctrl/mediatek/pinctrl-mtk-mt2701.h
b/drivers/pinctrl
Hi Linus,
Please ignore this wrong patch. Sorry for the inconvenience.
On Thu, 2017-08-17 at 16:57 +0800, Ryder Lee wrote:
> Update pinmux data so that PCIe function can work normally.
>
> Signed-off-by: Ryder Lee
> ---
> drivers/pinctrl/mediatek/pinctrl-mt
ol_get_optional() by
devm_reset_control_get_optional_exclusive().
changes since v1:
- update binding text: add missing "specifier pairs" descriptions.
- fix kbuild test warning: fix the error handling.
Ryder Lee (2):
ata: mediatek: add support for MediaTek SATA controller
dt-bind
This adds support the AHCI-compliant Serial ATA controller present
on MediaTek SoCs.
Signed-off-by: Ryder Lee
Acked-by: Tejun Heo
---
drivers/ata/Kconfig| 10 +++
drivers/ata/Makefile | 1 +
drivers/ata/ahci_mtk.c | 196 +
3 files
Add DT bindings for the onboard SATA controller present on the MediaTek
SoCs.
Signed-off-by: Ryder Lee
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/ata/ahci-mtk.txt | 51 ++
1 file changed, 51 insertions(+)
create mode 100644 Documentation/devicetree
Add interrupt-names property in DT - if future revisions of the IP
have different sets of interrupts the binding can adapt gracefully.
Signed-off-by: Ryder Lee
CC: Garlic Tseng
---
Documentation/devicetree/bindings/sound/mt2701-afe-pcm.txt | 4 +++-
1 file changed, 3 insertions(+), 1 deletion
Switch to use platform_get_irq_byname() so that binding can be agnostic
of the IRQ order.
Signed-off-by: Ryder Lee
CC: Garlic Tseng
---
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c | 13 ++---
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/sound/soc/mediatek/mt2701/mt2701
MT2701 shares the same driver with MT7623, but there is a slight difference
between their pin functions (e.g., PCIe), so we update the different parts
in pinmux table.
Doing so, SoC could choose the correct mux setting via their own pinfun.h.
Signed-off-by: Ryder Lee
CC: Biao Huang
This patch removes redundant clock setting for 'clk_ethif', which is
the parent for 'clk_cryp'. Hence, we just need to handle its child.
Signed-off-by: Ryder Lee
---
drivers/crypto/mediatek/mtk-platform.c | 10 +-
drivers/crypto/mediatek/mtk-platform.h | 2 --
This patch removes unnecessary clock in binding file.
Signed-off-by: Ryder Lee
---
Documentation/devicetree/bindings/crypto/mediatek-crypto.txt | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/Documentation/devicetree/bindings/crypto/mediatek-crypto.txt
b
Hi Matthias,
Should I base on your changes and resend this patch series
https://patchwork.kernel.org/patch/9980061/ ?
I add a similar node - display_components, but your approach is better
than mine.
Thanks.
On Thu, 2017-10-19 at 13:26 +0200, Matthias Brugger wrote:
> DRM subysystem and clock d
Hi
On Thu, 2017-10-19 at 18:29 +0200, Matthias Brugger wrote:
>
> On 10/02/2017 03:54 AM, Ryder Lee wrote:
> > This patch updates pio, usb and crypto nodes to make them be consistent
> > with the binding documents.
> >
> > Signed-off-by: Ryder Lee
> > --
Hi Matthias,
Sorry for the late reply.
On Tue, 2018-07-31 at 16:17 +0800, Ryder Lee (李庚諺) wrote:
> Hi Ryder,
>
> On 16/07/18 16:59, Ryder Lee wrote:
> > Add some misc nodes support - timer and ARM CCI-400.
> >
> > Signed-off-by: Ryder Lee
> > ---
> > a
On Tue, 2018-07-31 at 16:43 +0800, Ryder Lee wrote:
> Hi Matthias,
>
> Sorry for the late reply.
>
> On Tue, 2018-07-31 at 16:17 +0800, Ryder Lee (李庚諺) wrote:
> > Hi Ryder,
> >
> > On 16/07/18 16:59, Ryder Lee wrote:
> > > Add some misc nodes support -
On Thu, 2017-05-11 at 09:17 +0200, Arnd Bergmann wrote:
> On Thu, May 11, 2017 at 4:44 AM, Ryder Lee wrote:
> > On Wed, 2017-05-10 at 12:01 +0200, Arnd Bergmann wrote:
> >> On Wed, May 10, 2017 at 11:31 AM, Ryder Lee wrote:
> >> > On Wed, 2017-05-10 at 10
Hi Arnd,
I want to further explain what I have discussed in previous mail.
On Thu, 2017-05-11 at 17:08 +0800, Ryder Lee wrote:
> On Thu, 2017-05-11 at 09:17 +0200, Arnd Bergmann wrote:
> > On Thu, May 11, 2017 at 4:44 AM, Ryder Lee wrote:
> > > On Wed, 2017-05-10 at 12:01 +0
Hi Arnd,
Sorry to bother you again.
On Thu, 2017-05-11 at 20:11 +0800, Ryder Lee wrote:
> > interrupt-map-mask = <0xff800 0 0 0>;
> > interrupt-map = <0x 0 0 0 &gic GIC_SPI 193 IRQ_TYPE_NONE>,
> > <0x0800 0 0 0 &gic GIC_SPI 194 IRQ_T
ed().
- add .map_bus() and change to use
pci_generic_config_read/pci_generic_config_write.
- revise dt-binding document and move nonstandard properties to root node.
- change compatible string.
- use interrupt-map property and replace mtk_pcie_map_irq() with
of_irq_parse_and_map_pci().
- use the new pci_register_
Add support for the Mediatek PCIe Gen2 controller which can
be found on MT7623 series SoCs.
Signed-off-by: Ryder Lee
---
drivers/pci/host/Kconfig | 11 +
drivers/pci/host/Makefile| 1 +
drivers/pci/host/pcie-mediatek.c | 559 +++
3 files
Add documentation for PCIe host driver available in MT7623
series SoCs.
Signed-off-by: Ryder Lee
Acked-by: Rob Herring
---
.../bindings/pci/mediatek,mt7623-pcie.txt | 130 +
1 file changed, 130 insertions(+)
create mode 100644
Documentation/devicetree/bindings
Move the interrupt-map properties from the child nodes to the root node
and update each entry accordingly.
Signed-off-by: Ryder Lee
---
.../devicetree/bindings/pci/mediatek-pcie.txt | 28 --
1 file changed, 15 insertions(+), 13 deletions(-)
diff --git a/Documentation
x this by adding a check to fallback to standard device tree parsing.
Signed-off-by: Ryder Lee
---
Please refer to the previous discussion thread:
https://patchwork.ozlabs.org/patch/829108/
---
drivers/of/of_pci_irq.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --g
Add audio-subsystem node and its clock support for both MT2701/MT7623.
Then modify afe node to adapt it.
Signed-off-by: Ryder Lee
---
arch/arm/boot/dts/mt2701.dtsi | 192 -
arch/arm/boot/dts/mt7623.dtsi | 193 +-
2
Add clock driver support for MT2701 audsys.
Signed-off-by: Ryder Lee
---
drivers/clk/mediatek/Kconfig | 6 ++
drivers/clk/mediatek/Makefile | 1 +
drivers/clk/mediatek/clk-mt2701-aud.c | 175 ++
3 files changed, 182 insertions(+)
create mode
accordingly.
Signed-off-by: Ryder Lee
---
.../bindings/arm/mediatek/mediatek,audsys.txt | 37 ++
1 file changed, 30 insertions(+), 7 deletions(-)
diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt
b/Documentation/devicetree/bindings/arm/mediatek
Add missing clock data 'CLK_AUDIO_AFE_CONN' for MT7622 audsys.
Signed-off-by: Ryder Lee
---
drivers/clk/mediatek/clk-mt7622-aud.c | 1 +
include/dt-bindings/clock/mt7622-clk.h | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/clk/mediatek/clk-mt762
mfd/mtk-audsys.c in
v1.
Ryder Lee (5):
clk: mediatek: update missing clock data for MT7622 audsys
clk: mediatek: modify MT7622 audsys to adapt MFD device
clk: mediatek: add audsys support for MT2701
dt-bindings: clock: mediatek: update audsys documentation to adapt MFD
device
arm
As the new MFD parent is in place, switch probing method to adapt it.
Signed-off-by: Ryder Lee
---
drivers/clk/mediatek/clk-mt7622-aud.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/clk/mediatek/clk-mt7622-aud.c
b/drivers/clk/mediatek/clk-mt7622-aud.c
index
s a helper mt2701_afe_add_component() to setup
component.
Reported-by: Dan Carpenter
Signed-off-by: Ryder Lee
---
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c | 32 +-
1 file changed, 18 insertions(+), 14 deletions(-)
diff --git a/sound/soc/mediatek/mt2701/mt2701-af
Add audsys support for both MT2701/MT7623. Then modify afe node to adapt it.
Signed-off-by: Ryder Lee
---
This patch is dependent on
https://www.spinics.net/lists/arm-kernel/msg626503.html
---
arch/arm/boot/dts/mt2701.dtsi | 188 -
arch/arm/boot/dts
On Fri, 2018-01-05 at 13:02 -0600, Rob Herring wrote:
> On Thu, Jan 04, 2018 at 03:44:20PM +0800, Ryder Lee wrote:
> > Add "simple-mfd" to support MFD device and add a compatible string for
> > MT2701.
> >
> > Signed-off-by: Ryder Lee
> > ---
> &g
ate 'devfn' but didn't obtain the actual
slot numbers from device tree, this patch add a check to fallback to use device
tree parsing if needed.
Signed-off-by: Ryder Lee
---
Discussion thread: https://patchwork.ozlabs.org/patch/829108/
---
drivers/of/of_pci_irq.c | 14 --
/mtk-audsys.c in
v1.
Ryder Lee (6):
clk: mediatek: update missing clock data for MT7622 audsys
clk: mediatek: add devm_of_platform_populate() for MT7622 audsys
clk: mediatek: add audsys support for MT2701
dt-bindings: clock: mediatek: update audsys documentation to adapt MFD
device
Add missing clock data 'CLK_AUDIO_AFE_CONN' for MT7622 audsys.
Signed-off-by: Ryder Lee
Reviewed-by: Rob Herring
Reviewed-by: Matthias Brugger
---
drivers/clk/mediatek/clk-mt7622-aud.c | 1 +
include/dt-bindings/clock/mt7622-clk.h | 3 ++-
2 files changed, 3 insertions(+),
to illustrate child nodes.
Signed-off-by: Ryder Lee
---
.../bindings/arm/mediatek/mediatek,audsys.txt | 19 ++-
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt
b/Documentation/devicetree
Add clock driver support for MT2701 audsys.
Signed-off-by: Ryder Lee
---
drivers/clk/mediatek/Kconfig | 6 ++
drivers/clk/mediatek/Makefile | 1 +
drivers/clk/mediatek/clk-mt2701-aud.c | 177 ++
3 files changed, 184 insertions(+)
create mode
Add devm_of_platform_populate() to populate devices which are children
of the root node.
Signed-off-by: Ryder Lee
---
drivers/clk/mediatek/clk-mt7622-aud.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/mediatek/clk-mt7622-aud.c
b/drivers/clk/mediatek
This patch adds a compatible string for MT2701.
Signed-off-by: Ryder Lee
---
Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt
b/Documentation/devicetree
Modify audio related nodes to reflect the actual usage in binding documents.
Signed-off-by: Ryder Lee
---
arch/arm/boot/dts/mt2701.dtsi | 188 -
arch/arm/boot/dts/mt7623.dtsi | 190 --
2 files changed, 182
Remove compatible string "simple-mfd" in the example as we have
already added devm_of_platform_populate() in the parent driver.
Signed-off-by: Ryder Lee
---
Documentation/devicetree/bindings/sound/mt2701-afe-pcm.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
di
Add clock driver support for MT2701 audsys.
Signed-off-by: Ryder Lee
---
drivers/clk/mediatek/Kconfig | 6 ++
drivers/clk/mediatek/Makefile | 1 +
drivers/clk/mediatek/clk-mt2701-aud.c | 186 ++
3 files changed, 193 insertions(+)
create mode
Add devm_of_platform_populate() to populate devices which are children
of the root node.
Signed-off-by: Ryder Lee
---
drivers/clk/mediatek/clk-mt7622-aud.c | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/drivers/clk/mediatek/clk-mt7622-aud.c
b/drivers/clk
On Mon, 2018-03-19 at 13:31 -0700, Stephen Boyd wrote:
> Quoting Ryder Lee (2018-03-06 01:09:28)
> > +
> > +static const struct of_device_id of_match_clk_mt2701_aud[] = {
> > + { .compatible = "mediatek,mt2701-audsys", },
> > + {}
> > +};
The error return value should be fixed as it may return EPROBE_DEFER.
Cc: Rick Chang
Cc: Bin Liu
Signed-off-by: Ryder Lee
---
drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c
Hi Matthias,
Just a gentle ping on this patch.
Thanks
On Wed, 2018-02-14 at 11:27 +0800, Ryder Lee (李庚諺) wrote:
> This patch adds some device nodes for the PCIe function block and updates
> related pinmux.
>
> Moreover, we add interrupt-map properties in both parent and children a
On Fri, 2018-09-28 at 18:04 +0800, honghui.zh...@mediatek.com wrote:
> From: Honghui Zhang
>
> Part of mtk_pcie_register_host is an open-coded version of
> pci_host_probe(). So instead of duplicating this code, use
> pci_host_probe() directly and remove mtk_pcie_register_host.
>
> Signed-off-by:
On Sat, 2018-09-29 at 08:16 +0800, Honghui Zhang wrote:
> On Fri, 2018-09-28 at 23:41 +0800, Ryder Lee wrote:
> > On Fri, 2018-09-28 at 18:04 +0800, honghui.zh...@mediatek.com wrote:
> > > From: Honghui Zhang
> > >
> > > Part of mtk_pcie_regis
t; after mtk_pcie_setup_irq
> PCI: mediatek: Enable msi after clock enabled
> PCI: mediatek: Add system pm support for MT2712 and 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 | 326
> +
> 2 files changed, 210 insertions(+), 118 deletions(-)
>
Acked-by: Ryder Lee for the whole series.
On Fri, 2018-11-23 at 18:07 +0100, Matthias Brugger wrote:
>
> On 12/11/2018 02:28, Ryder Lee wrote:
> > The crash http://termbin.com/zitb is caused by the timer register
> > into system in early pahse during kernel boot, but the clock
> > sources didn't get ready at
> - return err;
> -
> - err = devm_pci_remap_iospace(dev, &pcie->pio, pcie->io.start);
> - if (err < 0)
> - return err;
> -
> - return 0;
> -}
> -
> static int mtk_pcie_probe(struct platform_device *pdev)
> {
> struct device *dev = &pdev->dev;
> @@ -1169,11 +1124,6 @@ static int mtk_pcie_probe(struct platform_device *pdev)
> if (err)
> return err;
>
> - err = mtk_pcie_request_resources(pcie);
> - if (err)
> - goto put_resources;
> -
> - host->busnr = pcie->busn.start;
> host->dev.parent = pcie->dev;
> host->ops = pcie->soc->ops;
> host->map_irq = of_irq_parse_and_map_pci;
Acked-by: Ryder Lee
This updates bindings for the MT7629 SPI-NOR controller.
Signed-off-by: Ryder Lee
---
Documentation/devicetree/bindings/mtd/mtk-quadspi.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
b/Documentation/devicetree
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
---
drivers/mtd/spi-nor/Kconfig | 16
drivers/mtd/spi-nor/Makefile | 2 +-
2 files changed, 9 insertions(+), 9 deletions
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
Tested-by: Ryder Lee
---
drivers/mtd/spi-nor/mtk-quadspi.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion
From: Guochun Mao
Replace mtd_device_register with mtd_device_parse_register for
parsing partitions and add ofpart support.
Signed-off-by: Guochun Mao
Tested-by: Ryder Lee
---
drivers/mtd/spi-nor/mtk-quadspi.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd
On Wed, 2018-11-14 at 14:27 +0100, John Crispin wrote:
> On 14/11/2018 13:47, Thierry Reding wrote:
> > On Tue, Nov 13, 2018 at 10:08:22AM +0800, Ryder Lee wrote:
> >> The flag 'has_clks' and related checks are superfluous as the CCF
> >> subsystem does this
From: Guochun Mao
Replace mtd_device_register with mtd_device_parse_register for
parsing partitions.
Add ofpart support.
Signed-off-by: Guochun Mao
Tested-by: Ryder Lee
---
drivers/mtd/spi-nor/mtk-quadspi.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd
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
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
Tested-by: Ryder Lee
---
drivers/mtd/spi-nor/mtk-quadspi.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion
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
---
drivers/mtd/spi-nor/Kconfig | 16
drivers/mtd/spi-nor/Makefile | 2 +-
2 files changed, 9 insertions(+), 9 deletions
This updates bindings for the MT7629 SPI-NOR controller.
Signed-off-by: Ryder Lee
---
Documentation/devicetree/bindings/mtd/mtk-quadspi.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
b/Documentation/devicetree
On Thu, 2018-11-15 at 14:26 +0800, Ryder Lee wrote:
> 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/dev
The issue was found 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")
Signed-off-by: Ryder Lee
Tes
Fix this by using a 'stdout-path' property that points to the device.
Fixes: 0b6286dd96c0 ("arm64: dts: mt7622: add bananapi BPI-R64 board")
Signed-off-by: Ryder Lee
---
Changes since v1: revise commit msg
---
arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts | 7 +++
ss in MT7622.
So we drop it.
Fixes: 9cc7f0de9e67 ("arm64: dts: mt7622: add timer, CCI-400 and PMU nodes")
Cc: sta...@vger.kernel.org
Signed-off-by: Ryder Lee
---
arch/arm64/boot/dts/mediatek/mt7622.dtsi | 10 --
1 file changed, 10 deletions(-)
diff --git a/arch/arm64/boot/dts/
This updates bindings for MT7629 pinctrl driver.
Signed-off-by: Ryder Lee
---
Changes since v1:
-add new function for wifi.
-add more descriptions.
---
.../devicetree/bindings/pinctrl/pinctrl-mt7622.txt | 131 +
1 file changed, 131 insertions(+)
diff --git a/Documentation
This adds MT7629 pinctrl driver based on MediaTek pinctrl-moore core.
Signed-off-by: Ryder Lee
---
Changes since v1:
-add a new function for wifi.
-drop useless 'ext' groups and its groups.
---
drivers/pinctrl/mediatek/Kconfig | 6 +
drivers/pinctrl/mediatek/Makefile
On Sun, 2018-11-11 at 21:45 -0500, Sasha Levin wrote:
> On Mon, Nov 12, 2018 at 09:28:08AM +0800, Ryder Lee wrote:
> >The crash http://termbin.com/zitb is caused by the timer register
> >into system in early pahse during kernel boot, but the clock
> >sources didn't get re
On Mon, 2018-11-12 at 11:33 +0800, Ryder Lee wrote:
> On Sun, 2018-11-11 at 21:45 -0500, Sasha Levin wrote:
> > On Mon, Nov 12, 2018 at 09:28:08AM +0800, Ryder Lee wrote:
> > >The crash http://termbin.com/zitb is caused by the timer register
> > >into system in early pa
This adds pwm controller support for MT7629 SoC.
Signed-off-by: Ryder Lee
---
drivers/pwm/pwm-mediatek.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/pwm/pwm-mediatek.c b/drivers/pwm/pwm-mediatek.c
index 9400c41..4ed95e5 100644
--- a/drivers/pwm/pwm-mediatek.c
+++ b/drivers
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
The flag 'has_clks' and related checks are superfluous as the CCF
subsystem does this for you.
Cc: John Crispin
Signed-off-by: Ryder Lee
---
drivers/pwm/pwm-mediatek.c | 20 +---
1 file changed, 5 insertions(+), 15 deletions(-)
diff --git a/drivers/pwm/pwm-mediatek.c
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 pwm controller support for MT7629 SoC.
Signed-off-by: Ryder Lee
---
drivers/pwm/pwm-mediatek.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/pwm/pwm-mediatek.c b/drivers/pwm/pwm-mediatek.c
index 9400c41..4ed95e5 100644
--- a/drivers/pwm/pwm-mediatek.c
+++ b/drivers
The flag 'has_clks' and related checks are superfluous as the CCF
subsystem does this for you.
Cc: John Crispin
Signed-off-by: Ryder Lee
---
drivers/pwm/pwm-mediatek.c | 20 +---
1 file changed, 5 insertions(+), 15 deletions(-)
diff --git a/drivers/pwm/pwm-mediatek.c
The PCIe function doesn't work as the clock tree of MAC layer is wrong.
Hence fix the clock table.
Fixes: 3b5e748615e7 ("clk: mediatek: add clock support for MT7629 SoC")
Signed-off-by: Ryder Lee
---
drivers/clk/mediatek/clk-mt7629.c | 4 ++--
1 file changed, 2 insertions(
/pci_ids.h | 1 +
> 3 files changed, 28 insertions(+)
>
Acked-by: Ryder Lee for the series.
ish the link when resumed.
> -Rebase on the previous two patches.
>
> The fourth patch add loadable kernel module support.
>
> Some of those patches was already reviewed-by Ryder Lee
> ,
> so I just add the Reviewed-by tags in those patches.
>
> [1] https://patchwork.
Normally, we didn't release this kind of baord to user. This specific
board exists only in the early stage of development inside MediaTek -
and that may confuse peoples.
Hence this patch removes related files accordingly.
Cc: John Crispin
Cc: Sean Wang
Signed-off-by: Ryder Lee
---
arc
Cleanup binding document to get rid of unsupported reference boards
for MT7623N.
Cc: John Crispin
Cc: Sean Wang
Signed-off-by: Ryder Lee
---
Documentation/devicetree/bindings/arm/mediatek.txt | 3 ---
1 file changed, 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/arm
The input clock of UART0 should be CLK_PERI_UART0_PD.
Signed-off-by: Ryder Lee
---
arch/arm64/boot/dts/mediatek/mt7622.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi
b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
index 8cdec52
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
and the related control register values should
> be re-set after system resume.
>
> Signed-off-by: Honghui Zhang
> CC: Ryder Lee
> ---
> drivers/pci/host/pcie-mediatek.c | 82
>
> 1 file changed, 82 insertions(+)
>
> diff
Update binding document for bananapi BPI-R64 board being supported.
Signed-off-by: Ryder Lee
---
Documentation/devicetree/bindings/arm/mediatek.txt | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/mediatek.txt
b/Documentation/devicetree/bindings/arm
Add support for the bananapi R64 (BPI-R64) development board from
BIPAI KEJI. Detailed hardware information for BPI-R64 which could be
found on http://wiki.banana-pi.org/Banana_Pi_BPI-R64
Signed-off-by: Ryder Lee
---
arch/arm64/boot/dts/mediatek/Makefile | 1 +
.../boot/dts
Add a built-in bluetooth 5 support for MT7622.
Signed-off-by: Ryder Lee
---
arch/arm64/boot/dts/mediatek/mt7622.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi
b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
index b235df7..f8c3495 100644
Add timer and CCI-400 device nodes for MT7622.
Signed-off-by: Ryder Lee
---
arch/arm64/boot/dts/mediatek/mt7622.dtsi | 48
1 file changed, 48 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi
b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
index
Fix ram size and sort nodes in alphabetical order.
Signed-off-by: Ryder Lee
---
arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts | 196 +--
1 file changed, 98 insertions(+), 98 deletions(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
b/arch/arm64/boot/dts
Add device tree entries for timer, ARM CCI-400 and its PMU.
Otherwise, we add a cortex-a53-pmu node to enable hw perfevents.
Signed-off-by: Ryder Lee
---
change since v1:
- add a pmu node.
---
arch/arm64/boot/dts/mediatek/mt7622.dtsi | 55
1 file changed, 55
Fix ram size to 512 megabytes and sort nodes in alphabetical order.
Signed-off-by: Ryder Lee
Acked-by: Sean Wang
---
arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts | 196 +--
1 file changed, 98 insertions(+), 98 deletions(-)
diff --git a/arch/arm64/boot/dts/mediatek
Update binding document for bananapi BPI-R64 board being supported.
Signed-off-by: Ryder Lee
Reviewed-by: Rob Herring
---
Documentation/devicetree/bindings/arm/mediatek.txt | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/mediatek.txt
b
Add support for the bananapi R64 (BPI-R64) development board from
BIPAI KEJI. Detailed hardware information for BPI-R64 which could be
found on http://wiki.banana-pi.org/Banana_Pi_BPI-R64
Signed-off-by: Ryder Lee
---
changes since v1:
- add missing sata nodes.
- fix pinctrl-0 for pcie@1,0
Add a built-in bluetooth 5 support for MT7622.
Signed-off-by: Ryder Lee
Acked-by: Sean Wang
---
arch/arm64/boot/dts/mediatek/mt7622.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi
b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
index d297100
Improve dependencies for the pinctrl drivers which select
PINCTRL_MTK_MOORE as its core layer.
---
drivers/pinctrl/mediatek/Kconfig | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig
index d8cb584..3
Remove prompts to make all pinctrl cores to non-visible symbols and
make sure the target SoCs would be coupled with the corresponding
cores.
Signed-off-by: Ryder Lee
---
Changes since v1:
- Revise commit message
- Change all pinctrl cores to non-visible symbols
- Drop EINT_MTK in
Hi,
On Thu, 2018-12-06 at 09:09 +0800, Jianjun Wang wrote:
> MT7629 is an arm platform SoC which has the same PCIe IP with MT7622.
>
> The read value of BAR0 is 0x_, it's size will be calculated as 4GB
> in arm64 but bogus alignment values at arm32, the pcie device and devices
> behind th
The MediaTek BTIF controller doesn't need to set termios so add
a new capability 'UART_CAP_NMOD' for the unsupported case.
Signed-off-by: Sean Wang
Signed-off-by: Ryder Lee
---
drivers/tty/serial/8250/8250.h | 1 +
drivers/tty/serial/8250/8250_port.c | 7 ++-
2 f
Hi Matthias,
On Sun, 2018-12-16 at 11:31 +0100, Matthias Brugger wrote:
>
> On 07/11/2018 08:10, Ryder Lee wrote:
> > This updates dt-binding documentation for MT7629 SoC
> >
> > Signed-off-by: Ryder Lee
>
> Acked-by: Matthias Brugger
>
> > ---
On Sun, 2018-12-16 at 19:53 -0800, Guenter Roeck wrote:
> On 12/16/18 7:39 PM, Ryder Lee wrote:
> > Hi Matthias,
> >
> > On Sun, 2018-12-16 at 11:31 +0100, Matthias Brugger wrote:
> >>
> >> On 07/11/2018 08:10, Ryder Lee wrote:
> >>> T
1 - 100 of 425 matches
Mail list logo