Message ID | 20221123180151.2160033-5-michael@walle.cc |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2941873wrr; Wed, 23 Nov 2022 10:04:59 -0800 (PST) X-Google-Smtp-Source: AA0mqf7Gn+gGRQpUepzRRf41PFl9aPMzyfl3PctVvDJSSgaPrIrFZEUCHjo8jSuBLk8ragP21v8Y X-Received: by 2002:a17:906:1244:b0:78d:d4ca:21f7 with SMTP id u4-20020a170906124400b0078dd4ca21f7mr25152098eja.128.1669226699692; Wed, 23 Nov 2022 10:04:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669226699; cv=none; d=google.com; s=arc-20160816; b=B2ACBHD6BqtZ6rVvOR49pXGrU+ehHADOfwVw38qOa1WkuP60yRsbsyZfJdn2Wi8TDm yGCv0G4vI2s2J086Ur+aBS/M3pTa7ILhqB0nOr+6EEzSr+KAP/q2FOmP3PnH597kNqoN Z8fTMooOMSMTbKRsi2DhIoTBMk7wdLdtmJwO4pHOJtWcl0drsq9ydHOY27oR60+L9I1t vnL3TTOA2Zzi+Wkn8F8ITHew5t5dqtFZvWP9CJ0wAFW0vMD3TB9Nc42O5fFBaxwy6OpL inDhIPODNRxy4/VFEQZqeVqz8mea9uk+/KWYIerg33H3paXw92T1ofdUYzAL4cmA+Q4H 2uoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=bQO4p8yYKQXJsXFHB0RdTY77pOrPELcS4Lfg139SYHo=; b=y0jOkFV6jJtVnvOWNDJp4zD7I81esznUPFJ1A8lwh4cnVFuyOYV5LzIME/3FmdqJDY up0HsqxPB4V/L2RVH6gjzz30L+sj84+YD9DpoI3U6CWIpMs+FoUWZBKNrpMJrWFq/fqN 4nURyLKYYSAAtzVxMEiKnqeombcn8eQDtvNzxOrje+toO3YAOqvtQTHpHxhbGfZyvt95 SrayClOucxxQ2iTdSHbN1801dH1LHfoQait7NPRCiN6i6nKYJj0HHbMwKnsj77Cb4Vg1 Iy0OgiAs5n7xlOY1R+4EGcPwNCHZtZdnin+xIumlmgcC7RN+AyGCtw5XNDoA7mzJqXTo 0Eig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2022082101 header.b=uVzBA4B+; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fj4-20020a1709069c8400b00782da4ff18dsi8401278ejc.668.2022.11.23.10.04.26; Wed, 23 Nov 2022 10:04:59 -0800 (PST) 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=uVzBA4B+; 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 S239176AbiKWSDf (ORCPT <rfc822;fengqi706@gmail.com> + 99 others); Wed, 23 Nov 2022 13:03:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239168AbiKWSCZ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 23 Nov 2022 13:02:25 -0500 Received: from mail.3ffe.de (0001.3ffe.de [159.69.201.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A2AF2D741; Wed, 23 Nov 2022 10:02:22 -0800 (PST) Received: from mwalle01.kontron.local. (unknown [213.135.10.150]) (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 42CFA322F; Wed, 23 Nov 2022 19:02:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2022082101; t=1669226540; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bQO4p8yYKQXJsXFHB0RdTY77pOrPELcS4Lfg139SYHo=; b=uVzBA4B+zBhLOBzQlnjDwdk5Yebf5vsK0n25923nVLEvyvC6MhJaOFMV/OBJUUl2hZQOZ8 yRGhURRCux6SaIh07BJVlPXG8YV8IsfMEIyNTYdYNu0iJQ9orTJB7sJrB+DkV9NlBOuP3a YdTTexUQvY+yKQTO4Mma8w8k3UBNrpB9dG7+qcz0f7LJbfY7Mo/kW4LppMwuMU+UMQcjNt 4RO5RRbOe0jVQsrwIZ41e/Ez+T2o2HEhdOIU0ziFXZ2a94GmYIaW+vs8ZfZWmVaSQhF8GV F021R8tntSAF+nCN004o9/kO1iNuSt25kEVzqY7qo4IwDspDQqJo9WZ2pMSpBw== From: Michael Walle <michael@walle.cc> To: Jonathan Corbet <corbet@lwn.net>, Srinivas Kandagatla <srinivas.kandagatla@linaro.org>, Miquel Raynal <miquel.raynal@bootlin.com>, Rob Herring <robh+dt@kernel.org>, Frank Rowand <frowand.list@gmail.com>, Sascha Hauer <s.hauer@pengutronix.de> Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Michael Walle <michael@walle.cc> Subject: [PATCH v4 04/20] of: property: add #nvmem-cell-cells property Date: Wed, 23 Nov 2022 19:01:35 +0100 Message-Id: <20221123180151.2160033-5-michael@walle.cc> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221123180151.2160033-1-michael@walle.cc> References: <20221123180151.2160033-1-michael@walle.cc> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam: Yes 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 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750311055544166937?= X-GMAIL-MSGID: =?utf-8?q?1750311055544166937?= |
Series |
nvmem: core: introduce NVMEM layouts
|
|
Commit Message
Michael Walle
Nov. 23, 2022, 6:01 p.m. UTC
Bindings describe the new '#nvmem-cell-cells' property. Now that the arguments count property is optional, we just add this property to the nvmem-cells. Signed-off-by: Michael Walle <michael@walle.cc> Tested-by: Miquel Raynal <miquel.raynal@bootlin.com> --- changes since v3: - new patch drivers/of/property.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Wed, 23 Nov 2022 19:01:35 +0100, Michael Walle wrote: > Bindings describe the new '#nvmem-cell-cells' property. Now that the > arguments count property is optional, we just add this property to the > nvmem-cells. > > Signed-off-by: Michael Walle <michael@walle.cc> > Tested-by: Miquel Raynal <miquel.raynal@bootlin.com> > --- > changes since v3: > - new patch > > drivers/of/property.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Rob Herring <robh@kernel.org>
diff --git a/drivers/of/property.c b/drivers/of/property.c index 9773bfeaed9f..f60ac02e9dec 100644 --- a/drivers/of/property.c +++ b/drivers/of/property.c @@ -1305,7 +1305,7 @@ DEFINE_SIMPLE_PROP(dmas, "dmas", "#dma-cells") DEFINE_SIMPLE_PROP(power_domains, "power-domains", "#power-domain-cells") DEFINE_SIMPLE_PROP(hwlocks, "hwlocks", "#hwlock-cells") DEFINE_SIMPLE_PROP(extcon, "extcon", NULL) -DEFINE_SIMPLE_PROP(nvmem_cells, "nvmem-cells", NULL) +DEFINE_SIMPLE_PROP(nvmem_cells, "nvmem-cells", "#nvmem-cell-cells") DEFINE_SIMPLE_PROP(phys, "phys", "#phy-cells") DEFINE_SIMPLE_PROP(wakeup_parent, "wakeup-parent", NULL) DEFINE_SIMPLE_PROP(pinctrl0, "pinctrl-0", NULL)