Received: by 2002:a05:6500:1b41:b0:1fb:d597:ff75 with SMTP id cz1csp158138lqb; Tue, 4 Jun 2024 07:52:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVADVJWXJ6A/D/RVSuvBCMHi7l8Lqz9DBkjwZ5E3neUT+o1JWwV2VUwy5VhSVKNwRZnpKJbPv5S06vkrZePx0D/19lm2Z7r4YMBnrsC8g== X-Google-Smtp-Source: AGHT+IEGoD/B27m86XwzbFdt9YpzVIoBemM34MMct4PxfQ44lQbWDDjl+HoAwP+Q6EQwmjtznaRp X-Received: by 2002:a50:8754:0:b0:57a:33a5:9b79 with SMTP id 4fb4d7f45d1cf-57a3653ce6emr7357700a12.27.1717512726412; Tue, 04 Jun 2024 07:52:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717512726; cv=pass; d=google.com; s=arc-20160816; b=dVl6yG59yHNwjAZyNgy3gRIsIXFwkOz8ye3kfP5zI1w0gBu3V/b7h2S+2xFX06T/tS 3Jce8AerdG89O+o7jm+F4i0dAEB4yOGMsLOe0+I39DEcLLgRw7eR7znAzeWp1IiTv3nX thI78z++2sEO42vhZNFSlor9l9jRbx8hwNmXhoqRxuDv5BYJuyVT8RsF44l0G22lvlwf 5nUH65hofuoWeR+gyeq+aaB7hJhResSaH/wwAucIHpvh0HXI3VVVTdKWpv+eMHM9ipQr KAX29OIf65GU03A1RBrtD7h39ePZoXK2/Bl7MsybTxb1vEAYCpb49ge1Ez0+hiTqRDoc Umsw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=D1kG9C0tFVkH7UyEqr7VghP7dznbKPDi5QO3gBmM2NA=; fh=f0SHqjIPALDRC+EQKRo1qyiVBUZ9+kbm9oszx7v9TXM=; b=yRlXA+zQSIxtm9f1JwPAjbEvclXlvc/Dfa11Yxxz+un5nyub2SeTVTHJXjRLtTbCfC /syyDhgYYL/9pnhglNIEVMA+1qy0WIzwlR9AEW3pkP71bhVogvI6lSVblMUqtnIxaqKN ydv+AMsvGZQcXP8KM1RakeHqwqBMi6ot50i6Hkb0QTKjsTE8qYt5bhDeTDUh2gWYbsWj 7NNtLHKbpZCwbd/253KbhjhagwPzWPsep6kM3f2Od2qW0B1ipNxt79IPjFceOg8GCPfk PyguPO/ujpZfaQ2ngEASErlIUpyYF0aKzzX+8PBqsSzINrh3Xh6USlUOFX66h1EZptZg vIWQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QxDGDm31; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-200894-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200894-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57a4b60f473si3762861a12.309.2024.06.04.07.52.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 07:52:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-200894-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QxDGDm31; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-200894-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200894-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 261961F2776A for ; Tue, 4 Jun 2024 14:52:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F274213D24C; Tue, 4 Jun 2024 14:43:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="QxDGDm31" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 17E4312B145; Tue, 4 Jun 2024 14:43:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717512220; cv=none; b=oZls6mv83/Pubxu4OybyLEyFTg+T+LRzmYlO9CcNgqxfHyHXs1NKIJrZ5JKPzWNZ/f2Em/ORZ7IuskNP7CSQjqJvdf5+yFQILAslCQSaAjOK9oLYPtzHzwq4c9dZZypvTsfq0+ZJsWTAqxjYTbNZTledh0JEs6H7YJDGXHqtBjU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717512220; c=relaxed/simple; bh=wxvYehVK1oT7AfmqexFkmw2Uc3jmS7XsjM6dPzGFF8k=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=lDaJil+GWGnHdol13dGX8tnarUP5oAdJCCdVxDoVPpK03/Kq4z4PPjzv9DrpLrPeNFWenNOqgj1MHQP5G329EvUw4vJChBxPMp7H7b7EIpw5wKV5/5fCDD4WI8XThTOIhWkebAfwclL1VMXTqWRyhDO3Wj7okjjAGNHvZPPoLSo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=QxDGDm31; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 64003C2BBFC; Tue, 4 Jun 2024 14:43:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717512219; bh=wxvYehVK1oT7AfmqexFkmw2Uc3jmS7XsjM6dPzGFF8k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QxDGDm31ykUnzbf7oy5R3C1JqovoBfDS6oe2BacBqWdiItMI5yxToO2riloeBxuHF B1ssyyPvDkomQ0gQC7jjR2FY9kAxn2Dh71jCitYijdG01Uqa4AMxrSj2FtEsuIybq4 3R8tjV3k6TmOQbXr24+D4kixWhY/R96M5OkwC5GyFlM7Yf8GyVFfszho0ilPzYOGjt gupfhdFTZAfBmuQFJG4yLsjOcjHqc6j8WBwYiwj+tW2QnC1apdhiwSkh8eXIIlgD6m wv/RjivP1ARrRrykvWLUlnJtixTAnUGw68XG9BUxd82ndOz9smo1170dOuzFeCdRx8 v9tSlC2aqyjsw== Date: Tue, 4 Jun 2024 09:43:37 -0500 From: Rob Herring To: Johan Hovold Cc: Lee Jones , Mark Brown , Linus Walleij , Bjorn Andersson , Konrad Dybcio , Krzysztof Kozlowski , Conor Dooley , Liam Girdwood , Das Srinagesh , Satya Priya Kakitapalli , Stephen Boyd , Bryan O'Donoghue , Andy Shevchenko , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org Subject: Re: [PATCH v2 11/14] dt-bindings: mfd: pm8008: rework binding Message-ID: <20240604144337.GA572574-robh@kernel.org> References: <20240529162958.18081-1-johan+linaro@kernel.org> <20240529162958.18081-12-johan+linaro@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240529162958.18081-12-johan+linaro@kernel.org> On Wed, May 29, 2024 at 06:29:55PM +0200, Johan Hovold wrote: > Rework the pm8008 binding by dropping internal details like register > offsets and interrupts and by adding the missing regulator and > temperature alarm properties. > > Note that child nodes are still used for pinctrl and regulator > configuration. > > Also note that the pinctrl state definition will be extended later and > could eventually also be shared with other PMICs (e.g. by breaking out > bits of qcom,pmic-gpio.yaml). This commit message should also state there are no users. > > Signed-off-by: Johan Hovold > --- > .../devicetree/bindings/mfd/qcom,pm8008.yaml | 149 +++++++++++------- > 1 file changed, 90 insertions(+), 59 deletions(-) > > diff --git a/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml b/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml > index d71657f488db..ccf472e7f552 100644 > --- a/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml > +++ b/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml > @@ -27,103 +27,134 @@ properties: > reset-gpios: > maxItems: 1 > > - "#interrupt-cells": > + vdd-l1-l2-supply: true > + vdd-l3-l4-supply: true > + vdd-l5-supply: true > + vdd-l6-supply: true > + vdd-l7-supply: true > + > + gpio-controller: true > + > + "#gpio-cells": > const: 2 > > - description: | > - The first cell is the IRQ number, the second cell is the IRQ trigger > - flag. All interrupts are listed in include/dt-bindings/mfd/qcom-pm8008.h. > + gpio-ranges: > + maxItems: 1 > > interrupt-controller: true > > - "#address-cells": > - const: 1 > + "#interrupt-cells": > + const: 2 > > - "#size-cells": > + "#thermal-sensor-cells": > const: 0 > > -patternProperties: > - "^gpio@[0-9a-f]+$": > + pinctrl: > type: object > + additionalProperties: false > + patternProperties: > + "-state$": > + type: object > + $ref: "#/$defs/qcom-pm8008-pinctrl-state" There's only 1 reference to this, so just move the $def contents here. Rob