Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1609226imm; Wed, 20 Jun 2018 23:01:07 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJEHl3wYGfJZyg5QodGe+sIS1KxqKKpxh2UNlISs8hPUj8pqFBoWI4/jP0oaa17QsEPfWgu X-Received: by 2002:a17:902:4c:: with SMTP id 70-v6mr26872453pla.178.1529560867398; Wed, 20 Jun 2018 23:01:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529560867; cv=none; d=google.com; s=arc-20160816; b=zLPz/t/Yfd32dqznSA13ksKinyQ+t+QKiVn0XKwCb49eaoWEIPjXguAvyFkVOZfI4m UllKTMNBWOkJjTn3NujbWUhcDfgiY+yGu/EFIm9YnbC39AvHAKwGIeYFSOM/7qI4AW88 vSzfGtxNrc7tT8yN2MOoH/aYwHbMFoELGINAoXzimqbX+LlFycCxEn4MSenbh9Vh80fV MFNFLH7/bn6x9MLmj8HPNts0H/uhtpyHhnL25HbNRrU7Bk7uyIZORYe8wofkvI+0Z0jJ sDUBIVN6vjURPEXtUlNmO8vIkqhe8EWa6DKEG0aQ4O+DbVH9NdHiQsdIJo2RbGBCgYaI MjdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:message-id :content-language:content-transfer-encoding:in-reply-to:mime-version :user-agent:date:from:cc:to:subject:dkim-signature:dkim-filter :arc-authentication-results; bh=nuxUSL1Hzye9Ch0ys/qi6Y09yk3g6nzl3WTdJ4y/WpY=; b=UGwjxCtzB06786zQpWhCcm0E0DlEa8gZBlSyIMCV61BOaS4SgQiJhPqV5C8u20LWBX Ppx0/O5twygeOIqdwLRkdy8kOlUMua9Xa3Qtp7ulnz5mtBL46n/httjzgysszpPxHPyU 3cZg+HVD6PzlLZZlX7ciUHdJJSCwZz42Cm1Hqhf4UrDITOKPYri0rmej1b/i2m1AMf3y cjX3PdCeXJk3BYKWiBDCNnqGas+CF9zvXYXiDp6pTb4cr7VG6At9WU5bgpS0vkwpSCn1 PClUkcB+pFxDr4RtXIOQFCdW8GAlb7aQBWcpzqBCGm5YvlN5yYAB/mMsb/NSzaErj9qo slGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=aDR59JV1; 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=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d4-v6si3295381pgq.411.2018.06.20.23.00.52; Wed, 20 Jun 2018 23:01:07 -0700 (PDT) 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=@samsung.com header.s=mail20170921 header.b=aDR59JV1; 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=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753906AbeFUF7b (ORCPT + 99 others); Thu, 21 Jun 2018 01:59:31 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:36542 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751211AbeFUF72 (ORCPT ); Thu, 21 Jun 2018 01:59:28 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20180621055925euoutp025d81e47b60dcd70e6227ed86f6e340ac~6F2mieZro2326923269euoutp026 for ; Thu, 21 Jun 2018 05:59:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20180621055925euoutp025d81e47b60dcd70e6227ed86f6e340ac~6F2mieZro2326923269euoutp026 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1529560765; bh=nuxUSL1Hzye9Ch0ys/qi6Y09yk3g6nzl3WTdJ4y/WpY=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=aDR59JV1o8BnTGkq4piV5SEfy90uIbiu3OU41zKj4qIDGHV1HcvFhnPpztqZohf/W SMwB7FKUCKfanN+q8b7wV8R8/45/3wi0sU1Fr6m1JiJIOnEQsj+/ppXz207dS1HrBP nGNlIFKNQsN0I1iCs0sT0I0PCA0DKDEHQF+Ty26I= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180621055923eucas1p15d6a14eaf572cd8e08dc6fbfb3640d60~6F2krP1Ed2975129751eucas1p1A; Thu, 21 Jun 2018 05:59:23 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id ED.6D.05700.BBE3B2B5; Thu, 21 Jun 2018 06:59:23 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20180621055923eucas1p190f716475dcd44f72b24abfa4d948c82~6F2j2EPNk0295402954eucas1p1v; Thu, 21 Jun 2018 05:59:23 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20180621055922eusmtrp2228a2c377cd5c13455fbcb54e9f8c748~6F2jnLa6i1918719187eusmtrp2b; Thu, 21 Jun 2018 05:59:22 +0000 (GMT) X-AuditID: cbfec7f2-1c1ff70000011644-20-5b2b3ebb8f28 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 90.B2.04178.ABE3B2B5; Thu, 21 Jun 2018 06:59:22 +0100 (BST) Received: from [106.120.43.17] (unknown [106.120.43.17]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20180621055922eusmtip12e4bcdbbdfabf9db97d6590d89168964~6F2jGXqeP2473624736eusmtip1q; Thu, 21 Jun 2018 05:59:22 +0000 (GMT) Subject: Re: [PATCH 2/2] arm64: dts: exynos: Remove unneeded DSI and DECON address/size cells in Exynos5433 To: Krzysztof Kozlowski , Marek Szyprowski Cc: Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Kukjin Kim , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, "linux-samsung-soc@vger.kernel.org" , linux-kernel@vger.kernel.org From: Andrzej Hajda Date: Thu, 21 Jun 2018 07:59:20 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180620193407.gk5e5ecolo5bel3c@kozik-lap> Content-Transfer-Encoding: 7bit Content-Language: en-US X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrNKsWRmVeSWpSXmKPExsWy7djP87q77bSjDS6dU7F4v6yH0WL+kXOs Fv2PXzNbnD+/gd1i0+NrrBaXd81hs5hxfh+Txdojd9ktll6/yGTRuvcIu8XLjydYHLg91sxb w+ixaVUnm8fmJfUefVtWMXp83iQXwBrFZZOSmpNZllqkb5fAlbH1ZBtTwTShijWf17I3ML7i 62Lk5JAQMJFof7GfrYuRi0NIYAWjxOfuSawgCSGBL4wSM07aQCQ+M0oseriUBabj5qIpjBCJ 5YwSr+8fgnLeMkqsv/GBCaRKWCBX4lLfcaBRHBwiAhES21eyg9QwC7xkkviybRszSA2bgKbE 38032UBqWARUJfY+AtssClS+ccInsBJeAUGJkzOfsICUcApYSBycmwgSZhaQl9j+dg4zhC0u cevJfCaQ8RIC59glGk6/ZoXoLZN4uBPiHAkBF4nuOQ2MELawxKvjW9ghbBmJ/zvnQ9XUSzTN vMIMMaiDUeLE4u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iDWxrLgy9xCjBAezkgjvORPtaCHelMTKqtSi/Pii0pzU4kOMpkCvTWSWEk3O B6aNvJJ4Q1NDcwtLQ3Njc2MzCyVx3vMGlVFCAumJJanZqakFqUUwfUwcnFINjHE3Z+9l4l6y fUvQ6u6e1L27togfl7y1ZfXhiGfWnbNcRAzFJ1d41m3jNRbJFtnDyfD3fhRnYVz2N0PLHR9+ n5h87rfpMwb5mHMGM/YsPutky+Gu0DW1c47e1BS+kNP7uJ8EnYuvMPx+scnmZNq2i+utH7AL J3QsOXtUbEuh+syCB8nBvSHFm5RYijMSDbWYi4oTAVzfekXjAgAA Message-Id: <20180621055923eucas1p190f716475dcd44f72b24abfa4d948c82~6F2j2EPNk0295402954eucas1p1v@eucas1p1.samsung.com> X-CMS-MailID: 20180621055923eucas1p190f716475dcd44f72b24abfa4d948c82 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20180618174316epcas1p397b66c8e4e8479fce8655941a4d4279f X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180618174316epcas1p397b66c8e4e8479fce8655941a4d4279f References: <20180618174216.24801-1-krzk@kernel.org> <20180618174216.24801-2-krzk@kernel.org> <20180619072652eucas1p1943deb1b158eda52980448e41f83e5e9~5fwX6lI2o2633926339eucas1p1Q@eucas1p1.samsung.com> <20180620193407.gk5e5ecolo5bel3c@kozik-lap> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20.06.2018 21:34, Krzysztof Kozlowski wrote: > On Tue, Jun 19, 2018 at 09:59:04AM +0200, Krzysztof Kozlowski wrote: >> On 19 June 2018 at 09:26, Marek Szyprowski wrote: >>> Hi Krzysztof, >>> >>> On 2018-06-18 19:42, Krzysztof Kozlowski wrote: >>>> The decon, decon_tv and dsi nodes have only one child port so >>>> address/size mappings are not necessary. This fixes DTC warnings like: >>>> >>>> Warning (graph_child_address): /soc/decon@13800000/ports: >>>> graph node has single child node 'port@0', #address-cells/#size-cells are not necessary >>>> >>>> Signed-off-by: Krzysztof Kozlowski >>> Works fine with current Exynos DRM Decon/MIC/DSI drivers. >>> >>> Tested-by: Marek Szyprowski >> Thanks for review and testing! > I have second thoughs whether this patch is correct. AFAIU, the drivers > get the remote endpoints by reg==0 (for example the > of_graph_get_remote_node() in exynos_dsi_parse_dt()). If the port shall > be ignored, then reg==-1 should be passed. All this is about purity, DECON bindings says explicitly that there should be a port with reg=0. So your patch and DTC warnings are incorrect from bindings PoV. On the other side graph bindings are too bloated ( so many lines to describe one connection ) so I am happy if there are shrinking attempts :) Functionally nothing changes, of graph helpers assume reg=0 if it is not present in port/endpoint node. And regarding real issues, DECON could have more ports, possible candidates: - GSCALER0/1/2, - GSD/DSD - interconnect between GSCALERs and DECONs, - SMIES - image enhancer (not implemented), - MIC0/1 - image enhancers, - DSIM0/1 - DSI encoders, - HDMI - HDMI encoder. But since all these connections can be configured dynamically, and more importantly are inside specific SoC I dont think they need of_graphs. In fact I think current of graph is also not necessary, but this is different story, removal is on my long TODO list :) Regards Andrzej > > Best regards, > Krzysztof > > -- > To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > > >