From patchwork Thu Oct 22 23:46:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: vishnupatekar X-Patchwork-Id: 534658 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 544DC14076E for ; Fri, 23 Oct 2015 10:46:46 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=q3uxPli5; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965861AbbJVXqg (ORCPT ); Thu, 22 Oct 2015 19:46:36 -0400 Received: from mail-pa0-f66.google.com ([209.85.220.66]:33143 "EHLO mail-pa0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965350AbbJVXqe (ORCPT ); Thu, 22 Oct 2015 19:46:34 -0400 Received: by padfb7 with SMTP id fb7so10559981pad.0; Thu, 22 Oct 2015 16:46:34 -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=QrLc+uyoX4INTFE+92zLLT26A/hzQ8VDzYdT4z3CBn0=; b=q3uxPli5JT/WjAbRKrLUYFUKl35opwPXKOvcYiA2aNWNEGmM5uRWKRbSpTE3hHfzbQ B5AuL4yaTAfC1opb81o95A/86JeVne4pU/uY9YrW1+FbuENzeR4SPnmZtIBCSb7zejzA 3lj+IsqbK8iNFgMpvL+IoD/GDR6Ur056AJCfzhqGPLweYoDu+URgTxRBuDCzv09tEJPk rOvebmowKuM9f3dR3gDrrUBp8hctwRR/JT8B3GD1x9rrOUJkKecatZJ1P9zQKfzNp/VZ 7ANmlkfO9gQNWPjCEG27YA+SB0c0oBngMMG2BRHcYibF7iL1oZf6y95M0nwWY7/nnWOG 12MA== X-Received: by 10.68.182.5 with SMTP id ea5mr1391771pbc.148.1445557594399; Thu, 22 Oct 2015 16:46:34 -0700 (PDT) Received: from localhost.localdomain ([116.88.137.3]) by smtp.gmail.com with ESMTPSA id hq8sm15742539pad.35.2015.10.22.16.46.30 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 22 Oct 2015 16:46:33 -0700 (PDT) From: Vishnu Patekar To: robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, maxime.ripard@free-electrons.com, linux@arm.linux.org.uk, emilio@elopez.com.ar, linus.walleij@linaro.org Cc: jenskuske@gmail.com, hdegoede@redhat.com, wens@csie.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, linux-gpio@vger.kernel.org, Vishnu Patekar Subject: [PATCH v2 1/3] ARM: sunxi: Introduce Allwinner for A83T support Date: Fri, 23 Oct 2015 07:46:15 +0800 Message-Id: <1445557577-27383-2-git-send-email-vishnupatekar0510@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1445557577-27383-1-git-send-email-vishnupatekar0510@gmail.com> References: <1445557577-27383-1-git-send-email-vishnupatekar0510@gmail.com> Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Allwinner A83T is octa-core cortex-a7 based SoC. It's clock control unit and prcm, pinmux are different from previous sun8i series. Its processor cores are arragned in two clusters 4 cores each, similar to A80. Signed-off-by: Vishnu Patekar Acked-by: Chen-Yu Tsai --- Documentation/devicetree/bindings/arm/sunxi.txt | 1 + arch/arm/mach-sunxi/sunxi.c | 1 + drivers/clk/sunxi/clk-sunxi.c | 6 ++++++ 3 files changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/sunxi.txt b/Documentation/devicetree/bindings/arm/sunxi.txt index bb9b0faa..7e79fcc 100644 --- a/Documentation/devicetree/bindings/arm/sunxi.txt +++ b/Documentation/devicetree/bindings/arm/sunxi.txt @@ -11,5 +11,6 @@ using one of the following compatible strings: allwinner,sun7i-a20 allwinner,sun8i-a23 allwinner,sun8i-a33 + allwinner,sun8i-a83t allwinner,sun8i-h3 allwinner,sun9i-a80 diff --git a/arch/arm/mach-sunxi/sunxi.c b/arch/arm/mach-sunxi/sunxi.c index 8583a9c..d64e92d 100644 --- a/arch/arm/mach-sunxi/sunxi.c +++ b/arch/arm/mach-sunxi/sunxi.c @@ -69,6 +69,7 @@ MACHINE_END static const char * const sun8i_board_dt_compat[] = { "allwinner,sun8i-a23", "allwinner,sun8i-a33", + "allwinner,sun8i-a83t", "allwinner,sun8i-h3", NULL, }; diff --git a/drivers/clk/sunxi/clk-sunxi.c b/drivers/clk/sunxi/clk-sunxi.c index 9c79af0c..1632201 100644 --- a/drivers/clk/sunxi/clk-sunxi.c +++ b/drivers/clk/sunxi/clk-sunxi.c @@ -1213,6 +1213,12 @@ CLK_OF_DECLARE(sun6i_a31s_clk_init, "allwinner,sun6i-a31s", sun6i_init_clocks); CLK_OF_DECLARE(sun8i_a23_clk_init, "allwinner,sun8i-a23", sun6i_init_clocks); CLK_OF_DECLARE(sun8i_a33_clk_init, "allwinner,sun8i-a33", sun6i_init_clocks); +static void __init sun8i_a83t_init_clocks(struct device_node *node) +{ + sunxi_init_clocks(NULL, 0); +} +CLK_OF_DECLARE(sun8i_a83t_clk_init, "allwinner,sun8i-a83t", sun8i_a83t_init_clocks); + static void __init sun9i_init_clocks(struct device_node *node) { sunxi_init_clocks(NULL, 0);