Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7788754rdb; Thu, 4 Jan 2024 07:46:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IEVUrMORAhFTRSfeq+iYKhIIwXDa/klimeaj+K18EaHyz3Q9kipuJhuJwiduHiDLXyX42dq X-Received: by 2002:a50:c351:0:b0:557:183b:65c7 with SMTP id q17-20020a50c351000000b00557183b65c7mr106442edb.5.1704383204169; Thu, 04 Jan 2024 07:46:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704383204; cv=none; d=google.com; s=arc-20160816; b=NAzkY/Qg4fUAev5JvzAcCSOvjJLWbsUe6UYcqAFnjb9Sk1FnTVDFeAqv1Ttm3TPSua AORuN0TpzQzIUjboh8Kdj2LpUEh77w0MLbVNqZ/icMkMgLThmcSzE7oWZ0cl+AYwTJ2z aIGIdwdbE/AFftBQtf1QCDUUMLHWFt0w+L4kzKnhgo9QcZdApX43g27BvwJrkEuaPnXe qGCc5skXP6HMKLkLOsWR5l1H5W41ReXVEXZhObFbdF4FhbVnNzYW1/AB/4aua/ogYjVj HFEcbWuqz385KOIIkx8OE2yTaYarUC9UxjgPGti6FNzO3Za3bBmUrdMgjIV2XdFsOuc/ Vmgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=p8lcL/4HIToi2lNpIroLgJbw1lYwH/ukpvwdLlWVU/g=; fh=/aa49oU7jWyN9rSV5K5CRhjoUgv1KSWKPcxVDIvb3qY=; b=YHtqXNPhOMJogpQqBUSKAeWjObHmmoz1TVmsrydz/52PjKeOyzVe/kgCICxjsAWUro DNB40HtEeYwj/in8uHRpSQjp37bQpswyFsM15he6QVixO19LvD+4cjXE2sal1p/Peefk tK5IJXHPLsTIZj3TpOArnlDVZ3kmHKjZ6k6JQyZCm/z7CDY4EjE9TcGTOnW4oKW+3Xr9 v6DFqWk9VtIxvQBWqS5Ks2BVMzqi40J6lYrvzhxoQj7k2JSHXPkbFA8wgcG765AgswQG krT1p5/f9pIW3vqxcnz7p10vIOiDz94H79RMyXjId7RHYaTZSddjFf9a/ISNS/Gfsh7R mE+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=IveUNarC; spf=pass (google.com: domain of linux-kernel+bounces-16877-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16877-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id f7-20020a056402354700b0055223d7990asi13501879edd.218.2024.01.04.07.46.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 07:46:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-16877-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=@linuxfoundation.org header.s=korg header.b=IveUNarC; spf=pass (google.com: domain of linux-kernel+bounces-16877-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16877-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org 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 E36B41F228D7 for ; Thu, 4 Jan 2024 15:46:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 77230249F3; Thu, 4 Jan 2024 15:46:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="IveUNarC" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 99E91224D5; Thu, 4 Jan 2024 15:46:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9F095C433C9; Thu, 4 Jan 2024 15:46:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1704383177; bh=SfZbR38GEcgJBvCINBMSek/E8wPgRnRG8ktuyVrX3zQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IveUNarCqW/WK/8Gk5NEKAQVJAt7LI3pmLVBOPmtCgUAUkU72rXXr29d8Yqn28wQ1 vA16eeqmAhjiBrrO4iFDP0X/daoMm8Qttz4qBoqex04PAfTjpwLL0Aq/gPcV9LNetX IIDC7o4DtIGWqenWBYGChQgZSp+95PDVJQKSK00k= Date: Thu, 4 Jan 2024 16:46:14 +0100 From: Greg Kroah-Hartman To: =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= Cc: Srinivas Kandagatla , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Walle , Miquel Raynal , linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, u-boot@lists.denx.de, =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= Subject: Re: [PATCH V3 6/6] nvmem: layouts: add U-Boot env layout Message-ID: <2024010446-willfully-swoop-8510@gregkh> References: <20231221173421.13737-1-zajec5@gmail.com> <20231221173421.13737-6-zajec5@gmail.com> 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231221173421.13737-6-zajec5@gmail.com> On Thu, Dec 21, 2023 at 06:34:21PM +0100, Rafał Miłecki wrote: > From: Rafał Miłecki > > Move all generic (NVMEM devices independent) code from NVMEM device > driver to NVMEM layout driver. Then add a simple NVMEM layout code on > top of it. > > Thanks to proper layout it's possible to support U-Boot env data stored > on any kind of NVMEM device. > > For backward compatibility with old DT bindings we need to keep old > NVMEM device driver functional. To avoid code duplication export and > reuse a parsing function. > > Signed-off-by: Rafał Miłecki > Reviewed-by: Miquel Raynal > --- > V2: Support new compatibles & use device_get_match_data() helper > V3: Use imperative in commit body > > IMPORTANT: > This is based on top of the: > [PATCH v6.8 1/2] nvmem: layouts: refactor .add_cells() callback arguments I applied patches 2-5 in this series, I'll let you rebase the remaining two after addressing the issues discussed in patch 1. thanks, gre gk-h