Re: [PATCH v3 0/4] add support of SCPSYS power domain for MediaTek MT7622

2017-08-14 Thread Matthias Brugger
On 08/08/2017 01:41 PM, Ulf Hansson wrote: On 7 August 2017 at 09:24, wrote: From: Sean Wang Changes since v2: - reduce code duplication of scpsys_probe across all SoCs Changes since v1: - rebase to Linux v4.13-rc1 There are four power domains on MediaTek MT7622 SoC which are

Re: [PATCH 2/3] arm64: dts: mt2712: add pintcrl device node.

2017-08-14 Thread Matthias Brugger
On 07/31/2017 10:22 AM, Zhiyong Tao wrote: The commit includes two change: 1)add pintcrl device node for mt2712. 2)add pinfunc file for mt2712. Signed-off-by: Zhiyong Tao --- arch/arm64/boot/dts/mediatek/mt2712-pinfunc.h | 1014 +

Re: [PATCH 2/3] arm64: dts: mt2712: add pintcrl device node.

2017-08-14 Thread Matthias Brugger
On 07/31/2017 10:22 AM, Zhiyong Tao wrote: The commit includes two change: 1)add pintcrl device node for mt2712. 2)add pinfunc file for mt2712. Signed-off-by: Zhiyong Tao --- arch/arm64/boot/dts/mediatek/mt2712-pinfunc.h | 1014 + Shouldn't this file be in

Re: [PATCH v4 1/2] arm: dts: mt7623: Add SD-card and EMMC to bananapi-r2

2017-08-14 Thread Matthias Brugger
On 08/04/2017 02:19 PM, Matthias Brugger wrote: On 08/04/2017 12:14 PM, Sean Wang wrote: On Fri, 2017-08-04 at 11:59 +0800, sean.w...@mediatek.com wrote: From: Sean Wang <sean.w...@mediatek.com> The bananapi-r2 board has an SD-card controller and built-in EMMC storage so enables

Re: [PATCH v4 1/2] arm: dts: mt7623: Add SD-card and EMMC to bananapi-r2

2017-08-14 Thread Matthias Brugger
On 08/04/2017 02:19 PM, Matthias Brugger wrote: On 08/04/2017 12:14 PM, Sean Wang wrote: On Fri, 2017-08-04 at 11:59 +0800, sean.w...@mediatek.com wrote: From: Sean Wang The bananapi-r2 board has an SD-card controller and built-in EMMC storage so enables those devices in the devicetree

Re: [PATCH v6 0/2] Add basic support for Mediatek MT2712 SoC

2017-08-14 Thread Matthias Brugger
On 08/04/2017 01:59 PM, YT Shen wrote: MT2712 is a SoC based on 64bit ARMv8 architecture. MT2712 share many HW IP with MT8173. This patchset was tested on MT2712 evaluation board, and boot to shell ok. This series contains document bindings, device tree including interrupt and uart.

Re: [PATCH v6 0/2] Add basic support for Mediatek MT2712 SoC

2017-08-14 Thread Matthias Brugger
On 08/04/2017 01:59 PM, YT Shen wrote: MT2712 is a SoC based on 64bit ARMv8 architecture. MT2712 share many HW IP with MT8173. This patchset was tested on MT2712 evaluation board, and boot to shell ok. This series contains document bindings, device tree including interrupt and uart.

Re: [PATCH v3 1/2] ata: mediatek: add support for MediaTek SATA controller

2017-08-14 Thread Matthias Brugger
On 08/13/2017 08:38 PM, Tejun Heo wrote: On Sat, Aug 12, 2017 at 09:31:03AM +0800, Ryder Lee wrote: This adds support the AHCI-compliant Serial ATA controller present on MediaTek SoCs. Signed-off-by: Ryder Lee Looks good to me. Acked-by: Tejun Heo

Re: [PATCH v3 1/2] ata: mediatek: add support for MediaTek SATA controller

2017-08-14 Thread Matthias Brugger
On 08/13/2017 08:38 PM, Tejun Heo wrote: On Sat, Aug 12, 2017 at 09:31:03AM +0800, Ryder Lee wrote: This adds support the AHCI-compliant Serial ATA controller present on MediaTek SoCs. Signed-off-by: Ryder Lee Looks good to me. Acked-by: Tejun Heo If others are okay with it, please

Re: [PATCH 3/4] dt-bindings: mt8173-mtu3: add generic compatible and rename file

2017-08-14 Thread Matthias Brugger
On 08/11/2017 09:00 AM, Chunfeng Yun wrote: On Thu, 2017-08-10 at 21:54 -0500, Rob Herring wrote: On Tue, Aug 08, 2017 at 01:42:51PM +0800, Chunfeng Yun wrote: The mt8173-mtu3.txt actually holds the bindings for all mediatek SoCs with usb3 DRD IP, so add a generic compatible and change the

Re: [PATCH 3/4] dt-bindings: mt8173-mtu3: add generic compatible and rename file

2017-08-14 Thread Matthias Brugger
On 08/11/2017 09:00 AM, Chunfeng Yun wrote: On Thu, 2017-08-10 at 21:54 -0500, Rob Herring wrote: On Tue, Aug 08, 2017 at 01:42:51PM +0800, Chunfeng Yun wrote: The mt8173-mtu3.txt actually holds the bindings for all mediatek SoCs with usb3 DRD IP, so add a generic compatible and change the

Re: [PATCH] dt-bindings: watchdog: mediatek: add support for MediaTek MT7623 and MT7622 SoC

