Received: by 2002:ab2:687:0:b0:1f4:6588:b3a7 with SMTP id s7csp256250lqe; Wed, 10 Apr 2024 00:40:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV5SdQiKyZw6HaV1+nLOcRhl6HJjTyB92c+Wu9H6s1w/rAKBZHdR7dkx+hDLD4xXJRyz7bpVQ17361qOpLqWLmQ1Qr5c9e7j+lsJ4ZttQ== X-Google-Smtp-Source: AGHT+IEjabscHHpVLiOGsED1CvjB1V3jpdSrItjUwUDEysXsL+/Gv1mDuyJJPFMSEUaIoWJ8HI4I X-Received: by 2002:a05:6359:498c:b0:183:4d1d:dcaa with SMTP id mv12-20020a056359498c00b001834d1ddcaamr3044924rwb.3.1712734841228; Wed, 10 Apr 2024 00:40:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712734841; cv=pass; d=google.com; s=arc-20160816; b=dRjCk1ywxIGYYjgAWwtz++6SWwouWAVGn15t3ws8BzTy2uCguHpq8qYMm6fmbVCsPS rDrCbbgk491ResL1rlNOxtipRblzRBC2WOhr9rHHLXSfTH4mgXnlwo/huaCzVsLTiOaK 3YsZ7U5dehcR9UqnWN7bZs+OW5QKO0ZT+n5ekTtf3Bo45PF5BatORH/T3k4S+GfRt+9G ubggDDlTK9oX7XdnHlT1VPnc8Cn8O32PJbix6b5ZIkgxrHHTezRxhdFvNRW7gmidax0O TSo9ObDbgURncTR6CdeHZP6ok6G9iJY8i1EE2bhn7J98JCMepiXSjILqq2zN2Q0plUKa fkAg== 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=zqsaDmAh75zCx1hlyr0JX1PCeM2OqhtXP7+X6uKUlUo=; fh=/o5EOs9Ye8auGhmwpVCm2Oimd/JfKgcAAXzm+FxYjBI=; b=cUvw4BaODXHx9oTsW58sGVOGsqpqdxo7RQTgl/Z1KjMJrQe9gvPVljNQcyKuSluaIi 26iEpp3SqDGBSiMltdYFAeuo9QD5WPhC/6TEZNrruuNUtnEIFzlLOFBXShL0/Oym3C1Y vE+6zs+pH1dnhlHEAmyoEiX/ZRHYhLL+cZiNF114F1mP8DurAnvDp8LxvCb+cZG/pVQv f9bbcMZVZN9lLkEZ3vcoCrz9N4i3l7bS2ekQDYvqhiRW3FjVeLSolvaKO5vB3tXuYLzr CEQZDJCTYr3S0IetUTrBBDeIMpgP6zCfg0JK/eFDgxG1w0HyXghiOYuRWwlboUY7VjSz v1QQ==; 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-138082-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138082-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id m76-20020a633f4f000000b005e4a7a59ed8si10422521pga.548.2024.04.10.00.40.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 00:40:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138082-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-138082-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138082-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 DD7982846CA for ; Wed, 10 Apr 2024 07:40:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 026A313D287; Wed, 10 Apr 2024 07:40:38 +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 EBF2E8BE8 for ; Wed, 10 Apr 2024 07:40:35 +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=1712734837; cv=none; b=ayG1ngoBSXYNuOYFhes2OtUtGL02H/YIwKLaMSjif/txYk8QcQdUOzvNXn15/yyZROC0vsAvKpimh4H6ZTsiQhzQl2bwfTcvVY79VK8OIUfD34xxEIqEmA51n1Rh7hsBGDeXG1gyjSRmVNt+u9KK4NL7EzWj9V+2CcT2WLopYaI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712734837; c=relaxed/simple; bh=I0BoT/9aVltasDJkw4V9sgksz5cDIjXWVXEUgPrZOk4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=C9JjktTCGZg5LG5NZXIIYlWzZWntTNCUYyELr+lq2a5cT/mhUPonx0b5eTHhYAIlO4uaoQ4PXulUf71epC6XKhkEPW6+llMMHy9rRTeIxUwk4R4VMMS2gFrgdvxq4FkCcSq06+dzeb54gbxPaEg8KrP9d7NGTm4+JUFan9iCiWc= 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 1ruSZH-0000CY-EH; Wed, 10 Apr 2024 09:40:27 +0200 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 1ruSZG-00BS1z-KX; Wed, 10 Apr 2024 09:40:26 +0200 Received: from mfe by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1ruSZG-0060ua-1j; Wed, 10 Apr 2024 09:40:26 +0200 Date: Wed, 10 Apr 2024 09:40:26 +0200 From: Marco Felsch To: Joy Zou Cc: ping.bai@nxp.com, 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 v3 1/1] arm64: dts: imx93-11x11-evk: add rtc PCF2131 support Message-ID: <20240410074026.qjpk3sjhtbb6sw7j@pengutronix.de> References: <20240410070128.1506555-1-joy.zou@nxp.com> <20240410070128.1506555-2-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: <20240410070128.1506555-2-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 On 24-04-10, Joy Zou wrote: > Support rtc PCF2131 on imx93-11x11-evk. > > Signed-off-by: Joy Zou > --- > Changes in v3: > 1.adjust the indentation. > > Changes in v2: > 1. remove unnecessary status property. > --- > .../boot/dts/freescale/imx93-11x11-evk.dts | 24 +++++++++++++++++++ > 1 file changed, 24 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts > index 07e85a30a25f..73e0bca36b81 100644 > --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts > +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts > @@ -281,6 +281,23 @@ ldo5: LDO5 { > }; > }; > > +&lpi2c3 { > + #address-cells = <1>; > + #size-cells = <0>; > + clock-frequency = <400000>; > + pinctrl-names = "default", "sleep"; > + pinctrl-0 = <&pinctrl_lpi2c3>; > + pinctrl-1 = <&pinctrl_lpi2c3>; Are both "default" and "sleep" pinctrl's required? It doesn't make any sense to provde a sleep state which uses the same pinctrl state. Regards, Marco > + status = "okay"; > + > + pcf2131: rtc@53 { > + compatible = "nxp,pcf2131"; > + reg = <0x53>; > + interrupt-parent = <&pcal6524>; > + interrupts = <1 IRQ_TYPE_EDGE_FALLING>; > + }; > +}; > + > &iomuxc { > pinctrl_eqos: eqosgrp { > fsl,pins = < > @@ -343,6 +360,13 @@ MX93_PAD_I2C2_SDA__LPI2C2_SDA 0x40000b9e > >; > }; > > + pinctrl_lpi2c3: lpi2c3grp { > + fsl,pins = < > + MX93_PAD_GPIO_IO28__LPI2C3_SDA 0x40000b9e > + MX93_PAD_GPIO_IO29__LPI2C3_SCL 0x40000b9e > + >; > + }; > + > pinctrl_pcal6524: pcal6524grp { > fsl,pins = < > MX93_PAD_CCM_CLKO2__GPIO3_IO27 0x31e > -- > 2.37.1 > > >