From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 60DABC282DC for ; Wed, 17 Apr 2019 17:30:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 31F1621773 for ; Wed, 17 Apr 2019 17:30:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Aj5WOKqF" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733064AbfDQRaY (ORCPT ); Wed, 17 Apr 2019 13:30:24 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:40649 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729641AbfDQRaW (ORCPT ); Wed, 17 Apr 2019 13:30:22 -0400 Received: by mail-wr1-f65.google.com with SMTP id h4so33023154wre.7; Wed, 17 Apr 2019 10:30:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=1WIGTjZh4mIwUZpoXVfzkYofixlglZX9sKei53EYiYk=; b=Aj5WOKqF+mSgsjBpWaUeAq+PoNX7zsm2Qhnv00UOVUzIGHv1lshy+IKTXP7Ds7rvCG b8bamc97MPZYshmWApE7ZV4d3pL/JHGQX6Np8pW1gMJXk5FL5uJ4b331fWKXHDNims4V +C7s+9KsDih/C0gAo732PAL9htI9biOlbpXT6qQk+ztwuEI8ldXtWb53WS8K+AZe2+DO W/HKBFSRLxC73Fpg3alKPdk2r0TlLoEhPRc0ubdGwOOnCSturulw79N4xX0RYDP7RC5Z ryA32XxdX8A3bHO+XaEw58jJSQK6+Sq+bfhZwr6bwTnvhtOFoMuvMPF4hkGnn6u5mWtp 39GQ== 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=1WIGTjZh4mIwUZpoXVfzkYofixlglZX9sKei53EYiYk=; b=q9mL2HVh6rFNsj39EM1ltmHy4QukqChx5EMP3c0UVZ58v9yy0h5guLTnUBIjeie/Vo 9Gv8smaZl0z/NWwcifr+lFM/G7s+pfAmag396EO7ylGLgG2K+Db07Vyelbs2D0Wyt2TP iDbn8wVeX6JyVeCtgUQA4SWcaJUpD47I5avTFO3DYZz/KrtFgcEgYZExuAvPVXkUgHBU 0lwNNETvKTTYKB+DDLB9mEFNkWWUxXzSP4L8JGAnVhMOgQlH7ahwvqG1DSZphhbH2pur NJcowxSFRdHizqvaDDhFyZPUovk2bEmvG4nd1jzqPpbRIJZOIwdkN2QLdppFako0pvTk Rc5Q== X-Gm-Message-State: APjAAAWFIDcu64g9Xky+GVZ//lP7ZIAdduiBvIvgnKMdRrNLFyjIwq3P dqVecYWL/9PSsCLpiW/inDg= X-Google-Smtp-Source: APXvYqwNLMHTqK/0VWA3BJtBaMVwTn+td1BwYu3foSWz0sVgnvDFN9iuDARntEHkupvbB4rlOB+tFA== X-Received: by 2002:adf:b458:: with SMTP id v24mr57683336wrd.46.1555522219879; Wed, 17 Apr 2019 10:30:19 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::df7e:4a05]) by smtp.gmail.com with ESMTPSA id c6sm2669306wmb.21.2019.04.17.10.30.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Apr 2019 10:30:17 -0700 (PDT) From: =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= To: Rob Herring , Maxime Ripard Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, Neil Armstrong , Kevin Hilman Subject: [PATCH v3 1/8] dt-bindings: gpu: mali-midgard: Add resets property Date: Wed, 17 Apr 2019 19:30:24 +0200 Message-Id: <20190417173031.9920-2-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190417173031.9920-1-peron.clem@gmail.com> References: <20190417173031.9920-1-peron.clem@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Neil Armstrong The Amlogic ARM Mali Midgard requires reset controls to power on and software reset the GPU, adds these as optional in the bindings. Signed-off-by: Neil Armstrong Reviewed-by: Rob Herring Signed-off-by: Kevin Hilman --- .../devicetree/bindings/gpu/arm,mali-midgard.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt b/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt index 18a2cde2e5f3..1b1a74129141 100644 --- a/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt +++ b/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt @@ -37,6 +37,20 @@ Optional properties: - operating-points-v2 : Refer to Documentation/devicetree/bindings/opp/opp.txt for details. +- resets : Phandle of the GPU reset line. + +Vendor-specific bindings +------------------------ + +The Mali GPU is integrated very differently from one SoC to +another. In order to accomodate those differences, you have the option +to specify one more vendor-specific compatible, among: + +- "amlogic,meson-gxm-mali" + Required properties: + - resets : Should contain phandles of : + + GPU reset line + + GPU APB glue reset line Example for a Mali-T760: -- 2.17.1 From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= Subject: [PATCH v3 1/8] dt-bindings: gpu: mali-midgard: Add resets property Date: Wed, 17 Apr 2019 19:30:24 +0200 Message-ID: <20190417173031.9920-2-peron.clem@gmail.com> References: <20190417173031.9920-1-peron.clem@gmail.com> Reply-To: peron.clem-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org In-Reply-To: <20190417173031.9920-1-peron.clem-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Rob Herring , Maxime Ripard Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, Neil Armstrong , Kevin Hilman List-Id: devicetree@vger.kernel.org From: Neil Armstrong The Amlogic ARM Mali Midgard requires reset controls to power on and software reset the GPU, adds these as optional in the bindings. Signed-off-by: Neil Armstrong Reviewed-by: Rob Herring Signed-off-by: Kevin Hilman --- .../devicetree/bindings/gpu/arm,mali-midgard.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt b/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt index 18a2cde2e5f3..1b1a74129141 100644 --- a/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt +++ b/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt @@ -37,6 +37,20 @@ Optional properties: - operating-points-v2 : Refer to Documentation/devicetree/bindings/opp/opp.txt for details. +- resets : Phandle of the GPU reset line. + +Vendor-specific bindings +------------------------ + +The Mali GPU is integrated very differently from one SoC to +another. In order to accomodate those differences, you have the option +to specify one more vendor-specific compatible, among: + +- "amlogic,meson-gxm-mali" + Required properties: + - resets : Should contain phandles of : + + GPU reset line + + GPU APB glue reset line Example for a Mali-T760: -- 2.17.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F0119C282DA for ; Wed, 17 Apr 2019 17:30:38 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BF22020821 for ; Wed, 17 Apr 2019 17:30:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="aHRmbuKt"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Aj5WOKqF" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BF22020821 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: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=o/nyR4IXxKCtvtaGi/RPn6WZVY5e+0GXQtPgKdncrcw=; b=aHRmbuKt3AEGeDPO/VmLhHmStR QXn9Nwfkl/q7vEnnqKgE7gStpOM4FJqXJKrRYlinz26KgUSM7UebYgaBc3ZCBufLYkMGei4X9iclw RXC5PG3L/+aOgqGbmERe7K2E2GHX92arCgCksc9mEeC0bdo7Ykk2wKxDEWEG+yqDAwvuZoTwoN0PU 7CHTfWELcFLyuqrVdVt8uVg9h1oXHD1KNVfFJv9j52aU/zN9MfRqqLjEWuRuELOFLcZwfQm/A7Hak J36pVzUpexfm/2P4l4G1sZUmOkZWoQ85qhHH5phMxRsXH4Tadb+AwKybTMXIBj/0X+OQZgnLSTToj l/7/immw==; 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 1hGoOJ-0004W7-W2; Wed, 17 Apr 2019 17:30:35 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hGoO5-000463-IO for linux-arm-kernel@lists.infradead.org; Wed, 17 Apr 2019 17:30:22 +0000 Received: by mail-wr1-x443.google.com with SMTP id g3so32981486wrx.9 for ; Wed, 17 Apr 2019 10:30:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=1WIGTjZh4mIwUZpoXVfzkYofixlglZX9sKei53EYiYk=; b=Aj5WOKqF+mSgsjBpWaUeAq+PoNX7zsm2Qhnv00UOVUzIGHv1lshy+IKTXP7Ds7rvCG b8bamc97MPZYshmWApE7ZV4d3pL/JHGQX6Np8pW1gMJXk5FL5uJ4b331fWKXHDNims4V +C7s+9KsDih/C0gAo732PAL9htI9biOlbpXT6qQk+ztwuEI8ldXtWb53WS8K+AZe2+DO W/HKBFSRLxC73Fpg3alKPdk2r0TlLoEhPRc0ubdGwOOnCSturulw79N4xX0RYDP7RC5Z ryA32XxdX8A3bHO+XaEw58jJSQK6+Sq+bfhZwr6bwTnvhtOFoMuvMPF4hkGnn6u5mWtp 39GQ== 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=1WIGTjZh4mIwUZpoXVfzkYofixlglZX9sKei53EYiYk=; b=Cb1AvS0R7pBUsrjlLMXotp/ba+qB4K3Yw3abXxnFwpJnlKXE3DUHFi3OpbWoWEj39S EoM1X6iOaXGzlrfmYXN2g25i1d4vlFKttX2G/1ibPRBJIMtL/fzWKxUsQXSoGxVKaTo3 O6IWi82VdMwKGgTKjbD8UjUcwZ9o5o0HuOqo3sbVG9Y3kSbus2LmVwXW76quku8hA7VR bJ5KNkuzpUhwiVOl/eswIuqCk8+AWUlG9866clvPJ6BX/lUuOqOrqlG7KD+gkQk1hONn dI3On1aZPYZHiX1XjEGfkiI9QHUXP/mnIecbK1snuNgFdF58EhOPXr1foiEoESuhwEHY 0qOQ== X-Gm-Message-State: APjAAAVJBHOZUbaItAOgfnRvoxn+nu3j6GZ8xi4YNWnWyjLwk17f4Vs6 JEKvzDINOkChLNSaVUUT0I8= X-Google-Smtp-Source: APXvYqwNLMHTqK/0VWA3BJtBaMVwTn+td1BwYu3foSWz0sVgnvDFN9iuDARntEHkupvbB4rlOB+tFA== X-Received: by 2002:adf:b458:: with SMTP id v24mr57683336wrd.46.1555522219879; Wed, 17 Apr 2019 10:30:19 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::df7e:4a05]) by smtp.gmail.com with ESMTPSA id c6sm2669306wmb.21.2019.04.17.10.30.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Apr 2019 10:30:17 -0700 (PDT) From: =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= To: Rob Herring , Maxime Ripard Subject: [PATCH v3 1/8] dt-bindings: gpu: mali-midgard: Add resets property Date: Wed, 17 Apr 2019 19:30:24 +0200 Message-Id: <20190417173031.9920-2-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190417173031.9920-1-peron.clem@gmail.com> References: <20190417173031.9920-1-peron.clem@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190417_103021_604519_59A498B6 X-CRM114-Status: GOOD ( 10.83 ) 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: devicetree@vger.kernel.org, Neil Armstrong , Kevin Hilman , linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Neil Armstrong The Amlogic ARM Mali Midgard requires reset controls to power on and software reset the GPU, adds these as optional in the bindings. Signed-off-by: Neil Armstrong Reviewed-by: Rob Herring Signed-off-by: Kevin Hilman --- .../devicetree/bindings/gpu/arm,mali-midgard.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt b/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt index 18a2cde2e5f3..1b1a74129141 100644 --- a/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt +++ b/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt @@ -37,6 +37,20 @@ Optional properties: - operating-points-v2 : Refer to Documentation/devicetree/bindings/opp/opp.txt for details. +- resets : Phandle of the GPU reset line. + +Vendor-specific bindings +------------------------ + +The Mali GPU is integrated very differently from one SoC to +another. In order to accomodate those differences, you have the option +to specify one more vendor-specific compatible, among: + +- "amlogic,meson-gxm-mali" + Required properties: + - resets : Should contain phandles of : + + GPU reset line + + GPU APB glue reset line Example for a Mali-T760: -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel