Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1019102pxb; Thu, 24 Mar 2022 11:08:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyRZTwOSPis0+raFrSUXY2fZEIllsYc3GWpguKqhNGJ4uSbb7UZT5k0LXAq4Mt8PpBiT7Ux X-Received: by 2002:a63:1b48:0:b0:384:4dff:5dbb with SMTP id b8-20020a631b48000000b003844dff5dbbmr4996219pgm.238.1648145326903; Thu, 24 Mar 2022 11:08:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648145326; cv=none; d=google.com; s=arc-20160816; b=EHuZv4IhMMxRQZgszhHLYdFrckWRge/RdUfRsy1yarpHW9PRM5l8JfcoZlsoStoiO5 4C8vz0hI1CTux0B8BGWCYJ/2in0crfQEL+ewxzbgcvu8aiTgdK8GVKTJqim+Ju5Z9LfK mGGU2bdFqB7CglBbua8aM5qpdS3WWpn8ZBYesCXkWJq7GqXK3jGzScTN36lF6M/J5B1X 4DXzMRHyT2+Eu7wnBKkaY+tlmDJQIo0SABsJRPm5JXoWzDR6h2TlgrNEDvAvZV3i5FB5 V1fW5H8zcisVnHhDApITiYl7tbV/PVjjVk2NvT58fhsArKSCYf2NaEML3Uk970vZAc+Y zkAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=dj2OYRP72nYEcyuXpq0g2K9Klljbw9VM6Ie9R4+BZ0w=; b=wYtkMJvocdlNCRWnhKZRNTc8G8qGKkKDcsPSKP1Pc479Tgq354s99XOsRY5kS3gaJg Z+o89COTbgcqS00QXjWjfWiaN8AXXedTo4o39Z1mL/exBu0A3oxBSJL09wt+wVQaHJNI i1pohpwzjabeycjek8awh+iBpfsTbJkNorXGrGwnshGgmwH8kHBDlopSW9rIXzHaCeRT WeKzwi47Cueda2Q+wPpKY8wf4S095nCs43wX0aPy34+R11O0v3oazSaCLBV/r5H1JgDY gAbBN377PY+hTvcxNtiBdZG3uqnbY8lae0RV1pfLPIfAbMj5wIJr717FTLg6hmIve17K vIqg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i129-20020a626d87000000b004faa3ae3e94si450199pfc.22.2022.03.24.11.08.32; Thu, 24 Mar 2022 11:08:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349725AbiCXLSq (ORCPT + 99 others); Thu, 24 Mar 2022 07:18:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349720AbiCXLSm (ORCPT ); Thu, 24 Mar 2022 07:18:42 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF7A1A66DA for ; Thu, 24 Mar 2022 04:17:10 -0700 (PDT) Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=[127.0.0.1]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1nXLSe-0005xo-30; Thu, 24 Mar 2022 12:17:00 +0100 Message-ID: Date: Thu, 24 Mar 2022 12:16:58 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCH 0/4] dt-bindings: imx: add nvmem property Content-Language: en-US To: =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= , "Peng Fan (OSS)" Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, ulf.hansson@linaro.org, Peng Fan , netdev@vger.kernel.org, s.hauer@pengutronix.de, linux-mmc@vger.kernel.org, qiangqing.zhang@nxp.com, linux-kernel@vger.kernel.org, linux-can@vger.kernel.org, robh+dt@kernel.org, mkl@pengutronix.de, linux-imx@nxp.com, kernel@pengutronix.de, kuba@kernel.org, krzk+dt@kernel.org, pabeni@redhat.com, shawnguo@kernel.org, davem@davemloft.net, wg@grandegger.com, festevam@gmail.com, Srinivas Kandagatla References: <20220324042024.26813-1-peng.fan@oss.nxp.com> <20220324111104.cd7clpkzzedtcrja@pengutronix.de> From: Ahmad Fatoum In-Reply-To: <20220324111104.cd7clpkzzedtcrja@pengutronix.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: a.fatoum@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 24.03.22 12:11, Uwe Kleine-König wrote: > I'd rather not have that in an official binding as the syntax is > orthogonal to status = "..." but the semantic isn't. Also if we want > something like that, I'd rather not want to adapt all bindings, but > would like to see this being generic enough to be described in a single > catch-all binding. Cc += Srini who maintains the NVMEM bindings. > I also wonder if it would be nicer to abstract that as something like: > > / { > fuse-info { > compatible = "otp-fuse-info"; > > flexcan { > devices = <&flexcan1>, <&flexcan2>; > nvmem-cells = <&flexcan_disabled>; > nvmem-cell-names = "disabled"; > }; > > m7 { > .... > }; > }; > }; > > as then the driver evaluating this wouldn't need to iterate over the > whole dtb but just over this node. But I'd still keep this private to > the bootloader and not describe it in the generic binding. I like this, but being for bootloader consumption only doesn't mean that this shouldn't be documented upstream. It's fine to have the binding, even if Linux isn't expected to implement it. Cheers, Ahmad > > Just my 0.02€ > Uwe -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |