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 127C5C77B72 for ; Fri, 14 Apr 2023 11:35:36 +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:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=I/zKMIaetxCfNCxWc6IHqqKarImK9Fsu9Qq6dK5LCRY=; b=nsCseCYJdKBWy8 Lr+9VVYrUgsI2g4i8/GkMXubZ8ekCOzm/OlOgQBmtij3LcujsyY5pL/z/pI13NVBE7U8gRGDRMxHf Nz8T2P8+IE2B6hM1CmIcAqwKmWO2CGYheHE56teVq8ww4DUgTj99ZyO5RQx21iBEc5risan5CVZ2A xsHVkLcusu+L4pvUfEMfPQlDgrI+u/2lqFx8UyCZ6mC+co/CaSwC7U5HNaiPwz3pGfTSNF6V8k3A9 d4yNsLHSLyKTbBqE33tV4qq5NIZtSd7oD1OGqikRIn44qECOnZpzr0gEhNKpWNtCmPylqXp1CiZ2R RYaaEpvWR0oIj/AwJMdA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pnHhV-009OMo-2f; Fri, 14 Apr 2023 11:34:45 +0000 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pnHhS-009OKC-0G for linux-arm-kernel@lists.infradead.org; Fri, 14 Apr 2023 11:34:43 +0000 Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-5066ce4f490so1243080a12.2 for ; Fri, 14 Apr 2023 04:34:37 -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=hz1X4uN8hdU6h7ViK4kpMWxWj9i626oIHeV28NywvyQ6L1MHUg2aMSq/lBeJUKYBcR 7k8RG875hpnlZ+bUMttXk46WUH0SdNZv1ONUzXHZ//ADm16d8ELibOnoT5QYy/yozFEc ELeIF+2PNZ1tTuXIetL1So2cvKriEc4/z0MM3lXedFeQ8D4wMn5uUgdb1sC6jsmA9sOd AQHveDQ02rQPOCgYqF8EsiUzOc5i5BDNU6y0eiCDL1RGdkneuuA1xIBXlJ4Oii8nRofp 2eYGKwbeTGuVgRWFcaBuhuUjowQwRQQ+BErPO2zobcD5N1unvcSS++iPF0uAv5cAqOQk wyOg== X-Gm-Message-State: AAQBX9e90sIuq5qBGDishhBsFbqIwGUwLbGcQRK8ZQdPlv29S1wcRl3B uCB6kQJJnzkRhO1v+IfdQfcsbQ== X-Google-Smtp-Source: AKy350baUfBg0BmY0YHy3GOK1Pbt8FOb6X6BiLxBO4K8Jw5C+3tJWFT1ldrLP9uOzy7YMDcUMWvepw== 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230414_043442_146308_B1926452 X-CRM114-Status: GOOD ( 18.45 ) 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 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel