Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2101897pxb; Fri, 25 Mar 2022 11:06:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzD6ZiiI6gwb2HsEjivsAq1MpwR3FgKp4Edqx75F11JPOM6GzLZp4Lhpxh6HAHQd5o+2sFS X-Received: by 2002:a17:903:2345:b0:154:de5:a26b with SMTP id c5-20020a170903234500b001540de5a26bmr13273763plh.114.1648231618931; Fri, 25 Mar 2022 11:06:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648231618; cv=none; d=google.com; s=arc-20160816; b=YZ1iv4ymA08p1UaszMzB5WYLNcUggrB4ABaGCIob+xS0FxbskEh3IF7sfQ9XjCGQ33 Xj7cf8oiUjlPl90xXN/r4/EYjr9DbZRbG6OiO/BYRou1YfDbES9hhJFB6zwBKqKxgTgU e4fZnzoTF41GjDHzmIqZSRueFDYDiMPg05X+ZPB3GmpMBepp4GbO1Z6ny1yLuBgQIdEQ vwy3jJ/leM49wjVaFtbDLxUqIEj3LfPkvb+yzQE0rUqAd8AdO9+vfU+X23zidlRfM9rL mfOt3qzv0gzr+XhzY28S3Peqb4pOIX1SYiLlt4KvPqipq3WGq5xZ9edK+5SHt2No5NXD fM0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=v7L9ap4GpNRjjElNdT0yh/Sp/wCcecw0FkTSkrd8bsw=; b=xPBB0/Rrvpv+Ag5zfcr60KmbWTZM3NNfu6AqqFch+S/Om7+z4MdX5OJS2oobvm2X+8 EQGEXs54qRzPXwMXxtKac0fyqjoAKTSek3fKkOxCYocnhA/Zq5kUnrtt45aQXkkZK2vw crNH+gzIqubtxMewYo4zfTmUQHOUZz4lB3YQdWJ3I0r22DsK4vB1m9w2bjIZpM1vNKBC AH94fCbi0uDOPId2RpBV0wk2NJop1sSgg4zso5h429/E65VTv0ALkbLSRoioi/d5Wjff 6QnBe7Rl/ZoOCTnOkYXOLTADCYIbTa3fnG1nfQdVjEjXbhHHxlmoQMh7w8Sdyy11mI6M NSJg== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id k63-20020a632442000000b0038178753fadsi2948167pgk.710.2022.03.25.11.06.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 11:06:58 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C617513E42C; Fri, 25 Mar 2022 10:41:10 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243492AbiCWQ6X (ORCPT + 99 others); Wed, 23 Mar 2022 12:58:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230328AbiCWQ6W (ORCPT ); Wed, 23 Mar 2022 12:58:22 -0400 Received: from mail-oa1-f54.google.com (mail-oa1-f54.google.com [209.85.160.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BA496E4E1; Wed, 23 Mar 2022 09:56:52 -0700 (PDT) Received: by mail-oa1-f54.google.com with SMTP id 586e51a60fabf-de3f2a19c8so2306807fac.1; Wed, 23 Mar 2022 09:56:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=v7L9ap4GpNRjjElNdT0yh/Sp/wCcecw0FkTSkrd8bsw=; b=WTisdeBLjqudkEn4FdW2MeIxt5Q0E9s4zeWtDRZGNmZWjdwfwGiKx5qlg/MerFIYUR 4yzSSmbPQn7Wdmt61v+vi2Yjx9+UmJtfEmWlBGdV5k1FAmRyxP+ByViN9duAQF3cuFew iExk/3TVOuGieOlZgbN/ahS4YuHT5a/+x7SHvzu0GA2vQDjfImNUdcdwSWFWfOWC/xfK sS74R0CPoE1dTYI6XYGRbbq7mr0i6qUNWue4HajuR6y7tjbyZv7NOsR6KT100ZgqUmsh XTaifLcJEiVOf7KHiZyvFjx+iqVZIYous0CaR2fouzVIMuivXXzlFocJ4fOpvr4Cs/fr rwSw== X-Gm-Message-State: AOAM532mcq/vucoxMvWTKsko5cfDhFud+ZRoenZEbjUmr55HgK7m5Y9S ZcqqYtVTAa1GGTRcqksiOQ== X-Received: by 2002:a05:6871:203:b0:dd:bd36:fd8b with SMTP id t3-20020a056871020300b000ddbd36fd8bmr4664191oad.122.1648054611728; Wed, 23 Mar 2022 09:56:51 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id p22-20020a056870831600b000ccfbea4f23sm219920oae.33.2022.03.23.09.56.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Mar 2022 09:56:50 -0700 (PDT) Received: (nullmailer pid 74591 invoked by uid 1000); Wed, 23 Mar 2022 16:56:49 -0000 Date: Wed, 23 Mar 2022 11:56:49 -0500 From: Rob Herring To: =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= Cc: Srinivas Kandagatla , Jorge Ramirez-Ortiz , Tom Rini , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sean Anderson , =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= , Michal Simek , Ricardo Salveti , Rob Herring , Krzysztof Kozlowski , u-boot@lists.denx.de Subject: Re: [PATCH V3] dt-bindings: nvmem: add U-Boot environment variables binding Message-ID: References: <20220228131250.16943-1-zajec5@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220228131250.16943-1-zajec5@gmail.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Mon, 28 Feb 2022 14:12:50 +0100, Rafał Miłecki wrote: > From: Rafał Miłecki > > U-Boot uses environment variables for storing device setup data. It > usually needs to be accessed by a bootloader, kernel and often > user-space. > > This binding allows describing environment data located in a raw flash > partition. It's treated as NVMEM device and can be reused later for > other storage devices. > > Using DT should be cleaner than hardcoding & duplicating such info in > multiple places. Bootloader & kernel can share DTS and user-space can > try reading it too or just have correct data exposed by a kernel. > > A custom "compatible" string allows system to automatically load > relevant NVMEM driver but phandle can be also used for reading raw > location. > > Signed-off-by: Rafał Miłecki > --- > V2: Update descriptions to don't make this binding MTD (flash partition) > specific. Mention multiple possible storage ways. > V3: Drop > allOf: > - $ref: nvmem.yaml# > as we don't use anything rom the nvmem.yaml. Thanks Rob. > --- > .../devicetree/bindings/nvmem/u-boot,env.yaml | 62 +++++++++++++++++++ > MAINTAINERS | 5 ++ > 2 files changed, 67 insertions(+) > create mode 100644 Documentation/devicetree/bindings/nvmem/u-boot,env.yaml > Applied, thanks!