2017-08-14 Thread Matthias Brugger
On 08/11/2017 04:36 AM, Sean Wang wrote: On Thu, 2017-08-10 at 12:43 -0500, Rob Herring wrote: On Fri, Aug 04, 2017 at 03:14:07PM +0800, sean.w...@mediatek.com wrote: From: Sean Wang This updates dt-binding documentation for MediaTek MT7622 and MT7623 SoC. For the

Re: [PATCH] dt-bindings: watchdog: mediatek: add support for MediaTek MT7623 and MT7622 SoC

2017-08-14 Thread Matthias Brugger
On 08/11/2017 04:36 AM, Sean Wang wrote: On Thu, 2017-08-10 at 12:43 -0500, Rob Herring wrote: On Fri, Aug 04, 2017 at 03:14:07PM +0800, sean.w...@mediatek.com wrote: From: Sean Wang This updates dt-binding documentation for MediaTek MT7622 and MT7623 SoC. For the both SoCs supported all

Re: [PATCH 1/2] dt-bindings: i2c: Add MediaTek MT7622 i2c binding

2017-08-14 Thread Matthias Brugger
On 08/09/2017 09:43 AM, Jun Gao wrote: From: Jun Gao Add MT7622 i2c binding to binding file. Compare to MT8173 i2c controller, MT7622 limit message size to 255, and not support 4GB DMA mode. Signed-off-by: Jun Gao ---

Re: [PATCH 1/2] dt-bindings: i2c: Add MediaTek MT7622 i2c binding

2017-08-14 Thread Matthias Brugger
On 08/09/2017 09:43 AM, Jun Gao wrote: From: Jun Gao Add MT7622 i2c binding to binding file. Compare to MT8173 i2c controller, MT7622 limit message size to 255, and not support 4GB DMA mode. Signed-off-by: Jun Gao --- Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 11 ++- 1

Re: [PATCH v3 0/4] Add larbid init routine for mediatek's gen1 smi larb driver

2017-08-04 Thread Matthias Brugger
On 08/04/2017 12:06 PM, Joerg Roedel wrote: On Fri, Aug 04, 2017 at 09:32:24AM +0800, honghui.zh...@mediatek.com wrote: Honghui Zhang (4): memory: mtk-smi: Use of_device_get_match_data helper memory: mtk-smi: add larbid handle routine dt-bindings: mediatek: add descriptions for

Re: [PATCH v3 0/4] Add larbid init routine for mediatek's gen1 smi larb driver

2017-08-04 Thread Matthias Brugger
On 08/04/2017 12:06 PM, Joerg Roedel wrote: On Fri, Aug 04, 2017 at 09:32:24AM +0800, honghui.zh...@mediatek.com wrote: Honghui Zhang (4): memory: mtk-smi: Use of_device_get_match_data helper memory: mtk-smi: add larbid handle routine dt-bindings: mediatek: add descriptions for

Re: [PATCH v4 1/2] arm: dts: mt7623: Add SD-card and EMMC to bananapi-r2

2017-08-04 Thread Matthias Brugger
Sean Signed-off-by: Matthias Brugger <matthias@gmail.com> Signed-off-by: Sean Wang <sean.w...@mediatek.com> --- arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 37 +++ 1 file changed, 37 insertions(+) diff --git a/arch/arm/boot/dts/mt7623n-bananapi

Re: [PATCH v4 1/2] arm: dts: mt7623: Add SD-card and EMMC to bananapi-r2

2017-08-04 Thread Matthias Brugger
in the patch. Hi, Matthias could your help remove those words "Also cleanup nodes in alphabetical order in the patch." when merging, i was forgetting to do it. or prefer wanting me to resend it again? Yes I can do that. No need to resend. Regards, Matthias Sean Signed-off-by

Re: [PATCH] dt-bindings: watchdog: mediatek: add support for MediaTek MT7623 and MT7622 SoC

2017-08-04 Thread Matthias Brugger
ediatek,mt7622-wdt", "mediatek,mt6589-wdt": for MT7622 + * "mediatek,mt7623-wdt", "mediatek,mt6589-wdt": for MT7623 * "mediatek,mt6589-wdt" for all compatible watchdog timers (MT2701, MT6589) Reviewed-by: Matthias Brugger <matthias@gmail.com>

Re: [PATCH] dt-bindings: watchdog: mediatek: add support for MediaTek MT7623 and MT7622 SoC

2017-08-04 Thread Matthias Brugger
or MT7622 + * "mediatek,mt7623-wdt", "mediatek,mt6589-wdt": for MT7623 * "mediatek,mt6589-wdt" for all compatible watchdog timers (MT2701, MT6589) Reviewed-by: Matthias Brugger

Re: [PATCH] dt-bindings: mtd: add new compatible strings for mtk nor controller

2017-08-03 Thread Matthias Brugger
On 08/03/2017 04:16 AM, Guochun Mao wrote: Hi Cyrille, On Wed, 2017-08-02 at 17:31 +0200, Cyrille Pitchen wrote: Hi Guochun, Le 02/08/2017 à 10:36, Boris Brezillon a écrit : Hi Matthias, On Tue, 1 Aug 2017 14:33:22 +0200 Matthias Brugger <matthias@gmail.com> wrote: On 07/25/2

Re: [PATCH] dt-bindings: mtd: add new compatible strings for mtk nor controller

2017-08-03 Thread Matthias Brugger
On 08/03/2017 04:16 AM, Guochun Mao wrote: Hi Cyrille, On Wed, 2017-08-02 at 17:31 +0200, Cyrille Pitchen wrote: Hi Guochun, Le 02/08/2017 à 10:36, Boris Brezillon a écrit : Hi Matthias, On Tue, 1 Aug 2017 14:33:22 +0200 Matthias Brugger wrote: On 07/25/2017 04:10 AM, Guochun Mao wrote

