Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp1564126ybf; Thu, 27 Feb 2020 13:31:03 -0800 (PST) X-Google-Smtp-Source: APXvYqy01xccV26NdM2ca4qoJQkY2BoJS3vUepyFeaFrwiLEHsoTAQVYmouPk4r7n5ctOyekNgB9 X-Received: by 2002:a05:6830:1b76:: with SMTP id d22mr686785ote.343.1582839063439; Thu, 27 Feb 2020 13:31:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582839063; cv=none; d=google.com; s=arc-20160816; b=03uQvIR6B6I947gSNVXq8BYIhoGHYCDFsrzj+Pkjmn0pJ7+rJIjCmY9DZZtClatXi4 5tBwhRN9X+H6wX/HUtqM3Cv+3EiXcoIARWYa9OPYtUa5Yxku/5NoCb0SBZWdychnIpQv aIrD63i2l0iLN16KihVZLcgKkl4UopQF653xgj6kXNFjd+VbhZCNIrU+rbi7WgCrdc3U HkGTfcypDD+d8vzvbuNGuBNHzvXyPmLw0ZhnAsY8rD8UATGIKcvchaFKOPA1VoElhojb 0bKyHNDf1uAXopk5UTFMZ8Jx7Kpx7/kcU9wrVYCV/MISpnbSEQVaSyCo3leD4Xk0Z6FY qHqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=tJYZno5I7hqUITbCtEdALLSmhbwf0KnyRXeqvIIZT5U=; b=tyI5zAwbWEc93fQz9utkhvI0L/WIP0UwzvFpeEkkqpK1COUtMIfjf+CWH96IGeaict NTqFC2t+Vcew8zb9C/DZIh7yYgakHM/GcaAqs47BeNbK/xCipuhBtUHjvM6khwRBBcCM SJMMY5BN7JdVvz/cyvW2uTtp8c6/a8FmB4WZJLnK7/HmxA8iMTSltqCJNdbR40dDTwut DZxHs+0M1ESq48djsjaS5oZm3AO7QFbOz/YL3AgyUS0FjH6TEK7jVCRZEFNiN09ugmpH WHusPOdQqKLMzjN4DJVWzcFd4+ms8EXFwgThuiGN5m5Tx4PdNQEwIbULmqT3ix5xLi0z xqQw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 67si258553ott.243.2020.02.27.13.30.50; Thu, 27 Feb 2020 13:31:03 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729852AbgB0Vag (ORCPT + 99 others); Thu, 27 Feb 2020 16:30:36 -0500 Received: from muru.com ([72.249.23.125]:58136 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726758AbgB0Vaf (ORCPT ); Thu, 27 Feb 2020 16:30:35 -0500 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 188C980C0; Thu, 27 Feb 2020 21:31:19 +0000 (UTC) Date: Thu, 27 Feb 2020 13:30:31 -0800 From: Tony Lindgren To: Suman Anna Cc: Roger Quadros , Tero Kristo , linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 06/12] ARM: dts: am335x-bone-common: Enable PRU-ICSS interconnect node Message-ID: <20200227213031.GK37466@atomide.com> References: <20200225204649.28220-1-s-anna@ti.com> <20200225204649.28220-7-s-anna@ti.com> <20200226182924.GU37466@atomide.com> <20200226223745.GA37466@atomide.com> <20200226223921.GB37466@atomide.com> <20200227020713.GE37466@atomide.com> <28724629-2872-545a-309f-5a3208221b33@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <28724629-2872-545a-309f-5a3208221b33@ti.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Suman Anna [200227 21:29]: > On 2/26/20 8:07 PM, Tony Lindgren wrote: > > * Suman Anna [200227 00:59]: > >> Hi Tony, > >> > >> On 2/26/20 4:39 PM, Tony Lindgren wrote: > >>> * Tony Lindgren [200226 22:38]: > >>>> * Suman Anna [200226 20:35]: > >>>>> On 2/26/20 12:29 PM, Tony Lindgren wrote: > >>>>>> * Suman Anna [200225 20:47]: > >>>>>>> The PRU-ICSS target module node was left in disabled state in the base > >>>>>>> am33xx-l4.dtsi file. Enable this node on all the AM335x beaglebone > >>>>>>> boards as they mostly use a AM3358 or a AM3359 SoC which do contain > >>>>>>> the PRU-ICSS IP. > >>>>>> > >>>>>> Just get rid of the top level status = "disabled". The default > >>>>>> is enabled, and the device is there for sure inside the SoC. > >>>>>> And then there's no need for pointless status = "okay" tinkering > >>>>>> in the board specific dts files so no need for this patch. > >>>>> > >>>>> The IP is not available on all SoCs, and there are about 40 different > >>>>> board files atm across AM33xx and AM437x, and am not sure what SoCs they > >>>>> are actually using. > >>>> > >>>> Oh that issue again.. Maybe take a look at patch "[PATCH 2/3] bus: ti-sysc: > >>>> Detect display subsystem related devices" if you can add runtime > >>>> detection for the accelerators there similar to what I hadded for omap3. > >>>> acclerators. > >>> > >>> Sorry I meant instead patch "[PATCH 6/7] bus: ti-sysc: Implement SoC > >>> revision handling". > >> > >> OK, looked down that path a bit more and looking through mach-omap2/id.c > >> and soc.h, I see some of the part number infrastructure build on top of > >> DEV_FEATURE bits for some SoCs. The DEVICE_ID registers only have the > >> generic family and the Silicon Revision number for AM33xx and AM437x and > >> we currently do not have any infrastructure around exact SoC > >> identification for AM33xx and AM437x atleast. > >> > >> Do you have the bit-field split for the DEV_FEATURE bits somewhere, > >> because I couldn't find any in either the DM or the TRM. On AM437x, > >> there is no difference between AM4372 and AM4376 DEV_FEATURE value even > >> though the former doesn't have the PRUSS. On AM335x, may be bit 0 > >> signifies the presence of PRUSS?? > > > > OK not sure how that could be detected. Maybe check the efuses on > > the newer SoCs? > > OK, latest datasheeet has fixed these values up, and they are no longer > identical. In anycase, none of the current AM437x board dts files in the > kernel use AM4372, so atleast for AM4372, I can drop the status=disabled > even without adding any SoC name support. OK sounds good to me. Thanks, Tony