Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2592895rdb; Mon, 4 Dec 2023 01:47:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IEVgxkxjEaX0QEhZS0jHPcqbPcShJxOyX4U+9wGWQv6OYkOkRgvgA+Om0VRuFlFkQusmhNi X-Received: by 2002:a05:6a21:1496:b0:18c:f42c:d558 with SMTP id od22-20020a056a21149600b0018cf42cd558mr3900907pzb.28.1701683278288; Mon, 04 Dec 2023 01:47:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701683278; cv=none; d=google.com; s=arc-20160816; b=gvtBRQA14Nd8JF2hOZ2mXF86kQch9tyy1lk3/kf/kWwDf1llHpz3IyLKzLSE6JUsQR SaqlffnqD0GoEjUV1G+4t4hOkgw8+P6VZs7oMGcyqUEOFwlujdXdQSW/bmUT5NZ2+a+i O84KHj0GBpWaGYAirRHLBmxQf/9rpnEqL5HjUupeSo+rRlfUnRhmgrY8q7jcZeEbh/Ex EhytHq3r7wfdHmwh7OcbR3FxKsJ/9WHjxUgdfKc5ekkxQxJzmE22RS7vinXu+Y1blkUL j7ft225Kvfk3UIMC6FqDHvoAlNn6lPKOIOSiqy3KR7CAiLBqJrPmUxvs1ZPlajMd6/Ax v7Vw== 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:dkim-signature; bh=mn72AB/21+6RsTGTuib60JebT3BdUxtYrRF9q6YQQos=; fh=MLs5XDqvKskryC1kwLthXFZy4uOCoD33Jgx6Xbt7uvo=; b=tYnp/W6lH7zINu6ofOXBr8loN52FDSLKT1nikClbUFev5K4x8j7P3eQGY/V9fbocOL dWaCGzNYKFLiuji0Ao3GX1omOHaIRPu+Zwr8dffkDT8m0JDNhL9Lsd8dA3BPiXD7bNwH RXq5anOwJnB6caRdthxVCg3N4dCiIgdkbo+sZ3H/ZlKjV6/Ro1w+wOYxI9mOiVLhQ3TC rOFL+vYisnPeV1VTKksTuY37TjmcUD90jveFtDbOkdlVsi/OvFqWHKFR4S+DW2QwuzeL Q8C0725heYSHa6rbnFk7ZJ5nh/E1+lxQF4oFBc0who2/gz7IQDpFs4rH/crYmQkjJWfp vsKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=C3cpLYDt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id b16-20020a170902d89000b001d051bf0c00si5677940plz.188.2023.12.04.01.47.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 01:47:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=C3cpLYDt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 02A15808FBE3; Mon, 4 Dec 2023 01:47:56 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230205AbjLDJr3 (ORCPT + 99 others); Mon, 4 Dec 2023 04:47:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230204AbjLDJrZ (ORCPT ); Mon, 4 Dec 2023 04:47:25 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D517100 for ; Mon, 4 Dec 2023 01:47:31 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 091F9C433C7; Mon, 4 Dec 2023 09:47:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701683251; bh=NH8cg+cJw4u4aOtEuZrNuL2Wt2x8+s9YJY7ecsjb6ws=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=C3cpLYDtpuujRrytU+r+NrUsaHBHcnRvBvd/wD2QIZWlJ0pCHCdE+wMaXeAUqTMbz WzA6BS4CRxyA9k/S91yLilxMmS6zLQesCjvLEPdk+7F1gzVGrxsNtVhaUegSsKLNwW 8AbX8f9MQkN/0aWQcyrGY1zsAFqs3z18/puJphsqLeHOsq1hFnnH23D8XktRc0v++K +o9px/Zh6SXyQuDqHGo27ZdlLkonr2DuoF5NcaXvxF6ncD9B7JLqg8QfaF/Wbb4928 RHImSJN11QqULHdiBE1XFB3mz3ZGqrrdpEZhBo9wEMe6rImO5p6YQQj54HW/aF8OGf qvCjqbuph1i1g== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1rA5Yg-0000N9-3D; Mon, 04 Dec 2023 10:48:11 +0100 Date: Mon, 4 Dec 2023 10:48:10 +0100 From: Johan Hovold To: Rob Herring Cc: Johan Hovold , Linus Walleij , Bjorn Andersson , Andy Gross , Konrad Dybcio , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: pinctrl: qcom,pmic-mpp: clean up example Message-ID: References: <20231130172834.12653-1-johan+linaro@kernel.org> <20231201144320.GA977713-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 04 Dec 2023 01:47:56 -0800 (PST) On Fri, Dec 01, 2023 at 01:51:06PM -0600, Rob Herring wrote: > On Fri, Dec 1, 2023 at 10:56 AM Johan Hovold wrote: > > On Fri, Dec 01, 2023 at 08:43:20AM -0600, Rob Herring wrote: > > > This is fine, but I prefer these MFDs have 1 complete example rather > > > than piecemeal examples for each child device. > > > > Yeah, this is not ideal. The closest thing we've got are the examples > > in: > > > > Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml > > > > Are you suggesting eventually dropping the examples from the child node > > bindings and adding (several) complete examples in the parent one? > > Yes, but if the child nodes are truly reused across multiple PMICs > then, it is probably a worthwhile exception. There's not a great deal > of reuse on most MFDs. Yes, they are indeed reused by multiple PMICs in this case. > > I guess there would need to be more than one if you want to cover all > > the various child nodes with real examples. > > We don't want examples to be exhaustive permutations of every > possibility either. Not every possible permutation but I guess we'd want coverage of all the various child nodes still (i.e. the child node examples that would have been removed). Johan