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: 10016497 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 EA46D60215 for ; Thu, 19 Oct 2017 11:28:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CEDCF28CC4 for ; Thu, 19 Oct 2017 11:28:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C209B28CC7; Thu, 19 Oct 2017 11:28:04 +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.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 4C36928CC4 for ; Thu, 19 Oct 2017 11:28:04 +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=fVnvNEb8O+WImmqdKZg+FF+krTyS0Sj9kGC5sK1+m6I=; b=DW32GRc+qTOXmBLJMbvFlUfDh1 VRbeDqZHnErm5xyeRNTce5a/Dz6Qzya53qWGUW22R7VKPKTkCL6sUf1NRKKmcZl1D18KgHrLnlKxB HR3MNdBaOQBbG02ZVwb/idg6c6gyZ6ngfGlZfTkKQSEcE9S9TsuHSRnWoHjYgAIoXMASPXa4pDrTg Mbg8d9iEpOYFBFV/e74rGhLrbUUk+5tiR/e11N3ZwS+19sDLmYqlXYmJVODTP7/nPcZb7kxQvcxxb 9JKP2nhjN1diD7SVipiOB5PgwWUH5Et3y7e/C+g85212eMyP+FUC68Vz8BC45LKvyCCXHyEOYXl1c 99O0QnCQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e58zb-0000iD-AF; Thu, 19 Oct 2017 11:28:03 +0000 Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e58yo-0008QF-UH; Thu, 19 Oct 2017 11:27:18 +0000 Received: by mail-pf0-x244.google.com with SMTP id n89so6362597pfk.11; 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=bM/iPGyfB7gbJbngxsuBHy+taSjVhmiDOHz+R71y8/GXmLOx9pyactHUk3VQeCnS9+ imu6AgBNsVNKkTEOv3GR008Pr8Jw4VsNVodMaewXS++eU8jMmn1BsHQAD3Uq3tbF0O2g 8/rV0ANoog9GSgSkoH6u0+77ucGq6l+b7H0/+PhJxgINw4I4YTebvOsZsbghzqi8+i08 cqAWYW6TzeRnP2Y5SafYHIr7PkOYIzwTkQl0yX0Zd12m064q0lM9zPTASaZ9mZ/+7SkE 2bbgHggqnf49nrJkQfXV0Jxb0PWMxGG+ay3POiXB9DCt/0kaS/55r9FSkUHt9P12WrOp OTXQ== X-Gm-Message-State: AMCzsaVAnuH7xRWimc8vk4ObQKV7qzSPaoF5G7tQoihmGaKiwcGBm1W8 2PE8iAPjjEu1kUWX3feJYlw= 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171019_042715_324357_773EA697 X-CRM114-Status: GOOD ( 10.09 ) X-BeenThere: linux-mediatek@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, 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 MIME-Version: 1.0 Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org 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>;