Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2066236pxb; Wed, 30 Mar 2022 15:48:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQupAFLRN83/7LN3/vfPsUZHABvOUJoLQKZ4HN3Iv2ID3t9JB7kLRKA53H56s/FYmsaht+ X-Received: by 2002:a17:903:11c7:b0:151:7290:ccc with SMTP id q7-20020a17090311c700b0015172900cccmr2111914plh.95.1648680530058; Wed, 30 Mar 2022 15:48:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648680530; cv=none; d=google.com; s=arc-20160816; b=HOQQWmV6xtIkk6QPEQICyLHBvUl818lsLz1C0vu8ISWOnAAG1951U2/ezWnZYwExHu 2TQhAABsUuWzeWUumrwnmPvDwMPELFD2cdoDTYnZXN7mWJCmapWWAkh5ZfPThFokRLqg AZTA5C/YSbA9QmRzPRv5wMUcdiprTwJ/u+lygHLW5zu8ewXrlyGJM4cRHQlLecOcj3bE 7R3Jbn295aluzKGSCS2+Alg3tBKqD2riUgKCADKPl04ieeUhr4Ygz15WUH6SbzxTQxOj l2BX82nrJSM/I/lJ0PRohPM5VFmtMKIE5ZExoeplmaO7jRXpmiFIRiBd0XvHBVFIZKz2 Ao1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=53EmT+0Iq+omqog9hMr5TTHzAfJsIFc7d5dRnXaOt/M=; b=kEz6rouGOexqc4HHyJtcwx6fc08dDPA++zh/36Umray0SHiOs3pJ5DnY93D8ZXvktx WjQbFVJsscxwXpvlr5070AC3bjfN1Dpiw3jsNFGPQCF0hEx58v3a2Gqm2OKGNw+BiVRP bzOYyZhjK4Aas/X9/6l90DuPbHUHwORNEO28/Wq+9a/3yoTXr/7TA3S05pjaVdseVIqc Nt+MYooSJoL6h6RY2pPBCwI0bxHrfJcyanSpy5xEEqKDXHAGKdwcsUtW9PteGg12NUOa 4FbivaKStQcNYhxDkz6pWEH5jwDUWSKDehoTWQyyk18iMRp7KIwuZ8ExavDHEDfNstk7 1Juw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w19-20020a1709027b9300b00153b2d1654dsi20707266pll.341.2022.03.30.15.48.33; Wed, 30 Mar 2022 15:48:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239037AbiC2PyU (ORCPT + 99 others); Tue, 29 Mar 2022 11:54:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238845AbiC2PyQ (ORCPT ); Tue, 29 Mar 2022 11:54:16 -0400 Received: from mail-ot1-f54.google.com (mail-ot1-f54.google.com [209.85.210.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43CEF22C8C2; Tue, 29 Mar 2022 08:52:33 -0700 (PDT) Received: by mail-ot1-f54.google.com with SMTP id k25-20020a056830151900b005b25d8588dbso13028326otp.4; Tue, 29 Mar 2022 08:52:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=53EmT+0Iq+omqog9hMr5TTHzAfJsIFc7d5dRnXaOt/M=; b=bQCYhcqHZiYofvN3bGLNEHdT+KCxqODKi2B0KxWgSr8IEntcla+T/YLOMXgZ5cIp+B axJkPqYxHweWspaR19k1iEmNetpgG7BznONpH/lZ30zn5jx9mGhvInuHVdgWfafrkvNB h5v0O8eiO5R+MyHTzjQBmax57MLyXXbhabG2upDphiqTMQ5jA+NxlkLrKjIGC+74tqbB DQ9I9D9oBHfC4amNQaWkYABHpyxksOyOTFAli144OWi61tRXcG8ICIM9/38LersN/Wau xz6jYqrMN8Afx42yGZCS4TIdw255b04bQ3Z0B1QMdzkMlpUf2XaK1gZDPw1sm7yQXejP qhuw== X-Gm-Message-State: AOAM532CsLyzPrWAVz5RswYyXAbf00ZXTIiI9MW8LAwGyzIv1Lpv5aTN YgrCByg8tDmC9pJyn2EZnOo/Nl3NGw== X-Received: by 2002:a9d:1991:0:b0:5cd:b2a1:5c50 with SMTP id k17-20020a9d1991000000b005cdb2a15c50mr1389734otk.217.1648569152513; Tue, 29 Mar 2022 08:52:32 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id w7-20020a9d6387000000b005b2265711fcsm7520205otk.16.2022.03.29.08.52.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Mar 2022 08:52:31 -0700 (PDT) Received: (nullmailer pid 753124 invoked by uid 1000); Tue, 29 Mar 2022 15:52:30 -0000 Date: Tue, 29 Mar 2022 10:52:30 -0500 From: Rob Herring To: Vinod Koul Cc: Krzysztof Kozlowski , Dmitry Baryshkov , Rob Clark , Sean Paul , Abhinav Kumar , David Airlie , Daniel Vetter , Krzysztof Kozlowski , linux-arm-msm , dri-devel , freedreno , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] dt-bindings: display: msm: dsi: remove address/size cells Message-ID: References: <20220328152923.90623-1-krzysztof.kozlowski@linaro.org> <12b0056b-8032-452b-f325-6f36037b5a80@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 29, 2022 at 12:01:52PM +0530, Vinod Koul wrote: > On 28-03-22, 13:21, Rob Herring wrote: > > On Mon, Mar 28, 2022 at 12:18 PM Krzysztof Kozlowski > > wrote: > > > > > > On 28/03/2022 19:16, Vinod Koul wrote: > > > > On 28-03-22, 19:43, Dmitry Baryshkov wrote: > > > >> On Mon, 28 Mar 2022 at 18:30, Krzysztof Kozlowski > > > >> wrote: > > > >>> > > > >>> The DSI node is not a bus and the children do not have unit addresses. > > > >>> > > > >>> Reported-by: Vinod Koul > > > >>> Signed-off-by: Krzysztof Kozlowski > > > >> > > > >> NAK. > > > >> DSI panels are children of the DSI device tree node with the reg = <0>; address. > > > >> This is the convention used by other platforms too (see e.g. > > > >> arch/arm64/boot/dts/freescale/imx8mq-evk.dts). > > > > > > > > So we should add reg = 0, i will update my dtsi fix > > > > > > > > > > To "ports" node? No. The reg=0 is for children of the bus, so the > > > panels. How to combine both without warnings - ports and panel@0 - I > > > don't know yet... > > > > I don't think that should case a warning. Or at least it's one we turn off. > > Well in this case I think we might need a fix: > Here is the example quoted in the binding. We have ports{} and then the > two port@0 and port@1 underneath. It's the #address-cells/#size-cells under 'ports' that applies to 'port' nodes. As 'ports' has no address (reg) itself, it doesn't need #address-cells/#size-cells in its parent node. > > So it should be okay to drop #address-cells/#size-cells from dsi node > but keep in ports node... Yes. > Thoughts...? But I thought a panel@0 node was being added? If so then you need to add them back. Rob