Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7802727rwb; Wed, 23 Nov 2022 10:56:59 -0800 (PST) X-Google-Smtp-Source: AA0mqf6lgmbA0a4CM1KzKYQ6FeCaeZ+O0iDcFiEAyWbE4T6RoanlAddIMI/gliwLuYO/aJq4ZGsQ X-Received: by 2002:a63:d556:0:b0:46b:158f:6265 with SMTP id v22-20020a63d556000000b0046b158f6265mr8483437pgi.193.1669229819532; Wed, 23 Nov 2022 10:56:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669229819; cv=none; d=google.com; s=arc-20160816; b=jUY3lMc+5JV0VrAYv18Oo+pqfMV7stmV8l+ILc0XqraleSplgw+8oFQ8oAUtee/Pfi 3Ey+P3j4c/BagXaC/bjDgY9LAUqzK7SeiZI10dtYbUqzTB+71mFIo5Huthe6zeZFNMxC ne86mxDSxxwEDx6Hv7bSTgwYx86tI0WWKJ86G1EKCWV4E6UmLlYc438jJGO4dQ7xVZNA Q5okYlKjuo7MccjuPazbPnmaW1wR8MwBrkPcvXVA5v23iT9veoPeV3LvCFWeKhOCuNt8 5ci8pS48XRU50GI4NIDWSA9fNFBE+wEDdf34wihCVJ9ZwUPgTPEYT4fZoRWBv9WFgSj7 5xJA== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k8-20020a170902c40800b00186db024863si4379329plk.612.2022.11.23.10.56.48; Wed, 23 Nov 2022 10:56: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 + 88 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 ); 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 To: Jonathan Corbet , Srinivas Kandagatla , Miquel Raynal , Rob Herring , Frank Rowand , Sascha Hauer Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Michael Walle 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: X-Mailing-List: linux-kernel@vger.kernel.org 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 Tested-by: Miquel Raynal --- changes since v3: - new patch drivers/of/property.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2