From patchwork Thu Oct 19 11:26:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Brugger X-Patchwork-Id: 10016613 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 D4751602C8 for ; Thu, 19 Oct 2017 12:34:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D7E5528D36 for ; Thu, 19 Oct 2017 12:34:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CCCDB28D37; Thu, 19 Oct 2017 12:34:09 +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 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 E4B2728D38 for ; Thu, 19 Oct 2017 12:34:06 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 972906EA87; Thu, 19 Oct 2017 12:33:50 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf0-x244.google.com (mail-pf0-x244.google.com [IPv6:2607:f8b0:400e:c00::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id 09C9C6EA6A for ; Thu, 19 Oct 2017 11:26:54 +0000 (UTC) Received: by mail-pf0-x244.google.com with SMTP id e64so6367613pfk.9 for ; Thu, 19 Oct 2017 04:26:54 -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=rp8s/YLORRUslAAxmSOyPOp6wHTbrcFWITu0uLc73TA=; b=sT8MAYu6nWIxjQMo74vVK3BBnu8fkyTxGZwwlHYG7p/oU0PSYi8grfV4F6jj/kCAB2 uKLxNprHhpXy2jIR80aop4Z3aGjaLOXJKMZCEjMBo/HN5/mIQW9TGrsSx+Jdttoh+N4R ELZ64mO88RLfoCvg5Uf9M+fPSniHcimqBaqKDsPtNQU/NjWypbX/tVVLizx4wEDESC5V 7/F6teMmEZigX6rHPDYTsw11jUAVgyc7lLHp+B4zZQfTMM1ufL52vdd4sKdg8kmOp/tt /GOppD43QjiRKar1Bzayd+UQ0+XJ/axoDyVulE0ZDT6XuP8pNT4w6yfJowhMMxQW4KWv j7Sg== 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=rp8s/YLORRUslAAxmSOyPOp6wHTbrcFWITu0uLc73TA=; b=Tk28zehfB9eirMCL3QtAcetIu6YAA8QzfM8MlZ746tVJyAvSxLJsSORavxOeEzAJQz ubAkfyhhs/r+VrNILqhKfXegsOAmnohoY6Vwerl3ah6BRzhj0DpjKGppGs/w8PXP/0sM PT+uxFT6HtOQYGDClhWHzDjE8hUqu/IgcjxsBlMeHlvu9rs0LqEfCzcjWPi2RE3Dy6/4 S3gm9ruPOI5ExjaZDkplphRduf62jnjiBe6C7JHPI5FDnxCU0LSnA5IKRm9s+XSHsN3/ b4LjxKB+iJtnH858bUxzKFJuHkly0FaTdlWLdv+Je+xy1kebbEAGHj5ZEFWynC29gGbO ddUA== X-Gm-Message-State: AMCzsaWbIVR1JSsRsXdybJmtNohngcNE9YG2A3F5xOz4HXCA70UtoVR9 E27pWkgnVkWAgOsAzaWVQjY= X-Google-Smtp-Source: ABhQp+RQGW45eQ1bP2inQgT3hKHFlNpKNuuEJ0chov9fb2KFCrF7wqPG27kMTacqJGXAFNOE16CbTg== X-Received: by 10.84.167.2 with SMTP id c2mr1252293plb.107.1508412414438; Thu, 19 Oct 2017 04:26:54 -0700 (PDT) Received: from ziggy.de ([37.223.199.11]) by smtp.gmail.com with ESMTPSA id m78sm29961763pfj.164.2017.10.19.04.26.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Oct 2017 04:26:53 -0700 (PDT) From: Matthias Brugger X-Google-Original-From: Matthias Brugger To: ulrich.hecht+renesas@gmail.com, laurent.pinchart@ideasonboard.com, ck.hu@mediatek.com, p.zabel@pengutronix.de, airlied@linux.ie, robh+dt@kernel.org, mark.rutland@arm.com Subject: [RFC resend 1/4] dt-bindings: display: mediatek: add drm binding Date: Thu, 19 Oct 2017 13:26:07 +0200 Message-Id: <20171019112610.13645-2-mbrugger@suse.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171019112610.13645-1-mbrugger@suse.com> References: <20171019112610.13645-1-mbrugger@suse.com> X-Mailman-Approved-At: Thu, 19 Oct 2017 12:33:49 +0000 Cc: devicetree@vger.kernel.org, Matthias Brugger , catalin.marinas@arm.com, will.deacon@arm.com, linux@armlinux.org.uk, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, matthias.bgg@gmail.com, linux-arm-kernel@lists.infradead.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP DRM subysystem and clock driver shared the same compatible mmsys. This stopped does not work, as only the first driver for a compatible gets probed. We change the comaptible to the new DRM identifier to fix this. Signed-off-by: Matthias Brugger Acked-by: Philipp Zabel --- .../devicetree/bindings/display/mediatek/mediatek,disp.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt b/Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt index 383183a89164..6db652463e64 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt @@ -27,6 +27,7 @@ Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.txt. Required properties (all function blocks): - compatible: "mediatek,-disp-", one of + "mediatek,-dispsys" - central component for the DRM system "mediatek,-disp-ovl" - overlay (4 layers, blending, csc) "mediatek,-disp-rdma" - read DMA / line buffer "mediatek,-disp-wdma" - write DMA @@ -71,6 +72,11 @@ mmsys: clock-controller@14000000 { #clock-cells = <1>; }; +dispsys: display-system { + compatible = "mediatek,mt2701-dispsys"; + mediatek,mmsys = <&mmsys>; +} + ovl0: ovl@1400c000 { compatible = "mediatek,mt8173-disp-ovl"; reg = <0 0x1400c000 0 0x1000>;