Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Florian Fainelli <florian@openwrt.org>
To: Gabor Juhos <juhosg@openwrt.org>
Cc: Ralf Baechle <ralf@linux-mips.org>,
	linux-mips@linux-mips.org, Imre Kaloz <kaloz@openwrt.org>,
	"Luis R. Rodriguez" <lrodriguez@atheros.com>,
	Cliff Holden <Cliff.Holden@atheros.com>,
	Kathy Giori <Kathy.Giori@atheros.com>
Subject: Re: [PATCH v4 01/16] MIPS: add initial support for the Atheros AR71XX/AR724X/AR931X SoCs
Date: Sun, 2 Jan 2011 21:43:13 +0100	[thread overview]
Message-ID: <201101022143.13712.florian@openwrt.org> (raw)
In-Reply-To: <1293994589-6794-2-git-send-email-juhosg@openwrt.org>

Hello,

On Sunday 02 January 2011 19:56:14 Gabor Juhos wrote:
> This patch adds initial support for various Atheros SoCs based on the
> MIPS 24Kc core. The following models are supported at the moment:
> 
>   - AR7130
>   - AR7141
>   - AR7161
>   - AR9130
>   - AR9132
>   - AR7240
>   - AR7241
>   - AR7242
> 
> The current patch contains minimal support only, but the resulting
> kernel can boot into user-space with using of an initramfs image on
> various boards which are using these SoCs. Support for more built-in
> devices and individual boards will be implemented in further patches.
> 
> Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
> Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
> ---
> Changes since RFC:
>     - the ATH79_DEV_UART Kconfig option is removed, and the URT platform
>       code has been moved into dev-common[ch]
> 
> Changes since v1:
>     - ath79_device_{start,stop} has been renamed to
> ath79_device_reset_{set,clear} to to reflect the purpose of these
> functions better
>     - some definitions has been moved from 'arch/mips/ath79/common.h' to
>       'arch/mips/include/asm/mach-ath79/ath79.h' to make them available for
>       future drivers
>     - rebased against 2.6.37-rc7
> 
> Changes since v2:
>     - don't use __init for function declarations
> 
> Changes since v3:
>     - rebase against 2.6.37-rc8
[snip]

> +
> +static DEFINE_SPINLOCK(ath79_device_reset_lock);
> +
> +u32 ath79_cpu_freq;
> +EXPORT_SYMBOL_GPL(ath79_cpu_freq);
> +
> +u32 ath79_ahb_freq;
> +EXPORT_SYMBOL_GPL(ath79_ahb_freq);
> +
> +u32 ath79_ddr_freq;
> +EXPORT_SYMBOL_GPL(ath79_ddr_freq);

Why not use the Clock API with fixed rates just like how it is done for AR7?

> +
> +enum ath79_soc_type ath79_soc;
> +
> +void __iomem *ath79_pll_base;
> +void __iomem *ath79_reset_base;
> +EXPORT_SYMBOL_GPL(ath79_reset_base);
> +void __iomem *ath79_ddr_base;
> +

[snip]
--
Florian

  reply	other threads:[~2011-01-02 20:43 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-02 18:56 [PATCH v4 00/16] MIPS: initial support for the Atheros AR71XX/AR724X/AR913X SoCs Gabor Juhos
2011-01-02 18:56 ` [PATCH v4 01/16] MIPS: add initial support for the Atheros AR71XX/AR724X/AR931X SoCs Gabor Juhos
2011-01-02 20:43   ` Florian Fainelli [this message]
2011-01-03 19:35     ` Gabor Juhos
2011-01-02 18:56 ` [PATCH v4 02/16] MIPS: ath79: add GPIOLIB support Gabor Juhos
2011-01-02 18:56 ` [PATCH v4 03/16] MIPS: ath79: utilize the MIPS multi-machine support Gabor Juhos
2011-01-02 18:56 ` [PATCH v4 04/16] MIPS: ath79: add initial support for the Atheros PB44 reference board Gabor Juhos
2011-01-02 18:56 ` [PATCH v4 05/16] MIPS: ath79: add common GPIO LEDs device Gabor Juhos
2011-01-02 18:56 ` [PATCH v4 06/16] watchdog: add driver for the Atheros AR71XX/AR724X/AR913X SoCs Gabor Juhos
2011-01-02 18:56 ` [PATCH v4 07/16] MIPS: ath79: add common watchdog device Gabor Juhos
2011-01-02 18:56 ` [PATCH v4 08/16] MIPS: ath79: add common GPIO buttons device Gabor Juhos
2011-01-02 18:56 ` [PATCH v4 09/16] spi: add SPI controller driver for the Atheros AR71XX/AR724X/AR913X SoCs Gabor Juhos
2011-01-03 17:02   ` Grant Likely
2011-01-04 12:56     ` Gabor Juhos
2011-01-02 18:56 ` [PATCH v4 10/16] MIPS: ath79: add common SPI controller device Gabor Juhos
2011-01-02 18:56 ` [PATCH v4 11/16] USB: ehci: add workaround for Synopsys HC bug Gabor Juhos
2011-01-02 18:56 ` [PATCH v4 12/16] USB: ehci: add bus glue for the Atheros AR71XX/AR724X/AR913X SoCs Gabor Juhos
2011-01-02 18:56 ` [PATCH v4 13/16] USB: ohci: add bus glue for the Atheros AR71XX/AR7240 SoCs Gabor Juhos
2011-01-02 18:56 ` [PATCH v4 14/16] MIPS: ath79: add common USB Host Controller device Gabor Juhos
2011-01-02 18:56 ` [PATCH v4 15/16] MIPS: ath79: add initial support for the Atheros AP81 reference board Gabor Juhos
2011-01-02 18:56 ` [PATCH v4 16/16] MIPS: ath79: add common WMAC device for AR913X based boards Gabor Juhos

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=201101022143.13712.florian@openwrt.org \
    --to=florian@openwrt.org \
    --cc=Cliff.Holden@atheros.com \
    --cc=Kathy.Giori@atheros.com \
    --cc=juhosg@openwrt.org \
    --cc=kaloz@openwrt.org \
    --cc=linux-mips@linux-mips.org \
    --cc=lrodriguez@atheros.com \
    --cc=ralf@linux-mips.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