Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp266213lql; Mon, 11 Mar 2024 01:52:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW9JGobP0fX+9UFcBIWL9GERjQOug/+Pob6lXMxW9egH+fWweOEu6Oi5oB1pfi/UzlDUQzRTY3jP/Mm8/3RD7uHw9vH3g255Oxzb84oxQ== X-Google-Smtp-Source: AGHT+IFFlzUEB963+pG9373gq+ZvAhQ101XYN70py0l2t4E35+LP7ii/uaTHzPEXMcqKEWL8u9gr X-Received: by 2002:a17:902:d487:b0:1dd:6765:10b with SMTP id c7-20020a170902d48700b001dd6765010bmr6685081plg.6.1710147126908; Mon, 11 Mar 2024 01:52:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710147126; cv=pass; d=google.com; s=arc-20160816; b=AFgfg2p/mMZZU+1WwrNsHL1PVHa5YhjxwS6X5I4rFPRmqoAeAQawLy5zsClUsriNyo K3Kzb2pJsFg4uuAzzcKlOwoB8hZqGwpA0A+KcsdjOTddHWKMfnpNeLa/b0z8iuigpsX7 lh8NVxPWKrW4UbgLiyWedRqlcwpcuZrfBptFaFO5rA2UgzctiU+vjmqFzHhaDaTj8Jly 6Gp0tvCLOOmd3VdURNGZcu7n5o6776nojJGxGPEJ3ZmNelVflDPuh7BW3wBF8OKpr+pG wUh+cf3r/flV/sdFQt8kFx2rBrMh7aeBzy7gGQXuKKm5zr8Rj0mNoZHQPEM/02uS8j4x JNJw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=HOQg7wB6F2R64RZuPOCJLeWVATT5UPRforrebBej2zk=; fh=OBejDyrAm16iJbCpPawFD0RQcWJOCxOqOcufEWvjrVU=; b=Kqg47gXWNPHTsllBcixSXlDN5cvDoVg32QgZuvjIUSmVDjsch/Bg03viowjEBgyDNr yKwhs2vhUtQo3wcH7geZtbGfS4x2HXeVfHSTtTZ4odUgeshMR14W08qMveGDX1TlZM0F Dv0I/EXjH5EjuSM4zc/Q0s8SdjGe9wvoIIRlKq9eiJ8pnEAyoCdLcv+S2gnYlCYQ8+Vf XZztfwcR/g9GAOr07aN5nSbtRxZ4zJKtx/Nds4BquZ0f3cydlyddDbPNBHpzhKhoFnqc n1AKc+ayK1I+xaadJXJ/OCZYqgAbEPAAb7yf24bn7maJWeULZinRTOV7X2527vLSv6Ue tZPA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-98555-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98555-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id lv11-20020a1709032a8b00b001dd8b3a39afsi3058028plb.185.2024.03.11.01.52.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 01:52:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98555-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-98555-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98555-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 3038128205C for ; Mon, 11 Mar 2024 08:52:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 22C0212B9F; Mon, 11 Mar 2024 08:52:04 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2ECF6125C4 for ; Mon, 11 Mar 2024 08:52:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710147123; cv=none; b=WHIGcOzJ1TMztyzdRHucuBc+PHSqgh4DxPwGxW3i1qckY2RAQzr4YLA7oFTgg6WgTcC6PumvDlzVljB8ts+9LtlEcSAigd7TR/P9MJHCTkbw4hJmp3685ERzwtBlOnb1ASXdsU/9f3wE7TnL4pRAd+bYQOyjBsoi66A8gPrJJ9c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710147123; c=relaxed/simple; bh=wsHer5U5y3ucUmIvrLnPSCn8E4rXmvHIp1AyxZ1Q9iI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qJ+ltpcmya67N3qcYAVs6RExj1DFve+GMs4lWVmvQ37/srZ472/JFu+4V4D02I15QXPlDmodK4FYG9qIxfLlLdZafH88+cMeQit0uRisC4Wc+UxdCunxyUhVfUxiXE93N5mq2tJGc823RYMTRdMwKbyi8CVKFvD5Rrtc8jLvQWw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rjbNj-0004t8-MK; Mon, 11 Mar 2024 09:51:39 +0100 Received: from [2a0a:edc0:2:b01:1d::c5] (helo=pty.whiteo.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rjbNi-005fwX-M9; Mon, 11 Mar 2024 09:51:38 +0100 Received: from mfe by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rjbNi-00CTfH-1s; Mon, 11 Mar 2024 09:51:38 +0100 Date: Mon, 11 Mar 2024 09:51:38 +0100 From: Marco Felsch To: Joy Zou Cc: ping.bai@nxp.com, lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, festevam@gmail.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 3/3] arm64: dts: imx93-11x11-evk: add pca9451a support Message-ID: <20240311085138.aevfuhqrsl6g6xbx@pengutronix.de> References: <20240311084758.377889-1-joy.zou@nxp.com> <20240311084758.377889-4-joy.zou@nxp.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240311084758.377889-4-joy.zou@nxp.com> X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Hi, On 24-03-11, Joy Zou wrote: > Support pca9451a on imx93-11x11-evk. > > Signed-off-by: Joy Zou > --- > .../boot/dts/freescale/imx93-11x11-evk.dts | 112 ++++++++++++++++++ > 1 file changed, 112 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts > index 9921ea13ab48..6cb5b7d745bf 100644 > --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts > +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts > @@ -183,6 +183,105 @@ &wdog3 { > status = "okay"; > }; > > +&lpi2c2 { > + #address-cells = <1>; > + #size-cells = <0>; > + clock-frequency = <400000>; > + pinctrl-names = "default", "sleep"; > + pinctrl-0 = <&pinctrl_lpi2c2>; > + pinctrl-1 = <&pinctrl_lpi2c2>; > + status = "okay"; > + > + pmic@25 { > + compatible = "nxp,pca9451a"; > + reg = <0x25>; > + interrupt-parent = <&pcal6524>; > + interrupts = <11 IRQ_TYPE_EDGE_FALLING>; > + > + regulators { > + buck1: BUCK1 { > + regulator-name = "BUCK1"; > + regulator-min-microvolt = <650000>; > + regulator-max-microvolt = <2237500>; Can you please check you limits with the EE department? The constraints in a DTS file should reflect the board constraints and not the PMIC contraints. Regards, Marco > + regulator-boot-on; > + regulator-always-on; > + regulator-ramp-delay = <3125>; > + }; > + > + buck2: BUCK2 { > + regulator-name = "BUCK2"; > + regulator-min-microvolt = <600000>; > + regulator-max-microvolt = <2187500>; > + regulator-boot-on; > + regulator-always-on; > + regulator-ramp-delay = <3125>; > + }; > + > + buck4: BUCK4{ > + regulator-name = "BUCK4"; > + regulator-min-microvolt = <600000>; > + regulator-max-microvolt = <3400000>; > + regulator-boot-on; > + regulator-always-on; > + }; > + > + buck5: BUCK5{ > + regulator-name = "BUCK5"; > + regulator-min-microvolt = <600000>; > + regulator-max-microvolt = <3400000>; > + regulator-boot-on; > + regulator-always-on; > + }; > + > + buck6: BUCK6 { > + regulator-name = "BUCK6"; > + regulator-min-microvolt = <600000>; > + regulator-max-microvolt = <3400000>; > + regulator-boot-on; > + regulator-always-on; > + }; > + > + ldo1: LDO1 { > + regulator-name = "LDO1"; > + regulator-min-microvolt = <1600000>; > + regulator-max-microvolt = <3300000>; > + regulator-boot-on; > + regulator-always-on; > + }; > + > + ldo4: LDO4 { > + regulator-name = "LDO4"; > + regulator-min-microvolt = <800000>; > + regulator-max-microvolt = <3300000>; > + regulator-boot-on; > + regulator-always-on; > + }; > + > + ldo5: LDO5 { > + regulator-name = "LDO5"; > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <3300000>; > + regulator-boot-on; > + regulator-always-on; > + }; > + }; > + }; > + > + pcal6524: gpio@22 { > + compatible = "nxp,pcal6524"; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_pcal6524>; > + reg = <0x22>; > + gpio-controller; > + #gpio-cells = <2>; > + interrupt-controller; > + #interrupt-cells = <2>; > + interrupt-parent = <&gpio3>; > + interrupts = <27 IRQ_TYPE_LEVEL_LOW>; > + }; > + > +}; > + > &iomuxc { > pinctrl_eqos: eqosgrp { > fsl,pins = < > @@ -239,6 +338,19 @@ MX93_PAD_DAP_TCLK_SWCLK__LPUART5_CTS_B 0x31e > }; > > /* need to config the SION for data and cmd pad, refer to ERR052021 */ > + pinctrl_lpi2c2: lpi2c2grp { > + fsl,pins = < > + MX93_PAD_I2C2_SCL__LPI2C2_SCL 0x40000b9e > + MX93_PAD_I2C2_SDA__LPI2C2_SDA 0x40000b9e > + >; > + }; > + > + pinctrl_pcal6524: pcal6524grp { > + fsl,pins = < > + MX93_PAD_CCM_CLKO2__GPIO3_IO27 0x31e > + >; > + }; > + > pinctrl_usdhc1: usdhc1grp { > fsl,pins = < > MX93_PAD_SD1_CLK__USDHC1_CLK 0x15fe > -- > 2.37.1 > > >