From patchwork Mon Feb 10 19:24:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ezequiel Garcia X-Patchwork-Id: 3622061 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 79B63BF418 for ; Mon, 10 Feb 2014 19:31:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AC802201EC for ; Mon, 10 Feb 2014 19:31:19 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BB4FB201DE for ; Mon, 10 Feb 2014 19:31:18 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WCwZ1-0005IR-1d; Mon, 10 Feb 2014 19:30:43 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WCwU8-00029q-Rb; Mon, 10 Feb 2014 19:25:40 +0000 Received: from top.free-electrons.com ([176.31.233.9] helo=mail.free-electrons.com) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WCwTv-000278-IB for linux-arm-kernel@lists.infradead.org; Mon, 10 Feb 2014 19:25:28 +0000 Received: by mail.free-electrons.com (Postfix, from userid 106) id 35237845; Mon, 10 Feb 2014 20:25:16 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from localhost.localdomain (unknown [190.2.98.212]) by mail.free-electrons.com (Postfix) with ESMTPA id 2E2EE7D8; Mon, 10 Feb 2014 20:25:12 +0100 (CET) From: Ezequiel Garcia To: Subject: [PATCH 2/2] bus: mvebu: Add support for the Armada 38x SoCs Date: Mon, 10 Feb 2014 16:24:58 -0300 Message-Id: <1392060298-27094-3-git-send-email-ezequiel.garcia@free-electrons.com> X-Mailer: git-send-email 1.8.1.5 In-Reply-To: <1392060298-27094-1-git-send-email-ezequiel.garcia@free-electrons.com> References: <1392060298-27094-1-git-send-email-ezequiel.garcia@free-electrons.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140210_142527_787236_BAA5218B X-CRM114-Status: GOOD ( 10.79 ) X-Spam-Score: -1.8 (-) Cc: Thomas Petazzoni , Andrew Lunn , Jason Cooper , Tawfik Bayouk , Lior Amsalem , Ezequiel Garcia , Gregory Clement , Sebastian Hesselbarth X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Thomas Petazzoni The mvebu-mbus driver handles the special MBus mechanism of Marvell EBU SoCs. The two new members of the EBU family, the Armada 380 and Armada 385, are identical in terms of MBus handling, and share the same number of windows and register organization as Armada 370/XP. Therefore, this commit adds a new "marvell,armada380-mbus" compatible string, which for now uses the same data structure as the one for Armada 370 and Armada XP. The SoC-specific compatible string is added in order to allow the support of SoC-specific quirks in the future. Signed-off-by: Thomas Petazzoni Signed-off-by: Ezequiel Garcia --- Documentation/devicetree/bindings/bus/mvebu-mbus.txt | 1 + drivers/bus/mvebu-mbus.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/bus/mvebu-mbus.txt b/Documentation/devicetree/bindings/bus/mvebu-mbus.txt index ac21b16..d779921 100644 --- a/Documentation/devicetree/bindings/bus/mvebu-mbus.txt +++ b/Documentation/devicetree/bindings/bus/mvebu-mbus.txt @@ -8,6 +8,7 @@ Required properties: marvell,armadaxp-mbus marvell,armada370-mbus marvell,armada375-mbus + marvell,armada380-mbus marvell,armadaxp-mbus marvell,kirkwood-mbus marvell,dove-mbus diff --git a/drivers/bus/mvebu-mbus.c b/drivers/bus/mvebu-mbus.c index 23af1b8..74607c4 100644 --- a/drivers/bus/mvebu-mbus.c +++ b/drivers/bus/mvebu-mbus.c @@ -593,6 +593,8 @@ static const struct of_device_id of_mvebu_mbus_ids[] = { .data = &armada_370_xp_mbus_data, }, { .compatible = "marvell,armada375-mbus", .data = &armada_370_xp_mbus_data, }, + { .compatible = "marvell,armada380-mbus", + .data = &armada_370_xp_mbus_data, }, { .compatible = "marvell,armadaxp-mbus", .data = &armada_370_xp_mbus_data, }, { .compatible = "marvell,kirkwood-mbus",