Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5697296rwl; Wed, 22 Mar 2023 00:37:07 -0700 (PDT) X-Google-Smtp-Source: AK7set9erH1JnYCKf+Mr+y1PRqP+pWNlblQan1wZ08hVT3HiJSzD9OJfdwpNAEybxbSaxzZroDgv X-Received: by 2002:a05:6402:896:b0:4fe:3374:7081 with SMTP id e22-20020a056402089600b004fe33747081mr5834718edy.8.1679470627327; Wed, 22 Mar 2023 00:37:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679470627; cv=none; d=google.com; s=arc-20160816; b=A4JG+w37EspW2X+YaNCMCeDi9ydBL0ud4136TK4VRtSrV4M/an7bwHSeD4MUkoSOIo +xB8OL970IprpkDjQKEsEIBPJQxK1MZY6jQvmJZzfr9HFsyhapSZuynM6j45GKOBu28F qaUIJiXO8zk1cfiWxMhJzp6AwOVV0XboPlhwp5k12H7L6aiow8C/UfgPG2+5Zrybk8G5 495yccaFwtgr0V43ReqY7ZTFdDtzHIrEFc/8/xU0JGkLXgVZOIDdR2SDOZ75FN73jPla zMo22twDqkMkxsp8aY2JSeDOb6HWp/iTnnEXeHMelECTd3ceo4/Ae4gRsevi3K/5nb9T J18w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=/p12NuQFP94bOvfc2eks9Atu7uo8jXQco78Qffrhh+s=; b=Pcq43pJxlcCY3BoIONMW+ZTruPlhm3sTpiVO5LvGe0sFgFHuR1/OTes7Bq9Q1DFcVa sNqfM+rtO71XhUDDf7jW/nRSvRroRyWL6fZ2BKLELrst5p4aJ92ixn8loA9DdDx8jkhG i+nk6sKTb+F7drnKAdaqXcdaQzPPbWgk5Bffq4c3DGQ0ScDq/M2jZopz9oW0ZLb1bG1p ytgmnPj+mQzrxAI/l4DI9Zyh5N6P/PhNoLxY4wlsIXIsq7pznfi7wX5MhD5+N2QB1fae TVRXb1UzxsNkrSdzXOTCG37n+DaGF9b208U+xH1tRwa63e4smld3tvUd4ZoTVxwkIeHy eyRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eKFcf+FO; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z1-20020aa7c641000000b004fd2aaa62d0si14518897edr.242.2023.03.22.00.36.42; Wed, 22 Mar 2023 00:37:07 -0700 (PDT) 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; dkim=pass header.i=@linaro.org header.s=google header.b=eKFcf+FO; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229754AbjCVHei (ORCPT + 99 others); Wed, 22 Mar 2023 03:34:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229645AbjCVHeg (ORCPT ); Wed, 22 Mar 2023 03:34:36 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DA2332CE7 for ; Wed, 22 Mar 2023 00:34:35 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id cy23so68960363edb.12 for ; Wed, 22 Mar 2023 00:34:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679470474; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=/p12NuQFP94bOvfc2eks9Atu7uo8jXQco78Qffrhh+s=; b=eKFcf+FOQH0uBXkR2qrAWXmQPoHUKCjF23liWL4mincOmW8FJvvYV2YCQQHp3PMQ5N SGf/In0ZtoyNTcTrMxTpA/FywagIWvHxu12s2beuNPTFrylzTNPMCUSFP09twit7eYOV 0CevOts9I6xLlD9+JvZF6xSFKiIDafXu/6q9CEwtqgo4hLOQfyHVH06in6h1j+YOVfQR w8gXckp1RkensIJ31JMXYo8rfkbJE2LIhnmX78wUo7dpO2r7e2iwtzVFuk1gxdksOWU6 lWi3FZ2AYYZbHlxRcLtVNPpZ9WDWQ0HQO8CsC1ep05+FLA64/grWgGKhVwncIyq/QQuc vKDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679470474; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/p12NuQFP94bOvfc2eks9Atu7uo8jXQco78Qffrhh+s=; b=oEw8qQDME/LEWyeMe4K8Mv/bc8Hs8A0/G4Rf2GedqX//gLKm9iwWuUh4txzZHdmAHL RSlg5YIRcNGVJvCiMLqR59mem7XJg+I1OKNBlhVme7dSmCsMS87GlbWEac/UrLfucTKX WpmRVSplcKehYT8OqPSUa22oTQubLLbYqDecf2gl/60BqEdZ0LJo0l48OwGyYvUKl+Lz M8M1az9cMl6gqyoSjnVNckTs4/LCmpIs5SbHIUPQvvKgZu8INHkAdayYDPW8S5A8b1rS PdNZgGIdRwF5m61kgzHJICbujjz4k4tuBVlfW+HXGyYc6gRwvRw7/VRmvuPssiy/hKg4 /WBA== X-Gm-Message-State: AO0yUKVhJzVYvz3WzbpQMPy42kI/lksuIDh97NFBzTlyXze4rWhPL1L7 hs68g2rmNnLRWXIDY6zZdona6jGtyNS+rwQv5LM= X-Received: by 2002:a17:906:15d0:b0:92e:3b80:9841 with SMTP id l16-20020a17090615d000b0092e3b809841mr5425176ejd.42.1679470473666; Wed, 22 Mar 2023 00:34:33 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:5050:151b:e755:1c6? ([2a02:810d:15c0:828:5050:151b:e755:1c6]) by smtp.gmail.com with ESMTPSA id g1-20020a1709061c8100b0092669fb4ba1sm6753266ejh.130.2023.03.22.00.34.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Mar 2023 00:34:33 -0700 (PDT) Message-ID: <88a6856e-c766-d4a5-1882-5350fd0e248a@linaro.org> Date: Wed, 22 Mar 2023 08:34:32 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v3 1/4] dt-bindings: mfd: Add TI TPS6594 PMIC Content-Language: en-US To: Julien Panis , lee@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, corbet@lwn.net, arnd@arndb.de, gregkh@linuxfoundation.org, derek.kiernan@xilinx.com, dragan.cvetic@xilinx.com Cc: eric.auger@redhat.com, jgg@ziepe.ca, razor@blackwall.org, stephen@networkplumber.org, davem@davemloft.net, christian.koenig@amd.com, contact@emersion.fr, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, sterzik@ti.com, u-kumar1@ti.com, eblanc@baylibre.com, jneanne@baylibre.com References: <20230321171020.74736-1-jpanis@baylibre.com> <20230321171020.74736-2-jpanis@baylibre.com> From: Krzysztof Kozlowski In-Reply-To: <20230321171020.74736-2-jpanis@baylibre.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 21/03/2023 18:10, Julien Panis wrote: > TPS6594 is a Power Management IC which provides regulators and others > features like GPIOs, RTC, watchdog, ESMs (Error Signal Monitor), and > PFSM (Pre-configurable Finite State Machine) managing the state of the > device. > TPS6594 is the super-set device while TPS6593 and LP8764X are derivatives. > > Signed-off-by: Julien Panis > --- > .../devicetree/bindings/mfd/ti,tps6594.yaml | 231 ++++++++++++++++++ > 1 file changed, 231 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..4e4565a68e40 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mfd/ti,tps6594.yaml > @@ -0,0 +1,231 @@ > +# 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: TI TPS6594 Power Management Integrated Circuit > + > +maintainers: > + - Julien Panis > + > +description: > + TPS6594 is a Power Management IC which provides regulators and others > + features like GPIOs, RTC, watchdog, ESMs (Error Signal Monitor), and > + PFSM (Pre-configurable Finite State Machine) managing the state of the device. > + TPS6594 is the super-set device while TPS6593 and LP8764X are derivatives. > + > +properties: > + compatible: > + enum: > + - ti,lp8764x Does x stand for a wildcard? If so, then fix it. Compatibles should be specific. > + - ti,tps6593 > + - ti,tps6594 > + > + reg: > + description: I2C slave address or SPI chip select number. > + maxItems: 1 > + > + ti,primary-pmic: > + type: boolean > + description: | > + Identify the primary PMIC on SPMI bus. > + A multi-PMIC synchronization scheme is implemented in the PMIC device > + to synchronize the power state changes with other PMIC devices. This is > + accomplished through a SPMI bus: the primary PMIC is the controller > + device on the SPMI bus, and the secondary PMICs are the target devices > + on the SPMI bus. > + > + system-power-controller: true > + > + gpio-controller: true > + > + '#gpio-cells': > + const: 2 > + description: | > + The first cell is the pin number, the second cell is used to specify flags. > + See ../gpio/gpio.txt for more information. > + > + interrupts: > + maxItems: 1 > + > + ti,multi-phase-id: > + description: | > + Describes buck multi-phase configuration, if any. For instance, XY id means > + that outputs of buck converters X and Y are combined in multi-phase mode. > + $ref: /schemas/types.yaml#/definitions/uint32-array No improvements here. As Rob pointed out, this looks like coupled regulators. Best regards, Krzysztof