From patchwork Wed Apr 10 07:22:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "(Exiting) Baolin Wang" X-Patchwork-Id: 10893313 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9A78F1515 for ; Wed, 10 Apr 2019 07:23:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 772432892A for ; Wed, 10 Apr 2019 07:23:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6B8DA28995; Wed, 10 Apr 2019 07:23:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 17098289A1 for ; Wed, 10 Apr 2019 07:23:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=SEp4Y44IEEjujB30eAUSBZLFwdjusnff7yCIOlQ3OX8=; b=oBi oWx65ZK5YYZEQc4973qv1nBw3eUodDo7sscwIiDmXTt8XHykArAMjSVvL6vDGsMhR9TMZ+hJP9WCB KL3HfKk/yeuoP/zt77jOHOfJwBerQ40re7lUe/WLVYKyyICrsMeItAnEBTkNjusPH6l37I1TmmPEQ F3+ILVJzxboGjIOmHlzviQKWqKUkOJVV92DVe84kOKmEfmoRmkNCNHzxh0s4yA7fuwDS1FnvthGpo Zl/YXRsXtxTFXX66q5wlpBV5eD41DRiv5Zs/Zi8KOebTyvXxsD1YtkUHPG6GmrbFmrqXP3UHSThQd t/SBRdgto5x1n1PcR8xLLIkrq80MYTQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hE7Zq-0006cP-Ow; Wed, 10 Apr 2019 07:23:22 +0000 Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hE7Zn-0006V9-98 for linux-arm-kernel@lists.infradead.org; Wed, 10 Apr 2019 07:23:20 +0000 Received: by mail-pg1-x542.google.com with SMTP id 85so1004913pgc.3 for ; Wed, 10 Apr 2019 00:23:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=IyLTTyJEtgA+Hevwz2wGkZkZqjm4Ms8sZpRlR1WnhEc=; b=HT2F+L2GVnlEGqomVZ4A3sVgTiy0jmlyDZs4GBhK+9QMoEvtu0VBiv2GvQJmDvBGGL 6zFxddfh5ls2dXqSt+CnIHX+Ncb9sTdH2luvh/mEaSDb+/e60FiHibOxv2nYmbedqlgw wihrM0HbZHYdKkZlHHFM1qD9hy9dWmJeZd5BDbkyQFqzaIgtrthkItIexHSk3/2s7kZ+ FFtn6bfFNdBLmaGvfni4AgA1ejvcrrHnj9sqDcdK0VE3wjRUrUOOnz9gxKJD/5xREP4e giKwF6GfBEu84ymgYKocaN112MQgB72+/8KUqZXqHRo+vmlY78TJnTcWnPiLMg7EISJj h/uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=IyLTTyJEtgA+Hevwz2wGkZkZqjm4Ms8sZpRlR1WnhEc=; b=sdRUCS2bIqy0JOvijJ5Sz4KDsB8zcxjmYo5GGfhOPggwHKYYa+D3LNtGzQQo6vaswT RnLoPCsg0hS8R1OY0um4tkllsM+ovXIH/TjlKKTbFXGN7UgNw0vfbKBFHorpKFcpWwgm GBxy2Qy9WPkEySIVU3Fo4LJDUmOMmAGowyn3RzrRZTgwZmAR55INUs+x3XtKAys57lKA UR11E/hoyQv3iNwOHCsAsiEapwKFxtTuf/RSmkibzfvqOFXhm5FNk56OuM5MNG5DdFWE puY6ORmaYZKT/O4lTBP87N2yQgXGCfuLqrzhmiFWcGu08adeNou6H0Q2TSylLM8v/Wox Lk7Q== X-Gm-Message-State: APjAAAV8ujAotnnW+XSKNSLLr7iNdGadWr03kD9mNl/gzbOBsc/EaGNa qJBCYaLNr8JoHitinMs9KvBufw== X-Google-Smtp-Source: APXvYqxiT5Qot/XF7isNUXvtcXItNeqDuIUqFTnYusrTgpcUCCeVugoNmFezjevC+cn07Nb1MeBAQA== X-Received: by 2002:a63:570d:: with SMTP id l13mr39297636pgb.55.1554880997864; Wed, 10 Apr 2019 00:23:17 -0700 (PDT) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id s19sm49163542pfe.74.2019.04.10.00.23.13 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 10 Apr 2019 00:23:16 -0700 (PDT) From: Baolin Wang To: arnd@arndb.de, robh+dt@kernel.org, mark.rutland@arm.com Subject: [PATCH] arm64: dts: sprd: Add clock properties for serial devices Date: Wed, 10 Apr 2019 15:22:50 +0800 Message-Id: <1246f7a9ce912458ea3b889b0c0e392897a664c8.1554879978.git.baolin.wang@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190410_002319_343629_DB644FB1 X-CRM114-Status: UNSURE ( 9.15 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, baolin.wang@linaro.org, zhang.lyra@gmail.com, linux-kernel@vger.kernel.org, arm@kernel.org, olof@lixom.net, orsonzhai@gmail.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP We've introduced power management logics for the Spreadtrum serial controller by commit 062ec2774c8a ("serial: sprd: Add power management for the Spreadtrum serial controller"), thus add related clock properties to support this feature. Signed-off-by: Baolin Wang --- arch/arm64/boot/dts/sprd/whale2.dtsi | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/sprd/whale2.dtsi b/arch/arm64/boot/dts/sprd/whale2.dtsi index 34b6ca0..b5c5dce 100644 --- a/arch/arm64/boot/dts/sprd/whale2.dtsi +++ b/arch/arm64/boot/dts/sprd/whale2.dtsi @@ -75,7 +75,9 @@ "sprd,sc9836-uart"; reg = <0x0 0x100>; interrupts = ; - clocks = <&ext_26m>; + clock-names = "enable", "uart", "source"; + clocks = <&apapb_gate CLK_UART0_EB>, + <&ap_clk CLK_UART0>, <&ext_26m>; status = "disabled"; }; @@ -84,7 +86,9 @@ "sprd,sc9836-uart"; reg = <0x100000 0x100>; interrupts = ; - clocks = <&ext_26m>; + clock-names = "enable", "uart", "source"; + clocks = <&apapb_gate CLK_UART1_EB>, + <&ap_clk CLK_UART1>, <&ext_26m>; status = "disabled"; }; @@ -93,7 +97,9 @@ "sprd,sc9836-uart"; reg = <0x200000 0x100>; interrupts = ; - clocks = <&ext_26m>; + clock-names = "enable", "uart", "source"; + clocks = <&apapb_gate CLK_UART2_EB>, + <&ap_clk CLK_UART2>, <&ext_26m>; status = "disabled"; }; @@ -102,7 +108,9 @@ "sprd,sc9836-uart"; reg = <0x300000 0x100>; interrupts = ; - clocks = <&ext_26m>; + clock-names = "enable", "uart", "source"; + clocks = <&apapb_gate CLK_UART3_EB>, + <&ap_clk CLK_UART3>, <&ext_26m>; status = "disabled"; }; };