Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp77464pxb; Wed, 30 Mar 2022 23:38:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPyDyO8PWuyO6ZMee6L6Ug6iTWiC8BlXWMSwQlU7Ecmu7QVdYVj6zXnuwSU4dl4EKnzH/n X-Received: by 2002:a17:907:c05:b0:6db:f118:8834 with SMTP id ga5-20020a1709070c0500b006dbf1188834mr3705621ejc.536.1648708689219; Wed, 30 Mar 2022 23:38:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648708689; cv=none; d=google.com; s=arc-20160816; b=csVot85LakDHdNzDgiNI+b3NQw0SNzPEFQCN110hjrs+AD0HzDYjx/My2jXX1NIzeo aptpKUbv+pnQ2dg8bKCg4Gp7N4FvzyiSgqxSFYOQPACjXGNYjkXYjpqa9m2fKMT5yEEo JIZqEakQMkwyirnimhCq9RiOzU4R1JwD4ZEYSzoDqzk1VnyHHaqYluBvKSG3J4sHl1i+ 1jrepPQ6BZK4ZSjNe514Z1ChYurzwXp1ffP0D6F2I8zZ07JmlbbLjMa1FuUiXW14n+c+ GOxQdWCEPrKPrKl3JNX1Va52hj6nnk4BcQjgA9nT86viic2JGS4vV8FHU2IS3gtxoq64 ntUA== 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:dkim-signature; bh=MIYFFierWGpcbmEe7Y9G2Z+TXWUoz/EuJEd2P1cYFtI=; b=F+MbsGqjCOTCGAZzbzeKk4oHUJki/cW5E/hK5VeFEzOkgQDu1AQpq25X+BDg1rzUwM SwIddobTuOLz9tiorB4NrrLHtfiGaZU4t19A4vM/LXNPR77w0YauFsx0BpfTAn7la79M +yoLq2KvDoYLRJNTWah8ZHXwdgpgKkBLAZiUIx/Qdb6Enc3ofs0gSvvmBH86sWFjnRQT yjxik6yNLUwM3oTlWhGrA6dI5BO+UIWtBvPflDnkPA5cSq5KG27KxbUogUQ/bkfv55J6 7vbgBtSw2xeDHImeudbQxjwsxdTadLZ8OgfQlgbnFRP9GB8L3yJGB2mqnOJDiU/vkSha dgaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fbInko8+; 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 k11-20020aa7d2cb000000b00418c2b5be34si22328102edr.278.2022.03.30.23.37.44; Wed, 30 Mar 2022 23:38:09 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fbInko8+; 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 S230365AbiCaGHe (ORCPT + 99 others); Thu, 31 Mar 2022 02:07:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230033AbiCaGHc (ORCPT ); Thu, 31 Mar 2022 02:07:32 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E81E81DC9A0; Wed, 30 Mar 2022 23:05:45 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 99D63B81EA0; Thu, 31 Mar 2022 06:05:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A2AFDC340ED; Thu, 31 Mar 2022 06:05:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1648706743; bh=QQKn+Kv4FLipNOaxDBLqAUQ//ylLu2B/5Kt8RPNpRr4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fbInko8+mnPe6uxn0w7FVcGvtXjG+NE7LfwKIopJqKNt8OPhQaDArQMOt0qc8ge/t SLJoRK0tMmLrcbeSgGx6LtbRXc8qtzM/Be2+YkRBVmStrHi/VT2RMl8o14WGcwx1J1 zIDZcTJU56GTnvNNDIk5SSzqqRj2OoHAvFlc+Ikjj0lNDPH349iGDORgJ2OWtMJ6Xp P4kxh8gOv+wANKWvGjqEzWIMsPOvxgiIapuvkjPBGGBJhdwDPwJpTiPXotmDdOjYKa QG96BQbQl0Ih7K5swrwEPWAXi7Kv402R/xuxng8j/zVMCxB4oigcKrQP4ENgLueBlf IUWluFcNjF4HQ== Date: Thu, 31 Mar 2022 11:35:38 +0530 From: Vinod Koul To: Rob Herring 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=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 29-03-22, 10:52, Rob Herring wrote: > 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. I guess we should make this optional, keep it when adding panel@0 node and skip for rest where not applicable..? Dmitry is that fine with you? -- ~Vinod