Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1062137rdb; Tue, 30 Jan 2024 07:00:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IGKrD3nhaImGY2Urv1DOzMjfqg7RnNPRFX8fKqZ7Z5pk7XP8tbZ2sMkJ5FLgYpbiWGh8JcD X-Received: by 2002:a05:6402:22e9:b0:55e:f2a5:c749 with SMTP id dn9-20020a05640222e900b0055ef2a5c749mr3873249edb.14.1706626834821; Tue, 30 Jan 2024 07:00:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706626834; cv=pass; d=google.com; s=arc-20160816; b=MdN341D7hJ76i+GarTfDvkEHn+1mdFjWQIwgPXyP6XfKu/NZp07YFP+dM4oMignqXK 9FiN8kvVIjNFljjACDSMiYmsglt3A2RBl1P4FkxXJy6XehXrwl+oosfJG2PPJLLG3Gyj a0Z7yrMmXeSPF2o0SqHaBIdnSnc3e/2OkipE/R78ex6z4pyFjGLwXaUf3BSNUnsT2jpM R3ZoSSo7uHKMLW6GfMoH7NLZRD0G9EHq8nfS3oR+4pFeIPPTMjL/QUUFe4PFW+qIz8hC xUcA6di70tgbaCb06g5UC6AZspEcwMrKENsnoWBdH2TarjtyIOr2zgRJW4yW2l+C5CL7 CSiQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=efSG7SSvYuTZmaIZe1rT07IPTrpLnxs1P3jW8v0XLtI=; fh=+hKRvCS7RMFYMpmTN1tBvJwh28TrMC3obAtQkQipUM8=; b=Bg5pBNIKi8IEERpOut/al+EEmTMuIyjeNN95aZ+TKbDfYwLOHwZGp4TI8WHUppc7of 2+/0ADg8dmkLj2urbUSJ21zSu6JrW7krii6gBU2qZj9Z/zgpKXU37I394gO7DLyN/QDd A0kMP9shtLzJEXiw2WMPBJrDEbl2IAzoeXy0NH2XbGcoxF/6ptYhPCiTaZmQLEkeyoxN Woyh0oUO+pHVSZe8rOfEnjYDoSeK7NQ/9A6yomIsFxHnVMLxgKpuBdDSgdsLiObnMPkt 9RZKE/wvDoTv6HlJJLiLUPyrsgFT6+XpgOtdgWWgXoyjJuoccNrJ+PaCsiHmfwIziCng Ghug== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=hdAwoaf1; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-44787-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44787-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id x38-20020a50baa9000000b0055f385e48absi863102ede.272.2024.01.30.07.00.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 07:00:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44787-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=hdAwoaf1; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-44787-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44787-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 926AD1F26E50 for ; Tue, 30 Jan 2024 15:00:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2702C7E771; Tue, 30 Jan 2024 15:00:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="hdAwoaf1" Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E43E77CF08 for ; Tue, 30 Jan 2024 15:00:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706626827; cv=none; b=fBX/3Yh/ikXaBvrX6hrcN0O13Trw6K3ZMxwoXuM+pJ5IcYojpejG1HpXbVjTWuIjJzZU7daLdPwAWMQeAJiwEVzBswtJyUWGUZqRWd75hZf/GvVxu6HAaQADiocZyb17S1VSw0/uucmS6i0axuVlYa9t8vIxWHpKkjfeBQSWnw0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706626827; c=relaxed/simple; bh=efSG7SSvYuTZmaIZe1rT07IPTrpLnxs1P3jW8v0XLtI=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=sm4/zTCpdLaD/QAp+d9PhKj9+fR44kfQXwMbIjfkp6+v5iuy2nQOvUv6vOQd93TTEY/jIIvgF2gPILSILStUjFMkmav1O313Ii121QEAXBZch8I4YiJcoTOnvrx3RFCWBZjDnTipoP/eRBtQeDRGzdwcEv/85wapzXQ1qvDWY4w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=hdAwoaf1; arc=none smtp.client-ip=217.70.183.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 5F1BA1C000F; Tue, 30 Jan 2024 15:00:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1706626823; 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=efSG7SSvYuTZmaIZe1rT07IPTrpLnxs1P3jW8v0XLtI=; b=hdAwoaf1yqqfueCdiJ3rQuvOKterIxAoxcJRv529yjB24HPJCGH+LfD0Yakjqi7IophcKc H2mb0uKAUpNsHQlFYha8G+8l7326TVVPXdueWR7FTeGag8a6QdlzkspgjyoEKua7c9CzlS KAvOTp47z2/j7VHMRmBpa4cgm7DkguDBaOOVD/SYA/aXhfCboQRpLhO0w7OBdkIyPq9wBU lB4HllvFP5Z0UJ9yG09ZDbb4HtKqlWxArB09xio/mW/NHtCsIC6toDyJfnSlYQFQ1b3alU SSjXwjt7/e4/y3POEZlpw4UYJopVsvBd86drrjDDLEeLSEfHRU76FA05yoK1Xg== Date: Tue, 30 Jan 2024 16:00:21 +0100 From: Miquel Raynal To: POPESCU Catalin Cc: "srinivas.kandagatla@linaro.org" , "michael@walle.cc" , "rafal@milecki.pl" , "robh@kernel.org" , "linux-kernel@vger.kernel.org" , GEO-CHHER-bsp-development , "gregkh@linuxfoundation.org" , "luca.ceresoli@bootlin.com" Subject: Re: [PATCH] nvmem: core: add fixed-layout declaration Message-ID: <20240130160021.70ddef92@xps-13> In-Reply-To: References: <20240111152849.3649549-1-catalin.popescu@leica-geosystems.com> <20240111164145.39255eac@xps-13> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: miquel.raynal@bootlin.com Hi Catalin, catalin.popescu@leica-geosystems.com wrote on Mon, 29 Jan 2024 15:29:31 +0000: > Hi Miquel, >=20 > Now, that "specific" layouts are considered like drivers and rely on=20 > NVMEM_LAYOUTS to populate the nvmem cells (layouts.c), I guess it's not=20 > possible anymore to consider "fixed-layout" as a normal layout that=20 > should be treated the same way than any layout. Unless, we move=20 > "fixed-layout" under drivers/nvmem/layouts. That would be the relevant approach, yes. > But, this also means that=20 > "fixed-layout" won't be supported anymore out-of-the-box (by nvmem core)= =20 That would not be acceptable indeed. > and will require additional kernel configuration change. This would presumably be manageable however. No pressure if you don't feel like you could carry that task, it's not longer trivial. Thanks, Miqu=C3=A8l