Re: [PATCH v3] arm: dts: mt7623: Add SD-card and EMMC to bananapi-r2

2017-08-03 Thread Matthias Brugger
:29 +0800, sean.w...@mediatek.com wrote: From: Sean Wang <sean.w...@mediatek.com> The bananapi-r2 board has an SD-card controller and built-in EMMC storage so enables those devices in the devicetree. Also cleanup nodes in alphabetical order in the patch. Signed-off-by: Matthias Brugger <

Re: [PATCH v3] arm: dts: mt7623: Add SD-card and EMMC to bananapi-r2

2017-08-03 Thread Matthias Brugger
:29 +0800, sean.w...@mediatek.com wrote: From: Sean Wang The bananapi-r2 board has an SD-card controller and built-in EMMC storage so enables those devices in the devicetree. Also cleanup nodes in alphabetical order in the patch. Signed-off-by: Matthias Brugger Signed-off-by: Sean Wang Signed

Re: [PATCH] soc: mtk-pmic-wrap: make of_device_ids const.

2017-08-02 Thread Matthias Brugger
On 06/28/2017 02:10 PM, chen.zhong wrote: Hi, On Wed, 2017-06-28 at 10:28 +0530, Arvind Yadav wrote: of_device_ids are not supposed to change at runtime. All functions working with of_device_ids provided by work with const of_device_ids. So mark the non-const structs as const.

Re: [PATCH] soc: mtk-pmic-wrap: make of_device_ids const.

2017-08-02 Thread Matthias Brugger
On 06/28/2017 02:10 PM, chen.zhong wrote: Hi, On Wed, 2017-06-28 at 10:28 +0530, Arvind Yadav wrote: of_device_ids are not supposed to change at runtime. All functions working with of_device_ids provided by work with const of_device_ids. So mark the non-const structs as const.

Re: [PATCH 3/4] input: Add MediaTek PMIC keys support

2017-08-02 Thread Matthias Brugger
On 08/02/2017 05:17 AM, Chen Zhong wrote: This patch add support to handle MediaTek PMIC MT6397/MT6323 key interrupts including pwrkey and homekey, also add setting for long press key shutdown behavior. Signed-off-by: Chen Zhong ---

Re: [PATCH 3/4] input: Add MediaTek PMIC keys support

2017-08-02 Thread Matthias Brugger
On 08/02/2017 05:17 AM, Chen Zhong wrote: This patch add support to handle MediaTek PMIC MT6397/MT6323 key interrupts including pwrkey and homekey, also add setting for long press key shutdown behavior. Signed-off-by: Chen Zhong --- drivers/input/keyboard/mtk-pmic-keys.c | 320

Re: [PATCH v4.13 REGRESSION] Revert "serial: Delete dead code for CIR serial ports"

2017-08-01 Thread Matthias Brugger
so it is definitely not dead code. That was an oversight from me, sorry for the inconvenience. Reviewed-by: Matthias Brugger <mbrug...@suse.com> Signed-off-by: Sean Young <s...@mess.org> --- drivers/tty/serial/8250/8250_core.c | 23 +-- 1 file changed, 17 i

Re: [PATCH v4.13 REGRESSION] Revert "serial: Delete dead code for CIR serial ports"

2017-08-01 Thread Matthias Brugger
so it is definitely not dead code. That was an oversight from me, sorry for the inconvenience. Reviewed-by: Matthias Brugger Signed-off-by: Sean Young --- drivers/tty/serial/8250/8250_core.c | 23 +-- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/driv

Re: [PATCH v2 3/3] soc: mediatek: add SCPSYS power domain driver for MediaTek MT7622 SoC

2017-08-01 Thread Matthias Brugger
On 08/01/2017 12:06 PM, sean.w...@mediatek.com wrote: From: Chen Zhong Add SCPSYS power domain driver for MT7622 SoC having four power domains which are respectively ETHSYS for Ethernet including embedded switch, WBSYS for WIFI and Bluetooth, HIF0SYS for PCI-E and

Re: [PATCH v2 3/3] soc: mediatek: add SCPSYS power domain driver for MediaTek MT7622 SoC

2017-08-01 Thread Matthias Brugger
On 08/01/2017 12:06 PM, sean.w...@mediatek.com wrote: From: Chen Zhong Add SCPSYS power domain driver for MT7622 SoC having four power domains which are respectively ETHSYS for Ethernet including embedded switch, WBSYS for WIFI and Bluetooth, HIF0SYS for PCI-E and SATA, and HIF1SYS for USB.

Re: [PATCH 0/5] Add some DT nodes for Mediatek MT2701

2017-08-01 Thread Matthias Brugger
Hi Erin, On 08/01/2017 09:03 AM, Erin Lo wrote: This patch series based on v4.13-rc1, include MT2701 ethernet/disp bls/display/usb3 function DT nodes. Chunfeng Yun (1): arm: dts: mt2701: Add usb3 device nodes Sean Wang (1): arm: dts: mt2701: Add ethernet device node Weiqing Kong (2):

Re: [PATCH 0/5] Add some DT nodes for Mediatek MT2701

2017-08-01 Thread Matthias Brugger
Hi Erin, On 08/01/2017 09:03 AM, Erin Lo wrote: This patch series based on v4.13-rc1, include MT2701 ethernet/disp bls/display/usb3 function DT nodes. Chunfeng Yun (1): arm: dts: mt2701: Add usb3 device nodes Sean Wang (1): arm: dts: mt2701: Add ethernet device node Weiqing Kong (2):

Re: [PATCH 1/4] ARM: mediatek: dts: Cleanup bindings documentation

