Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp2314808rwe; Sun, 28 Aug 2022 08:23:23 -0700 (PDT) X-Google-Smtp-Source: AA6agR47kEQXuIj5EB77OOQiq482ob08QPVmoqK+rfi9riD8oBHacKRx5/Z4SgJAqXnzEmI11fSO X-Received: by 2002:a17:90b:2404:b0:1fc:b5d1:446f with SMTP id nr4-20020a17090b240400b001fcb5d1446fmr13871784pjb.58.1661700203661; Sun, 28 Aug 2022 08:23:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661700203; cv=none; d=google.com; s=arc-20160816; b=Y8yNVqgkFyZ3CaLVLhJIr1UdPZTJkp9gQ6/WQ5YAc6dgLHQ9gx0l4kU6Ndi0mI8NtT xps1nU0XcCfD8mFNntS+aLh2UTwa5MPtZ5FMcHLifxn7sGobmKq7wDGP61etjwURTrfu YociF5e3hCGtarIvmp11qUOjuFi2l0FB0x9bApszGqsw25v0qH49R1uA2iwRrflwfZb5 /oDYx9oCoh5MA+2RkjqvZZQvVKXV4TknWbhXa7/w6c4kFBdEkp25U7I9SyoG+RDVSXIZ 5YPOYW6o8Tzvk/9GvPdU65QXvTYR5GnmUGYzZg5a4xgutjhsk+Tqf3aTRXiJ9pzAoFy9 m1sQ== 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:subject:user-agent:mime-version:date:message-id; bh=q9NxBnsuGF0PfPM+LxvZV1BHm9ASNCQ6Iy1tNi9y260=; b=jW/EYhWP5cjuPikO8ACRt3X4qXP8CpzxBJW2em/joQf4ioANZnuExP09cwpHI2/CC6 0vV0xAj2WzfhLuoot/ls8rJst7yzH40ZSqAZO8odumHVRN9MDfMK2KBERormquHufscG a9evFDON0ks10DfnWbyqLLUkHtVl040k848P01cD8/8NNlxv5X7ZRa9ReiTT/QWvuXah R1uUuPz46qixcOEP0yZ2CWfqQeLuiURzE97wvfHDnOnTWDwxcN2WnGqXGGtRLgQ4w+FE 13SoqOo1j7s3prPeEWYkra675q+TAN2kWQ211e/97zA5dY9hPBzAS5Eb7OLBIqV3qNx9 DZWQ== 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 jh18-20020a170903329200b0016f168b4368si6208281plb.547.2022.08.28.08.23.10; Sun, 28 Aug 2022 08:23:23 -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 S229797AbiH1PMP (ORCPT + 99 others); Sun, 28 Aug 2022 11:12:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229581AbiH1PMO (ORCPT ); Sun, 28 Aug 2022 11:12:14 -0400 Received: from 14.mo582.mail-out.ovh.net (14.mo582.mail-out.ovh.net [46.105.56.113]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1D3732B8A for ; Sun, 28 Aug 2022 08:12:11 -0700 (PDT) Received: from player157.ha.ovh.net (unknown [10.109.138.76]) by mo582.mail-out.ovh.net (Postfix) with ESMTP id 48E8222EF1 for ; Sun, 28 Aug 2022 13:55:54 +0000 (UTC) Received: from milecki.pl (ip-194-187-74-233.konfederacka.maverick.com.pl [194.187.74.233]) (Authenticated sender: rafal@milecki.pl) by player157.ha.ovh.net (Postfix) with ESMTPSA id 1047C2DF32520; Sun, 28 Aug 2022 13:55:32 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-99G003f23c38e5-03f4-4967-903a-0a692511f0a2, E8B3FA25B4F8D98D1FC0498694F8FFDB0E70245B) smtp.auth=rafal@milecki.pl X-OVh-ClientIp: 194.187.74.233 Message-ID: Date: Sun, 28 Aug 2022 15:55:31 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:96.0) Gecko/20100101 Thunderbird/96.0 Subject: Re: [RFC PATCH v1 13/14] nvmem: layouts: u-boot-env: add device node To: 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> <20220825214423.903672-14-michael@walle.cc> From: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= In-Reply-To: <20220825214423.903672-14-michael@walle.cc> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Ovh-Tracer-Id: 8352488460933508027 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrvdejledgjeefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeftrghfrghlucfoihhlvggtkhhiuceorhgrfhgrlhesmhhilhgvtghkihdrphhlqeenucggtffrrghtthgvrhhnpefftedtteffieevudduueelkeeukefhhfelvdevleffhfeiueelffegtddvudejvdenucffohhmrghinhepohiilhgrsghsrdhorhhgnecukfhppedtrddtrddtrddtpdduleegrddukeejrdejgedrvdeffeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghlohepphhlrgihvghrudehjedrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehrrghfrghlsehmihhlvggtkhhirdhplhdpnhgspghrtghpthhtohepuddprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrghdpoffvtefjohhsthepmhhoheekvd X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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 On 25.08.2022 23:44, Michael Walle wrote: > Register the device node so we can actually make use of the cells from > within the device tree. > > This obviously only works if the environment variable name can be mapped > to the device node, which isn't always the case. Think of "_" vs "-". > But for simple things like ethaddr, this will work. We probably shouldn't support undocumented syntax (bindings). I've identical local patch that waits for [PATCH] dt-bindings: nvmem: u-boot,env: add basic NVMEM cells https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20220703084843.21922-1-zajec5@gmail.com/ to be accepted.