Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp365467ybl; Tue, 7 Jan 2020 21:24:57 -0800 (PST) X-Google-Smtp-Source: APXvYqzyS7Y/O1y33Zk/i6RMPumfinQxO7pbYItuVR9wUip4TosXKzG1X/RMhaEt+HGyIhefsnT4 X-Received: by 2002:aca:a849:: with SMTP id r70mr1813719oie.28.1578461097099; Tue, 07 Jan 2020 21:24:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578461097; cv=none; d=google.com; s=arc-20160816; b=EdhXadtu7y78BGM3uXDWDmXPPK+zAcDUeSGkiqeQvVxRrHcdEyrjJpLJCR1PdEm2GD ODSnhrmuDa+lI+2B73B/ThV8wTyyrABdA1+7ctgSNhV2nu91yD5YQCsdGFCXbBJcyNGA lhrtcL4WvBKKhZvyB4WWZ8YWqMO/pm1aK4/hwqxP3gxNCSoXbcxAty31C7/0vW8+aQgb 1lBOX0QbnSg9qQi6mMFWn12HmAr8S0QhoS76at2O1Wui804rSl1TtEEHNXSKouSPTNtR adRhqR4iYFGitcIvecixFMTHG1SvUxn6it+KUHo80iwpPgrsTwhoxEjOjBLPZCkzoRA+ 8Tzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=DM0aqT7mORcDNurEQApqfEBtkQorM/LzpTMTVlrl9aM=; b=CJPfEVg2drmqUCeqHWe8FPalhWVsKPaiHn1kG3RTPQmeYMvvwblGEJUqRfVGHivKFt 3ulKr9C7PZK7hciho05bYtkCqqh8Gw7Yg7mh7O+x+pHXVM/RuDA9Z/W3iMo4FPwla/a9 CmLqBD5QustJ9zcIzO2SY9G/TgFck36U6XcvDzkbdQgzpNA/jAYAFkkbNWVWBetWzBQx evJ1qvaBkMLTcOQpBjBPTcqQB+NgqrVx0mny+RMvHNrUQ1F8YlozvGpO58E2gav1gFAP CPiqO+q1jSNnkYszFCbxiYWZSUUgddvf36dYC+L5wHni6c8RhGwD2Anbzf1eaJroV09C M9FQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ncdGwmPr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j3si1200149otn.154.2020.01.07.21.24.43; Tue, 07 Jan 2020 21:24:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ncdGwmPr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726360AbgAHFX7 (ORCPT + 99 others); Wed, 8 Jan 2020 00:23:59 -0500 Received: from mail-pj1-f65.google.com ([209.85.216.65]:54031 "EHLO mail-pj1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725774AbgAHFX7 (ORCPT ); Wed, 8 Jan 2020 00:23:59 -0500 Received: by mail-pj1-f65.google.com with SMTP id n96so552696pjc.3 for ; Tue, 07 Jan 2020 21:23:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=DM0aqT7mORcDNurEQApqfEBtkQorM/LzpTMTVlrl9aM=; b=ncdGwmPrHI55/SBDBh0DPZoQrK3Lo1SJ9dJj2j29oKPgH8ThCHSPN8yJdVWZ+MwCoh AQH8qdCIHUUUgK3eD0s2gZ7Scd8kIBUxEuPYi/tYu6vCjPnwJEUy+Ic4IhNL/dhbVFoJ n9tJAzlRy9Zb0V7jWB54FlbdHEoNXslhoaz2A= 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=DM0aqT7mORcDNurEQApqfEBtkQorM/LzpTMTVlrl9aM=; b=E15j9bhDgrEqxqxyaMri/rFl9hgaWvNKgjeVU/OAVdf2p00vqBg5q2CWIJT5xm+b6m 6Kuj+A/yiHEQ/1t/JuTnupB8x/eg4/1FU1qpMfxeT8hcYyyF4y416XzhOHSbntYlLkc6 ukc5PDrccCk57N0hQKooSieNtwmcLWL6ZrWDgePlIGU0v80Z0yLQCS/HuNu8HqXByVD9 qW4PiiWsLHAlu4PL+t2Twsd1sebrdnguE1wNUKd4qQ8T7u1jdp1QW3g4dL43QvPdQTAS NGCeZV57byG0Ya3GLCxSuJrzZqLQUtyNA/npe9Qm50GMNf77C9zS/vvdk/ZWIXR19Ldv OhRg== X-Gm-Message-State: APjAAAUXjDsr/SBXOJoEr6vwpk8pV3gErC1p8omKodLlGmNeODwphrvu FNK7rcfqWdBYa2Lc/JHwBMJu2Q== X-Received: by 2002:a17:902:6bca:: with SMTP id m10mr3635095plt.212.1578461038146; Tue, 07 Jan 2020 21:23:58 -0800 (PST) Received: from drinkcat2.tpe.corp.google.com ([2401:fa00:1:b:d8b7:33af:adcb:b648]) by smtp.gmail.com with ESMTPSA id n24sm387505pff.12.2020.01.07.21.23.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2020 21:23:57 -0800 (PST) From: Nicolas Boichat To: Rob Herring Cc: David Airlie , Daniel Vetter , Mark Rutland , Matthias Brugger , Tomeu Vizoso , Steven Price , Alyssa Rosenzweig , Liam Girdwood , Mark Brown , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, hsinyi@chromium.org Subject: [PATCH v2 1/7] dt-bindings: gpu: mali-bifrost: Add Mediatek MT8183 Date: Wed, 8 Jan 2020 13:23:31 +0800 Message-Id: <20200108052337.65916-2-drinkcat@chromium.org> X-Mailer: git-send-email 2.24.1.735.g03f4e72817-goog In-Reply-To: <20200108052337.65916-1-drinkcat@chromium.org> References: <20200108052337.65916-1-drinkcat@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Define a compatible string for the Mali Bifrost GPU found in Mediatek's MT8183 SoCs. Signed-off-by: Nicolas Boichat --- .../bindings/gpu/arm,mali-bifrost.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml index 4ea6a8789699709..9e095608d2d98f0 100644 --- a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml +++ b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml @@ -17,6 +17,7 @@ properties: items: - enum: - amlogic,meson-g12a-mali + - mediatek,mt8183-mali - realtek,rtd1619-mali - rockchip,px30-mali - const: arm,mali-bifrost # Mali Bifrost GPU model/revision is fully discoverable @@ -62,6 +63,23 @@ allOf: minItems: 2 required: - resets + - if: + properties: + compatible: + contains: + const: mediatek,mt8183-mali + then: + properties: + sram-supply: true + power-domains: + description: + List of phandle and PM domain specifier as documented in + Documentation/devicetree/bindings/power/power_domain.txt + minItems: 3 + maxItems: 3 + required: + - sram-supply + - power-domains examples: - | -- 2.24.1.735.g03f4e72817-goog