Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3027033pxb; Sun, 8 Nov 2020 23:50:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJzEZ9WrOntn1uKZL/H5Tklg5VZE1b1Hjjd8VUx2sAX12IqdnGFr7EsEgg8nFH/1ihyAtDd2 X-Received: by 2002:aa7:d9d3:: with SMTP id v19mr13620001eds.67.1604908255975; Sun, 08 Nov 2020 23:50:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604908255; cv=none; d=google.com; s=arc-20160816; b=eTi/SZ5KoIap08do4sWZj8UypghKyMpZgDUf0beOuglTrbGHL8m5ItaPAw2hYTBbJM ZYoAis9YD9XRB2zeyJd3Zt8FOBop+AM7YciaNoxqdZWqAlWKwjFUlFZwogenj0Va0ZHJ 0oQQbokh5o7BIWDTDDgZVECYEsq6bJpq61HOTNPSTzlcIrE9/p17ekCplgpzr7w7W4QZ IiWhIZq5lhYV84+QqNTKX1I/FgnKTAGu9HGbjB6vt+9qoPRjwsQCKVoX1Ys6DVYnjixX JZxX+oRFN2B0ev7zdgaIORuXwBz/QcIuIL2Nu1uYFe9I8ez+FBa41VQEwXIvTet9dP9E PPbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=/XF0EGf1HmpAsphmVE5gnDEws49RwGsRwfQ6uNTI+4I=; b=b4UXqvSyINIyr8KV1rkZGtV9yMkbC2zlCsziEZw8f/aLsFWJ9bnP/sUTHArDAh+3+9 B6XtZhtPxmdM0QhbOaNPUDzqeSunxNIoFg/f/IpspxqK+WUbSAc3Bl6QDSWzP/Df080f w0Tv3yHSv07EQD3mSViynRW3qxbOeh5xzOT7ScFns5D+Q9GU7ESqBmJRifmwzMlACOUP o85+Kn51Uw0dR1ALEvNJppJt3IJ3bNdMRWFLiYda6fNhTuFIX+zDLon7lRK3UVGX8iMt 4XiLdN7b8DvQ3KJyBiy7MqScEOZtvQ4b7l48VVLxE+gMr63hZ1Iq5k0Ct91+qcOTyq41 +C7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=te3K6raB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id ml22si6120793ejb.172.2020.11.08.23.50.32; Sun, 08 Nov 2020 23:50:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=te3K6raB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1728038AbgKIHs4 (ORCPT + 99 others); Mon, 9 Nov 2020 02:48:56 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:48898 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728904AbgKIHs4 (ORCPT ); Mon, 9 Nov 2020 02:48:56 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 0A97mh32029713; Mon, 9 Nov 2020 01:48:43 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1604908123; bh=/XF0EGf1HmpAsphmVE5gnDEws49RwGsRwfQ6uNTI+4I=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=te3K6raBCO2X5Om0xvSQrZV3ZYHQx5+OmzBLHhwBI6pmhWyGHUM3rUFDvuu00x0xg xR3bagdK4Qcvt7uJ4T7CQf1ZWLDGcylAbfPeGtiL7+9B+jkj50XX8flv1faKKdmBxV g8OI5H9CsB0vBL6sGjxuVpfg0nv5OsNmap1vtTqw= Received: from DLEE106.ent.ti.com (dlee106.ent.ti.com [157.170.170.36]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 0A97mhYn084647 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 9 Nov 2020 01:48:43 -0600 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Mon, 9 Nov 2020 01:48:43 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Mon, 9 Nov 2020 01:48:43 -0600 Received: from [192.168.2.6] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 0A97mesc128217; Mon, 9 Nov 2020 01:48:41 -0600 Subject: Re: [PATCH 2/4] arm64: dts: ti: k3-j721e*: Cleanup disabled nodes at SoC dtsi level To: Nishanth Menon CC: Roger Quadros , Keerthy , Jyri Sarha , Tomi Valkeinen , Lokesh Vutla , Rob Herring , Tony Lindgren , Tero Kristo , , , References: <20201104224356.18040-1-nm@ti.com> <20201104224356.18040-3-nm@ti.com> <20201105140806.326ubfppb4guexpi@cultural> <37b4b284-0da5-c602-82a2-2b672f89891f@ti.com> <20201106214638.amgltswy6dygnyee@tubular> From: Peter Ujfalusi Message-ID: <400a464f-8d5b-9979-fb77-d939ac3bc994@ti.com> Date: Mon, 9 Nov 2020 09:49:26 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <20201106214638.amgltswy6dygnyee@tubular> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/11/2020 23.46, Nishanth Menon wrote: > On 13:32-20201106, Peter Ujfalusi wrote: > [...] >>> >>>> >>>>> default power management functionality etc >>>> >>>> Right, so how does that helps with devices present in the SoC, but no >>>> node at all? First thing which comes to mind is AASRC, we don't have >>>> Linux driver for it (and no DT binding document), but that does not mean >>>> that it is not present. How PM would take that into account? >>> >>> I think we are mixing topics here -> I was stating the motivation why >>> devicetree chose such as default. >> >> I don't question the fact that 'okay' is the default status if it is not >> explicitly present. There is no better default than that. > > ^^ -> Alright, that is all we are trying to do here: defaults in the > SoC.dtsi and specific cleanups (firmware reserved / board unused > disables) be done in a common board.dtsi (for now, there is no such > specific need, I guess). The default is what it is: default choice which suits most of the nodes. If the node is not complete in it's present form then it is not in it's default state. imho. >>> Alright - what do we suggest we do? >> >> Not sure, I'm 'whatever' after [1] makes it to mainline or next. > [....] >> [1] >> https://lore.kernel.org/alsa-devel/20201106072551.689-1-peter.ujfalusi@ti.com/ > > > I don't see the relationship between the series.. I think this series > brings no change in dtb, hence with OR without your driver cleanup > series, there is no practical regressions. This series opens up the possibility of nodes leaking to dtb with known broken state and the driver should have a better strategy than 'works by luck' to handle it ;) >> >>> Tony, Rob - I need some guidance here. >> >> I'm fine whatever way we take, but I think it is up to you to make the >> call as the maintainer of the TI dts files... ;) > > Yep - I have'nt seen a reason yet that must cause us to change from the > Device tree default approach in our debates. Imho 'disabled' is the default for nodes like McASP as it is: "Indicates that the device is not presently operational, but it might become operational in the future" (for example, needed properties added to the node). >>>> There is no such a tag, but: >>>> whatever-by: Peter Ujfalusi >>> >>> OK - I have no idea how B4 or patchworks pick that one as :D >> >> If we take this road, than I'm okay with it, but I'm going to take >> silent protest (not sending acked-by or revired-by). >> That should not stop you doing what you believe is best for the future! > > OK - thanks for your review and the discussions, always appreciate > getting our views out there. > > if there are no other comments, I will try and post a v2 over the > weekend. OK - Péter Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki