Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3606505pxv; Mon, 5 Jul 2021 01:07:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQu+Ii1mjH/c5NfufWMs4genkNbW2x80ukpeQDY2Snv07ATm5ErGXsnkJAfL5RdksCp/CD X-Received: by 2002:a17:907:9812:: with SMTP id ji18mr12594154ejc.138.1625472439352; Mon, 05 Jul 2021 01:07:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625472439; cv=none; d=google.com; s=arc-20160816; b=fXspqshyR6Qk8UN7Ural2hdpE+dA7C+rO/yMR06MW+gWE25j3lVyjfs9L5WJ0x5DRu ycOE5uvUCe/tY+2YFJocF7v7zNryZEOWqV6ZGVT3jEUrBP7HlUvgRLXir45D0XDqdUM4 7qbbPPlwLn0UpF4cwLndt2uz5RFVdYuTR5fCpFx68LdhCgBnjJrMMUCuCmlNAIBWtVsw ysS9fwmTk5wG82NcQn8ARzYHAGoEAB7eqamiVfrxTR/p1GMG5GDmCub3f8mYVQGdp3CI 8nnWbevUwpbJQ77wmvLHcGNIVlf4avFPc3d7nwBhcLyPeaSLz2aNnaEW6g6D/EdU9Pq8 QOGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=t1Dn1dbFANDxTjKru21fZeQlfANFxxDAnXeii2gE0pY=; b=FY/cAp1xbCebDDOQYzDpEfrKKJv7hbjad5ho/kDRp9aCRIga9EGesaZZqMaXA21tBv X4oe0dDSPy9c31XFkGmadX9TFu+gzI2Zd0WdXBNYn1cVj5ymFDmt/8g3E2d0DQb3WKhm 1oZUUuC8NFNX5T2IRxmYzKfzK93ZvKddUYZzRN7gE1fosSw0f56RJEbXQzenePWwVO08 tfdI7RxhnYWbp7FtlR3sp/hEgr/jQEMWVI7mWo+OdWfeT50pkdBTTNoNiVCkc7qS1Wle RlWX1Fagesn8rpkznCU4u22bFlO9aYHR8PGaw+l+5v3acp3U1yGk6SuriEzEuhywBmmV 7kkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LZua4B2M; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s24si11173315ejs.346.2021.07.05.01.06.55; Mon, 05 Jul 2021 01:07:19 -0700 (PDT) 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=@linaro.org header.s=google header.b=LZua4B2M; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230073AbhGEIIh (ORCPT + 99 others); Mon, 5 Jul 2021 04:08:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230000AbhGEIIg (ORCPT ); Mon, 5 Jul 2021 04:08:36 -0400 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3CB3C061574 for ; Mon, 5 Jul 2021 01:05:58 -0700 (PDT) Received: by mail-wr1-x434.google.com with SMTP id i94so20945779wri.4 for ; Mon, 05 Jul 2021 01:05:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=t1Dn1dbFANDxTjKru21fZeQlfANFxxDAnXeii2gE0pY=; b=LZua4B2MfHjBcWLnDB1A4UVlgc6HH6nE7V+cq6l/d1Lw00g7qdmvicSb1psX32gu75 AhW+YCu8XABprqUth0XD/uApHJ/ULHUwxciTi9TDiCF/jSJp4LUqBJlyCcztNMoQiMhT RV21RMTZ2MjaBSpJ4vEXWtYuUxqq9K6fPWBCKzvDkk5l41iI2JbvoM5P3gyogG/VbZzd OsVAPntD1xFOf3NvXhVG3YPaeRWPCEQIQiFfdzJM0u68ghdWPr6wi/niGrMck5kv2aJQ Moh2P0gAlVmo6p3creyVO/0jNrG3Iob+tWx+rMFAcxqVHxT3kp3Bico11UnSuxz9t3FP DjBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=t1Dn1dbFANDxTjKru21fZeQlfANFxxDAnXeii2gE0pY=; b=H0Gbh01hqASaRUKhAHtMexyqNZGJNZ1jDNXkjugbbmeJwNuaByyN3MYoSQQYh9uHUN y/JUPiiS4A667oUjH3ETdVPLVf/Vgm1sNGnuZ6T+hIlDmLnK/NehHV8a0AHD3RYTobsd Ny9E8Pv+GrAMXpMiMouk01dA18sQAinB4J6toMuAmcWckVkAVD9rmBoLIswCbuSOFcYX N4jeDZre4KWrOEUIZSqyiF4DlUSJ/Qjd9Zp32112VmDdXERdZg+2TLRTpiKK+2gOk9aE dQBSW1dZj1jcSfDMSoRUKXm+UibMRgSWDm6cURRF/yj7Z4O8mhr5lE0Ayhjyp2C4OJN6 hMIw== X-Gm-Message-State: AOAM532cnNbDlNCRWKYguTkg83WX7qeftUggDL5TFAQbkTq/dJKlsHHV DknpQsBrDFP42ZiXSDNo1jwHEQ== X-Received: by 2002:a5d:64ee:: with SMTP id g14mr14967674wri.66.1625472357675; Mon, 05 Jul 2021 01:05:57 -0700 (PDT) Received: from dell ([109.180.115.218]) by smtp.gmail.com with ESMTPSA id m17sm12678696wrr.6.2021.07.05.01.05.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Jul 2021 01:05:57 -0700 (PDT) Date: Mon, 5 Jul 2021 09:05:55 +0100 From: Lee Jones To: Yunus Bas Cc: "daniel.thompson@linaro.org" , "stwiss.opensource@diasemi.com" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] mfd: mfd-core: Change "Failed to locate of_node" warning to debug Message-ID: References: <5a718e7812f2ce46347ae94fda6175f38c65359e.camel@phytec.de> <20210630105557.eaktwdz5p6yzuron@maple.lan> <9b5d0003cce92cad57e7712d1e46c78c10f1a0ab.camel@phytec.de> <20210702125920.fydyfhwqe7tyr7oi@maple.lan> <20210702191012.mecgw577ggkabxr6@maple.lan> <614d720b0f468334e74a4e29b626d498f25a7c31.camel@phytec.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <614d720b0f468334e74a4e29b626d498f25a7c31.camel@phytec.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 05 Jul 2021, Yunus Bas wrote: > Am Montag, dem 05.07.2021 um 08:31 +0100 schrieb Lee Jones: > > On Mon, 05 Jul 2021, Yunus Bas wrote: > > > > > Thank you for the clarification. I'm now aware on how to handle > > > MFD's > > > in the devicetree. But given this, the default behavior of MFD's > > > should > > > definitely be documented since i could see many other devicetree > > > examples handling this also not in the proper manner. > > > > In the 8 years I've been working with DT and MFD, this is the first > > time this particular issue has arisen, but if you'd like to submit > > such a document, it will be considered for inclusion. > > This is because on older kernel versions (or at least on the last LTS) > there was no warning in the first place. The warning was added with the > following patch of yours: > > Commit 466a62d7642f ("mfd: core: Make a best effort attempt to match > devices with the correct of_nodes") Right. The implementation was decidedly more broken before this and many sins were lying dormant. Fortunately, we now have an early warning system which should catch these kinds of misdemeanours during initial implementation. You make a good point about LTS' though. I'll be sure to keep this in mind as more people update. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog