From patchwork Thu Oct 27 14:01:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mirza Krak X-Patchwork-Id: 9399441 X-Patchwork-Delegate: sboyd@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6F69660233 for ; Thu, 27 Oct 2016 14:07:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 51F212A31C for ; Thu, 27 Oct 2016 14:07:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 45B732A31B; Thu, 27 Oct 2016 14:07:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 489112A2F4 for ; Thu, 27 Oct 2016 14:07:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S942370AbcJ0OEz (ORCPT ); Thu, 27 Oct 2016 10:04:55 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:33554 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755555AbcJ0OB0 (ORCPT ); Thu, 27 Oct 2016 10:01:26 -0400 Received: by mail-lf0-f65.google.com with SMTP id n3so2022681lfn.0; Thu, 27 Oct 2016 07:01:25 -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=LFKKD59+7tsrRhAwc/hkbP4jhquKvehBRib/lwuZSfU=; b=AdMZ16chfCXNUaVtZ2vAgqwrFepNoL7HsqPXiUxit0nX2CUoPdri3lKYvtnLcoNW0R AFl2fJOdm9ml5I5zkei4gSipVKQu32Z0pz85bm/OjvOtZeBFEEEhj10ycBO811WLcYQ/ aSkAcbgZGYDBXq2cVI0uA9TdfQB7BKBpZmY3ZqU37Sb+NmerXffG4X3NED0thGbx+mXx isvJInZHDCIGym/l/wU+dQ2CcxoeqCHx+1dMUBML1TUPJtCNfZSjBU9oXpdZKnZXqZFr BMo0EpWlxF46o/gyqA/TiFYhkEBlYwGWwTCDoYJEqvIvjAghSQ8+MY1ufvM7R2C2lsa8 XSSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=LFKKD59+7tsrRhAwc/hkbP4jhquKvehBRib/lwuZSfU=; b=VBvIsCZxvJyQojXwAU982qbgUlgLkqVqvLcmH/0i3XnzywpCkYj+lzuN/1equzrQNm 27tXsr+GjMrgGQdZq0Q/o2UjbXP5KESB2aF70D6E6VHUMi+08WfoBCStSH9Mmi2VTPNx zaIFGTNyL8l2W62Zzp7Jotk1IzK75FiF8d/C8hVrVpJiRWicFEmK8pWZ2cX0Y9FneUav cUY97gfBqhrkEuLYI2050hrL3+d/4UMtXAUzCbsAJClJ0zBVCxyHSkgRT009otUDI1dx lZU5xV1B0ZwAjox5oeBDE4WFHQaubDWEeICPnI8nYp3tNuLYYj4UMU97z7+80uirZ8ck hFgw== X-Gm-Message-State: ABUngvembt+tMXKjeCxGtUwhuDsfL+pms1s8xzN8viX5Ele3mmLs25q194vgT2zj7re4zg== X-Received: by 10.25.196.9 with SMTP id u9mr5560636lff.32.1477576884688; Thu, 27 Oct 2016 07:01:24 -0700 (PDT) Received: from mirza-hm.lan ([80.252.212.150]) by smtp.gmail.com with ESMTPSA id 187sm1302752ljj.4.2016.10.27.07.01.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 27 Oct 2016 07:01:24 -0700 (PDT) From: Mirza Krak X-Google-Original-From: Mirza Krak < mirza.krak@gmail.com > To: swarren@wwwdotorg.org, thierry.reding@gmail.com, jonathanh@nvidia.com Cc: gnurou@gmail.com, linux@armlinux.org.uk, pdeschrijver@nvidia.com, pgaikwad@nvidia.com, mturquette@baylibre.com, sboyd@codeaurora.org, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, Mirza Krak Subject: [PATCH V3 5/6] ARM: tegra: Add Tegra20 GMI support Date: Thu, 27 Oct 2016 16:01:11 +0200 Message-Id: <1477576872-2665-6-git-send-email-mirza.krak@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1477576872-2665-1-git-send-email-mirza.krak@gmail.com> References: <1477576872-2665-1-git-send-email-mirza.krak@gmail.com> Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Mirza Krak Add a device node for the GMI controller found on Tegra20. Signed-off-by: Mirza Krak Tested-by: Marcel Ziswiler Tested-on: Colibri T20/T30 on EvalBoard V3.x and GMI-Memory Board Acked-by: Jon Hunter --- Changes in v2: - added address-cells, size-cells and ranges properties Changes in v3: - fixed range address which is not the same as Tegra30. arch/arm/boot/dts/tegra20.dtsi | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-clk" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi index 2207c08..b22cddb 100644 --- a/arch/arm/boot/dts/tegra20.dtsi +++ b/arch/arm/boot/dts/tegra20.dtsi @@ -1,4 +1,4 @@ -#include +include #include #include #include @@ -376,6 +376,20 @@ status = "disabled"; }; + + gmi@70009000 { + compatible = "nvidia,tegra20-gmi"; + reg = <0x70009000 0x1000>; + #address-cells = <2>; + #size-cells = <1>; + ranges = <0 0 0xd0000000 0xfffffff>; + clocks = <&tegra_car TEGRA20_CLK_NOR>; + clock-names = "gmi"; + resets = < &tegra_car 42>; + reset-names = "gmi"; + status = "disabled"; + }; + pwm: pwm@7000a000 { compatible = "nvidia,tegra20-pwm"; reg = <0x7000a000 0x100>;