public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH v2 7/7] arm: mediatek: Add earlyprintk support for mt8127 & mt8135
       [not found] ` <1410963854-17154-8-git-send-email-srv_yingjoe.chen@mediatek.com>
@ 2014-09-18 13:01   ` Matthias Brugger
  0 siblings, 0 replies; 2+ messages in thread
From: Matthias Brugger @ 2014-09-18 13:01 UTC (permalink / raw)
  To: Joe.C, Rob Herring, arm
  Cc: linux-arm-kernel, srv_heupstream, yingjoe.chen, yingjoe.chen,
	hc.yen, eddie.huang, nathan.chung, yh.chen, Pawel Moll,
	Mark Rutland, Ian Campbell, Kumar Gala, Russell King,
	Linus Walleij, Arnd Bergmann, Anders Berg, devicetree,
	linux-kernel



On 17/09/14 16:24, Joe.C wrote:
> From: "Joe.C" <yingjoe.chen@mediatek.com>
> 
> Enable low-level debug for Mediatek mt8127 & mt8135 SoC.
> 
> Signed-off-by: Joe.C <yingjoe.chen@mediatek.com>
> ---
>  arch/arm/Kconfig.debug | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
> 
> diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
> index cfdd1c0..3888d17 100644
> --- a/arch/arm/Kconfig.debug
> +++ b/arch/arm/Kconfig.debug
> @@ -842,6 +842,22 @@ choice
>  		  Say Y here if you want kernel low-level debugging support
>  		  for Mediatek mt6589 based platforms on UART0.
>  
> +	config DEBUG_MT8127_UART0
> +		bool "Mediatek mt8127 UART0"
> +		depends on ARCH_MEDIATEK
> +		select DEBUG_UART_8250
> +		help
> +		  Say Y here if you want kernel low-level debugging support
> +		  for Mediatek mt8127 based platforms on UART0.
> +
> +	config DEBUG_MT8135_UART3
> +		bool "Mediatek mt8135 UART3"
> +		depends on ARCH_MEDIATEK
> +		select DEBUG_UART_8250
> +		help
> +		  Say Y here if you want kernel low-level debugging support
> +		  for Mediatek mt8135 based platforms on UART3.
> +
>  	config DEBUG_VEXPRESS_UART0_DETECT
>  		bool "Autodetect UART0 on Versatile Express Cortex-A core tiles"
>  		depends on ARCH_VEXPRESS && CPU_CP15_MMU
> @@ -1084,6 +1100,8 @@ config DEBUG_UART_PHYS
>  	default 0x101f1000 if ARCH_VERSATILE
>  	default 0x101fb000 if DEBUG_NOMADIK_UART
>  	default 0x11006000 if DEBUG_MT6589_UART0
> +	default 0x11002000 if DEBUG_MT8127_UART0
> +	default 0x11009000 if DEBUG_MT8135_UART3

These lines are ordered by the address.

>  	default 0x16000000 if ARCH_INTEGRATOR
>  	default 0x18000300 if DEBUG_BCM_5301X
>  	default 0x1c090000 if DEBUG_VEXPRESS_UART0_RS1
> @@ -1147,6 +1165,8 @@ config DEBUG_UART_VIRT
>  	default 0xf0201000 if DEBUG_BCM2835
>  	default 0xf1000300 if DEBUG_BCM_5301X
>  	default 0xf1006000 if DEBUG_MT6589_UART0
> +	default 0xf1002000 if DEBUG_MT8127_UART0
> +	default 0xf1009000 if DEBUG_MT8135_UART3

Same here.
Apart from that the patches look fine to me.

Cheers,
Matthias

>  	default 0xf11f1000 if ARCH_VERSATILE
>  	default 0xf1600000 if ARCH_INTEGRATOR
>  	default 0xf1c28000 if DEBUG_SUNXI_UART0
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v2 5/7] dt-bindings: add more chips in documentation for Mediatek SoC
       [not found] ` <1410963854-17154-6-git-send-email-srv_yingjoe.chen@mediatek.com>
@ 2014-09-18 13:09   ` Matthias Brugger
  0 siblings, 0 replies; 2+ messages in thread
From: Matthias Brugger @ 2014-09-18 13:09 UTC (permalink / raw)
  To: Joe.C, Rob Herring, arm
  Cc: linux-arm-kernel, srv_heupstream, yingjoe.chen, yingjoe.chen,
	hc.yen, eddie.huang, nathan.chung, yh.chen, Pawel Moll,
	Mark Rutland, Ian Campbell, Kumar Gala, Russell King,
	Linus Walleij, Arnd Bergmann, Anders Berg, devicetree,
	linux-kernel

Sorry I just saw some more issues:

On 17/09/14 16:24, Joe.C wrote:
> From: "Joe.C" <yingjoe.chen@mediatek.com>
> 
> Add MT8127 & MT8135 from Mediatek.
> 
> Signed-off-by: Joe.C <yingjoe.chen@mediatek.com>
> ---
>  Documentation/devicetree/bindings/arm/mediatek.txt | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/arm/mediatek.txt b/Documentation/devicetree/bindings/arm/mediatek.txt
> index fa25226..40a9745 100644
> --- a/Documentation/devicetree/bindings/arm/mediatek.txt
> +++ b/Documentation/devicetree/bindings/arm/mediatek.txt
> @@ -1,10 +1,13 @@
> -Mediatek MT6589 Platforms Device Tree Bindings
> +Mediatek Platforms Device Tree Bindings
>  
> -Boards with a SoC of the Mediatek MT6589 shall have the following property:
> +Boards with a SoC of the Mediatek shall have the following property:
>  
>  Required root node property:
>  
> -compatible: must contain "mediatek,mt6589"
> +compatible: Must contain one of
> +   "mediatek,mt6589"
> +   "mediatek,mt8127"
> +   "mediatek,mt8135"
>  
>  
>  Supported boards:

Please document the supported boards and add a compatible string in the
dts files for moose and evbp1 boards.

Thanks,
Matthias

> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-18 13:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1410963854-17154-1-git-send-email-srv_yingjoe.chen@mediatek.com>
     [not found] ` <1410963854-17154-8-git-send-email-srv_yingjoe.chen@mediatek.com>
2014-09-18 13:01   ` [PATCH v2 7/7] arm: mediatek: Add earlyprintk support for mt8127 & mt8135 Matthias Brugger
     [not found] ` <1410963854-17154-6-git-send-email-srv_yingjoe.chen@mediatek.com>
2014-09-18 13:09   ` [PATCH v2 5/7] dt-bindings: add more chips in documentation for Mediatek SoC Matthias Brugger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox