From patchwork Mon Feb 10 19:24:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ezequiel Garcia X-Patchwork-Id: 3622071 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B57429F2D6 for ; Mon, 10 Feb 2014 19:32:04 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E5449200E7 for ; Mon, 10 Feb 2014 19:32:03 +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 E6A52201DD for ; Mon, 10 Feb 2014 19:32:02 +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 1WCwZA-0005Q6-CE; Mon, 10 Feb 2014 19:30:52 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WCwUH-0002Ak-Du; Mon, 10 Feb 2014 19:25:49 +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-00026R-I9 for linux-arm-kernel@lists.infradead.org; Mon, 10 Feb 2014 19:25:29 +0000 Received: by mail.free-electrons.com (Postfix, from userid 106) id B3FEA819; Mon, 10 Feb 2014 20:25:12 +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 9CADD7D8; Mon, 10 Feb 2014 20:25:09 +0100 (CET) From: Ezequiel Garcia To: Subject: [PATCH 1/2] bus: mvebu-mbus: Add support for the Armada 375 SoCs Date: Mon, 10 Feb 2014 16:24:57 -0300 Message-Id: <1392060298-27094-2-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_770168_2026F9C2 X-CRM114-Status: GOOD ( 11.46 ) 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: Gregory CLEMENT The mvebu-mbus driver handles the special MBus mechanism of Marvell EBU SoCs. The new members of the EBU family, the Armada 375, is 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,armada375-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: Gregory CLEMENT 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 7586fb6..ac21b16 100644 --- a/Documentation/devicetree/bindings/bus/mvebu-mbus.txt +++ b/Documentation/devicetree/bindings/bus/mvebu-mbus.txt @@ -7,6 +7,7 @@ Required properties: marvell,armada370-mbus marvell,armadaxp-mbus marvell,armada370-mbus + marvell,armada375-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 725c461..23af1b8 100644 --- a/drivers/bus/mvebu-mbus.c +++ b/drivers/bus/mvebu-mbus.c @@ -591,6 +591,8 @@ static const struct mvebu_mbus_soc_data mv78xx0_mbus_data = { static const struct of_device_id of_mvebu_mbus_ids[] = { { .compatible = "marvell,armada370-mbus", .data = &armada_370_xp_mbus_data, }, + { .compatible = "marvell,armada375-mbus", + .data = &armada_370_xp_mbus_data, }, { .compatible = "marvell,armadaxp-mbus", .data = &armada_370_xp_mbus_data, }, { .compatible = "marvell,kirkwood-mbus",