From mboxrd@z Thu Jan 1 00:00:00 1970 From: Srinivas KANDAGATLA Subject: Re: [RFC:PATCH dtc-1.3.0] dtc: Add --strip-disabled option to dtc. Date: Fri, 17 Aug 2012 15:19:31 +0100 Message-ID: <502E52F3.7090404@st.com> References: <1345034325-26656-1-git-send-email-srinivas.kandagatla@st.com> <20120817060415.GC29724@truffula.fritz.box> <502E3632.70208@freescale.com> Reply-To: srinivas.kandagatla-qxv4g6HH51o@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <502E3632.70208-KZfg59tc24xl57MIdRCFDg@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: "devicetree-discuss" To: Tabi Timur-B04825 Cc: "mmarek-AlSwsSmVLrQ@public.gmane.org" , "devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org" , David Gibson List-Id: devicetree@vger.kernel.org On 17/08/12 13:16, Tabi Timur-B04825 wrote: > David Gibson wrote: >> The name still isn't quite right - it doesn't just strip disabled >> nodes but anything that isn't "okay", OF defines "failed" at least as >> another possibility for the status property. > I would say that staus=failed in a DTS is an error. It doesn't make any > sense. How can you know before you boot the board whether a device has > failed? If you know in advance that device on that SOC is broken, then I guess "Fail"/"Failed" can be used in status property. One user of this flag in kernel device trees is ./arch/powerpc/boot/dts/mpc8313erdb.dts