From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CA7FAC4321E for ; Wed, 30 Nov 2022 20:43:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=MtxTEy1J8+I/jUdPlMK+uQqJ93R9YikCoCz+MbZN1zI=; b=U9fOTUpRZ6qAt4 GH+YKk74Mr+d1F1QrJcb+gdRjX7XXSrvtajoM+f9ubWAOJ5Ggj4+Ko07LynOyeegU4yHGD9xb8j7H XkTEttjc5E7oA7H42IpyavBowmSCZTDZ8yvpIfTBiwAQ+bwyuiskddcjT2a20HzCVugG9wFdZpVoN ggd7kyYyOVpW4fr4bU1T6/u26Hb5tzFc6uhl7kSrRnBZVKFZOfBgqx93m0lpfh8Jl82kGwrs5ZHRz l2ObFa9qb3oDTzd2WYLjEPDokmbFz7SmYvBWFKbisWL+bvfYJ4Z5iY4intURc0lL3Ir/qE1iS2ck0 DtzQMRbFWUTf2I8tICzA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p0Tuj-002WeS-LW; Wed, 30 Nov 2022 20:42:41 +0000 Received: from mail-oa1-f47.google.com ([209.85.160.47]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p0Tug-002Wb6-3p for linux-arm-kernel@lists.infradead.org; Wed, 30 Nov 2022 20:42:39 +0000 Received: by mail-oa1-f47.google.com with SMTP id 586e51a60fabf-14263779059so22502265fac.1 for ; Wed, 30 Nov 2022 12:42:36 -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=aW4jE10bX9vLP2Ujep7LXrzT0zS8x0AH266cZuINKdo=; b=b+5eW6rI0OwurAFl4yec0O7/dBHJ7igel4hCvQnWhXWuQXy40VWhd4uVkRuCIB6L38 /3XHhEX9eEbEf8ynK0T4E4TTqh9sbCfBCEp8LqxlzWTKGEP+bO00r668z4Wj9OYQV9HM 3A+D5y+8nV96klKj6ZDbP28rESAmZ4dpX13rC3a10n+YqZH+PhvfNyB9AhCLiUnCwYhU bQ8gXyUWji7tU0EF8rgBK6ngXYDKagWttRODm1wv4xw6JkIQ4LLDI9+DuaC/aegna6qc 8IicQOJQ43IvQiA1sS/jIE1LprTTIRHg5cQuWbrRTAIT/xs5PGi2sS3zidZcUCUs2wNt dJmw== X-Gm-Message-State: ANoB5pkk+pWo4bgYfo4He1OL5NEHeCHO9mLMDNVuXAqNw0YwyXHnkOhC DcFnbRmEclx6+6bC47aGSg== X-Google-Smtp-Source: AA0mqf6yrnJ1ZKt+9YRFNFFmGrY2esG6zANb9VB249O1ygtEP6Vh36HNPW6Wav4gwm3M7X7kGfYBBw== X-Received: by 2002:a05:6870:b527:b0:143:7736:806b with SMTP id v39-20020a056870b52700b001437736806bmr15596857oap.222.1669840955914; Wed, 30 Nov 2022 12:42:35 -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 m22-20020a056870059600b0013c8ae74a14sm1684710oap.42.2022.11.30.12.42.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Nov 2022 12:42:35 -0800 (PST) Received: (nullmailer pid 2891149 invoked by uid 1000); Wed, 30 Nov 2022 20:42:34 -0000 Date: Wed, 30 Nov 2022 14:42:34 -0600 From: Rob Herring To: Matt Ranostay Cc: michael@walle.cc, vigneshr@ti.com, krzysztof.kozlowski@linaro.org, a.zummo@towertech.it, linus.walleij@linaro.org, lee@kernel.org, brgl@bgdev.pl, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-rtc@vger.kernel.org Subject: Re: [PATCH v5 1/4] dt-bindings: mfd: ti,tps6594: add TPS6594 PMIC support Message-ID: <20221130204234.GA2875170-robh@kernel.org> References: <20221123053512.1195309-1-mranostay@ti.com> <20221123053512.1195309-2-mranostay@ti.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221123053512.1195309-2-mranostay@ti.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221130_124238_187100_0B4BC8EC X-CRM114-Status: GOOD ( 17.64 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Nov 22, 2022 at 09:35:09PM -0800, Matt Ranostay wrote: > Add documentation for the TPS6594 PMIC including its RTC and GPIO > functionalities. > > Signed-off-by: Matt Ranostay > --- > .../devicetree/bindings/mfd/ti,tps6594.yaml | 69 +++++++++++++++++++ > 1 file changed, 69 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mfd/ti,tps6594.yaml > > diff --git a/Documentation/devicetree/bindings/mfd/ti,tps6594.yaml b/Documentation/devicetree/bindings/mfd/ti,tps6594.yaml > new file mode 100644 > index 000000000000..0de0db87dbf7 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mfd/ti,tps6594.yaml > @@ -0,0 +1,69 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/mfd/ti,tps6594.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: TPS6594 Power Management Integrated Circuit (PMIC) > + > +description: | > + TPS6594 Power Management Integrated Circuit (PMIC) > + https://www.ti.com/lit/ds/symlink/tps6594-q1.pdf Normally a PMIC has some regulators... > + > +maintainers: > + - Keerthy > + > +properties: > + compatible: > + enum: > + - ti,tps6594 > + > + reg: > + const: 0x48 > + > + ti,system-power-controller: > + type: boolean > + description: PMIC is controlling the system power. > + > + rtc: > + type: object > + $ref: /schemas/rtc/rtc.yaml# > + unevaluatedProperties: false > + properties: > + compatible: > + const: ti,tps6594-rtc > + > + gpio: > + type: object > + unevaluatedProperties: false > + properties: > + compatible: > + const: ti,tps6594-gpio GPIO, but not using the GPIO binding? As Krzysztof pointed out, none of this needs child nodes. You have them just for convenience of instantiating Linux drivers. > + > +additionalProperties: false > + > +required: > + - compatible > + - reg > + > +examples: > + - | > + i2c0 { > + #address-cells = <1>; > + #size-cells = <0>; > + > + pmic: pmic@48 { > + compatible = "ti,tps6594"; > + reg = <0x48>; > + > + rtc { > + compatible = "ti,tps6594-rtc"; > + }; > + > + gpio { > + compatible = "ti,tps6594-gpio"; > + }; > + }; > + }; > + > +... > -- > 2.38.GIT > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel