From patchwork Mon Nov 7 08:30:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mirza Krak X-Patchwork-Id: 9414447 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 393FC60512 for ; Mon, 7 Nov 2016 08:31:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2721C289F7 for ; Mon, 7 Nov 2016 08:31:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1BC0F28BF7; Mon, 7 Nov 2016 08:31:19 +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.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, 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 B8E81289F7 for ; Mon, 7 Nov 2016 08:31:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752071AbcKGIaV (ORCPT ); Mon, 7 Nov 2016 03:30:21 -0500 Received: from mail-lf0-f67.google.com ([209.85.215.67]:33623 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751537AbcKGIaT (ORCPT ); Mon, 7 Nov 2016 03:30:19 -0500 Received: by mail-lf0-f67.google.com with SMTP id 98so5365700lfs.0; Mon, 07 Nov 2016 00:30:17 -0800 (PST) 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=rwcv+MWDz2r6m+6sG/2xJy3mPJ+8yRF+Gwhm9sx0PUQ=; b=D8Mk/mu9O4p3/MICwwPAMqJKQwg76J2vAj1VVV7yQyBhN6xpvi0fylkVGteZTXTr5a 59q25CUdQYsGUHv5YfMd5JaLgvdRDGHQ6w/W71pCSzU56UsDBwZSE/qSxaE4zQsvjjZq Pma5r6BxvffwHLpQhXSvKE1on5U8iJzgyG7ZVLgKqLPkash1H8uUy8qOqRWhBtIT5UVl OCjnDA0C0Zmcyw4vJM0ZzWMNmctbBAv0UGy2VwU2DzBLp4d82kQU7syUEXV+Y2UnYQ4K dtaagnBmEb5KgEWAaRP2F9PBZ6NXAjNTEZqszISPdvOwOdoNI8n0VkBpG0AtuAmvxCja bt1w== 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=rwcv+MWDz2r6m+6sG/2xJy3mPJ+8yRF+Gwhm9sx0PUQ=; b=Ds+O2nBj5adEdjXNKO/8ijmlllNSBiezdZ3TW+dX7gG8fdLMnEu05fv7AvWCssU8NT In8i8Dt1tpbZ5AfEj+6fstUO01fhXDqXOKxBTuLeOBTdfAUQjFi1LQSznRGLncKPwgMa Hy+XDu7ep3EoL5PLpH6ojQuwW0TCRkawAWo1lghgj1K58N4wvoP1G8WTL5rE+08rKvre WfQtuIhihWwEZyjVrXqDLuCDLhBhH73Ew5xPgDNTIVogw9fZDfCrJNtYyaVtDG9PL7V/ vmnGe1kj5aFZ0USi/6VRlf8m3qW3TYCwJ7sLeaGOntkMOU0q0pn5SpKDyv/1dCkh7D7H 5LjQ== X-Gm-Message-State: ABUngveXhwKn3l3rn/238F6MWvz7d3MEt63XRf/P/oQ3Cq5MLLsyYedZNkL8ryDXYdhM2w== X-Received: by 10.25.89.139 with SMTP id n133mr2379359lfb.158.1478507416750; Mon, 07 Nov 2016 00:30:16 -0800 (PST) Received: from mirza-hm.lan ([80.252.212.150]) by smtp.gmail.com with ESMTPSA id e15sm4928084lfg.32.2016.11.07.00.30.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 07 Nov 2016 00:30:16 -0800 (PST) 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 V4 5/6] ARM: tegra: Add Tegra20 GMI support Date: Mon, 7 Nov 2016 09:30:04 +0100 Message-Id: <1478507405-13204-6-git-send-email-mirza.krak@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1478507405-13204-1-git-send-email-mirza.krak@gmail.com> References: <1478507405-13204-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. Changes in v4: - removed extra newline and a initial space in resets property. arch/arm/boot/dts/tegra20.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) -- 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..e880750 100644 --- a/arch/arm/boot/dts/tegra20.dtsi +++ b/arch/arm/boot/dts/tegra20.dtsi @@ -376,6 +376,19 @@ 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>;