From patchwork Wed Nov 14 04:28:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 42 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f200.google.com (cartago.priv [10.11.12.1]) by cassiopea (Postfix) with ESMTPS id 102222E528B for ; Wed, 14 Nov 2018 05:29:02 +0100 (CET) Received: by mail-pf1-f200.google.com with SMTP id i22-v6sf11321540pfj.1 for ; Tue, 13 Nov 2018 20:29:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1542169740; cv=pass; d=google.com; s=arc-20160816; b=CbjSiDdTvrgtGEYBt2WYw75vgfg5TvVOxVzOHbGBKCJCC/BIrsX5GfYZO94oaYGzR0 heOQCxm0oNWnxmCdmUsJkNHgKzUayqAyKypxCMNSNxmyRnG/edUFF0r2I0TbuzyHmiIQ jNYVZhLIvZkLudwc8goGGKyWsVutorvdhSpnb2HmorJVontS4Txo8DZ03kdFDaTEfDqm q+P02sdXejwtVxuarwfkWl4o/oxphs2ugq2LCxdNCIxOgnf5YxeOBUJB2iaKsPzabFQS dD5BL5cv2+BVSLwcA0mLoYvtdAleZtdRWEBVHqJuD+M/5Vx6ZgAvw+AIf81QM+h9VQhD xKIQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=MypUWzP/rb2MviOvNidl9IcL4F5bL7yyZ76plr/l33I=; b=qT9iSJSYMrbgcX1vx/K8QHowWImlU9u/QGQ3q7Dhy79SlXWijctIJPdZcup7V/+AQ+ 6XbTEK9m1a6f8wfI+YIgcdWV+pTwbHsAbKaT16mgsgqfEuW6uEXxTNmPmRk6f8SHEzZE 8loecttJf+K+OPeYEX0MITbf45DnPlxH5j5ZYuSM12jirZQP3s56NyyNHLJWllAft1sq Xq/mVtKtfdKzHW7V6s9sOrFFDqvk7P/rZgJOPimEiHq3UezGc7l+JweEFAayz9Vl74ed pVPOsxRGEBH9/itcWWOa3oFOlvg0CYOOI1qEy87d2c8Z7nY/LCsXepd9LgWHzTZWzQLU ECJw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=oPYKnOyt; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=MypUWzP/rb2MviOvNidl9IcL4F5bL7yyZ76plr/l33I=; b=gtXRklaXv0WXLLIdt4MRqJSwbo/Hn+xXPsukWiafVzAbLtp+cNqrq4ctGtgGZMUX57 nR98zQ6ZnNBfUapO9yah+W16CbvebHaIxdaso3FNZrxodq8BZ5LVS6PrFTPevxFjvRrc aI1AOBZn2+g4XrGNxbdexOtgO+8WsqApMjPLU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=MypUWzP/rb2MviOvNidl9IcL4F5bL7yyZ76plr/l33I=; b=Hst7kcNM18EsV3SvZU8T4O5dxZKGcy4MViNfPD2IxwmitqUVDCptGCgS2azhfaOObA i1sJiPF3KC2OVL+Y+dhJ4cpQKk7OwsAITQbZ/n9iPNz3fpYa7T8ezRNx65Pt9UwBOGNp ij9wdX8FZ0GQs1TUATEERrf15Qeak+EVDAzmwnpCMLJtW0Yq+aQqNh6QQKqDFnfPIqtY Nr0SK+yqmkVuhA6A5Jgw8IHfFN/MZA3Rf2XrAlF9a1h+LQCD0+cHkvy/A7sD1ttL1Bk1 e1SGagwleHmoGsx7k8kFyYhMXINPfyMxXOEOmaIjKlLXrj8zse0F3jrj1JrxPqecXGiJ ifBg== X-Gm-Message-State: AGRZ1gJE8Y/LZv3GQ8HR2LU9vrxnG7DgoNYiequkMN0yIRu6kAFAqaWB IWtSYYYoG6mtcvo6l6z173ZPW7zO X-Google-Smtp-Source: AJdET5dQVdN2S3ROlz621Pmfk/S2NmfpKZCquGQIiyj3a5sTspKzuOMeG7I9PmCg5EDtFAr8JqwZjw== X-Received: by 2002:a62:4308:: with SMTP id q8-v6mr104110pfa.128.1542169740747; Tue, 13 Nov 2018 20:29:00 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:4494:: with SMTP id m20-v6ls4968937pfi.10.gmail; Tue, 13 Nov 2018 20:29:00 -0800 (PST) X-Received: by 2002:a62:37c7:: with SMTP id e190-v6mr364155pfa.145.1542169740447; Tue, 13 Nov 2018 20:29:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542169740; cv=none; d=google.com; s=arc-20160816; b=krxE8sWg2GLsNsc37szF7smJerYsbgskzle2bqMRfi9XIae5MJ4aPKvdbQTJZKZhL6 ZnhSXIDK6IE/+vEHBQHPM2Wup6NVRcagmeRzsgyXBmrNChjQpFDiqq4Y6GYiSUgCwrm8 HolzoARok2Kgh8zr+50/SrFuyKLXgyvZQDMvFNwnWWQWbfHjlU43HjG9zw/CsDdtIr1m Q+Z3Vfj+ibGNbMjGXilLipOAwNRZPURR5a2Wu1SMQ9U3acfLqp00P/rRc+8H3MC6KxZ8 yTESfZO40OHHVSrlJvFXNO2YzQ8HBe0vh5RF1xVPaL5LuOlNrGYsKWbFJ4mw6R6ugztZ cprQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=MypUWzP/rb2MviOvNidl9IcL4F5bL7yyZ76plr/l33I=; b=HODA74QxAdFqOwTZHGerRBegYkvlHFWcXPQENE30cTG0yWTQiPuqmuHws+b8p/+lCO PQnhHN7cKZOJvEFRsYrLH3fx2e5E3vspQsu2x6y1IBmidlJMZJ942PFlqHRzjdSubNnN k6398eDZy9Zd+oyxAOVc9m0nbNEE7t6rSMD9SoeazxL9Yx+qdMK+bYyhIo/rEDX9J17E 2CojLjJ45D/KszOSCuQWZ4o/f2wAIDkiq+TuIGtMMRCcXZC6MHkGKQHLCiZTyQFsVXS2 qsBTm0CLuc+NznB87LOoqT6kIpFwalUzFRZa5eqpONvpYisVr5XGc1Ab/53uDpJkF1gw IVrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=oPYKnOyt; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id a17-v6sor26848991pff.8.2018.11.13.20.29.00 for (Google Transport Security); Tue, 13 Nov 2018 20:29:00 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a62:4587:: with SMTP id n7mr406165pfi.118.1542169740155; Tue, 13 Nov 2018 20:29:00 -0800 (PST) Received: from localhost.localdomain ([115.97.190.86]) by smtp.gmail.com with ESMTPSA id d24-v6sm37131140pfe.40.2018.11.13.20.28.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Nov 2018 20:28:59 -0800 (PST) From: Jagan Teki To: Maxime Ripard , Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, dri-devel@lists.freedesktop.org, David Airlie , Rob Herring , linux-amarula@amarulasolutions.com Cc: Jagan Teki Subject: [PATCH v3 2/2] arm64: dts: allwinner: a64: Add device node for Mali-400 GPU Date: Wed, 14 Nov 2018 09:58:37 +0530 Message-Id: <20181114042837.15149-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20181114042837.15149-1-jagan@amarulasolutions.com> References: <20181114042837.15149-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=oPYKnOyt; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add support for Allwinner A64 has Mali-400MP2. All interrupt lines are mentioned in the manual so used the same. Signed-off-by: Jagan Teki --- Changes for v3: - Clean commit message Changes for v2: - Drop assigned clock properties - Separate dt-bindings as separate patch. arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index d6f269883759..d507be9879d8 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -813,6 +813,28 @@ }; }; + mali: gpu@1c40000 { + compatible = "allwinner,sun50i-a64-mali", "arm,mali-400"; + reg = <0x01c40000 0x10000>; + interrupts = , + , + , + , + , + , + ; + interrupt-names = "gp", + "gpmmu", + "pp0", + "ppmmu0", + "pp1", + "ppmmu1", + "pmu"; + clocks = <&ccu CLK_BUS_GPU>, <&ccu CLK_GPU>; + clock-names = "bus", "core"; + resets = <&ccu RST_BUS_GPU>; + }; + gic: interrupt-controller@1c81000 { compatible = "arm,gic-400"; reg = <0x01c81000 0x1000>,