Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp932528rdb; Fri, 1 Dec 2023 02:31:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IEcjWDIa3NgBz9WVcvBosD45lc9UG/fUM6V3ByVIxmy3PXIAyZAUUJv4PVg7+EzT+MAIviQ X-Received: by 2002:a17:902:ee4d:b0:1d0:4cde:6e33 with SMTP id 13-20020a170902ee4d00b001d04cde6e33mr2268223plo.56.1701426711726; Fri, 01 Dec 2023 02:31:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701426711; cv=none; d=google.com; s=arc-20160816; b=sJBFHQafo/kkh6seJA8LLdNcBI+wpjzc3sND3DJI/Gf29mTaCj2AM6JfYQSqjVV+bw pnpedD5yHfEBsIecaS3E9o2u40NbCFvJiqX3MZuAHgutd3G7EjX/+gLR+8dRI/bvcFIB FMNUGHoajroBeHsRiFQLeyKk8wZsPCErks1mu4HOBRqoCL2g9fzDkfNbMb5Ndb6x4Lu3 BjwQf6Qk6mhqrBjC94sEsPU0YRf+X7ZivkwY4KDigYR/042c9naYPA/qTbHy8wH5XfUa HY5iBwvbx4h4F/SrTmUCKkpi9WEi1PBI7hILoURgKmNhAGmk6o6SLRCJtlfOQsLUAcTG WYQA== 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 :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=hNzeuVAlocK9vRJwpz2RfeOV5gfDZN0HvjzwUHJ4xhw=; fh=Bm7pKu2OxJdvVoIviv+yNJ5TNhHAYlpEIy+ZQkaO4IU=; b=I13f5SPG3VscMPQyKoFSGVD3NSYdmVCnC1sHC2A+GaGPCr5LWDko9AfAvdLxR7TlUa JSp7NpCWT/9PGR1NjH8ol+tli2gLTVzpO2V00kioCv5ovH2p9kcsKEElQOEpOeOuK/MS oUtvyVd1QIZQq6ktqIjWhMH7tgPQad21duijsZGgWgWaLL9ZI/IG13e94y7Lgrp9fDcl 1Eua4mMYtzRy4uqd8yllOB/aBIThgTPA9jPGJGzpkwmUJc/5LuXuhn0nCvcWPz6wYgy+ H6DUQANKaxnWhn1G8DfGNSXltwBlNHsRa7UDkcfwTTbL1B6HgDKpMLJh/626BAFf+09b IcSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=D6uXN3Pf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id f12-20020a17090ab94c00b0028513871956si3088100pjw.73.2023.12.01.02.31.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 02:31:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=D6uXN3Pf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 5136280AE572; Fri, 1 Dec 2023 02:31:48 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378339AbjLAKbZ (ORCPT + 99 others); Fri, 1 Dec 2023 05:31:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378297AbjLAKbO (ORCPT ); Fri, 1 Dec 2023 05:31:14 -0500 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAB5A1997; Fri, 1 Dec 2023 02:31:16 -0800 (PST) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3B1AV8Fm126280; Fri, 1 Dec 2023 04:31:08 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1701426668; bh=hNzeuVAlocK9vRJwpz2RfeOV5gfDZN0HvjzwUHJ4xhw=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=D6uXN3PfzTvBLkH0gajJCEWhpUiqYLJTCzWtP3syew2q2kOIxaMp/SxATSxbqJLFS CIcPnjCfUApviwpA9wGBTKgVH4+kmmXUvUVTX6YC+FYq7OiIkL8pbqqgX2xL0+ur4C JEDb5i4jh2Q0v2WGcMoxfyiJ4DgAZXmAAs4V/R/I= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3B1AV8Dd058788 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 1 Dec 2023 04:31:08 -0600 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 1 Dec 2023 04:31:08 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 1 Dec 2023 04:31:08 -0600 Received: from [10.249.139.5] (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3B1AUm4O005736; Fri, 1 Dec 2023 04:30:50 -0600 Message-ID: Date: Fri, 1 Dec 2023 16:00:46 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v8 5/7] arm64: dts: ti: k3-am69-sk: Add support for TPS6594 PMIC To: Manorit Chawdhry CC: , , , , , , , , , , , , , , , , , , References: <20231128055230.342547-1-n-francis@ti.com> <20231128055230.342547-6-n-francis@ti.com> <20231201102645.u3embsudo55vm6pi@ula0497581> Content-Language: en-US From: Neha Malcom Francis In-Reply-To: <20231201102645.u3embsudo55vm6pi@ula0497581> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Fri, 01 Dec 2023 02:31:48 -0800 (PST) Hi Manorit On 01-Dec-23 3:56 PM, Manorit Chawdhry wrote: > Hi Neha, > > On 11:22-20231128, Neha Malcom Francis wrote: >> This patch adds support for TPS6594 PMIC on wkup I2C0 bus. This device >> 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: Neha Malcom Francis >> --- >> arch/arm64/boot/dts/ti/k3-am69-sk.dts | 100 ++++++++++++++++++++++++++ >> 1 file changed, 100 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/ti/k3-am69-sk.dts b/arch/arm64/boot/dts/ti/k3-am69-sk.dts >> index 9868c7049bfb..dec27acb4e96 100644 >> --- a/arch/arm64/boot/dts/ti/k3-am69-sk.dts >> +++ b/arch/arm64/boot/dts/ti/k3-am69-sk.dts >> @@ -431,6 +431,17 @@ J784S4_IOPAD(0x000, PIN_INPUT, 7) /* (AN35) EXTINTN.GPIO0_0 */ >> }; >> }; >> >> +&wkup_pmx1 { >> + status = "okay"; >> + >> + pmic_irq_pins_default: pmic-irq-default-pins { >> + pinctrl-single,pins = < >> + /* (AA37) MCU_ADC1_AIN4.WKUP_GPIO0_83 */ >> + J784S4_WKUP_IOPAD(0x12c, PIN_INPUT, 7) >> + >; >> + }; >> +}; >> + >> &wkup_pmx2 { >> bootph-all; >> wkup_uart0_pins_default: wkup-uart0-default-pins { >> @@ -631,6 +642,95 @@ eeprom@51 { >> compatible = "atmel,24c512"; >> reg = <0x51>; >> }; >> + >> + tps659413: pmic@48 { >> + compatible = "ti,tps6594-q1"; >> + reg = <0x48>; >> + system-power-controller; >> + pinctrl-names = "default"; >> + pinctrl-0 = <&pmic_irq_pins_default>; >> + interrupt-parent = <&wkup_gpio0>; >> + interrupts = <39 IRQ_TYPE_EDGE_FALLING>; >> + ti,primary-pmic; >> + >> + gpio-controller; >> + #gpio-cells = <2>; >> + >> + buck12-supply = <&vsys_3v3>; >> + buck3-supply = <&vsys_3v3>; >> + buck4-supply = <&vsys_3v3>; >> + buck5-supply = <&vsys_3v3>; >> + ldo1-supply = <&vsys_3v3>; >> + ldo2-supply = <&vsys_3v3>; >> + ldo3-supply = <&vsys_3v3>; >> + ldo4-supply = <&vsys_3v3>; >> + >> + regulators { >> + bucka12: buck12 { >> + regulator-name = "vdd_ddr_1v1"; >> + regulator-min-microvolt = <1100000>; >> + regulator-max-microvolt = <1100000>; >> + regulator-boot-on; >> + regulator-always-on; >> + }; >> + >> + bucka3: buck3 { >> + regulator-name = "vdd_ram_0v85"; >> + regulator-min-microvolt = <850000>; >> + regulator-max-microvolt = <850000>; >> + regulator-boot-on; >> + regulator-always-on; >> + }; >> + >> + bucka4: buck4 { >> + regulator-name = "vdd_io_1v8"; >> + regulator-min-microvolt = <1800000>; >> + regulator-max-microvolt = <1800000>; >> + regulator-boot-on; >> + regulator-always-on; >> + }; >> + >> + bucka5: buck5 { >> + regulator-name = "vdd_mcu_0v85"; >> + regulator-min-microvolt = <850000>; >> + regulator-max-microvolt = <850000>; >> + regulator-boot-on; >> + regulator-always-on; >> + }; >> + >> + ldoa1: ldo1 { >> + regulator-name = "vdd_mcuio_1v8"; >> + regulator-min-microvolt = <1800000>; >> + regulator-max-microvolt = <1800000>; >> + regulator-boot-on; >> + regulator-always-on; >> + }; >> + >> + ldoa2: ldo2 { >> + regulator-name = "vdd_mcuio_3v3"; >> + regulator-min-microvolt = <3300000>; >> + regulator-max-microvolt = <3300000>; >> + regulator-boot-on; >> + regulator-always-on; >> + }; >> + >> + ldoa3: ldo3 { >> + regulator-name = "vds_dll_0v8"; >> + regulator-min-microvolt = <800000>; >> + regulator-max-microvolt = <800000>; >> + regulator-boot-on; >> + regulator-always-on; >> + }; >> + >> + ldoa4: ldo4 { >> + regulator-name = "vda_mcu_1v8"; >> + regulator-min-microvolt = <1800000>; >> + regulator-max-microvolt = <1800000>; >> + regulator-boot-on; >> + regulator-always-on; >> + }; >> + }; >> + }; >> }; >> > > With the full series applied: > https://gist.github.com/manorit2001/7e794a7cbf58af4d7fbbee03eac88e86 > > [ For AM69-SK ] > Tested-by: Manorit Chawdhry > > Regards, > Manorit > >> &wkup_gpio0 { >> -- >> 2.34.1 >> Thanks for testing! -- Thanking You Neha Malcom Francis