From patchwork Mon Feb 4 21:37:17 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Cooper X-Patchwork-Id: 218075 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:4978:20e::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 6574F2C02EE for ; Tue, 5 Feb 2013 08:40:17 +1100 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1U2TjA-0000A4-5t; Mon, 04 Feb 2013 21:37:24 +0000 Received: from mho-04-ewr.mailhop.org ([204.13.248.74] helo=mho-02-ewr.mailhop.org) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1U2Tj6-00009g-Hc for linux-arm-kernel@lists.infradead.org; Mon, 04 Feb 2013 21:37:21 +0000 Received: from pool-72-84-113-162.nrflva.fios.verizon.net ([72.84.113.162] helo=titan) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1U2Tj5-00053J-HM; Mon, 04 Feb 2013 21:37:19 +0000 Received: from localhost.localdomain (triton.lakedaemon.net [10.16.5.78]) by titan (Postfix) with ESMTP id E5A473E9E07; Mon, 4 Feb 2013 16:37:17 -0500 (EST) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 72.84.113.162 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX18CNq++fP0MnX8LkpQx6Mcq1I+tbmBBPbk= Content-Disposition: inline MIME-Version: 1.0 X-Mailer: MIME::Lite 3.029 (F2.78; T1.35; A2.11; B3.08; Q3.08) Date: Mon, 4 Feb 2013 21:37:17 +0000 From: Jason Cooper To: Arnd Bergmann , Olof Johansson Subject: [GIT PULL] ARM: mvebu fixes for v3.8-rc6 (round 2) Message-Id: <1360013837.bfC5F0.15090@triton> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130204_163720_619811_197315B4 X-CRM114-Status: GOOD ( 10.48 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [204.13.248.74 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Linux ARM Kernel X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org The following changes since commit de27686b77f1c5c5dddf06d48fd322c52f098d51: arm: mvebu: i2c come back in defconfig are available in the git repository at: git://git.infradead.org/users/jcooper/linux.git tags/mvebu_fixes_for_v3.8-rc6-round2 for you to fetch changes up to b3fa2a0a2e3ac23415efec7ae848efd918b6b444: rtc: rtc-mv: Add support for clk to avoid lockups ---------------------------------------------------------------- mvebu fixes for v3.8-rc6 (round 2) This series of four patches started with Simon Baatz reporting lost MAC addresses when compiling mv643xx_eth as a module. Accompanying that, he was getting hard lockups on boot when most other drivers were compiled as modules. All of this boiled down to gated clocks. mv643xx_eth looses it's mac address after it's clock gets gated. The patch included in this series prevents the ge0 and ge1 clocks from being gated when doing legacy platform init of the driver. There is another patch to accompany the DT conversion of the driver which will allow reading the mac address from the devicetree. This patch is not included here because the bindings are being added for v3.9. The hard lockups at boot were the result of many SoC IPs using the runit gate clock. Several drivers (gpio, rtc) were not claiming the clock, and of_serial wouldn't claim the clock if clock-frequency was specified in the DT. clock-frequency was only necessary before we added proper clock support, it is now removed from all kirkwood dts files. Last, proper clock support is added to gpio-mvebu and rtc-mv. With these four fixes all drivers that can be compiled as modules can be without breaking bootup. ---------------------------------------------------------------- Andrew Lunn (2): gpio: mvebu: Add clk support to prevent lockup rtc: rtc-mv: Add support for clk to avoid lockups Jason Cooper (1): ARM: kirkwood: of_serial: fix clock gating by removing clock-frequency Sebastian Hesselbarth (1): ARM: kirkwood: fix to retain gbe MAC addresses for DT kernels arch/arm/boot/dts/kirkwood-dns320.dts | 2 -- arch/arm/boot/dts/kirkwood-dns325.dts | 1 - arch/arm/boot/dts/kirkwood-dockstar.dts | 1 - arch/arm/boot/dts/kirkwood-dreamplug.dts | 1 - arch/arm/boot/dts/kirkwood-goflexnet.dts | 1 - arch/arm/boot/dts/kirkwood-ib62x0.dts | 1 - arch/arm/boot/dts/kirkwood-iconnect.dts | 1 - arch/arm/boot/dts/kirkwood-iomega_ix2_200.dts | 1 - arch/arm/boot/dts/kirkwood-km_kirkwood.dts | 1 - arch/arm/boot/dts/kirkwood-lschlv2.dts | 1 - arch/arm/boot/dts/kirkwood-lsxhl.dts | 1 - arch/arm/boot/dts/kirkwood-mplcec4.dts | 1 - arch/arm/boot/dts/kirkwood-nsa310.dts | 1 - arch/arm/boot/dts/kirkwood-openblocks_a6.dts | 2 -- arch/arm/boot/dts/kirkwood-topkick.dts | 1 - arch/arm/boot/dts/kirkwood.dtsi | 5 ++-- arch/arm/mach-kirkwood/board-dt.c | 24 ++++++++++++------- drivers/gpio/gpio-mvebu.c | 7 ++++++ drivers/rtc/rtc-mv.c | 28 ++++++++++++++++++---- 19 files changed, 49 insertions(+), 32 deletions(-)