From patchwork Fri Jul 1 01:52:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanho Park X-Patchwork-Id: 12902526 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8D911C433EF for ; Fri, 1 Jul 2022 01:56:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:References:MIME-Version:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Z6DYJvcKraSEM+GMZHseUebpj0bCumGyNJDFXxtMKl0=; b=Vd2cme5XkJfPnY 11t7szjccRzbn8hsTKnzhgSQHSiAKiO887IQjuc5yY4iSF64gyapzDtzigccp8VPAmqMT4fzoHX9u +31GcrOKwQNudM7WkLdP/VeIYNqFimwHZ5XBU6+huiBiuaX+YFrGLZJLAR5APNyKRdOtpglSuFfDn TdzG86KozaOe5UnAM5M7ft/WbGs3FPP4lY9BPSYTi6bKrnaxtInU9gBTCDIppThiz9cHYVb0++d/s 9an6dT7qUI1exYIPu95QOQUTEBtTAJ1tKfI3HN6gXB4QJ3mjIFtqtTwuV9h/YhLBIIyP9Qx869jQK L316abQuitvV94gGsIrg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o75sI-002K8b-8T; Fri, 01 Jul 2022 01:55:14 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o75s5-002K48-Kp for linux-arm-kernel@lists.infradead.org; Fri, 01 Jul 2022 01:55:03 +0000 Received: from epcas2p3.samsung.com (unknown [182.195.41.55]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20220701015453epoutp03b4ade0f7efb8dffa5a66b04aa27f7286~9kcBRc4nI2922429224epoutp03D for ; Fri, 1 Jul 2022 01:54:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20220701015453epoutp03b4ade0f7efb8dffa5a66b04aa27f7286~9kcBRc4nI2922429224epoutp03D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1656640493; bh=GX0KhdgQdYmQS5rfrx7wkO2OYNcdwsxmMT8rLLs9M7Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=n41aUMQhtLJFZMEHkPxpDmkcjSC2UyGf+UGhRxpdQ+GLWNOs8UvanUktFjt3sGYAL eTrkx3wwFRe8GvwRdf3L19qsUaMIhass64+NJTGaVRagoj8OjwH1d2ksnitOdbeNUC 237LhRJlUc3EO2CPs9iu8oHTTFJPbnXhzcDeGAlA= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas2p1.samsung.com (KnoxPortal) with ESMTP id 20220701015452epcas2p1b6f823720af829cdc7cfb6a0ab529508~9kcA2dqCH2287322873epcas2p1M; Fri, 1 Jul 2022 01:54:52 +0000 (GMT) Received: from epsmges2p1.samsung.com (unknown [182.195.36.88]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4LYyv002ldz4x9QH; Fri, 1 Jul 2022 01:54:52 +0000 (GMT) Received: from epcas2p1.samsung.com ( [182.195.41.53]) by epsmges2p1.samsung.com (Symantec Messaging Gateway) with SMTP id 5A.97.09666.BE35EB26; Fri, 1 Jul 2022 10:54:51 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas2p2.samsung.com (KnoxPortal) with ESMTPA id 20220701015451epcas2p2d3f57de43762d78269bd7981b22ea987~9kb-0dacs0447304473epcas2p2D; Fri, 1 Jul 2022 01:54:51 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20220701015451epsmtrp27ffa54e45c0df07302ab9f1a2965bf86~9kb-y_ABI1047610476epsmtrp2T; Fri, 1 Jul 2022 01:54:51 +0000 (GMT) X-AuditID: b6c32a45-471ff700000025c2-7a-62be53eb2bc5 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 1B.E4.08905.BE35EB26; Fri, 1 Jul 2022 10:54:51 +0900 (KST) Received: from localhost.localdomain (unknown [10.229.9.51]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20220701015451epsmtip25ed36f5f4189b6f1a3f36db7922aed05~9kb-hTiWL0264602646epsmtip2i; Fri, 1 Jul 2022 01:54:51 +0000 (GMT) From: Chanho Park To: Krzysztof Kozlowski , Rob Herring Cc: Alim Akhtar , Sam Protsenko , Jaewon Kim , devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Chanho Park Subject: [PATCH v3 4/5] arm64: dts: exynosautov9: prepare usi0 changes Date: Fri, 1 Jul 2022 10:52:25 +0900 Message-Id: <20220701015226.32781-5-chanho61.park@samsung.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220701015226.32781-1-chanho61.park@samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprCJsWRmVeSWpSXmKPExsWy7bCmqe7r4H1JBjOarSwezNvGZnF5v7bF /CPnWC12NBxhteh78ZDZYtPja6wWM87vY7Jo3XuE3eJ53z4mB06PTas62TzuXNvD5rF5Sb1H 35ZVjB6fN8kFs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/UPqY/Tq5Kevhe4r6bwTYmlOCPRUIu5qDgRAM7nwdInBAAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrPLMWRmVeSWpSXmKPExsWy7bCSvO7r4H1JBk9eSFo8mLeNzeLyfm2L +UfOsVrsaDjCatH34iGzxabH11gtZpzfx2TRuvcIu8Xzvn1MDpwem1Z1snncubaHzWPzknqP vi2rGD0+b5ILYI3isklJzcksSy3St0vgynjSdJSl4Idgxa4N81gbGI/ydTFyckgImEjc/zmf tYuRi0NIYDejxN1tfWwQCVmJZ+92sEPYwhL3W45AFb1nlFi2fh1Ygk1AV2LL81eMILaIQLzE 5i8LWUCKmAWmMUl0PJ4BViQs4CZx8j3EVBYBVYl7Cx8xdTFycPAK2Ek8ucMJsUBeYsP8XmYQ m1PAXuLf/rlgrUJAJavf3QaL8woISpyc+YQFxGYGqm/eOpt5AqPALCSpWUhSCxiZVjFKphYU 56bnFhsWGOallusVJ+YWl+al6yXn525iBIe5luYOxu2rPugdYmTiYDzEKMHBrCTCyzZvb5IQ b0piZVVqUX58UWlOavEhRmkOFiVx3gtdJ+OFBNITS1KzU1MLUotgskwcnFINTLEW7IVT5139 fcr3otvuCsVnCfObZkdeb07hV407/PI+0/P+S73FzYnOleIuk+7P/D85aoLwndgTzJuV5bhX Tff72h0eeac751bfUsUdOov+qK5N7DTvDLm4wPbnGYuo7U/OB10R7JJ09zg8mTminCHYX+jH 0RjpW0UxZev/W29aHb9PeI94qNapjD028X0lM9KqP7I8F10/SZRPTtmjOtb7mXLcTCdHg/sW twNmJ7x/VHku+Yf/ma76/p2fS+WNXl6LeR0bo+65Ic7+XaGCviWn5NEfCWZdTEXOs+SamE7M 0Jwz6SPr/wyOmbJh4TwnisRV+WwbisNcdk1VTvDh2zFt65TPOt6N3BK73vxVYinOSDTUYi4q TgQAdoGxROICAAA= X-CMS-MailID: 20220701015451epcas2p2d3f57de43762d78269bd7981b22ea987 X-Msg-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220701015451epcas2p2d3f57de43762d78269bd7981b22ea987 References: <20220701015226.32781-1-chanho61.park@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220630_185502_228051_056A1B74 X-CRM114-Status: GOOD ( 16.05 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Before adding whole USI nodes, this applies the changes of usi0 in advance. To be the usi0 and serian_0 nodes as SoC default, some properties should be moved to exynosautov9-sadk.dts. Signed-off-by: Chanho Park --- arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts | 2 ++ arch/arm64/boot/dts/exynos/exynosautov9.dtsi | 10 +++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts b/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts index 2b30a7458297..eec3192c0631 100644 --- a/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts +++ b/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts @@ -50,6 +50,7 @@ ufs_1_fixed_vcc_reg: regulator-1 { }; &serial_0 { + pinctrl-0 = <&uart0_bus_dual>; status = "okay"; }; @@ -74,6 +75,7 @@ &ufs_1 { }; &usi_0 { + samsung,clkreq-on; /* needed for UART mode */ status = "okay"; }; diff --git a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi index c4cfa93e4c2e..dbe0819b44c2 100644 --- a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi +++ b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi @@ -352,11 +352,11 @@ syscon_peric0: syscon@10220000 { }; usi_0: usi@103000c0 { - compatible = "samsung,exynos850-usi"; + compatible = "samsung,exynosautov9-usi", + "samsung,exynos850-usi"; reg = <0x103000c0 0x20>; samsung,sysreg = <&syscon_peric0 0x1000>; samsung,mode = ; - samsung,clkreq-on; /* needed for UART mode */ #address-cells = <1>; #size-cells = <1>; ranges; @@ -365,13 +365,13 @@ usi_0: usi@103000c0 { clock-names = "pclk", "ipclk"; status = "disabled"; - /* USI: UART */ serial_0: serial@10300000 { - compatible = "samsung,exynos850-uart"; + compatible = "samsung,exynosautov9-uart", + "samsung,exynos850-uart"; reg = <0x10300000 0xc0>; interrupts = ; pinctrl-names = "default"; - pinctrl-0 = <&uart0_bus_dual>; + pinctrl-0 = <&uart0_bus>; clocks = <&cmu_peric0 CLK_GOUT_PERIC0_PCLK_0>, <&cmu_peric0 CLK_GOUT_PERIC0_IPCLK_0>; clock-names = "uart", "clk_uart_baud0";