From patchwork Wed Apr 17 17:30:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10905669 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 3FAF81515 for ; Wed, 17 Apr 2019 17:30:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 241B728B13 for ; Wed, 17 Apr 2019 17:30:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 17EF228B1B; Wed, 17 Apr 2019 17:30: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 1081128B13 for ; Wed, 17 Apr 2019 17:30: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: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 1hGoOK-0004W7-BV; Wed, 17 Apr 2019 17:30:36 +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?b?Q2zDqW1lbnQgUMOpcm9u?= 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 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 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: