Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3186589ybd; Mon, 24 Jun 2019 21:15:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqzdUGW1Qf3f+MA0a3g+0PAUo2K0xVfgLiHDHGCU6CbLYUOjavULs0Fwxpoe8grCDpO7k+Nq X-Received: by 2002:a17:90a:1904:: with SMTP id 4mr29990725pjg.116.1561436142192; Mon, 24 Jun 2019 21:15:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561436142; cv=none; d=google.com; s=arc-20160816; b=nOz6+Hm82ywbEcHdJw9V6bUY5gV5w2Q/+ryWGI4jRfwpO41ecoV7mRpZaMYnR0h8aQ xmlSfBzBoeFYF/Q0gFGl3S20K6FxEDTryVYG5ANpubVjZKFIAK10z1v/WmGw0sVLP8kK uV1UDjuhhO8T5VBh5DKauVWeAXpbhQR0ewfrqrKIlBX/kptGFarpaYmU4p3nRVuYywoQ Qm/3wUlI1/aLUDx6eNRd1iAFeP6ti3DH2uiSwL0wdWv1CWM8Ii5YHNxX6cglS16NSmB9 rXArXsgdsI/ErYyQajM1eOnNKqrOTqMJ/Zq+1xlEvFYb7qBU093KDlhA8OSgiDma3nVi awkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=hreneRMdosQHoew3G/ulwzqPUoN3bk6y0Mh9gFGiOHc=; b=aElHLx4VKMfnaogU8VWR6u0xN6X1yNDgphAqjwyRrOOnoeHwMReBAFgCev/J7wr55h E69QjPZs1t5B+wI3jE32LT0jme/Yx+lGP2iwZBXLz4ytpEByGtOWi2QwaJD+S2oi0IO+ A6ix99Hufn9V6o+cLFT/VvKngNFxkUL1+NeYlKBlY1Rz97g3oK4yrY6K4JSnsLwpjWww WljnHtw3T+2yCuTtH9P3dfXd2tGycgYeIuGmj88OVCXK9VSr4skK36JofpZhfMaGGPBv Bpg/QffCCIFNp2A8pJmAQp676/CbKRoLg6GkdpnLbdoG++FK/5yI7o+GaJQpBuPImXya TJrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b="YutOJx/y"; 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 h8si1545295pjs.13.2019.06.24.21.15.26; Mon, 24 Jun 2019 21:15:42 -0700 (PDT) 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=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b="YutOJx/y"; 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 S1726732AbfFYDbt (ORCPT + 99 others); Mon, 24 Jun 2019 23:31:49 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:56071 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726362AbfFYDbs (ORCPT ); Mon, 24 Jun 2019 23:31:48 -0400 Received: by mail-wm1-f65.google.com with SMTP id a15so1226956wmj.5 for ; Mon, 24 Jun 2019 20:31:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hreneRMdosQHoew3G/ulwzqPUoN3bk6y0Mh9gFGiOHc=; b=YutOJx/yNHxHBs7eip+GCzWGxLqBKS6HyqZOc89ENz9rJ34KjLkKIpDBw4RWPnmHLa MgchNwF70fF15hKZ24AWHDw+jN7rsCA9L13wkYtqXguEBXH072x8pEdHIijavPAOQufT ULwurfHUvacfjYlhENKW0MRK/d7rmWJ8yu0OcsDgVV91KEtrztuDNtXClNYJMgLaBzjI tEDhtW2KUAkF61HI2Etk6L3uJMrm7rBqP7pglkCVqUtohmQL0WgIPACLQTdzadflJn8N stPVpKOCO7djrBVvPtAQGvlSeYrSfjepK5GDBspXz4SOq5mnCipmYi9j4vRInCQRf0gk ZlBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hreneRMdosQHoew3G/ulwzqPUoN3bk6y0Mh9gFGiOHc=; b=ScDVo59pF41u7/0TpvQTyX70lr9vCmMD7WiNBR7Gl0IaCOZ3ng2DRfvQfaJPGjQG80 GXxXq87WGsYu/nNeod1jSHFZESsll3nBr3JnpLCXgPGdJYCU+Jsm6xcrHi97jD/nQHdu ECty3SgeUAGUcbbL1IYb/dLnnj2Yk0pykmhCG0R+/qfZwb193CH0EjFDHAFRw8mPkRFO YxVpG+7MOIXZLTxWdT5+SIkDrgBWxZV7qvpmW+O5+iZ1QwD9LqD2PYW4/32QhaMYAk74 BZ+W4zwhuCWXfyeMT0h/i0l3OzLCy5LrfOAKXjFuQ3USVdt/XEBCLl/KFKWeqm627OX6 ftlA== X-Gm-Message-State: APjAAAVxlfoW5eMzCSPWNIfxfnIXr7A7mtmNdlBDzjAnbUPvTuMmTICb bzkeK5BF+FX1aEl3nVNYm8FsUq2cAsZoIEQmvPZKTA== X-Received: by 2002:a1c:740f:: with SMTP id p15mr17990557wmc.103.1561433506287; Mon, 24 Jun 2019 20:31:46 -0700 (PDT) MIME-Version: 1.0 References: <1561375453-3135-1-git-send-email-yash.shah@sifive.com> In-Reply-To: From: Anup Patel Date: Tue, 25 Jun 2019 09:01:33 +0530 Message-ID: Subject: Re: [PATCH] riscv: dts: Re-organize SPI DT nodes To: Paul Walmsley Cc: Yash Shah , Rob Herring , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, "linux-kernel@vger.kernel.org List" , Mark Rutland , Palmer Dabbelt , Albert Ou , sachin.ghadi@sifive.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 25, 2019 at 2:53 AM Paul Walmsley wrote: > > On Mon, 24 Jun 2019, Yash Shah wrote: > > > As per the General convention, define only device DT node in SOC DTSi > > file with status = "disabled" and enable device in Board DTS file with > > status = "okay" > > > > Reported-by: Anup Patel > > Signed-off-by: Yash Shah > > This is a good start, but should also cover the other I/O devices in the > chip DT file. The mandatory internal devices, like the PRCI and PLIC, can > stay the way they are. Yes, this convention only applies to SoC devices with external connections so PRCI, PLIC, and CLINT DT nodes are not required to follow this. Eventually, this convention helps when we have multiple boards of same SOC and each board having different set of peripherals connections. Regards, Anup