From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) (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 E1E8712B7F for ; Thu, 25 Jul 2024 03:10:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.33 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721877007; cv=none; b=FDpI01NXIoHb8WJkker6KHoOrAgunChvSEhMxuxGV+DyYPiGdNv16jK+WIeQI+tuLH0IehIOizgQPJ0deybwUcpUgxzhB2em4O98dYLE0AQ9nF5JoFc2LSoD7M5qbWO03TpK+JJ4P89sNUuZ3Jtlafehpc8fNxRAY79Bor61jRs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721877007; c=relaxed/simple; bh=pGLxh6CLwHVaoNIwDYSyOLlH2HsN2OG/vAY4nx5lc44=; h=From:To:Cc:In-Reply-To:Subject:Date:Message-ID:MIME-Version: Content-Type:References; b=RT07DhQQEkPUxx1HOiXRGX+TCBhAFfM3qR5AfAKmHEWLILKe5PBRHC5hBmpQQh8oog/FQduImKhWuw02FkXw3kh9lvOsvsz1Yf2u7jXwVBn/OwwqjP15WvwVj55rF5F4OkHJBNs2mTyoVO+g/yol2y7r3ivQjffXHx4w0PgQi90= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=bDmNSCu1; arc=none smtp.client-ip=203.254.224.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="bDmNSCu1" Received: from epcas2p4.samsung.com (unknown [182.195.41.56]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20240725031000epoutp03ed821dc16affb30b637765e67cd85197~lVgJMU30J1705317053epoutp03P for ; Thu, 25 Jul 2024 03:10:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20240725031000epoutp03ed821dc16affb30b637765e67cd85197~lVgJMU30J1705317053epoutp03P DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1721877000; bh=m5NxvZWMl8omJrwXU+L4GIDDgVxSLnFTnlpKu+EK/MQ=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=bDmNSCu1adIDnrDyF9WblIYvx7Hqzv6JeHm7ykfEECse4mjwVTTR06KghNB6Sy4NR XoVaJvwd4dk0IiHaZjFl6UwSjoLSVv3yIRoitN9YnMFuzn2M4FzXRe+p0f+0QPQafA KcR2+2NS8yOO6er38to5SUXQ5QPHtuXWepiw4EXg= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas2p4.samsung.com (KnoxPortal) with ESMTP id 20240725030959epcas2p408f3419ace7d8a4ce20b4e3371582867~lVgIqrr5l3268932689epcas2p4C; Thu, 25 Jul 2024 03:09:59 +0000 (GMT) Received: from epsmges2p2.samsung.com (unknown [182.195.36.98]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4WTwqC1qkxz4x9Q2; Thu, 25 Jul 2024 03:09:59 +0000 (GMT) Received: from epcas2p2.samsung.com ( [182.195.41.54]) by epsmges2p2.samsung.com (Symantec Messaging Gateway) with SMTP id C0.C1.10066.702C1A66; Thu, 25 Jul 2024 12:09:59 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas2p3.samsung.com (KnoxPortal) with ESMTPA id 20240725030958epcas2p39b03ed56bee304ef8129bbf648c87015~lVgHrDTqN2166821668epcas2p3F; Thu, 25 Jul 2024 03:09:58 +0000 (GMT) Received: from epsmgmc1p1new.samsung.com (unknown [182.195.42.40]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20240725030958epsmtrp16a5da0238f2734a159832c1c82232ae7~lVgHqQpkS0827608276epsmtrp1w; Thu, 25 Jul 2024 03:09:58 +0000 (GMT) X-AuditID: b6c32a46-4b7fa70000002752-79-66a1c2070e94 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgmc1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 67.86.07567.602C1A66; Thu, 25 Jul 2024 12:09:58 +0900 (KST) Received: from KORCO118965 (unknown [10.229.18.201]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20240725030958epsmtip2bea6acf3789061ae1805d8efd7c3a836~lVgHbdiKd2314823148epsmtip2N; Thu, 25 Jul 2024 03:09:58 +0000 (GMT) From: "sunyeal.hong" To: "'Tudor Ambarus'" , "'Krzysztof Kozlowski'" , "'Sylwester Nawrocki'" , "'Chanwoo Choi'" , "'Alim Akhtar'" , "'Michael Turquette'" , "'Stephen Boyd'" , "'Rob Herring'" , "'Conor Dooley'" Cc: , , , , In-Reply-To: Subject: RE: [PATCH v4 2/4] arm64: dts: exynos: add initial CMU clock nodes in ExynosAuto v920 Date: Thu, 25 Jul 2024 12:09:58 +0900 Message-ID: <03bd01dade40$218e7b70$64ab7250$@samsung.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQKlY5hu3bVCnsOExtpi/jJA6pOgwAIK48nRASeT9zcCJWZqrLBG+IOA Content-Language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrNJsWRmVeSWpSXmKPExsWy7bCmmS77oYVpBu++cFo8mLeNzWLN3nNM Fte/PGe1mH/kHKvF+fMb2C02Pb7GavGx5x6rxeVdc9g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Gpvb2fhXbU3XS8knL1 3fkVdv+mdSVf+x3Bv+R27I0Zt6uf3tBSOpBzcc+BvxPiNK9E+gQ1zBI5l99tzRHGNTXjTzt/ yYJ0i1tKLMUZiYZazEXFiQBjd79NPAMAAA== X-CMS-MailID: 20240725030958epcas2p39b03ed56bee304ef8129bbf648c87015 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20240722223341epcas2p1b08b47cfefa981a2b31aad7878e3db64 References: <20240722223333.1137947-1-sunyeal.hong@samsung.com> <20240722223333.1137947-3-sunyeal.hong@samsung.com> Hello Tudor, > -----Original Message----- > From: Tudor Ambarus > Sent: Wednesday, July 24, 2024 8:18 PM > To: Sunyeal Hong ; Krzysztof Kozlowski > ; Sylwester Nawrocki ; Chanw= oo > Choi ; Alim Akhtar ; > Michael Turquette ; Stephen Boyd > ; Rob Herring ; Conor Dooley > > Cc: linux-samsung-soc=40vger.kernel.org; linux-clk=40vger.kernel.org; > devicetree=40vger.kernel.org; linux-arm-kernel=40lists.infradead.org; lin= ux- > kernel=40vger.kernel.org > Subject: Re: =5BPATCH v4 2/4=5D arm64: dts: exynos: add initial CMU clock > nodes in ExynosAuto v920 >=20 > Hi, Sunyeal, >=20 > I quickly skimmed over the series and I fail to see where/how the HW auto > clock gating is enabled/configured. Would you please add more details on > how this works? > The HW auto clock gating function is activated in the bootloader stage. So = we don't have to control it in the kernel. > On 7/22/24 11:33 PM, Sunyeal Hong wrote: > > Add cmu_top, cmu_peric0 clock nodes and switch USI clocks instead of > > dummy fixed-rate-clock. > > > > Signed-off-by: Sunyeal Hong > > --- > > .../arm64/boot/dts/exynos/exynosautov920.dtsi =7C 40 > > +++++++++++++------ > > 1 file changed, 27 insertions(+), 13 deletions(-) > > > > diff --git a/arch/arm64/boot/dts/exynos/exynosautov920.dtsi > > b/arch/arm64/boot/dts/exynos/exynosautov920.dtsi > > index c1c8566d74f5..54fc32074379 100644 > > --- a/arch/arm64/boot/dts/exynos/exynosautov920.dtsi > > +++ b/arch/arm64/boot/dts/exynos/exynosautov920.dtsi >=20 >=20 > cut >=20 > > =40=40 -224,7 +237,8 =40=40 serial_0: serial=4010880000 =7B > > interrupts =3D ; > > pinctrl-names =3D =22default=22; > > pinctrl-0 =3D <&uart0_bus>; > > - clocks =3D <&clock_usi>, <&clock_usi>; > > + clocks =3D <&cmu_peric0 CLK_MOUT_PERIC0_NOC_USER>, >=20 > isn't this MUX common to multiple GATEs? Wouldn't turning it off affect > other users than the serial? >=20 > Thanks, > ta >=20 I don=E2=80=99t=20think=20there=20will=20be=20any=20problems=20you=20are=20= worried=20about=20through=20the=20enable=20count=20of=20CCF.=0D=0A=0D=0ATha= nks,=0D=0ASunyeal=20Hong.=0D=0A>=20>=20+=09=09=09=09=09=20<&cmu_peric0=20CL= K_DOUT_PERIC0_USI00_USI>;=0D=0A>=20>=20=20=09=09=09=09clock-names=20=3D=20= =22uart=22,=20=22clk_uart_baud0=22;=0D=0A>=20>=20=20=09=09=09=09samsung,uar= t-fifosize=20=3D=20<256>;=0D=0A>=20>=20=20=09=09=09=09status=20=3D=20=22dis= abled=22;=0D=0A=0D=0A=0D=0A