From patchwork Wed Apr 10 23:25:36 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: 10895231 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 D239B139A for ; Thu, 11 Apr 2019 08:01:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C170A27BA5 for ; Thu, 11 Apr 2019 08:01:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B5C4928AE3; Thu, 11 Apr 2019 08:01:20 +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, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 776E527BA5 for ; Thu, 11 Apr 2019 08:01:20 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D663489831; Thu, 11 Apr 2019 08:01:04 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id 566A4893E8 for ; Wed, 10 Apr 2019 23:15:31 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id w1so4857312wrp.2 for ; Wed, 10 Apr 2019 16:15:31 -0700 (PDT) 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=dmKODFJsjeY1bNlo+xVAUPDikYEOyfJ7kRxFYvW9aaXwYU6iEihTc/FUnh/g4L4oOi Zxm7VtuvZQnDOjwYfeRbBGkkB2fo+46sapNg4tdY8B1bfBzayqIZbEL5DLIpeuyyjOVl wV5mkvhTURQpXI2ewRPYPqqN5E28vIQi5cLmx8GmfsQQ8GL9XxaVwjrkAd6xAONxY2A7 44vLwHjYQ5UX5H6mXGonVdj2it0jj5z5cfTz2GAYyS7nRvTvHI3BnFTzNhTusPK0Boy7 /+v5uqmTXK3E3vqtiDFNhHdwyrwd/bUlHZNkF0+fdud21Zkundm+HEELCVPl4t8iD1m+ vZug== X-Gm-Message-State: APjAAAViz6MSmj7lCqoJPVstVkbZE7Xk0whEv3ad/kWWfpyr+OiOU+mU V8bDwaJbdHv8dooy7fejIMs= X-Google-Smtp-Source: APXvYqwga4OsIaHauAmhG+osyPhw8HMrpAIGBiK0NmNh8Kv9TJ2rK2/SwoIBlX/GD+Fc1GjJaDrMaQ== X-Received: by 2002:adf:f48d:: with SMTP id l13mr24041248wro.2.1554938129907; Wed, 10 Apr 2019 16:15:29 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::df7e:4a05]) by smtp.gmail.com with ESMTPSA id n6sm8504947wmn.48.2019.04.10.16.15.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Apr 2019 16:15:29 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , Jagan Teki , Jernej Skrabec Subject: [PATCH 1/8] dt-bindings: gpu: mali-midgard: Add resets property Date: Thu, 11 Apr 2019 01:25:36 +0200 Message-Id: <20190410232543.13297-2-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190410232543.13297-1-peron.clem@gmail.com> References: <20190410232543.13297-1-peron.clem@gmail.com> X-Mailman-Approved-At: Thu, 11 Apr 2019 08:01:03 +0000 X-Mailman-Original-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=qxAiqn45+6Y6QrCOAT+10PSRnzGB7LKozH2AtUj3cvq3JTe3BuLLc8gW8tWe8jgGK9 F8WgiV+wHUZr7Szgs/hXyn/Kb6CG4qFa7KvqU41D3nv5KpxhSxjF9JOc7xk+SyQOC6Ef dX/8J6RtKAt+5N1ShFj/WWehH6LqnkvbKXkrySPorA7zNZoIPZnIWsErsrTDR4N/m8cO DzATr/BmWuSG6QJB/tGjjDqufAA6bVgApA1rQqPhmYjznCapn6edBoCCK4lzgE01LPtT EHoRYtvMVKHONdJllWICY121+zQAMrLzD6sa+mnUkn1dJAYc7tQgC5QwqUYIddGAxUwR /SFQ== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Neil Armstrong , Kevin Hilman , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-sunxi@googlegroups.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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: