Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp407725ybl; Thu, 23 Jan 2020 00:34:55 -0800 (PST) X-Google-Smtp-Source: APXvYqwnYQJHiOEZr+iUfQIG5S8tQp9s2DmH+UYSlWXl9pm5qy4Q+1mTbPThzvB91Lv+Fgx4ChPk X-Received: by 2002:a9d:7448:: with SMTP id p8mr10211229otk.96.1579768495627; Thu, 23 Jan 2020 00:34:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579768495; cv=none; d=google.com; s=arc-20160816; b=qdtYvhG4susvA7cMmfR1SBRC+LbcNmzIs4Yd36AXAGNg8KZXuDrK3XPLKV6P4rX/0u JXbfU4t5NCqbrCqCapQ2OVLiH+pBxk+N2VEUmMENIorMuoYyvbdBbSEWN6+DuZPYgI1O N7uAqqOU5/U8e3e2XXgH/OdWZrEfxj9tx5vRxar5VoK+01WauiNnobdjk31NL5NRe3b4 4X77bzkHeeaf6EW8wIZjHKpOHdERktnFHnR7tMaqDDI0vfthQbmo9SNM3PcYvw9/LZwA jQaIovw0Tb8N1FHxuHe2zAkJlMmWFrPCIY2NirEue4i+p9DYwucDKMEjPLHtzKHlW59M SDUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=EXVW/TtzQc961AukemstUi0Ud91p3tlNYKlSlMlNi54=; b=TQwqcUl3wMSHpYr/8bmUQ8laDtonP1gyEsZCbf7DwG4lrPfKg93Y3pVZAqu0IaryeG 5FdFM1bUnZsEDiqZ3TbjEnfLPlibGJkcFgqPIAOTy+wNDIL5HbJJkPKjID4eJoeM4rJt Q3Gg1UGkcAnhcuS3fTN+suD0326dofASQ8vIryeI5LZRXk5ZoGxL9OrJafTUT/a29Soe X3E6MjxIQPbMBGo/k3g8hi0gJ3GJYWWD83V6tvPAD/HCPE5h4k3gbDR+i4H5l2QD7rnS e9MUBOM+VFugkg+Pklq8GwcGt1tp3giHf9Z3VnR/vR1irQvwkkqHT5isBACngqqOIvgc JacA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=T2oRHE6e; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b11si569180oie.152.2020.01.23.00.34.43; Thu, 23 Jan 2020 00:34:55 -0800 (PST) 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=@ti.com header.s=ti-com-17Q1 header.b=T2oRHE6e; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726234AbgAWIdq (ORCPT + 99 others); Thu, 23 Jan 2020 03:33:46 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:37116 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726061AbgAWIdq (ORCPT ); Thu, 23 Jan 2020 03:33:46 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 00N8XdES099404; Thu, 23 Jan 2020 02:33:39 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1579768419; bh=EXVW/TtzQc961AukemstUi0Ud91p3tlNYKlSlMlNi54=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=T2oRHE6ekaf7IMKlnUJetLw8/zNlhuNlaHc+OeP8QGRnCmO8ENs7VC8xehJyYkxOD CJor9gh2C3MPrBNAlG1YRCYwFveU1JYD6scTbSGjIdTRPIcYxWli0I+t7fUWn/QmxK HE+k9Vi6bvhTWK5XLLAS4feWdql6mCo7Z7/M/k/Y= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 00N8XdLF088327 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 23 Jan 2020 02:33:39 -0600 Received: from DFLE101.ent.ti.com (10.64.6.22) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Thu, 23 Jan 2020 02:33:38 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Thu, 23 Jan 2020 02:33:38 -0600 Received: from [10.24.69.20] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 00N8XZ1M011906; Thu, 23 Jan 2020 02:33:36 -0600 Subject: Re: [PATCH v2 1/9] arm64: dts: ti: k3-am65-main: Correct main NAVSS representation To: Peter Ujfalusi , , CC: , , , , References: <20200122082621.4974-1-peter.ujfalusi@ti.com> <20200122082621.4974-2-peter.ujfalusi@ti.com> <600df214-620b-fa41-82ef-01132d9bdfae@ti.com> <04a1bb97-f308-f866-ad4f-907cd7fb3515@ti.com> From: Lokesh Vutla Message-ID: <469a35b0-9b60-7faf-2b1b-a77f9f502a50@ti.com> Date: Thu, 23 Jan 2020 14:02:45 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <04a1bb97-f308-f866-ad4f-907cd7fb3515@ti.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22/01/20 5:09 PM, Peter Ujfalusi wrote: > > > On 22/01/2020 13.03, Lokesh Vutla wrote: >> >> >> On 22/01/20 1:56 PM, Peter Ujfalusi wrote: >>> NAVSS is a subsystem containing different IPs, it is not really a bus. >>> Change the compatible from "simple-bus" to "simple-mfd" to reflect that. >>> >>> Signed-off-by: Peter Ujfalusi >>> --- >>> arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 4 ++-- >>> 1 file changed, 2 insertions(+), 2 deletions(-) >>> >>> diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi >>> index efb24579922c..e40f7acbec42 100644 >>> --- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi >>> +++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi >>> @@ -385,8 +385,8 @@ intr_main_gpio: interrupt-controller0 { >>> ti,sci-rm-range-girq = <0x1>; >>> }; >>> >>> - cbass_main_navss: interconnect0 { >>> - compatible = "simple-bus"; >>> + cbass_main_navss: navss@30800000 { >> >> This introduces below dtc warning when built with W=1 >> >> arch/arm64/boot/dts/ti/k3-am65-main.dtsi:388.35-530.4: Warning >> (unit_address_vs_reg): /interconnect@100000/navss@30800000: node has a unit >> name, but no reg property > > Interesting, the example in > Documentation/devicetree/bindings/dma/ti/k3-udma.yaml > > is basically the same and dt_binding_check is happy about it: > DTC Documentation/devicetree/bindings/dma/ti/k3-udma.example.dt.yaml > CHECK Documentation/devicetree/bindings/dma/ti/k3-udma.example.dt.yaml > > but it screamed when I had the simple-bus in there (copied from the > existing dtsi file). > > The node name for simple-bus _must_ be > '^(bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$' > > I would not use any of these to NAVSS node... > >> this is representing cbass inside main_navss, just like cbass_main. You can drop >> this patch and the similar mcu version. > > According to Documentation/devicetree/bindings/mfd/mfd.txt: > - compatible : "simple-mfd" - this signifies that the operating system > should consider all subnodes of the MFD device as separate devices > akin to how "simple-bus" indicates when to see subnodes as children > for a simple memory-mapped bus. > > NAVSS is falling into simple-mfd as the devices under it are independent > devices. okay, may be rename cbass_main_navss to main_navss. Thanks and regards, Lokesh > >> >> Thanks and regards, >> Lokesh >> >>> + compatible = "simple-mfd"; >>> #address-cells = <2>; >>> #size-cells = <2>; >>> ranges; >>> > > - Péter > > Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. > Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki >