From patchwork Mon Mar 12 11:10:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10275999 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 497B26038F for ; Mon, 12 Mar 2018 11:10:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 309ED28CBD for ; Mon, 12 Mar 2018 11:10:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2431D28CC5; Mon, 12 Mar 2018 11:10:52 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A838728CBD for ; Mon, 12 Mar 2018 11:10:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=dOtKEL6bRj/QG+iW3xmAkH+oFWIV98pDjw+bcndy8CM=; b=mEp nCjFxLlAiAvZ3S6PgOhymg1TiJPKOBauAzNPsQ+f/1HK2kE0Z12JSxYg4ftTThNyvichrZOzQjn9l tnpRHVN05Cg2S49TcbWQtpUcWG9KcuG+OWhFHPH+/Z20J7XxWihuK+qE7jOC205WAdPPpSrBLHWwr CfUTeIbT0M5jf9YQ9HGIsNk+mASovNXUlQjLDAXVHY/KneH9n5jBRfRAMoovTDPpqMi89YZOLpiW7 AdUqft8KRmDstkrPzXucuM2obtWGh3nBr0qmoK0Zps6w4qJ9xMKCAlLbnXlPuhd+/BkCUZfcZtOWU X1AYn3EHYd8NjEtYE8pEZ/xJeChEA/g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1evLLq-00050v-E2; Mon, 12 Mar 2018 11:10:46 +0000 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1evLLj-0004yi-Lc for linux-arm-kernel@lists.infradead.org; Mon, 12 Mar 2018 11:10:41 +0000 Received: by mail-wr0-x244.google.com with SMTP id s18so1296886wrg.9 for ; Mon, 12 Mar 2018 04:10:29 -0700 (PDT) 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; bh=W/woy2K/7nrnW/FVINgBqVwhG2jCmyYFpVbsD5lXLhI=; b=wU7JyCubA8khZqzMIySV7Fs9fYYxYGU78nC54YXD6CohjFf7JNKO333nUqE7iB5w8z PL5OuLSmwc98YS9oipc/kPH92Pvv6slL2TkYafpW8EOU7IUezqwhVJC5AhKuJPHoJsRt /Mognwok4DIa8FRNPn8X1FpkcvP1Q9IBOOAR6ZyD0IlGqa57WpcAreYtaCYfDYcSjsQv ZzX4/m/ov3RyIqtfRZHnGjoogXQLafwCmjfu3ZJH21J9Y281dBQ9IFIhw24Ld3JTNXJ+ qWhTm15lAg4tWdPNF0cXRKMRwNZ4BV8pYl6IRJAe8vCCb3httQ0Gce8SBnfkR6Ir2HYY CiGg== 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; bh=W/woy2K/7nrnW/FVINgBqVwhG2jCmyYFpVbsD5lXLhI=; b=iXPTZXmuYb1WNysUPXw+7uPWOheBoDB1mAxgeRyR3mHEoo5qMwrwdiksQLF52DQtnZ YmtR2LYAEUefZ5711Z8CWXOOIaYB/2kKozG35rgV78/IG4EitxWCWteoQ9zS7ACBc5V9 diIViWPlaJlAHMCgrzUZczgxMrD9195Rz/J5/Y5fXPwtqhhQNTtwRlPEE5xuRn3Wrpk0 TEWeUkt5Ndp51g/QyA70ssdlAJcJEVjPmjR3FVlz5sJg0MwD1ssBKCDXMHhF3scLvGxK P6mYkWqHl8pufY7xrq6KwJhYdxzPZdlD94Ap5cV6tMmNuzEtJPQDxOLY2iJXPAa9pwKz VYIQ== X-Gm-Message-State: AElRT7GAmO3EvwvuZgbdrkcR8CuGqz2ife6nlzGXnPgif3uBiZTdF+Ip 0Q6DHOcqLbHEe2+ktpKHus2kWQ== X-Google-Smtp-Source: AG47ELvBEDiDCTAZKDowRQJEgGOsxkSovU8YZDJJ/QEx935Hunq+mowTqZZkHO986uM2KNkbhxSVXg== X-Received: by 10.223.171.167 with SMTP id s36mr5664244wrc.52.1520853027822; Mon, 12 Mar 2018 04:10:27 -0700 (PDT) Received: from bender.baylibre.local ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id o47sm1238344wrc.7.2018.03.12.04.10.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 12 Mar 2018 04:10:27 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com Subject: [PATCH] ARM64: dts: meson: bump mali450 clk to 744MHz Date: Mon, 12 Mar 2018 12:10:21 +0100 Message-Id: <1520853021-5412-1-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180312_041039_750872_F5077F73 X-CRM114-Status: GOOD ( 10.59 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, Michal Lazo , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Neil Armstrong MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The Mali-450 IP can run up to 744MHz, bump the frequency using the GP0 PLL clock. Cc: Michal Lazo Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 11 +++++++---- arch/arm64/boot/dts/amlogic/meson-gxl-mali.dtsi | 11 +++++++---- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index 3290a4dc..6013d32 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi @@ -284,14 +284,17 @@ * 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_MALI_0_SEL>, + assigned-clocks = <&clkc CLKID_GP0_PLL>, + <&clkc CLKID_MALI_0_SEL>, <&clkc CLKID_MALI_0>, <&clkc CLKID_MALI>; /* Glitch free mux */ - assigned-clock-parents = <&clkc CLKID_FCLK_DIV3>, + assigned-clock-parents = <0>, /* Do Nothing */ + <&clkc CLKID_GP0_PLL>, <0>, /* Do Nothing */ <&clkc CLKID_MALI_0>; - assigned-clock-rates = <0>, /* Do Nothing */ - <666666666>, + assigned-clock-rates = <744000000>, + <0>, /* Do Nothing */ + <744000000>, <0>; /* Do Nothing */ }; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-mali.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl-mali.dtsi index f06cc234..972df67 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl-mali.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-mali.dtsi @@ -30,14 +30,17 @@ * 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_MALI_0_SEL>, + assigned-clocks = <&clkc CLKID_GP0_PLL>, + <&clkc CLKID_MALI_0_SEL>, <&clkc CLKID_MALI_0>, <&clkc CLKID_MALI>; /* Glitch free mux */ - assigned-clock-parents = <&clkc CLKID_FCLK_DIV3>, + assigned-clock-parents = <0>, /* Do Nothing */ + <&clkc CLKID_GP0_PLL>, <0>, /* Do Nothing */ <&clkc CLKID_MALI_0>; - assigned-clock-rates = <0>, /* Do Nothing */ - <666666666>, + assigned-clock-rates = <744000000>, + <0>, /* Do Nothing */ + <744000000>, <0>; /* Do Nothing */ }; };