From patchwork Sat Apr 20 09:32:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10910105 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D36E0922 for ; Sat, 20 Apr 2019 09:33:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C2DC628D91 for ; Sat, 20 Apr 2019 09:33:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B2F1E28D98; Sat, 20 Apr 2019 09:33:26 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham 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 66F0C28D91 for ; Sat, 20 Apr 2019 09:33:26 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: 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: List-Owner; bh=WEUR+gkp4OkkaCpN/P+6T/2IXndUUEaOWcF1EbOkuW4=; b=eyPLS6oO5T4acs /JijXsWogEEgkcstZSyugsfn46v8EKwYBANJU9/JL7WRa7c1v6Ztn+v8R1kKf3Y/pkws7oXl4ir4F UKj9vp6mcpP3GIKxep7DF6JPuZkB+YirKR6JZibxvGve+jvazo8RX0Hc1oDMk/lxMESGLqollV8aB Ii0XBa5vUqkHFbFgvsBeRQZl1dZimaSMV48fSB5oaht/cuIurDpmQ4Y0/aWx7cy/sibkW6UzKG5Ox tuQ1sjYbEU9yYtJMEcQdXiM7SakoTjHCWX0g0K0GNK/zv/lLnV23cL0g197yba8JscsZrIoGvQVF1 PPNwbBuVxp7hxOGGzpsQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hHmNA-0006wO-Vp; Sat, 20 Apr 2019 09:33:24 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hHmN2-0006mL-3e; Sat, 20 Apr 2019 09:33:17 +0000 Received: by mail-wr1-x444.google.com with SMTP id o12so6307732wrn.2; Sat, 20 Apr 2019 02:33:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=sQ+tn26yoSTxpsC/FCAOuzkhs/vTmJv3gslqGviFWhE=; b=DkVfbgQvvjGuK8Az1uYDPffYw0jFhUcl1uDHsogv2Rv04vz3a2Ha7GWX2FRfzWD/ox pbnOIbslpKUFJXdvw5PL74GVtw40g6gPzQb7q25fdcWEW/sYKnLQjsfrozOiFzHqVn1S YgSpWncgsblFP8x4FqFO5LV8RIizrTt1p7mIXynsBq9CrNonUc8UHNgXGwM8dKsSQjmy gq562idPbg+kFBv3BOT3uBioX/evlN4I2YibH62hi6Ar2lbpt7hhcP8lkmW5J467JWPJ rIE1DjSn0+rvw9CZIKVJXAcocidaUQQa+4pHvAz6gLL6oWHwViOe8MfOWE+7qQxIiIOC oyzg== 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; bh=sQ+tn26yoSTxpsC/FCAOuzkhs/vTmJv3gslqGviFWhE=; b=dXNlSYLnFj055fmcbB5NDRBThXEjw4GKGPsvFXHtAXBa7+4mbOak5ldIUZamzI4q1Q cOh4AQwnfpv58L5B4rjy9VetZMj2w+Io/iPQ1WNW2aVw94cj4s4jdHzgKPYMapEzYHhV o/vFKi00MtFD44VC7SVqW5j8u6KQB/Rxd3pyRO6eNxpCIoglxBN7IrOZjFekZvbVTsBa LK2P/sNZpIhWfNTBZFcyMdfBbctqwfsTLtuoFNRPhcw/uNYkLnTHUARaKBVrcf60b++o 14gjEe60uVFvOLXxoHdzNv+u21zERBDoY4ioNSO3lMDtv8yb4VON5yopJUqgGqLzegwz Oa/w== X-Gm-Message-State: APjAAAWYZetJfKGmxhBGwH0QSl5Mx8YvIoG/AKZmRLlLvSpnnOhyDPwd VlKm5REUaucUmLD3mUOQu2noyfeL X-Google-Smtp-Source: APXvYqz44BVdQ6SIXDaTxW3Sxyrgkr340DMrA9/sYxJIqOgJDR+MEBnI+oqq4Oqs6aHOt1p+4l7XyQ== X-Received: by 2002:adf:f3ce:: with SMTP id g14mr6365248wrp.129.1555752794023; Sat, 20 Apr 2019 02:33:14 -0700 (PDT) Received: from blackbox.darklights.net (p200300F133C8AD0028C4739A57449001.dip0.t-ipconnect.de. [2003:f1:33c8:ad00:28c4:739a:5744:9001]) by smtp.googlemail.com with ESMTPSA id w11sm12858244wre.15.2019.04.20.02.33.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 Apr 2019 02:33:13 -0700 (PDT) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, khilman@baylibre.com Subject: [PATCH 1/2] ARM: dts: meson8: fix GPU interrupts and drop an undocumented property Date: Sat, 20 Apr 2019 11:32:57 +0200 Message-Id: <20190420093258.2012-2-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190420093258.2012-1-martin.blumenstingl@googlemail.com> References: <20190420093258.2012-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190420_023316_145292_1BD4EE39 X-CRM114-Status: GOOD ( 11.12 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Blumenstingl , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The interrupts in Amlogic's vendor kernel sources are all contiguous. There are two typos leading to pp2 and pp4 as well as ppmmu2 and ppmmu4 incorrectly sharing the same interrupt line. Fix this by using interrupt 170 for pp2 and 171 for ppmmu2. Also drop the undocumented "switch-delay" which is a left-over from my experiments with an early lima kernel driver when it was still out-of-tree and required this property on Amlogic SoCs. Fixes: 7d3f6b536e72c9 ("ARM: dts: meson8: add the Mali-450 MP6 GPU") Signed-off-by: Martin Blumenstingl --- arch/arm/boot/dts/meson8.dtsi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/meson8.dtsi b/arch/arm/boot/dts/meson8.dtsi index 7ef442462ea4..40c11b6b217a 100644 --- a/arch/arm/boot/dts/meson8.dtsi +++ b/arch/arm/boot/dts/meson8.dtsi @@ -248,8 +248,8 @@ , , , - , - , + , + , , , , @@ -264,7 +264,6 @@ clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_MALI>; clock-names = "bus", "core"; operating-points-v2 = <&gpu_opp_table>; - switch-delay = <0xffff>; }; }; }; /* end of / */ From patchwork Sat Apr 20 09:32:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10910109 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4C4A114DB for ; Sat, 20 Apr 2019 09:33:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3D4CF28D91 for ; Sat, 20 Apr 2019 09:33:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3164428D98; Sat, 20 Apr 2019 09:33:42 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham 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 D6A7028D91 for ; Sat, 20 Apr 2019 09:33:41 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: 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: List-Owner; bh=V3Lz9G4D4fGM1zxFM1+MH3b5+jqILHPhbRbTy57ojx4=; b=tViXucHSkc5pPv S9WJ9SLBJqxJmzVu75/9TQ9kP0OjxTXWeyiSg83SLPr9HuJqBNmtBidlCaxC+FHbWr0KuSTGqYuL2 7iL9yS3SS4/+Qt4WXxbKZxYRQqZazvhi2aBsLSlASkk3ZvVzGuFC6dVYOX2zmP5U1Orc4WmnEqJ29 7dVzvFk6tlrtLqGnKnb8dTJnc8BJFYPcUZC4dIUUAiIevmkjM6JxiKcDx29IwlkC0qgY07mW4zghT Mqc3WUowbKnBHKfXTmgCQmQKhfWWLrAmJbxxa47HyUWl8hjKLkrd24FF7WZcWQVzGIc7F/ags3wLM msjEYT/Uk+Te1G3/2AOA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hHmNQ-0007El-HY; Sat, 20 Apr 2019 09:33:40 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hHmN3-0006mZ-5x; Sat, 20 Apr 2019 09:33:18 +0000 Received: by mail-wr1-x442.google.com with SMTP id h4so9612281wre.7; Sat, 20 Apr 2019 02:33:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=idwqWI24RRMujosXdp72Gc2bSSwiwXLwDzY0CFc9vDM=; b=D+98tgcfLHHn/09OlcyMyPqRyvAkI0RjyRjnng55f1q0Ha+YD2lTxHIZuhaGvY2gdP m2Q1y+7ZkoNNtON3+XSNpkIxTDysbaAgvfWGt3SiYjaJw6rlRmCIr3OyB/c9fr5H/lqz eSEJi2lqkIeVZvz0bFtF5EwMM9srM+UdbIrAiDrbfHMzK0JIUF9pcvC6xnkttRNnjZX1 BuqwVdmXfNxJooIAxgaZjcnUqZ1WLhGFWfOEJbeOEpKTzCgH3ZydkaSx9Bxwnj6Kh9P7 Irt5ZGLFgHPxmdDXtNyhHu/LM5rn2zfQ/NA5NREcp06Vde31PcdjIcwND1tZf6700CSk kgJw== 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; bh=idwqWI24RRMujosXdp72Gc2bSSwiwXLwDzY0CFc9vDM=; b=pjCS0Gj/c6AHS84AsgViFMWlHWzjyl6++vMmxs6jKg+hGs/sfrOKN6BLRHqorR0DGT b+wGMjIOZr/XWb4TWm469D7nXC1rAj7jgalPFm23Yl85ODqPbrttmcDB7GDkD7SszKet UTe8DY7uKzwcfpoUM2O1TAE8HClYY47Od+2kLj2nwkzPeeGKT2VYWvMVTAC9tepwlifA q4WNI+/fMvlzWIuckoeYJGVuamaaEhB4vuRGGOh30AktdyHw3NY3XhmzGZW6qXI17Qff ocd5elnVkE4yJs/cZFO7pnc947uY/jI3MCDw0RCsGYb2YOYM3+cDet/onbS2Rx5axtbn aZLQ== X-Gm-Message-State: APjAAAV3HUafSeW0FOhLvnhCeIGndU2vOnVxEtsbdq+oZQfQcIzEJAH8 asmnWRnPnuCLiL00vGft6T7V1w9C X-Google-Smtp-Source: APXvYqyYB2zv3rPKR/iSExi8uLlrZXfzKr72r31aYA603zBukH4UFcppZL9Jev1aaIKTeUmJm0E6gw== X-Received: by 2002:adf:ee82:: with SMTP id b2mr1592773wro.233.1555752795276; Sat, 20 Apr 2019 02:33:15 -0700 (PDT) Received: from blackbox.darklights.net (p200300F133C8AD0028C4739A57449001.dip0.t-ipconnect.de. [2003:f1:33c8:ad00:28c4:739a:5744:9001]) by smtp.googlemail.com with ESMTPSA id w11sm12858244wre.15.2019.04.20.02.33.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 Apr 2019 02:33:14 -0700 (PDT) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, khilman@baylibre.com Subject: [PATCH 2/2] ARM: dts: meson8b: drop undocumented property from the Mali GPU node Date: Sat, 20 Apr 2019 11:32:58 +0200 Message-Id: <20190420093258.2012-3-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190420093258.2012-1-martin.blumenstingl@googlemail.com> References: <20190420093258.2012-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190420_023317_218260_A4255D7E X-CRM114-Status: GOOD ( 10.38 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Blumenstingl , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Drop the undocumented "switch-delay" which is a left-over from my experiments with an early lima kernel driver when it was still out-of-tree and required this property on Amlogic SoCs. Fixes: c3ea80b6138cae ("ARM: dts: meson8b: add the Mali-450 MP2 GPU") Signed-off-by: Martin Blumenstingl --- arch/arm/boot/dts/meson8b.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi index 800cd65fc50a..4b919590dae5 100644 --- a/arch/arm/boot/dts/meson8b.dtsi +++ b/arch/arm/boot/dts/meson8b.dtsi @@ -229,7 +229,6 @@ clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_MALI>; clock-names = "bus", "core"; operating-points-v2 = <&gpu_opp_table>; - switch-delay = <0xffff>; }; }; }; /* end of / */