From patchwork Fri Feb 10 10:04:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 9566379 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 6DEB560216 for ; Fri, 10 Feb 2017 10:06:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5A2AD28540 for ; Fri, 10 Feb 2017 10:06:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4E6B62855E; Fri, 10 Feb 2017 10:06:14 +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_SIGNED, 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 CBEA628540 for ; Fri, 10 Feb 2017 10:06:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752084AbdBJKF7 (ORCPT ); Fri, 10 Feb 2017 05:05:59 -0500 Received: from mail-wr0-f179.google.com ([209.85.128.179]:34885 "EHLO mail-wr0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751827AbdBJKF4 (ORCPT ); Fri, 10 Feb 2017 05:05:56 -0500 Received: by mail-wr0-f179.google.com with SMTP id 89so103970922wrr.2 for ; Fri, 10 Feb 2017 02:05:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=r9OzJ7XTJfB21MXWA1qptpo/zgOJA0Y200ogRIIYhRg=; b=SneHVhPN7w2QCsaemXm6KlU/EfSkW5pX2q+ikm8TpAtPJ+B/X//B6TPS5oQ23I/xPu eXmM+M3bG3hIPcghBjD9u5LapNPbzOuod2qHx0J4DziHr42HaI8eQ0cwuHEDFXddME+g ZycLhnGRuC8sJVmnDTSOtFeWuFS+KglgJr0gbOB7yeLWaj5thRCCwp5mJc3hoWYdTh4+ vZHjcvir8huDNeXIR1DGw28PbwF+XjzjpkniQcZ75bM8Ra0WaMBV/dLVvwWmtH4fjS7r x9HyHCvyr2yKiBbi4TrPSvI6U4YtR4LPVRdRENHs3hyAPOAfvQbjbfOPNQiutK6MESNE tc7A== 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; bh=r9OzJ7XTJfB21MXWA1qptpo/zgOJA0Y200ogRIIYhRg=; b=ORwvGEbzssRItj0g9mr3eDM/Yomw0H2uWs2/IqNKj5KXiDQ6zH1JdiRpjtoPgncLdZ DKMPqY6+9IPx1kuVVC20BvOVk0Nsy2CYtGI/i9NHJuC3uvqGkYUCV4Lg8p6OWN4peAqX ZJ4A7yEkREDbZjgtPZ09eH9iVE+IA81lM6KND/P/SGX1IjZqxU6l7ZjMZOZ2ypKvzu5o mq/hGFnJCWG3BX3rdQgAZyaB4npsZHtFoPel8CMlfPCxixINmb2m7/QdWZyEKcEGofwQ G3lqEgDEweqfaskJ9GyKv5HZHlXnKvgga1LpGszHvcjCP7QDXWb2g1cgnWlYahBdNQE2 pNnA== X-Gm-Message-State: AMke39nkAsXTEyR/Stx0Xss3Z7yR7ikRMjffMc5Q63Skx0Z/CXdDD9W0VTiesqbmFgD7li/Q X-Received: by 10.223.163.136 with SMTP id l8mr7653353wrb.42.1486721107497; Fri, 10 Feb 2017 02:05:07 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id e72sm771344wma.16.2017.02.10.02.05.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Feb 2017 02:05:06 -0800 (PST) From: Neil Armstrong To: sboyd@codeaurora.org, khilman@baylibre.com, carlo@caione.org Cc: Neil Armstrong , linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 2/2] ARM64: dts: meson-gxbb: Add Mali node Date: Fri, 10 Feb 2017 11:04:44 +0100 Message-Id: <1486721084-1383-3-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1486721084-1383-1-git-send-email-narmstrong@baylibre.com> References: <1486721084-1383-1-git-send-email-narmstrong@baylibre.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 Add the Mali-450 MP3 node for GXBB. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 37 +++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index b353073..46d57b4 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi @@ -474,6 +474,43 @@ }; }; +&apb { + mali: gpu@c0000 { + compatible = "amlogic,meson-gxbb-mali", "arm,mali-450"; + reg = <0x0 0xc0000 0x0 0x40000>; + interrupts = , + , + , + , + , + , + , + , + , + ; + interrupt-names = "gp", "gpmmu", "pp", "pmu", + "pp0", "ppmmu0", "pp1", "ppmmu1", + "pp2", "ppmmu2"; + clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_MALI>; + clock-names = "bus", "core"; + + /* + * Mali clocking is provided by two identical clock paths + * MALI_0 and MALI_1 muxed to a single clock by a glitch + * free mux to safely change frequency while running. + */ + assigned-clocks = <&clkc CLKID_GP0_PLL>, + <&clkc CLKID_MALI_0>, + <&clkc CLKID_MALI>; /* Glitch free mux */ + assigned-clock-parents = <0>, /* Do Nothing */ + <&clkc CLKID_GP0_PLL>, + <&clkc CLKID_MALI_0>; + assigned-clock-rates = <744000000>, + <744000000>, + <0>; /* Do Nothing */ + }; +}; + &i2c_A { clocks = <&clkc CLKID_I2C>; };