From patchwork Wed Oct 1 21:29:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Beniamino Galvani X-Patchwork-Id: 5014631 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 A3439BEEA6 for ; Wed, 1 Oct 2014 21:34:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C34FD20268 for ; Wed, 1 Oct 2014 21:34:37 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (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 EACD720204 for ; Wed, 1 Oct 2014 21:34:36 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XZRV5-000094-KQ; Wed, 01 Oct 2014 21:31:55 +0000 Received: from mail-wi0-x232.google.com ([2a00:1450:400c:c05::232]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XZRUz-0008WT-B3 for linux-arm-kernel@lists.infradead.org; Wed, 01 Oct 2014 21:31:49 +0000 Received: by mail-wi0-f178.google.com with SMTP id cc10so2084027wib.11 for ; Wed, 01 Oct 2014 14:31:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=XO/7SKelOkvpn/8aIs/t/Mj96IvfnI9uDKJzkHKbJgo=; b=XTggPbfPjrlaziqjN4rToqhrIO3/20pMgac6UiXIfkSf+P1+V1Wkq1iJbnljTRcyQX c34I4BR0npYldJDfCcnrijGCBHqJ0MZXP7p2r2YTvBWtdx5syY36UMLN9V88zp+IoRAh hMm1cknMEHwi1TQusMNjsApLXcF6PYfOtsFN2JoVo9lvtGiu61AyFDHkRe96+GNZb5NC HI9tpF/mhpSb0TEJP8O3QdhrWELupkxO8VA1TkX94yZ1L6yTIMO6HePcV9KWxL53u7O4 9QiItDdq7I2WYAGt/oh5lDSlpyrWk/4rzulGO+p+hJ6ayNNq9CUonnVMQ89X6ShysoYU wE7A== X-Received: by 10.180.8.73 with SMTP id p9mr8294260wia.32.1412199087127; Wed, 01 Oct 2014 14:31:27 -0700 (PDT) Received: from sark.local (host207-98-dynamic.16-79-r.retail.telecomitalia.it. [79.16.98.207]) by mx.google.com with ESMTPSA id u7sm3136467wif.7.2014.10.01.14.31.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Oct 2014 14:31:26 -0700 (PDT) From: Beniamino Galvani To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/6] ARM: meson: add meson8 machine definition Date: Wed, 1 Oct 2014 23:29:41 +0200 Message-Id: <1412198986-26534-2-git-send-email-b.galvani@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1412198986-26534-1-git-send-email-b.galvani@gmail.com> References: <1412198986-26534-1-git-send-email-b.galvani@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141001_143149_526418_E6C89288 X-CRM114-Status: GOOD ( 11.79 ) X-Spam-Score: -0.1 (/) Cc: Mark Rutland , devicetree@vger.kernel.org, Victor Wan , Russell King , Pawel Moll , Arnd Bergmann , Ian Campbell , linux-kernel@vger.kernel.org, Beniamino Galvani , Rob Herring , Kumar Gala , Carlo Caione , Jerry Cao X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds a machine definition for Amlogic Meson8 SoCs. Signed-off-by: Beniamino Galvani --- arch/arm/mach-meson/Kconfig | 5 +++++ arch/arm/mach-meson/meson.c | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/arch/arm/mach-meson/Kconfig b/arch/arm/mach-meson/Kconfig index 2c1154e..b289e8e 100644 --- a/arch/arm/mach-meson/Kconfig +++ b/arch/arm/mach-meson/Kconfig @@ -10,4 +10,9 @@ config MACH_MESON6 default ARCH_MESON select MESON6_TIMER +config MACH_MESON8 + bool "Amlogic Meson8 SoCs support" + default ARCH_MESON + select MESON6_TIMER + endif diff --git a/arch/arm/mach-meson/meson.c b/arch/arm/mach-meson/meson.c index 5ee064f..e95d6ae 100644 --- a/arch/arm/mach-meson/meson.c +++ b/arch/arm/mach-meson/meson.c @@ -21,7 +21,15 @@ static const char * const m6_common_board_compat[] = { NULL, }; +static const char * const m8_common_board_compat[] = { + "amlogic,meson8", + NULL, +}; + DT_MACHINE_START(AML8726_MX, "Amlogic Meson6 platform") .dt_compat = m6_common_board_compat, MACHINE_END +DT_MACHINE_START(MESON8, "Amlogic Meson8 platform") + .dt_compat = m8_common_board_compat, +MACHINE_END