linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Vitaly Bordug <vitb@kernel.crashing.org>
To: hs@denx.de
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [Patch] 8xx: MGSUVD support
Date: Sun, 9 Mar 2008 19:59:14 +0300	[thread overview]
Message-ID: <20080309195914.69d51e68@kernel.crashing.org> (raw)
In-Reply-To: <47D3B44D.8070909@denx.de>

Heiko,

On Sun, 09 Mar 2008 10:56:29 +0100
Heiko Schocher wrote:

> Hello,
> 
> the following patch adds support for the MPC852 based mgsuvd board
> from keymile.
Looks good overall. Please add supported/working/not working etc SoC devices state along with the patch 
description. Also a few really small comments below...

> 
> Signed-off-by: Heiko Schocher <hs@denx.de>
> ---
>  arch/powerpc/boot/dts/mgsuvd.dts      |  158 +++++++
>  arch/powerpc/configs/mgsuvd_defconfig |  827
> +++++++++++++++++++++++++++++++++
> arch/powerpc/platforms/8xx/Kconfig    |    7 +
> arch/powerpc/platforms/8xx/Makefile   |    1 +
> arch/powerpc/platforms/8xx/mgsuvd.c   |  138 ++++++ 5 files changed,
> 1131 insertions(+), 0 deletions(-) create mode 100644
> arch/powerpc/boot/dts/mgsuvd.dts create mode 100644
> arch/powerpc/configs/mgsuvd_defconfig create mode 100644
> arch/powerpc/platforms/8xx/mgsuvd.c
> 
> diff --git a/arch/powerpc/boot/dts/mgsuvd.dts
> b/arch/powerpc/boot/dts/mgsuvd.dts new file mode 100644
> index 0000000..629cb6d
> --- /dev/null
> +++ b/arch/powerpc/boot/dts/mgsuvd.dts
> @@ -0,0 +1,158 @@
> +/*
> + * MGSUVD Device Tree Source
> + *
> + * Copyright 2008 DENX Software Engineering GmbH
> + * Heiko Schocher <hs@denx.de>
> + *
> + * This program is free software; you can redistribute  it and/or
> modify it
> + * under  the terms of  the GNU General  Public License as published
> by the
> + * Free Software Foundation;  either version 2 of the  License, or
> (at your
> + * option) any later version.
> + */
> +
> +
> +/ {
> +	model = "MGSUVD";
> +	compatible = "keymile,mgsuvd";
> +	#address-cells = <1>;
> +	#size-cells = <1>;
> +
> +	cpus {
> +		#address-cells = <1>;
> +		#size-cells = <0>;
> +
> +		PowerPC,866@0 {
But it's mpc852, isn't it?

> +			device_type = "cpu";
> +			reg = <0>;
> +			d-cache-line-size = <d#16>;
> +			i-cache-line-size = <d#16>;
> +			d-cache-size = <d#8192>;
> +			i-cache-size = <d#8192>;
> +			timebase-frequency = <0>;  /* Filled in by
> u-boot */
> +			bus-frequency = <0>;  /* Filled in by u-boot
> */
> +			clock-frequency = <0>; /* Filled in by
> u-boot */
> +			interrupts = <f 2>;	// decrementer
> interrupt
I would like all the comments to be consistent C style (because that's it for the most other dts'es).

[....]
-- 
Sincerely, Vitaly

  reply	other threads:[~2008-03-09 16:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-09  9:56 [Patch] 8xx: MGSUVD support Heiko Schocher
2008-03-09 16:59 ` Vitaly Bordug [this message]
2008-03-10  6:33   ` Heiko Schocher
2008-03-17 22:38   ` Scott Wood
2008-03-18  0:27     ` Vitaly Bordug
2008-03-10  3:32 ` Stephen Rothwell
2008-03-10  6:34   ` Heiko Schocher
2008-03-10  6:35     ` Stephen Rothwell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080309195914.69d51e68@kernel.crashing.org \
    --to=vitb@kernel.crashing.org \
    --cc=hs@denx.de \
    --cc=linuxppc-dev@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).