Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1654163rwb; Tue, 29 Nov 2022 17:12:56 -0800 (PST) X-Google-Smtp-Source: AA0mqf6DDgECvzhkvudlBc4dmiU7L01neXeeN5TXNFhX/wlKUoLPgAkpffSr/KVlUwGNNAaAlzEB X-Received: by 2002:a17:906:4c4f:b0:7ad:a8c3:588f with SMTP id d15-20020a1709064c4f00b007ada8c3588fmr48070112ejw.687.1669770775911; Tue, 29 Nov 2022 17:12:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669770775; cv=none; d=google.com; s=arc-20160816; b=1DUsuEDuw7IpR8+Lri/6eYpB2YwMi6rWnewYWcrg5UW+4gTN8qB7051Oy7aUFtfRwp wVQx1GKnk5yRj2e/51jxPrCy0sY4x0aguG86sRUI2LZ4KcxmPPdcoOxbzfyYfDih0oRo MtKaKaVgnLgT3BDYRcPSXceEVv2xJebFOkrgJv9qIpBYegE4zjDDeCgHvgQbtXn8kcyG M0aelCRWKmlj2AP+FHmfhI/urGz+XjtV1z39F2fvgOSGnRLhbIRHLvYEWUxmKCtEshUr xtT4oowgnvRgsOdNDknasXI4h0ZBGkPGPLWf8DBuWTych4Zo8eRL8yX4Pjvt77uviDlO npCQ== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=zkp8DbvjvFYX60bdCB1aPl/nyh8CuvJUTer76i3Ow+g=; b=r7kCcbwWLn7jTy8vKlnTUTJwdsiS8c8e5h3IF0MDT8F1UFpjy5hrau0lw0ez5b/jMH /gbfqND3s1RHeZ1v7mKojCUm2LwMcmDsglQM08PKFtGzFoWpHCtvc9O2vOdG19D7C79f U5qLhuOq+10bc1xHeNgs4Dj5B4A30RLdrFeyXzVvajIyd/G/1+e3vUrOObmzHj9Buawv RL6r70q2cL7iR9wL0TGXMZ5bnn15fQLg0agF4xv9vJo7nTA+1KDlKKgz1LsB24dpdUcD TpUPGxyjLyhtmePb0lg5drpYWMCmJZAcPN6yNrLtgutHHKk2OPkruXJhQ/l7ZwqLOS+r dcHw== ARC-Authentication-Results: i=1; mx.google.com; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j18-20020a05640211d200b00461540620f1si165664edw.169.2022.11.29.17.12.35; Tue, 29 Nov 2022 17:12:55 -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; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230293AbiK3ApX (ORCPT + 85 others); Tue, 29 Nov 2022 19:45:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229610AbiK3ApT (ORCPT ); Tue, 29 Nov 2022 19:45:19 -0500 Received: from mail-oi1-f179.google.com (mail-oi1-f179.google.com [209.85.167.179]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 356AE6DFEF; Tue, 29 Nov 2022 16:45:19 -0800 (PST) Received: by mail-oi1-f179.google.com with SMTP id m204so17198431oib.6; Tue, 29 Nov 2022 16:45:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=zkp8DbvjvFYX60bdCB1aPl/nyh8CuvJUTer76i3Ow+g=; b=Y6OOXKc9/CdrgfBQva+5V8gIJV+tmgfM09yl/znLqSdTtSva/hElWProolA2cTrKoj Uf6q/j7u97xkc5ij3ilcPCvOfl1Uoqtzmv+6HCw/cbbjfGBSOXyxnM4kXtGpSHxJ5Fmu iq5k0aDOykLV9HrrSq51uLRuHRUZoxIti4avUtY0oQF9DmVAy8XzewoMqbDhe5cHdyXG o6lqu64vucX8ElX0GnfoZ3a2+v6ptqZJAI+xqMCKLKHZ1jAtJRuKisM8tcXcxTwGBhOZ 5f1t7jeaGwhPq5gi3W7N6gc5aMN3QiXxbO+mdkFdr2dof144gwgEE+iTmViVvfVPQHN2 iQuw== X-Gm-Message-State: ANoB5plrL7mCvaEeGWfpW8akiQ/zue3P5rpeBxlTxl0fM6s3VNpmqcEo sGhZJI5OJfESIHOw60PCYw== X-Received: by 2002:a54:451a:0:b0:35b:3f80:32e8 with SMTP id l26-20020a54451a000000b0035b3f8032e8mr17963598oil.177.1669769118441; Tue, 29 Nov 2022 16:45:18 -0800 (PST) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id i22-20020a056830011600b006619483182csm152394otp.18.2022.11.29.16.45.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Nov 2022 16:45:18 -0800 (PST) Received: (nullmailer pid 604336 invoked by uid 1000); Wed, 30 Nov 2022 00:45:17 -0000 Date: Tue, 29 Nov 2022 18:45:17 -0600 From: Rob Herring To: Michael Walle Cc: Srinivas Kandagatla , Sascha Hauer , Rob Herring , linux-arm-kernel@lists.infradead.org, Jonathan Corbet , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Frank Rowand , Miquel Raynal Subject: Re: [PATCH v4 03/20] of: property: make #.*-cells optional for simple props Message-ID: <166976911579.604253.5395868954946458991.robh@kernel.org> References: <20221123180151.2160033-1-michael@walle.cc> <20221123180151.2160033-4-michael@walle.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221123180151.2160033-4-michael@walle.cc> X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS 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 Wed, 23 Nov 2022 19:01:34 +0100, Michael Walle wrote: > Sometimes, future bindings for phandles will get additional arguments. > Thus the target node of the phandle will need a new #.*-cells property. > To be backwards compatible, this needs to be optional. > > Prepare the DEFINE_SIMPLE_PROPS() to handle the cells name as optional. > > Signed-off-by: Michael Walle > Tested-by: Miquel Raynal > --- > changes since v3: > - new patch > > drivers/of/property.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Reviewed-by: Rob Herring