From patchwork Fri Nov 18 02:44:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Nelson X-Patchwork-Id: 9435697 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5AEE660471 for ; Fri, 18 Nov 2016 02:48:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5112228ACE for ; Fri, 18 Nov 2016 02:48:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 45DAA29361; Fri, 18 Nov 2016 02:48:08 +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=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D727D28ACE for ; Fri, 18 Nov 2016 02:48:07 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c7ZBF-0006Xn-JK; Fri, 18 Nov 2016 02:45:33 +0000 Received: from mail-qk0-x242.google.com ([2607:f8b0:400d:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c7ZBC-0005Zf-3D for linux-arm-kernel@lists.infradead.org; Fri, 18 Nov 2016 02:45:31 +0000 Received: by mail-qk0-x242.google.com with SMTP id h201so29507546qke.3 for ; Thu, 17 Nov 2016 18:45:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=smpFdYbT57KUXysuOt4gHVznxXaaKVuPkT97u0SP5X8=; b=liAcRgb+iFM1LWz/3qAeXYR3xaTWeiUBxIzp1WLY9640dAO+M9KrdTKBAi03g73JNc S2FkFttIUxxj/Z8xnRT+Mi0m6FUdQSZ+lnpZQisCAjyqyEBKZHxZjYHlvL/NWfXp7wAn bDAqzFcKrApZSfwy2NRdY28g8or4PWMsotrl65bjQG+SEIL/2PNNFRwL0GknJvFH7HPj JnWQHC7O9ECRQ5onEdtidciQK+Y/LJ2aDY/kQBEcA0wundXXXiR4ARnvOhNgeq9LrNM1 oUHujGd2mIhx+EStoHeHM8MphaHGQCzkMJRkdzwL/z6s2fC2WdzrtzFuNfZqfnbSNGlJ VN8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=smpFdYbT57KUXysuOt4gHVznxXaaKVuPkT97u0SP5X8=; b=UyyCb/5Y5B6B8xgzFpy4cmB8QEe7nkrFIIpY7rs0nPkTDAfth6/oe06Ot/uEj/xcAL MYhNmpXjabJPlBlw6EdhvLOzdO9FdzAv5eoN7s1Vd/4fFaQ3jI9ay2LXFuovD7YzRmB5 1PyME4qTkTAu7jweGZyzDYv/qL+DqAFAQ3NUXq60i4xINd4d+h35GaB0j5FrKLsEpNlc XQIspp1/u6kWdTieCMUL2fylbyu/iAWIpgSYWX2z+xKdL6ZKcMKLDziW2I3cGcxf4Qwp W9mOrMqtPw6PM9dQMfvRPn1kGqoS4LOOZCkP3aroDZgU3HhL3zveCNSK3dWE1gZLDcBe 0wTw== X-Gm-Message-State: AKaTC00hzPwI3WzbD9qXuq2a2eW6Z0TOtRVYBW3B69YhjV8cWrNOgUYN464/SJW25Qtw+Q== X-Received: by 10.55.17.143 with SMTP id 15mr8666928qkr.297.1479437107301; Thu, 17 Nov 2016 18:45:07 -0800 (PST) Received: from hestia.localdomain (24-236-47-98-dynamic.midco.net. [24.236.47.98]) by smtp.gmail.com with ESMTPSA id b94sm3015130qkb.16.2016.11.17.18.45.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Nov 2016 18:45:06 -0800 (PST) From: Robert Nelson To: tony@atomide.com, devicetree@vger.kernel.org Subject: [RFC 1/6] drm/etnaviv: add binding for the gc320 found in ti socs Date: Thu, 17 Nov 2016 20:44:31 -0600 Message-Id: <20161118024436.13447-1-robertcnelson@gmail.com> X-Mailer: git-send-email 2.10.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161117_184530_320172_319852B9 X-CRM114-Status: GOOD ( 10.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Nishanth Menon , Julien , Christian Gmeiner , Tomi Valkeinen , Russell King , linux-omap@vger.kernel.org, Robert Nelson , linux-arm-kernel@lists.infradead.org, Lucas Stach 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 Signed-off-by: Robert Nelson CC: Julien CC: Christian Gmeiner CC: Russell King CC: Lucas Stach CC: Nishanth Menon CC: Tomi Valkeinen CC: Tony Lindgren --- Documentation/devicetree/bindings/display/etnaviv/etnaviv-drm.txt | 1 + drivers/gpu/drm/etnaviv/etnaviv_drv.c | 1 + 2 files changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/etnaviv/etnaviv-drm.txt b/Documentation/devicetree/bindings/display/etnaviv/etnaviv-drm.txt index ed5e0a7..9fa259d 100644 --- a/Documentation/devicetree/bindings/display/etnaviv/etnaviv-drm.txt +++ b/Documentation/devicetree/bindings/display/etnaviv/etnaviv-drm.txt @@ -8,6 +8,7 @@ Required properties: - compatible: Should be one of "fsl,imx-gpu-subsystem" "marvell,dove-gpu-subsystem" + "ti,gc320-gpu-subsystem" - cores: Should contain a list of phandles pointing to Vivante GPU devices example: diff --git a/drivers/gpu/drm/etnaviv/etnaviv_drv.c b/drivers/gpu/drm/etnaviv/etnaviv_drv.c index a6799b0..ce51270 100644 --- a/drivers/gpu/drm/etnaviv/etnaviv_drv.c +++ b/drivers/gpu/drm/etnaviv/etnaviv_drv.c @@ -653,6 +653,7 @@ static int etnaviv_pdev_remove(struct platform_device *pdev) static const struct of_device_id dt_match[] = { { .compatible = "fsl,imx-gpu-subsystem" }, { .compatible = "marvell,dove-gpu-subsystem" }, + { .compatible = "ti,gc320-gpu-subsystem" }, {} }; MODULE_DEVICE_TABLE(of, dt_match);