Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4644108yba; Wed, 10 Apr 2019 01:41:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqznLo3RlddW2OiPo/p7iYX9DCCEsNveHfW7ZmtJnBeRRgUa8gvFvfUG4j1FakUcEtb8ngT1 X-Received: by 2002:a17:902:28e9:: with SMTP id f96mr21412595plb.190.1554885668662; Wed, 10 Apr 2019 01:41:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554885668; cv=none; d=google.com; s=arc-20160816; b=c/zeygr5UAVHUMioPYBlutRi5U5wRiWx3T+auFIYTR/MrQlGtYDi6x+VAcN3HUzjd7 YdsfbrmcQow98G74O0GqUBC0v+pOS9jRZbxwPlhflrynaxKudx2k7DGRwoQSBx+25JQl mOQV3hRIex0eZWIv+Vu3p/AUbheWt1T6K6iEYAUPyFgApiHt1PXdJLAKq8wPvYXa66UI dMf/5ILbH5629Nr64Ovsc0884B6J3F4frK0lw3kcD9bYw/sHjKM6JdKbtyrfPQM4iSlp qjCHxYox2LnNxLmcJ18rV4a0E/tcD65NCXDaiAnPxW1aX0VFYrA3Vd43XYPuwQMiDCPn chFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=IyLTTyJEtgA+Hevwz2wGkZkZqjm4Ms8sZpRlR1WnhEc=; b=uAUcD54uncWKE3ziRo5UpSBJXqUXAkvE/E0tDfV5NeeFZbUsVrMj50gNEGNmsgjTp3 9kAMO5penu789eeb2nn6mq1Q1SxsjfvANBvYg8JWqoB9aaX6wsJvlto/ajolDvA4QIFT 5ZpDrnP3V6VkzNQjJBgGmU3BV0NTL0NTORGLwfoyXcSxBnNIQvIDvamJbuOca5+ko7+Y zDfPGqvJmMsMCRMyrmbEk8QL5V+vluhNT5HW7IXt6awTjAhv7Pa/+ukk1BZbsXtPSBic Uu/oUF3FvpOxMCjYQQmAPxNG6ekmeKB+uYTR+11yTu305XYsfaZo1KAaBzfFWyfjpq6I yrmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HT2F+L2G; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c14si14659693pfn.40.2019.04.10.01.40.52; Wed, 10 Apr 2019 01:41:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HT2F+L2G; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728957AbfDJHXT (ORCPT + 99 others); Wed, 10 Apr 2019 03:23:19 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:42277 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726931AbfDJHXT (ORCPT ); Wed, 10 Apr 2019 03:23:19 -0400 Received: by mail-pg1-f195.google.com with SMTP id p6so989453pgh.9 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=RCvPLO9KTzAdlWsmT/zveM/+meJmVrB8PybYWudQmj7sHma4dfpckvCfVRqKF/18a1 QGFRypbFKbn+3TB+d5GG6YefJh4PPduHual05DODbO1r7wzP3FU72/UHvczmnmTV20Co nyeGroOOPc/cXKeAa7Kwi+RRWJ0BAPAGkxQDH12e7DuxnlyhGmB6DKi6GJFhw9vmHYIc fhtuh2CTbRt9nPJA45/hRXdEe5z+AC/pKnVjNUrxyl1VnhNYthlnIS6lqWFKMIRXuCIH tukb2jTaZOEoe1NtQ9sDWKgnMU7Rghmz/pkILCIsB9XB3KHVnBhxl0TYePut9mKXKDMr yY4g== X-Gm-Message-State: APjAAAUQKwU5HWmfx6WU+Nl17o8Lt6DUkwLD7xMnScOJOLaOQ26S5cYB 9/WT448AzW/9nWpfxKvdlw0BVA== 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 Cc: olof@lixom.net, arm@kernel.org, linux-arm-kernel@lists.infradead.org, orsonzhai@gmail.com, baolin.wang@linaro.org, zhang.lyra@gmail.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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"; }; }; -- 1.7.9.5