Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1179433rdb; Fri, 1 Dec 2023 08:56:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IFOVf0AFKG94qUJKlNllVPWDWY8vfAbahMsGkYc2VEUcsL99kYhyrQi/+lI5BHdFcfCPQkS X-Received: by 2002:a17:90b:3846:b0:27d:6d9c:6959 with SMTP id nl6-20020a17090b384600b0027d6d9c6959mr23544416pjb.25.1701449797643; Fri, 01 Dec 2023 08:56:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701449797; cv=none; d=google.com; s=arc-20160816; b=AZzZLMlN05fMtZS3rjCv7LbAfNI6Vzc3i0bGarCZ0ti7F36PX4CONLUu+1OqFGNR6P CWimP4Racw7V9h1QpEq/H0IXHYySC5cLTb7RjIqp0i8WYfpV5RxUcaiqkSVqXCYez3xH D38LMp0o7IWdHFcWEa1rvRJmbn4+QP683xA1Jwb/dn3tMCjXJ/Zq5L18uVJpiA3RWWAb P0tj7oQj+/t7igT2cixPp9XhWgNpmOMFNVm8BVb0doGzbl8iBRgmvj9y/X+y0YJhB8da 6SlUB2qVmjemzHfZtgz+NNCX+wli9BVwUpWGIhhAfgEaVSwRUq6P/heJH+G09NrVKDcd +avw== 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:dkim-signature; bh=yuXRPj94MsnSHAJ3/SqBw0LadSSJktY+10DsTzaxCB0=; fh=MLs5XDqvKskryC1kwLthXFZy4uOCoD33Jgx6Xbt7uvo=; b=MYJRgsdQlk9Qh0r/z5H1gMA8WSghwo88QrvBMBcZfFi+ZUiPJRRXiJT/vR2j0D7Gw3 gZJCsDVgVtGEXUQJKycOZ+K8/UNmjSdF8ARtEgxf32zNq2qEPNepx7wnIgj3sbXnHTU8 Q1K19dSOTQ5E7Gpw3TxYYKXbDKKP8+YZynrAmkSztF73E4O3RAUSBvyBSImc5WQC4iWr dky6hH/vcspds2eJKxYtcQrv6kHK/WVM45YCgk3TSxJ8eLJRpiMqb36oJP+lBAaabmlS yAhrCZaQwfJVhZ5zCSiinjsCRFiX6tfXp/dmVlQCD3dCpg8TCbz2NZf3SFPM1VP9fsbA zC+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Hr/5f5Ne"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id nu15-20020a17090b1b0f00b002810ae70420si5849417pjb.121.2023.12.01.08.56.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 08:56:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Hr/5f5Ne"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id 2B95E8275347; Fri, 1 Dec 2023 08:56:33 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378533AbjLAQ4U (ORCPT + 99 others); Fri, 1 Dec 2023 11:56:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229504AbjLAQ4S (ORCPT ); Fri, 1 Dec 2023 11:56:18 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E72D103 for ; Fri, 1 Dec 2023 08:56:25 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 030EEC433C8; Fri, 1 Dec 2023 16:56:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701449785; bh=g0hUWXr8fHBF5LwtM2iV9DHeqn7uI/hSTUcU8M5jINU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Hr/5f5Ne90EKG/RivDinI9FUJrZflIYvW3jITrzd6O2RcfkXYA9UfliyWhvhrLo0B cbbPcY6QULpXuIqFoWKPC+2IFa36C/w1S3rnJdiyTYN/81XtIg/2XNTwBW4ydobYsK LhnusVk7zGhVkzgPpoJsKjejWGOa9aHW3yDI0jMEKTtDYV5lrARypLuoTRUw51dXzG mmDjWG1W4o/r/tRoaDgg/0Dk04MvpNMLkuyOpVLWkbBMtt/I0Jq0lsx22weJZg5KjE 0Dkh+MJNDIzYIxhi+yzEZIOpqAmgEuaD7KTtOywb+6qk9z4F+tH/E2oP4q7KEdYquY tn8VwnSHiQqvg== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1r96p2-0003LO-1g; Fri, 01 Dec 2023 17:57:01 +0100 Date: Fri, 1 Dec 2023 17:57:00 +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=us-ascii Content-Disposition: inline In-Reply-To: <20231201144320.GA977713-robh@kernel.org> 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 howler.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 (howler.vger.email [0.0.0.0]); Fri, 01 Dec 2023 08:56:33 -0800 (PST) On Fri, Dec 01, 2023 at 08:43:20AM -0600, Rob Herring wrote: > On Thu, Nov 30, 2023 at 06:28:34PM +0100, Johan Hovold wrote: > > The Multi-Purpose Pin controller block is part of an SPMI PMIC (which in > > turns sits on an SPMI bus) and uses a single value for the register > > property that corresponds to its base address. > > > > Clean up the example by adding a parent PMIC node with proper > > '#address-cells' and '#size-cells' properties, dropping the incorrect > > second register value, adding some newline separators and increasing the > > indentation to four spaces. > > 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? I guess there would need to be more than one if you want to cover all the various child nodes with real examples. Johan