Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp394814lqb; Tue, 16 Apr 2024 21:57:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWF0QYmEG3Xu4djSsj2KnDxO7T4N9cRSGZZhYqGnwai8ilI9i+x8IFSLD4W5QFDvgAWQR8ErcbeIS95NFiGl4Mq7aqOhP92av7lYK/oMw== X-Google-Smtp-Source: AGHT+IGWJlGNvaoRxX6yaF9gku+FC8VW0NfyGHfm3ndz5Doy8Hylmr+g2ZMECy7eKNEIxXe1JW+B X-Received: by 2002:a05:6102:3714:b0:47a:4247:5647 with SMTP id s20-20020a056102371400b0047a42475647mr16439568vst.1.1713329868510; Tue, 16 Apr 2024 21:57:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713329868; cv=pass; d=google.com; s=arc-20160816; b=hl4NY/Sl4ZtUV6RhV5q5h/NttxnxNDLHPaD2JdCuWwt6M43Y28uK+gemKfmu1B/puo lRKliqdIvxwtcutN7GuCZLbGlz9iqXCw0zXoz3Tu2x3SSdq6956/ItEAE1XLyhK1JJb9 3+mtBHwadkMW+etjMkb64RhR/+aKHagR1tYRG7lHwyfv9gWYkUTQlnY8Tl72fKQIH5LW NhMIfqm47zzpsTEJXP1TuY/n1zOCf+NYXmMBlY6QQTFIaL8p7cr6ncJcWFu3h2g88n1R a2Z4lSYgChIVj6vAIDR4la0K7/kdIizMzTEM76DdFD7tWLCgnwD97yHOC9ROWnOnfLSd rI3w== 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=oBV+uhqtFQhfhAIuzsldOm9a9vnWiU8NeEGY1MRuyEw=; fh=XC5EX5jetXdAQcn6eiVsiKYCijGmq00ypzy9aPVZFvo=; b=WvjuFcusiXGRpJHBLEQldq7Qp7E0iBWLokJTur/yZG6O/9Pe2YIN57wVJs/5T7qlYv jpFCiS6Uf65DeJnRhs5T42LUXwzjqua0LEzj1RggEwJWFdHyRp3m7121J6i3PtK2NzHg BngjG5NjvvXgMn+mdcwAL7MyJ4CHU9UE2SeLN4TR/hXALB37++rm5ZIy744MaAv0piRC +YW4qNWSF8mMo4KYlkxi+iqu50PMY3CKeigkXpfuHWvQudax4/2IWEunkrbHVIqDo1Ie zvsUrYd7IRsByn8s4PbCSeplMw1kKdoeimFwXKbAYwnTR62Q8yi0VJkxlF2sKjsXykgk Rqrw==; 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-147939-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147939-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id t40-20020a05622a182800b00434feb79d31si14538529qtc.720.2024.04.16.21.57.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 21:57:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-147939-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-147939-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147939-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 2FB191C2145F for ; Wed, 17 Apr 2024 04:57:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A7B155026D; Wed, 17 Apr 2024 04:57:44 +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 881B45680 for ; Wed, 17 Apr 2024 04:57:41 +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=1713329864; cv=none; b=Au/UzzBhe6WR9Zc4Zo32S1OjsRQI/A6qbO66fhLNfx6kVFmWD5Li2N8LHrDJKzpwIg/aFEGCWGPl6WkUelblvrmT/VsRxRVdjqQ+8QDKmhQlyOfhrDdcD33GHsYOT58SoFIDQXHT3ylbpg9jW42pBe79mwaLXOMbxMR5RmtkIkE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713329864; c=relaxed/simple; bh=Gz7JeDyKCo7wyll/YSOuGCHs56+MF71ICnHL00/yOJ8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=eEmc1t9psOUmE1+ldChcjuaIeHOHLcllcjxYKDbQ84ug1jC07yX+jQsmEqneLSSiYMz6sZ8VI6OPrdUmLfTgT0vNp5gaMNjMhjMEws3oX4ifcfdlM4hxc7BanXgy2b/t9lFzYPzUR8hckNVRxIZYt8JURqAY66IBMGeWTBvNjWE= 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 1rwxMI-0005Id-1E; Wed, 17 Apr 2024 06:57:22 +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 1rwxMG-00CjGo-Qe; Wed, 17 Apr 2024 06:57:20 +0200 Received: from mfe by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rwxMG-00HNee-2L; Wed, 17 Apr 2024 06:57:20 +0200 Date: Wed, 17 Apr 2024 06:57:20 +0200 From: Marco Felsch To: Joy Zou Cc: frank.li@nxp.com, ping.bai@nxp.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 1/1] arm64: dts: imx93-11x11-evk: add rtc PCF2131 support Message-ID: <20240417045720.hk3y6m6roiqtuvfz@pengutronix.de> References: <20240417031455.3177778-1-joy.zou@nxp.com> <20240417031455.3177778-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: <20240417031455.3177778-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 Hi Joy, On 24-04-17, Joy Zou wrote: > Support rtc PCF2131 on imx93-11x11-evk. > > Signed-off-by: Joy Zou > --- > Changes in v4: > 1. remove the sleep from the pinctrl-names. > > 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..bc3c9271d747 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>; while reading your patch I also noticed that you had to specify these cells here. It is very common to specify it within the base dtsi file imx93.dtsi. Can you please provde an extra patch which adds this to the base dtsi followed by this patch, which of course do need to specify it again. Thanks you, Marco > + clock-frequency = <400000>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_lpi2c3>; > + pinctrl-1 = <&pinctrl_lpi2c3>; > + 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 > >