2017-08-01 Thread Matthias Brugger
On 07/24/2017 09:56 PM, Rob Herring wrote: On Thu, Jul 20, 2017 at 12:22:44PM +0200, Matthias Brugger wrote: From: Matthias Brugger <mbrug...@suse.com> This patch cleans up the binding documentation stating explicitly the binding and it's fallback for every SoC. Signed-off-by: Ma

Re: [PATCH 1/4] ARM: mediatek: dts: Cleanup bindings documentation

2017-08-01 Thread Matthias Brugger
On 07/24/2017 09:56 PM, Rob Herring wrote: On Thu, Jul 20, 2017 at 12:22:44PM +0200, Matthias Brugger wrote: From: Matthias Brugger This patch cleans up the binding documentation stating explicitly the binding and it's fallback for every SoC. Signed-off-by: Matthias Brugger

Re: [PATCH v5 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-08-01 Thread Matthias Brugger
On 08/01/2017 10:51 AM, Yingjoe Chen wrote: On Fri, 2017-07-28 at 19:37 +0800, YT Shen wrote: diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi new file mode 100644 index 000..1e135af --- /dev/null +++

Re: [PATCH v5 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-08-01 Thread Matthias Brugger
On 08/01/2017 10:51 AM, Yingjoe Chen wrote: On Fri, 2017-07-28 at 19:37 +0800, YT Shen wrote: diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi new file mode 100644 index 000..1e135af --- /dev/null +++

Re: [PATCH] dt-bindings: mtd: add new compatible strings for mtk nor controller

2017-08-01 Thread Matthias Brugger
On 07/25/2017 04:10 AM, Guochun Mao wrote: Add "mediatek,mt2712-nor" and "mediatek,mt7622-nor" for nor flash node's compatible strings. Reviewed-by: Matthias Brugger <matthias@gmail.com> Signed-off-by: Guochun Mao <guochun@mediatek.com> ---

Re: [PATCH] dt-bindings: mtd: add new compatible strings for mtk nor controller

2017-08-01 Thread Matthias Brugger
On 07/25/2017 04:10 AM, Guochun Mao wrote: Add "mediatek,mt2712-nor" and "mediatek,mt7622-nor" for nor flash node's compatible strings. Reviewed-by: Matthias Brugger Signed-off-by: Guochun Mao --- .../devicetree/bindings/mtd/mtk-quadspi.txt|2 ++ 1 file c

Re: [PATCH v5 00/10] arm: dts: extend mt7623 support

2017-08-01 Thread Matthias Brugger
On 07/31/2017 09:36 AM, sean.w...@mediatek.com wrote: From: Sean Wang Change since v4: - split mt6323 nodes as the independent item which tends to integration with other MediaTek SoCs - enhanced commit log - fixed up building warning shown in make dtsb - added

Re: [PATCH v5 00/10] arm: dts: extend mt7623 support

2017-08-01 Thread Matthias Brugger
On 07/31/2017 09:36 AM, sean.w...@mediatek.com wrote: From: Sean Wang Change since v4: - split mt6323 nodes as the independent item which tends to integration with other MediaTek SoCs - enhanced commit log - fixed up building warning shown in make dtsb - added clock-frequency to CPU nodes

Re: [PATCH v2 1/3] memory: mtk-smi: add larbid handle routine

2017-07-31 Thread Matthias Brugger
information to get the register offset which controls whether enable iommu for this larb. This patch add the initialize routine for larbid. Signed-off-by: Honghui Zhang <honghui.zh...@mediatek.com> Reviewed-by: Matthias Brugger <matthias@gmail.com> --- drivers/memory/mtk-s

Re: [PATCH v2 1/3] memory: mtk-smi: add larbid handle routine

2017-07-31 Thread Matthias Brugger
offset which controls whether enable iommu for this larb. This patch add the initialize routine for larbid. Signed-off-by: Honghui Zhang Reviewed-by: Matthias Brugger --- drivers/memory/mtk-smi.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/memory/mtk-smi.c b/d

Re: [PATCH 1/3] memory: mtk-smi: add larbid init routine

2017-07-27 Thread Matthias Brugger
On 07/27/2017 04:01 AM, honghui.zh...@mediatek.com wrote: From: Honghui Zhang In the commit 3c8f4ad85c4b ("memory/mediatek: add support for mt2701"), the larb->larbid was added but not initialized. Mediatek's gen1 smi need this hardware larbid information to get

Re: [PATCH 1/3] memory: mtk-smi: add larbid init routine

2017-07-27 Thread Matthias Brugger
On 07/27/2017 04:01 AM, honghui.zh...@mediatek.com wrote: From: Honghui Zhang In the commit 3c8f4ad85c4b ("memory/mediatek: add support for mt2701"), the larb->larbid was added but not initialized. Mediatek's gen1 smi need this hardware larbid information to get the register offset which

Re: [PATCH v4 9/9] arm: dts: mt7623: add dts file for Bananapi R2 (BPI-R2) board

2017-07-27 Thread Matthias Brugger
On 05/25/2017 06:02 AM, sean.w...@mediatek.com wrote: From: Sean Wang Add support for the Bananapi R2 (BPI-R2) development board from BIPAI KEJI. Detailed hardware information for BPI-R2 which could be found on http://www.banana-pi.org/r2.html The patch currently

Re: [PATCH v4 9/9] arm: dts: mt7623: add dts file for Bananapi R2 (BPI-R2) board

2017-07-27 Thread Matthias Brugger
On 05/25/2017 06:02 AM, sean.w...@mediatek.com wrote: From: Sean Wang Add support for the Bananapi R2 (BPI-R2) development board from BIPAI KEJI. Detailed hardware information for BPI-R2 which could be found on http://www.banana-pi.org/r2.html The patch currently only adds Mediatek GMAC,

Re: [PATCH 3/3] soc: mediatek: add SCPSYS power domain driver for MediaTek MT7622 SoC

2017-07-25 Thread Matthias Brugger
On 07/21/2017 05:57 AM, sean.w...@mediatek.com wrote: From: Chen Zhong Add SCPSYS power domain driver for MT7622 SoC having four power domains which are respectively ETHSYS for Ethernet including embedded switch, WBSYS for WIFI and Bluetooth, HIF0SYS for PCI-E and

Re: [PATCH 3/3] soc: mediatek: add SCPSYS power domain driver for MediaTek MT7622 SoC

2017-07-25 Thread Matthias Brugger
On 07/21/2017 05:57 AM, sean.w...@mediatek.com wrote: From: Chen Zhong Add SCPSYS power domain driver for MT7622 SoC having four power domains which are respectively ETHSYS for Ethernet including embedded switch, WBSYS for WIFI and Bluetooth, HIF0SYS for PCI-E and SATA, and HIF1SYS for USB.

Re: [PATCH v4 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-07-21 Thread Matthias Brugger
On 07/21/2017 08:32 AM, YT Shen wrote: On Wed, 2017-07-19 at 11:26 +0200, Matthias Brugger wrote: On 07/19/2017 08:48 AM, YT Shen wrote: On Tue, 2017-07-18 at 18:29 +0200, Matthias Brugger wrote: On 06/22/2017 11:32 AM, YT Shen wrote: This adds basic chip support for Mediatek 2712

Re: [PATCH v4 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-07-21 Thread Matthias Brugger
On 07/21/2017 08:32 AM, YT Shen wrote: On Wed, 2017-07-19 at 11:26 +0200, Matthias Brugger wrote: On 07/19/2017 08:48 AM, YT Shen wrote: On Tue, 2017-07-18 at 18:29 +0200, Matthias Brugger wrote: On 06/22/2017 11:32 AM, YT Shen wrote: This adds basic chip support for Mediatek 2712

Re: [PATCH] Documentation: mtk-quadspi: update DT bindings

2017-07-21 Thread Matthias Brugger
On 07/21/2017 05:26 AM, Guochun Mao wrote: Add "mediatek,mt2712-nor" and "mediatek,mt7622-nor" for nor flash node's compatible. Signed-off-by: Guochun Mao <guochun@mediatek.com> Reviewed-by: Matthias Brugger <matthias@gmail.com> --- .../devicet

Re: [PATCH] Documentation: mtk-quadspi: update DT bindings

2017-07-21 Thread Matthias Brugger
On 07/21/2017 05:26 AM, Guochun Mao wrote: Add "mediatek,mt2712-nor" and "mediatek,mt7622-nor" for nor flash node's compatible. Signed-off-by: Guochun Mao Reviewed-by: Matthias Brugger --- .../devicetree/bindings/mtd/mtk-quadspi.txt|2 ++ 1 file c

Re: [PATCH 0/2] fixed ethernet binding violation for reset signal

2017-07-20 Thread Matthias Brugger
On 07/20/2017 05:07 AM, Sean Wang wrote: Hi, Matthias just a gentle ping on this Pushed now to v4.13-next/dts32 Thanks! Sean On Wed, 2017-06-21 at 15:49 +0800, sean.w...@mediatek.com wrote: From: Sean Wang Fixed binding violation and also updated

Re: [PATCH 0/2] fixed ethernet binding violation for reset signal

2017-07-20 Thread Matthias Brugger
On 07/20/2017 05:07 AM, Sean Wang wrote: Hi, Matthias just a gentle ping on this Pushed now to v4.13-next/dts32 Thanks! Sean On Wed, 2017-06-21 at 15:49 +0800, sean.w...@mediatek.com wrote: From: Sean Wang Fixed binding violation and also updated related binding

Re: [PATCH v5 0/2] Add Basic SoC support for MT7622

2017-07-20 Thread Matthias Brugger
On 07/20/2017 05:02 AM, Sean Wang wrote: Hi, Matthias just a gentle ping on this pushed now to v4.13-next/dts64 Thanks! Sean On Sat, 2017-06-17 at 01:06 +0800, sean.w...@mediatek.com wrote: From: Sean Wang Changes since v4: - redefine the two dummy

Re: [PATCH v5 0/2] Add Basic SoC support for MT7622

2017-07-20 Thread Matthias Brugger
On 07/20/2017 05:02 AM, Sean Wang wrote: Hi, Matthias just a gentle ping on this pushed now to v4.13-next/dts64 Thanks! Sean On Sat, 2017-06-17 at 01:06 +0800, sean.w...@mediatek.com wrote: From: Sean Wang Changes since v4: - redefine the two dummy clocks with the correct

[PATCH 2/4] ARM: mediatek: dts: Add mt6796 binding

2017-07-20 Thread Matthias Brugger
From: Matthias Brugger <mbrug...@suse.com> This patch adds the binding for the MT6797 SoC. Signed-off-by: Matthias Brugger <matthias@gmail.com> --- Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicet

[PATCH 4/4] arm64: dts: mediatek: Delete unused dummy clock for MT6797

2017-07-20 Thread Matthias Brugger
After adding the clock subsystem to the SOC, the dummy clock clk32k is not longer needed. Delete it. Signed-off-by: Matthias Brugger <matthias@gmail.com> --- arch/arm64/boot/dts/mediatek/mt6797.dtsi | 7 --- 1 file changed, 7 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/

[PATCH 1/4] ARM: mediatek: dts: Cleanup bindings documentation

2017-07-20 Thread Matthias Brugger
From: Matthias Brugger <mbrug...@suse.com> This patch cleans up the binding documentation stating explicitly the binding and it's fallback for every SoC. Signed-off-by: Matthias Brugger <matthias@gmail.com> --- Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 5 ++--- 1

[PATCH 2/4] ARM: mediatek: dts: Add mt6796 binding

2017-07-20 Thread Matthias Brugger
From: Matthias Brugger This patch adds the binding for the MT6797 SoC. Signed-off-by: Matthias Brugger --- 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

[PATCH 4/4] arm64: dts: mediatek: Delete unused dummy clock for MT6797

2017-07-20 Thread Matthias Brugger
After adding the clock subsystem to the SOC, the dummy clock clk32k is not longer needed. Delete it. Signed-off-by: Matthias Brugger --- arch/arm64/boot/dts/mediatek/mt6797.dtsi | 7 --- 1 file changed, 7 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt6797.dtsi b/arch/arm64/boot

[PATCH 1/4] ARM: mediatek: dts: Cleanup bindings documentation

2017-07-20 Thread Matthias Brugger
From: Matthias Brugger This patch cleans up the binding documentation stating explicitly the binding and it's fallback for every SoC. Signed-off-by: Matthias Brugger --- Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff

[PATCH 3/4] arm64: dts: mediatek: add watchdog to MT6796

2017-07-20 Thread Matthias Brugger
From: Matthias Brugger <mbrug...@suse.com> This patch adds the watchdog driver to the MT6796 SoC. Signed-off-by: Matthias Brugger <matthias@gmail.com> --- arch/arm64/boot/dts/mediatek/mt6797.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/med

[PATCH 3/4] arm64: dts: mediatek: add watchdog to MT6796

2017-07-20 Thread Matthias Brugger
From: Matthias Brugger This patch adds the watchdog driver to the MT6796 SoC. Signed-off-by: Matthias Brugger --- arch/arm64/boot/dts/mediatek/mt6797.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt6797.dtsi b/arch/arm64/boot/dts/mediatek/mt6797

Re: [PATCH] Documentation: mtk-quadspi: update DT bindings

2017-07-20 Thread Matthias Brugger
On 07/20/2017 10:29 AM, Guochun Mao wrote: Add "mediatek,mt2712-nor" for nor flash node's compatible. Signed-off-by: Guochun Mao --- .../devicetree/bindings/mtd/mtk-quadspi.txt|1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH] Documentation: mtk-quadspi: update DT bindings

2017-07-20 Thread Matthias Brugger
On 07/20/2017 10:29 AM, Guochun Mao wrote: Add "mediatek,mt2712-nor" for nor flash node's compatible. Signed-off-by: Guochun Mao --- .../devicetree/bindings/mtd/mtk-quadspi.txt|1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH] soc: Convert to using %pOF instead of full_name

2017-07-19 Thread Matthias Brugger
ood <o...@buserror.net> Cc: Qiang Zhao <qiang.z...@nxp.com> Cc: Matthias Brugger <matthias@gmail.com> Cc: Simon Horman <ho...@verge.net.au> Cc: Magnus Damm <magnus.d...@gmail.com> Cc: Kukjin Kim <kg...@kernel.org> Cc: Krzysztof Kozlowski <k...@kernel.org> Cc: Javi

Re: [PATCH] soc: Convert to using %pOF instead of full_name

2017-07-19 Thread Matthias Brugger
/mtk-pmic-wrap.c | 4 ++-- For Mediatek: Acked-by: Matthias Brugger

Re: [PATCH] media: Convert to using %pOF instead of full_name

2017-07-19 Thread Matthias Brugger
> Cc: Kukjin Kim <kg...@kernel.org> Cc: Krzysztof Kozlowski <k...@kernel.org> Cc: Javier Martinez Canillas <jav...@osg.samsung.com> Cc: Minghsiu Tsai <minghsiu.t...@mediatek.com> Cc: Houlong Wei <houlong....@mediatek.com> Cc: Andrew-CT Chen <andrew-ct.c...@mediatek.c

Re: [PATCH] media: Convert to using %pOF instead of full_name

2017-07-19 Thread Matthias Brugger
: Mauro Carvalho Chehab Cc: "Lad, Prabhakar" Cc: Songjun Wu Cc: Sylwester Nawrocki Cc: Kukjin Kim Cc: Krzysztof Kozlowski Cc: Javier Martinez Canillas Cc: Minghsiu Tsai Cc: Houlong Wei Cc: Andrew-CT Chen Cc: Matthias Brugger Cc: Laurent Pinchart Cc: "Niklas Söderlund

Re: [PATCH] irqchip: Convert to using %pOF instead of full_name

2017-07-19 Thread Matthias Brugger
c: Ray Jui <r...@broadcom.com> Cc: Scott Branden <sbran...@broadcom.com> Cc: bcm-kernel-feedback-l...@broadcom.com Cc: Baruch Siach <bar...@tkos.co.il> Cc: Vladimir Zapolskiy <v...@mleia.com> Cc: Sylvain Lemieux <slemieux.t...@gmail.com> Cc: Matthias Brugger <matthias...

Re: [PATCH] irqchip: Convert to using %pOF instead of full_name

2017-07-19 Thread Matthias Brugger
: Marc Zyngier Cc: Lee Jones Cc: Eric Anholt Cc: Stefan Wahren Cc: Florian Fainelli Cc: Ray Jui Cc: Scott Branden Cc: bcm-kernel-feedback-l...@broadcom.com Cc: Baruch Siach Cc: Vladimir Zapolskiy Cc: Sylvain Lemieux Cc: Matthias Brugger Cc: Maxime Coquelin Cc: Alexandre Torgue Cc: Maxime

Re: [PATCH] clk: Convert to using %pOF instead of full_name

2017-07-19 Thread Matthias Brugger
quette <mturque...@baylibre.com> Cc: Stephen Boyd <sb...@codeaurora.org> Cc: Maxime Coquelin <mcoquelin.st...@gmail.com> Cc: Alexandre Torgue <alexandre.tor...@st.com> Cc: Russell King <li...@armlinux.org.uk> Cc: Matthias Brugger <matthias@gmail.com> Cc: Geert Uytterh

Re: [PATCH] clk: Convert to using %pOF instead of full_name

2017-07-19 Thread Matthias Brugger
: Maxime Coquelin Cc: Alexandre Torgue Cc: Russell King Cc: Matthias Brugger Cc: Geert Uytterhoeven Cc: Maxime Ripard Cc: Chen-Yu Tsai Cc: "Emilio López" Cc: Peter De Schrijver Cc: Prashant Gaikwad Cc: Thierry Reding Cc: Jonathan Hunter Cc: Tero Kristo Cc: linux-...@vger.ker

Re: [PATCH v4 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-07-19 Thread Matthias Brugger
On 07/19/2017 08:48 AM, YT Shen wrote: On Tue, 2017-07-18 at 18:29 +0200, Matthias Brugger wrote: On 06/22/2017 11:32 AM, YT Shen wrote: This adds basic chip support for Mediatek 2712 [...] + + uart_clk: dummy26m { + compatible = "fixed-clock"; +

Re: [PATCH v4 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-07-19 Thread Matthias Brugger
On 07/19/2017 08:48 AM, YT Shen wrote: On Tue, 2017-07-18 at 18:29 +0200, Matthias Brugger wrote: On 06/22/2017 11:32 AM, YT Shen wrote: This adds basic chip support for Mediatek 2712 [...] + + uart_clk: dummy26m { + compatible = "fixed-clock"; +

Re: [PATCH v3 2/6] pwm: mediatek: fix pwm source clock selection

2017-07-18 Thread Matthias Brugger
On 07/06/2017 08:43 AM, Zhi Mao wrote: On Thu, 2017-07-06 at 14:16 +0800, Zhi Mao wrote: On Wed, 2017-07-05 at 13:09 +0200, Matthias Brugger wrote: On 06/30/2017 08:05 AM, Zhi Mao wrote: In original code, the pwm output frequency is not correct when set bit<3>=1 to PWMCON register.

Re: [PATCH v3 2/6] pwm: mediatek: fix pwm source clock selection

2017-07-18 Thread Matthias Brugger
On 07/06/2017 08:43 AM, Zhi Mao wrote: On Thu, 2017-07-06 at 14:16 +0800, Zhi Mao wrote: On Wed, 2017-07-05 at 13:09 +0200, Matthias Brugger wrote: On 06/30/2017 08:05 AM, Zhi Mao wrote: In original code, the pwm output frequency is not correct when set bit<3>=1 to PWMCON register.

Re: [PATCH v4 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-07-18 Thread Matthias Brugger
On 06/22/2017 11:32 AM, YT Shen wrote: This adds basic chip support for Mediatek 2712 Signed-off-by: YT Shen --- arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt2712-evb.dts | 32 ++ arch/arm64/boot/dts/mediatek/mt2712e.dtsi

Re: [PATCH v4 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile

2017-07-18 Thread Matthias Brugger
On 06/22/2017 11:32 AM, YT Shen wrote: This adds basic chip support for Mediatek 2712 Signed-off-by: YT Shen --- arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt2712-evb.dts | 32 ++ arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 172

Re: [PATCH v4 1/3] cpufreq: mediatek: Add support of cpufreq to MT2701/MT7623 SoC

2017-07-12 Thread Matthias Brugger
Hi Eddie, On 07/11/2017 04:49 AM, Eddie Huang wrote: Hi Sean, On Mon, 2017-07-10 at 22:23 +0800, sean.w...@mediatek.com wrote: From: Sean Wang MT2701/MT7623 is a 32-bit ARMv7 based quad-core (4 * Cortex-A7) with single cluster and this hardware is also compatible

Re: [PATCH v4 1/3] cpufreq: mediatek: Add support of cpufreq to MT2701/MT7623 SoC

2017-07-12 Thread Matthias Brugger
Hi Eddie, On 07/11/2017 04:49 AM, Eddie Huang wrote: Hi Sean, On Mon, 2017-07-10 at 22:23 +0800, sean.w...@mediatek.com wrote: From: Sean Wang MT2701/MT7623 is a 32-bit ARMv7 based quad-core (4 * Cortex-A7) with single cluster and this hardware is also compatible with the existing driver

Re: [PATCH v3 1/3] cpufreq: mediatek: Add support of cpufreq to MT2701/MT7623 SoC

2017-07-10 Thread Matthias Brugger
On 07/08/2017 08:30 AM, Sean Wang wrote: On Fri, 2017-07-07 at 09:30 +0200, Jean Delvare wrote: Hi Sean, On ven., 2017-07-07 at 11:56 +0800, sean.w...@mediatek.com wrote: From: Sean Wang MT2701/MT7623 is a 32-bit ARMv7 based quad-core (4 * Cortex-A7) with single

Re: [PATCH v3 1/3] cpufreq: mediatek: Add support of cpufreq to MT2701/MT7623 SoC

2017-07-10 Thread Matthias Brugger
On 07/08/2017 08:30 AM, Sean Wang wrote: On Fri, 2017-07-07 at 09:30 +0200, Jean Delvare wrote: Hi Sean, On ven., 2017-07-07 at 11:56 +0800, sean.w...@mediatek.com wrote: From: Sean Wang MT2701/MT7623 is a 32-bit ARMv7 based quad-core (4 * Cortex-A7) with single cluster and this hardware

Re: [PATCH] net: ethernet: mediatek: add NULL check on of_match_device() return value

2017-07-07 Thread Matthias Brugger
On 07/07/2017 09:11 AM, Gustavo A. R. Silva wrote: Check return value from call to of_match_device() in order to prevent a NULL pointer dereference. In case of NULL print error message and return -ENODEV Signed-off-by: Gustavo A. R. Silva <garsi...@embeddedor.com> --- Reviewed-by: Ma

Re: [PATCH] net: ethernet: mediatek: add NULL check on of_match_device() return value

2017-07-07 Thread Matthias Brugger
On 07/07/2017 09:11 AM, Gustavo A. R. Silva wrote: Check return value from call to of_match_device() in order to prevent a NULL pointer dereference. In case of NULL print error message and return -ENODEV Signed-off-by: Gustavo A. R. Silva --- Reviewed-by: Matthias Brugger drivers/net

Re: [PATCH v3 2/6] pwm: mediatek: fix pwm source clock selection

2017-07-05 Thread Matthias Brugger
On 06/30/2017 08:05 AM, Zhi Mao wrote: In original code, the pwm output frequency is not correct when set bit<3>=1 to PWMCON register. Signed-off-by: Zhi Mao --- drivers/pwm/pwm-mediatek.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v3 2/6] pwm: mediatek: fix pwm source clock selection

2017-07-05 Thread Matthias Brugger
On 06/30/2017 08:05 AM, Zhi Mao wrote: In original code, the pwm output frequency is not correct when set bit<3>=1 to PWMCON register. Signed-off-by: Zhi Mao --- drivers/pwm/pwm-mediatek.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pwm/pwm-mediatek.c

Re: [PATCH] dt-bindings: nvmem: mediatek: add support for MediaTek MT7623 and MT7622 SoC

2017-07-04 Thread Matthias Brugger
ned-off-by: Sean Wang <sean.w...@mediatek.com> Signed-off-by: Andrew-CT Chen <andrew-ct.c...@mediatek.com> --- Reviewed-by: Matthias Brugger <matthias@gmail.com> Documentation/devicetree/bindings/nvmem/mtk-efuse.txt | 5 - 1 file changed, 4 insertions(+), 1 delet

Re: [PATCH] dt-bindings: nvmem: mediatek: add support for MediaTek MT7623 and MT7622 SoC

2017-07-04 Thread Matthias Brugger
Signed-off-by: Andrew-CT Chen --- Reviewed-by: Matthias Brugger Documentation/devicetree/bindings/nvmem/mtk-efuse.txt | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/nvmem/mtk-efuse.txt b/Documentation/devicetree/bindings/nvmem/mtk-efuse

[PATCH] arm64: dts: Delete unused dummy clocks

2017-06-20 Thread Matthias Brugger
After adding the clock subsystem to the SOC, the dummy clocks clk26m and clk32k are not longer needed. Delete them. Signed-off-by: Matthias Brugger <matthias@gmail.com> --- arch/arm64/boot/dts/mediatek/mt6797.dtsi | 14 -- 1 file changed, 14 deletions(-) diff --git a/arch

[PATCH] arm64: dts: Delete unused dummy clocks

2017-06-20 Thread Matthias Brugger
After adding the clock subsystem to the SOC, the dummy clocks clk26m and clk32k are not longer needed. Delete them. Signed-off-by: Matthias Brugger --- arch/arm64/boot/dts/mediatek/mt6797.dtsi | 14 -- 1 file changed, 14 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt6797

Re: [PATCH 2/2] spi: mediatek: add spi support for mt2712 IC

2017-06-20 Thread Matthias Brugger
.data = (void *)_compat, + }, { .compatible = "mediatek,mt6589-spi", .data = (void *)_common_compat, }, Reviewed-by: Matthias Brugger <matthias@gmail.com>

Re: [PATCH 2/2] spi: mediatek: add spi support for mt2712 IC

2017-06-20 Thread Matthias Brugger
ta = (void *)_compat, + }, { .compatible = "mediatek,mt6589-spi", .data = (void *)_common_compat, }, Reviewed-by: Matthias Brugger

Re: [PATCH 1/2] spi: mediatek: Add bindings for mediatek MT2712 soc platform

2017-06-20 Thread Matthias Brugger
tforms Reviewed-by: Matthias Brugger <matthias@gmail.com>

Re: [PATCH 1/2] spi: mediatek: Add bindings for mediatek MT2712 soc platform

2017-06-20 Thread Matthias Brugger
be one of the following. - mediatek,mt2701-spi: for mt2701 platforms +- mediatek,mt2712-spi: for mt2712 platforms - mediatek,mt6589-spi: for mt6589 platforms - mediatek,mt7622-spi: for mt7622 platforms - mediatek,mt8135-spi: for mt8135 platforms Reviewed-by: Matthias

[PATCH v2] serial: Delete dead code for CIR serial ports

2017-06-16 Thread Matthias Brugger
Commit e4fda3a04275 ("serial: don't register CIR serial ports") adds a check for PORT_8250_CIR to serial8250_register_8250_port(). But the code isn't needed as the function never takes the branch when the port is CIR serial port. This patch deletes the dead code. Signed-off-by: Matthi

<    8   9   10   11   12   13   14   15   16   17   >