Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp388650rwe; Fri, 14 Apr 2023 04:35:35 -0700 (PDT) X-Google-Smtp-Source: AKy350ZcpMfsPo8zYXTRR5lYn5VEDLQpf5/G5zTx6hpqZl1PiFeOqGJyQBReuoMSVUZNVtJXkXJh X-Received: by 2002:a17:902:8b82:b0:1a5:3da:84cb with SMTP id ay2-20020a1709028b8200b001a503da84cbmr2425895plb.21.1681472134818; Fri, 14 Apr 2023 04:35:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681472134; cv=none; d=google.com; s=arc-20160816; b=Rwwj/g1H4uzL8+4CCaC5HQ5AgyoobPuhsYdqu3dNXdTPpMx6TE2XPRh4RdWdjK6lzP ikahgbUl6x5W+9Wuz6iyx9JYtVGZ7gwweOHqfOf/NiqovgfQ9b913gH3VVdhC+ZaXu9B PmeWNEL2nRIVK3zplQFIjWcUsuIsrcmAKH96NoxOzh/C8420zY+VLYHprSf7SWj6lwn/ pETz46Q5dDkYfiRr5LDee5xTLS+LqenOfcSSelxE1nvsPW+stdCFajLwANWPA95/rf0Q aKgan6T84wKvPSnK+9gElHdXalRPU82GtRS6gYcI3SmqRgDRa5uM8PbJ35iMjW2J0fHn 9siw== 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=0e9kd6pKKBCfzANb3bP++6hNsFHeunYfpnAt2gr2Tmk=; b=iuBMW0PwLH7kZ6A91rtp2oX/PSW+pZMh7VTReeUVi/eaZFPhJPjELf+py2YwCk0wrH Cl/S33t1fjEawyimKWejB/HsEoSoJ9S562+8LjEyCoLm1F6/m3mgEXw7e1r19T89FIgZ 95G3RVd3gc9SX8yZ9iaLogBqMBLBdm9yj4QtEYGa5ftPkfybqe7FlTvRD7i2ZjhcE44o q985Svj4UwMUwCjZRgPQUZX6phwUhfIG39JS8b6UX5kGKgOzAQuJ3ocy0h9lDppg9wI1 uK4t8Ns7kI5EREV8LeEnStcQZQK7shaJ3Gna4J8oqVaOJ/Wm/eC0YXWhYU2mNdLaqZsO 7Vzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=R8sjLeZB; 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 l17-20020a170903121100b0019ca7d69673si4707357plh.196.2023.04.14.04.35.20; Fri, 14 Apr 2023 04:35:34 -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=R8sjLeZB; 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 S230270AbjDNLe6 (ORCPT + 99 others); Fri, 14 Apr 2023 07:34:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231132AbjDNLew (ORCPT ); Fri, 14 Apr 2023 07:34:52 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D3E3A5FF for ; Fri, 14 Apr 2023 04:34:38 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-50506ac462bso1763554a12.3 for ; Fri, 14 Apr 2023 04:34:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681472076; x=1684064076; 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=0e9kd6pKKBCfzANb3bP++6hNsFHeunYfpnAt2gr2Tmk=; b=R8sjLeZBYtZLlZ/cu3LzMylLDp97oX+tv5naICzsSHmhj5dxyzEe1ps3M8y2XGZWaM GtlPWK1+0mX+Td0pUJFhTcXAlNxAMQc62u+7VXx8QbLaUh46nx5/MRbPkTt6M0e37G91 m83Bql6/SjFPLnq/9W/UNh2RfI3qwe01nsNKZzdBbsAn3JRVydxtg2UaY0PpWDKiseA3 9hmIdbKV9G2tf/vavulCVkBgWIm4Ij5dREKEmhpgeRNJgTal/i1Dk8of+2PtdrwCky1R Q2paixtAhl5VuBHOYn+NSG+qttib0qk3Zluy2po72aOrBRATha/ZvrGMypGG0d8BdF3W EWGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681472076; x=1684064076; 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=0e9kd6pKKBCfzANb3bP++6hNsFHeunYfpnAt2gr2Tmk=; b=VayEm3WbEva6vgHqSgO8zXSWCjoMbYYZUn4W9KLSQ/RJOAONfn4UhR7FHBvqVYpipR OP7FF0lLxsni4lHHqEtjFonpa7UC5cf6U0x+y2S+f+ii2o8zetPc2vZxz8AC51TT7G6O 2qSoWODDIG+57sLbuPIYkTKmnKofaohbuVnDaaSOTgVdPA5C7p7sDL4niQ540sg7Hdc/ 7vmR4EkJ6Kb+P6QtrR49rrVlT2XwFZjnFKUKuCYr6uTxbc53NsgqO9UcKzyqycyDEkEK r55vpom0+9KtY0C+yDSy5tAJUIHh+1MylQDFUqOM/7eN93Gn04SOlWo6DsmcUguhsYQS uuRw== X-Gm-Message-State: AAQBX9focgwoqgxuUe80iaS8MCXB3OZBylytDGi4AaniDlFXmLP+/vL+ uYCyK/JjmJI3uewEFtkbo+MtWw== X-Received: by 2002:aa7:c708:0:b0:504:7f63:1e3 with SMTP id i8-20020aa7c708000000b005047f6301e3mr6055089edq.11.1681472076590; Fri, 14 Apr 2023 04:34:36 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:40b9:8c57:b112:651d? ([2a02:810d:15c0:828:40b9:8c57:b112:651d]) by smtp.gmail.com with ESMTPSA id u15-20020aa7d88f000000b005067d6b06efsm952507edq.17.2023.04.14.04.34.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 14 Apr 2023 04:34:36 -0700 (PDT) Message-ID: <89ea5baa-519d-8a1c-96ad-4da602383d5e@linaro.org> Date: Fri, 14 Apr 2023 13:34:35 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH v2 1/5] arm64: dts: ti: k3-j7200-som-p0: Add TP6594 family PMICs Content-Language: en-US To: Esteban Blanc , nm@ti.com, vigneshr@ti.com, kristo@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, sterzik@ti.com, u-kumar1@ti.com, jneanne@baylibre.com, jpanis@baylibre.com, aseketeli@baylibre.com References: <20230414112843.1358067-1-eblanc@baylibre.com> <20230414112843.1358067-2-eblanc@baylibre.com> From: Krzysztof Kozlowski In-Reply-To: <20230414112843.1358067-2-eblanc@baylibre.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 14/04/2023 13:28, Esteban Blanc wrote: > This patch adds support for TPS6594 PMIC family on wakup I2C0 bus. > Theses devices provides regulators (bucks and LDOs), but also > GPIOs, a RTC, a watchdog, an ESM (Error Signal Monitor) > which monitors the SoC error output signal, and a PFSM > (Pre-configurable Finite State Machine) which manages the > operational modes of the PMIC. > > Signed-off-by: Esteban Blanc > --- > arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi | 175 ++++++++++++++++++++ > 1 file changed, 175 insertions(+) > > diff --git a/arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi > index fa44ed4c17d5..8458b7da068f 100644 > --- a/arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi > @@ -118,6 +118,25 @@ J721E_WKUP_IOPAD(0x0008, PIN_INPUT, 0) /* MCU_OSPI0_DQS */ > }; > }; > > +&wkup_pmx2 { > + /* wkup_pmx2 starts at 0x68 */ > + wkup_i2c0_pins_default: wkup-i2c0-pins-default { > + pinctrl-single,pins = < > + J721E_WKUP_IOPAD(0x98, PIN_INPUT_PULLUP, 0) /* (F20) WKUP_I2C0_SCL */ > + J721E_WKUP_IOPAD(0x9c, PIN_INPUT_PULLUP, 0) /* (H21) WKUP_I2C0_SDA */ > + >; > + }; > +}; > + > +&wkup_pmx3 { > + /* wkup_pmx3 starts at 0x174 */ > + pmic_irq_pins_default: pmic-irq-pins-default { > + pinctrl-single,pins = < > + J721E_WKUP_IOPAD(0x1c, PIN_INPUT, 7) /* (E18) WKUP_GPIO0_84 */ > + >; > + }; > +}; > + > &main_pmx0 { > main_i2c0_pins_default: main-i2c0-pins-default { > pinctrl-single,pins = < > @@ -231,3 +250,159 @@ flash@0 { > cdns,read-delay = <4>; > }; > }; > + > +&wkup_i2c0 { > + status = "okay"; > + pinctrl-names = "default"; > + pinctrl-0 = <&wkup_i2c0_pins_default>; > + clock-frequency = <400000>; > + > + tps659414: tps659414@48 { Node names should be generic. https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation > + compatible = "ti,tps6594-q1"; > + reg = <0x48>; > + ti,primary-pmic; > + system-power-controller; Other places and other patches have the same problems. Best regards, Krzysztof