Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp200457rwe; Wed, 31 Aug 2022 00:51:42 -0700 (PDT) X-Google-Smtp-Source: AA6agR74302oeQA5x5mD2d/uHVPTbUxJbqE6xEPY5BxYTRjzfTzq/xbD2EuGO3tVyZo3pv1qC5rP X-Received: by 2002:a17:907:2d12:b0:731:6a4e:ceb0 with SMTP id gs18-20020a1709072d1200b007316a4eceb0mr19896089ejc.115.1661932302045; Wed, 31 Aug 2022 00:51:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661932302; cv=none; d=google.com; s=arc-20160816; b=elSwPfh2+p32RruG5ENr3jPMXQAkbgD3r7uLU7lESqDKaQhij0J+eCSDjdJFDhpZXO yTnPeMq4IQ9QpAwIuVM3Hh4VHdOxswboSLa3tHc3fziL1BEZ7avMWNUPHe2Weyk/l8tY KeV2cUmyxCIBcVYwi7L92O5sfD+MEjT8grvlw3/oDFlhdTO8cFggdEGyXtNUbXeLPdZB iFssjW1PrU+sUxUUTP55/tm44HDPYspk7HngJvHy8ZnuSFFvL5xzbVqh7MH6kzVhUia1 kGd/v2FIJadIBSOOZdK1RuGqyAEst5S/F5wPYXVv6lLBaCDmoDx1QuZFVyriXj2dAkr5 cyAg== 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:dkim-signature; bh=dKwUKqyzx080nN57Qu5BhT7GLES0nR5U2OgHxHW4Ezc=; b=s5wH93cbt42doOF+P8TDiV9VW6co3o77d7quwKLYvltLGMMRRLEr2Sf/HBNz+adzDg EXmr1sGIa29BbjFJQHPKODCowfamlEyE3A1rU7UpHf4i28u+Ce/3trmM7rbSnhL/lNwR sV8H+hpXvuMhWLVc02rRlm+AmGJY/h7p0WEVkJo6FR4twhUZnHxz7r2IllVpYvWneGok ckY/p0GtRqxRrBFMg/a2ojFSRH+7fwefBKV0noIsSx0jtjpdDEW4j/wXPcZBKlaxYeiI fFcGpq6zotFNnhR66to8r3RW8q8sAX16L1xmc/lka4ImyTHdxMnlzKwDL7UGeCeh14D2 8dsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hl+Q4cmX; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c3-20020aa7df03000000b00447d567a77dsi9219303edy.207.2022.08.31.00.51.16; Wed, 31 Aug 2022 00:51:42 -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; dkim=pass header.i=@linaro.org header.s=google header.b=hl+Q4cmX; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229468AbiHaHsf (ORCPT + 99 others); Wed, 31 Aug 2022 03:48:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230390AbiHaHsO (ORCPT ); Wed, 31 Aug 2022 03:48:14 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49EACBD2BA for ; Wed, 31 Aug 2022 00:48:09 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id br21so13011309lfb.0 for ; Wed, 31 Aug 2022 00:48:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=dKwUKqyzx080nN57Qu5BhT7GLES0nR5U2OgHxHW4Ezc=; b=hl+Q4cmXAGv7OYDv7Qj4tlRkQxNyddYi7q/ngGx6bFSaSmRkwN8dzwSW4eHO1bmuMz rWZy0ESlGPkMAq5eBjIM0vStrCffAA+R8fglShdYfdQOHeLNKGYTGWc7Tn0lx8Io6P7X xh9WAQENzFmSOsHgXxLrbbuCdch4X+kgvlOsnuBrCgIxI7F+mZVDF8tNXshH72d9Bb8y ya7lHgqxS2tp6N/5Xs1JL3m43Kx+yN+7KzEt3F0/3vVshghTe8Zd3UioB47XVNHbDRwL 9zIcTkhtBNqxbnhw9FnKggmt3vkfG1DjhWyOpwRHJ5I1Z4hs8kNgVH5i+lTVX+0pPP9y rzWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=dKwUKqyzx080nN57Qu5BhT7GLES0nR5U2OgHxHW4Ezc=; b=i7C9UwVxiO2eYpIOPVQRbbdJ31t1VRBs992e+XzzrYjZM2LqlkyE1QMXU81t7FvJ4a jZ7ePSCnfyAcINuGHhvUXRUj9GIch6O6/7YfDTGYnHGoWbR6huPLTOVSbeRfiJFkUms0 WzFPbwL+xkwsgI1UpnRohUMD/1Cowhbij5f54LPA4IqxLzYpNOumCEQAesmw9qiqYzum f2BF882T63yJ6i4r5OVdgtjWmAGf7TBb8cim7zAoiWKb1AwYAQijhiV4EJ4sRyfGM6mL ZNx42tSkBk8O0e8TkG4sNOVjOz8Byu8wJ4svnAhd6SVj0Ddo63a7vRB0BOyulacN2d2b kQJg== X-Gm-Message-State: ACgBeo16WImOWBiVILJ3HfA4+5SzaSO0lECz1nuwTunh6/sCkh404k95 S6YsldwM1D7gAr9z3gSlDzcZ3A== X-Received: by 2002:a05:6512:33d3:b0:494:6e1c:f870 with SMTP id d19-20020a05651233d300b004946e1cf870mr3854026lfg.196.1661932087047; Wed, 31 Aug 2022 00:48:07 -0700 (PDT) Received: from [192.168.28.124] (balticom-73-99-134.balticom.lv. [109.73.99.134]) by smtp.gmail.com with ESMTPSA id l19-20020a2e9093000000b0025d5eb5dde7sm1937279ljg.104.2022.08.31.00.48.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 31 Aug 2022 00:48:06 -0700 (PDT) Message-ID: <8995b1ce-e236-1272-39d6-2dd498aafb38@linaro.org> Date: Wed, 31 Aug 2022 10:48:05 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH v1 00/14] nvmem: core: introduce NVMEM layouts Content-Language: en-US To: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= , Michael Walle , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Srinivas Kandagatla , Shawn Guo , Li Yang , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Frank Rowand Cc: linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, Ahmad Fatoum References: <20220825214423.903672-1-michael@walle.cc> <768ff63a-54f5-9cde-e888-206cdf018df3@milecki.pl> From: Krzysztof Kozlowski In-Reply-To: <768ff63a-54f5-9cde-e888-206cdf018df3@milecki.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 On 28/08/2022 18:05, Rafał Miłecki wrote: > On 25.08.2022 23:44, Michael Walle wrote: >> This is now the third attempt to fetch the MAC addresses from the VPD >> for the Kontron sl28 boards. Previous discussions can be found here: >> https://lore.kernel.org/lkml/20211228142549.1275412-1-michael@walle.cc/ >> >> >> NVMEM cells are typically added by board code or by the devicetree. But >> as the cells get more complex, there is (valid) push back from the >> devicetree maintainers to not put that handling in the devicetree. > > I dropped the ball waiting for Rob's reponse in the > [PATCH 0/2] dt-bindings: nvmem: support describing cells > https://lore.kernel.org/linux-arm-kernel/0b7b8f7ea6569f79524aea1a3d783665@walle.cc/T/ > > Before we go any further can we have a clear answer from Rob (or > Krzysztof now too?): > > > Is there any point in having bindings like: > > compatible = "mac-address"; > > for NVMEM cells nodes? So systems (Linux, U-Boot) can handle them in a > more generic way? I think Rob is already in the subject, but I wonder how would that work for U-Boot? You might have multiple cards, so how does this matching would work? IOW, what problem would it solve comparing to existing solution (alias to ethernet device with mac-address field)? Best regards, Krzysztof