Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1091569pxf; Fri, 12 Mar 2021 01:27:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJxCcUkFndRhyLP7zMgy6/Le3eFusl6CgSqgpNK0qmwKSnKrMtL93Rz3KfK3N1tYjbEjN/p+ X-Received: by 2002:a17:906:7384:: with SMTP id f4mr7597312ejl.196.1615541271721; Fri, 12 Mar 2021 01:27:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615541271; cv=none; d=google.com; s=arc-20160816; b=ch3vDmzx1VOJRptHKL/e9AbU6Vfp/vYzoeHwAs4gxyuDVAlssrcHWly0yFcm78gEOB FuG3vrPWjcV3oib1XzUtWVAK/Gb8NpKEziwlo8HInoeuGrhE+/jEwhaaQ1q14nOSWjEc X3gui1kGD31OFZ2ACqGjpeWhaELKYKJOuWdaSNolph88fPl8L9TzYA9YSt4eX77Wxg/N IJ+9PMLHEVAcDJaEN9T7qB/1mhYBNvYA3hUqTngUvbbQPjOEhuzTeQhQfaTUUbpr1YDE yp6itEdbcAT4mLkBqCd3SPNATPFBTRbHiuIrRZ8ZFNP1Omo7/hjiqx+Th6mr18+yd+6O RjUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=jnu6462Jet8SUYmAvn41fR/XdO7CyevOtYTLp+azYSw=; b=kD8ubqUXbRsPtkfRQMlMsD9w5uG8xz/i/M4IKF6+XE2w5jT+5Q4HOvGy9HtC64Hw9o iTCUQHLpQfCMiWIl48Zk0Nycvm4tVzRNX65E3mdSi9nU5O1dapVHaWKeviVDhGXtvwMV Yf1tP0TGypEYBKRhR+wFsEUk37n/YofVeK3qFlxLEzK8X5wxWC7KnV3z/bwVcDn20qq7 VQFLyuRbiLoYrMPSJQMeEDXNDICvveets5J0ZjTHSYJtNbFx6ReJ24qPJqU4Ul0ruPKi aqheLrEUnCnBOCKkbPT3NW2wlLjfREzYJdM+v1wsTN4lwJbHWF46vfBVgLSx4TJkFduM wqcA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a10si4090955edf.499.2021.03.12.01.27.29; Fri, 12 Mar 2021 01:27:51 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232913AbhCLJZs (ORCPT + 99 others); Fri, 12 Mar 2021 04:25:48 -0500 Received: from muru.com ([72.249.23.125]:42314 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232876AbhCLJZf (ORCPT ); Fri, 12 Mar 2021 04:25:35 -0500 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id E17968192; Fri, 12 Mar 2021 09:26:19 +0000 (UTC) From: Tony Lindgren To: linux-omap@vger.kernel.org Cc: Dave Gerlach , Faiz Abbas , Greg Kroah-Hartman , Grygorii Strashko , Keerthy , Nishanth Menon , Suman Anna , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/2] bus: ti-sysc: Warn about old dtb for dra7 and omap4/5 Date: Fri, 12 Mar 2021 11:25:16 +0200 Message-Id: <20210312092516.42884-3-tony@atomide.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210312092516.42884-1-tony@atomide.com> References: <20210312092516.42884-1-tony@atomide.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Let's warn if an old incomplete dtb is detected. We now assume the dtb is complete and does not depend on the legacy platform data. Signed-off-by: Tony Lindgren --- drivers/bus/ti-sysc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c --- a/drivers/bus/ti-sysc.c +++ b/drivers/bus/ti-sysc.c @@ -2886,6 +2886,9 @@ static int sysc_init_soc(struct sysc *ddata) switch (sysc_soc->soc) { case SOC_AM3: case SOC_AM4: + case SOC_4430 ... SOC_4470: + case SOC_5430: + case SOC_DRA7: np = of_find_node_by_path("/ocp"); WARN_ONCE(np && of_device_is_compatible(np, "simple-bus"), "ti-sysc: Incomplete old dtb, please update\n"); -- 2.30.2