Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp2277684rwe; Sun, 28 Aug 2022 07:37:38 -0700 (PDT) X-Google-Smtp-Source: AA6agR73RJakight6yU3diqq/BqulXYIMmLcF8L5vE1Ajhlx6kusUzqy5d0CCpLm/rzHlXEEk7xc X-Received: by 2002:a17:903:494:b0:174:9f66:d09c with SMTP id jj20-20020a170903049400b001749f66d09cmr3206619plb.143.1661697458095; Sun, 28 Aug 2022 07:37:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661697458; cv=none; d=google.com; s=arc-20160816; b=GUOGFHu7+wbp0yepysbxrgkXYQrs7ovl+Js2h8TuzLkZYr0RKenohItSUHKLJ9qAHa y+dCosht81HiWeU8SiLBlgsLluBqNQcjcL3vzuS1u0gKL1bHhoOE7zZhsZM7f3kVTxUy twW+vguIkxQgbVlBmWLKzLaSd2J34ojuH++Zw7PWdPSj5S442G1HW250rpXjZ4BxkBL7 trSDR6Lj4voizvaFtI8adTFO7hu5dqdqrv/ipu3aMilidqQ39iRttOCZOfk6MlCOnT4J 2axudnz40EdZgbq+B+4peR5k4fUqdasd+uCJgaMdB0S3vqN29SMeJ/E/JCkub28Byqj1 YvEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version :dkim-signature; bh=bwtC9ZIuYAB2A3TteH5zPFKqQJ2DrJO4wxsda0FFBrE=; b=uutgP4HrlKG6F5rVXYmJI9A4jAVMLuNsgNt6OTB0y8YcbWLplWoh9UVwfeRjIBAE4Q 5qSiV7YpqhHLhtLVdOzrSuE/zo1zHV8tg23ixzCF/cFifvC/Ag0N9mA07jbKepVKvsvd y1Ebd+/W1BeVob4mO6rkiRQVvnWg9PBA33IDWTzYuNJd+SW8uvbPb7QiRwIp2g9YJ1wk he0Wm4INfdc1XvjfuoAdbUxrspqBemJNZ1UfaXT6QmfHz5+4R6xSYAzvTxBWqq0SfLky giOSAjlUJVymyLWS1OGqoZWxsTpfFtedQItHENjcM+ewLHoDiSRcGdfsQZaBRaVofK49 HmZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2022082101 header.b=KznYoTy9; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=walle.cc Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 15-20020a63030f000000b0042bc6e8d3f7si3168005pgd.642.2022.08.28.07.37.26; Sun, 28 Aug 2022 07:37:38 -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=@walle.cc header.s=mail2022082101 header.b=KznYoTy9; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=walle.cc Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229701AbiH1OdJ (ORCPT + 99 others); Sun, 28 Aug 2022 10:33:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbiH1OdI (ORCPT ); Sun, 28 Aug 2022 10:33:08 -0400 Received: from mail.3ffe.de (0001.3ffe.de [IPv6:2a01:4f8:c0c:9d57::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B4A632DAC; Sun, 28 Aug 2022 07:33:05 -0700 (PDT) Received: from 3ffe.de (0001.3ffe.de [IPv6:2a01:4f8:c0c:9d57::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.3ffe.de (Postfix) with ESMTPSA id 8858222D1; Sun, 28 Aug 2022 16:33:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2022082101; t=1661697183; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bwtC9ZIuYAB2A3TteH5zPFKqQJ2DrJO4wxsda0FFBrE=; b=KznYoTy9iue5vF7/hSESEctDdioSRs8n4n2hqBIDkzR7gvg4gOF0YLYEo9M5XjBBVFBc/X bU11LaqPWiz4z+BoPkufiLDYa+HiuGL2Sq1Fc3j8sG/eGpvcyWAiEKM8oApVhSkmH4mO8f 8XcTEiX0GMUblPaZ8SNao8Y9aPFl51d8qW7ggOFodL1Uzu1WSo3Yag7EjaYaSZhr93Qsst 5DBd99KMGwJECymKB9uiNax2rIiQ7zZI8UkzAtyWEZFhZ5hir3Fna0Jtg8oZvrZWM5i16h OJE9ct0u+HOyIY5TVijhw2FvVap8jhHovp/qpW8PcVtpFIKSaqkdsDFWtps3bw== MIME-Version: 1.0 Date: Sun, 28 Aug 2022 16:33:03 +0200 From: Michael Walle To: =?UTF-8?Q?Rafa=C5=82_Mi=C5=82ecki?= Cc: 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 , 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 Subject: Re: [PATCH v1 06/14] nvmem: core: introduce NVMEM layouts In-Reply-To: References: <20220825214423.903672-1-michael@walle.cc> <20220825214423.903672-7-michael@walle.cc> User-Agent: Roundcube Webmail/1.4.13 Message-ID: X-Sender: michael@walle.cc Content-Type: text/plain; charset=UTF-8; format=flowed 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,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 Am 2022-08-28 16:06, schrieb Rafał Miłecki: > On 25.08.2022 23:44, Michael Walle wrote: >> For now, the content can be >> described by a device tree or a board file. But this only works if the >> offsets and lengths are static and don't change. > > Not really true (see Broadcom's NVRAM and U-Boot's env data). All except those two drivers don't add cells on their own. And for these it is not possible to add non static cells, except in board code maybe. This series make it possible to add this runtime parsing to any NVMEM device. -michael