From patchwork Sat Mar 24 13:31:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 132374 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp1789809ljb; Sat, 24 Mar 2018 06:33:12 -0700 (PDT) X-Google-Smtp-Source: AG47ELuEX6m/b8iS4rGxRdc7H2Fxqpd1QEwZajRZto2UmB1oB6/rPv/hc3im3uE6xbL6hvDmgVbQ X-Received: by 10.101.82.69 with SMTP id q5mr23454875pgp.259.1521898392369; Sat, 24 Mar 2018 06:33:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521898392; cv=none; d=google.com; s=arc-20160816; b=o/5WvYsoToJZVmFtiPlrmB6K/z6RcFfYMGJpZ4vyaGsgZZTiYHlPxHh2XqZqI76hj/ pBOgPIRft4ualBbRcDGgHU16X+IZxZR5bVmTZ2njZEuIdzP3zKQ49HLVg7RnphxdZt/+ 8y0ellmVa6oUfQNIk8iLUs8pzK0etYVV0299pcTwOtxtWaNKyJjz2OmAYsJRezBH8fJD ZPmw08wSVhJtdSAaElQ5+qr/KzYbtupQuwHlstjy8oyzS24drgrZLYcz4Rms7uSLdZPc V/yas36M76Nj7E0BIiUb/TXIwh7oJcyw/A3Y60bdnZ5t7e4HnRLHMqfpoC+q+DkWkuoI NPRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=HL5yk831w8iniSjN2dOA4JWU9QejjmpQ37WP/KgAJVE=; b=dbFbJa3+6jgs86MpuEz0YuFRSNZNUQfFciCObW4EVSTfgUFrLkia2lnHqFTbHl7wNo wJoSMHsiUEiTGtxC4xGJisHiJ4McqFclhAte1AO4lMl2CGMVjJOwkyK+b1agIaeAnJtt y/13gAxslzCZawwtgII/T0QHWNUAzYWZNdnaZ0pr0ZGLfywuHZF6rRXeDtuPGmK6KN9S fLlMdwRMX6t1/yohh/H+oVaAI2W6uiYdXDj65WCfkNIK2Ykc6nH8J4qsqOC8Hh0VUC/J uiRssgXOmIT2gv4L8OSo4OoAzhYek62zoSQSn7fsM4OYhmwNZDq5vtmZGGYO/t6XFyVM qpSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cfcFetKG; 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 v5si7695850pgn.648.2018.03.24.06.33.12; Sat, 24 Mar 2018 06:33:12 -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=cfcFetKG; 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 S1752266AbeCXNdJ (ORCPT + 28 others); Sat, 24 Mar 2018 09:33:09 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:38909 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752218AbeCXNdG (ORCPT ); Sat, 24 Mar 2018 09:33:06 -0400 Received: by mail-pf0-f195.google.com with SMTP id d26so5790837pfn.5 for ; Sat, 24 Mar 2018 06:33:05 -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:in-reply-to:references; bh=HL5yk831w8iniSjN2dOA4JWU9QejjmpQ37WP/KgAJVE=; b=cfcFetKGPx1AygRh7m/YffW9DVYglmICv5QjzLBhoRhXljqTcz6HkTbFWl8ixHu9FD ky94ECeehyuz0WSrDo1uZvP1wVC+Yve01YdJvBabibYPDlkp3+YtLqcZ8bUSKh7UaeAe Mtr/CU2/W0HKVPR39xo5GDu0icXo+gb06VfBA= 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:in-reply-to :references; bh=HL5yk831w8iniSjN2dOA4JWU9QejjmpQ37WP/KgAJVE=; b=W/HPh3JK3xl/S2rBPvYn+KEQmXFUI6wQqSJp82AWITzbMOSM9QNccleHoMPWdSjTyK kfPCYUXtYdwr1eniI7ShgegxxR81hB0McNzFdposZ6kkpOfbLXN08cQJ8f+/ytvHDWj2 nllVPgDVp3msk+JPcPIvDRYS9+SGeCBGXSc8RTc/DBXIdV2VxfKvfY370/apZLtUoxsN q/vv7ed76pS9bQAqArx0AjGv/n1yM2qxhUhH8QTaVM692I+6kMLHQ6JeoN2n/BhwzgKr BeGtP5wl/YQCagxnki/q+omxfKj3+YJj8DBC2qhhNIfaxKTP78z0oXiAkgKsQLrNdOGw U/vg== X-Gm-Message-State: AElRT7G+8e3YKpyN7Iuo+aYMXjgg0JJVrL8kwiXsiRd6/vnghlPWhm3I k0uT07V+/FK59JMtuCGZ+1Fx X-Received: by 10.98.171.11 with SMTP id p11mr1013447pff.161.1521898385451; Sat, 24 Mar 2018 06:33:05 -0700 (PDT) Received: from localhost.localdomain ([2405:204:7401:11e6:b12d:f551:4edc:7f21]) by smtp.gmail.com with ESMTPSA id a76sm4133980pfc.97.2018.03.24.06.32.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 24 Mar 2018 06:33:04 -0700 (PDT) From: Manivannan Sadhasivam To: mturquette@baylibre.com, sboyd@kernel.org, afaerber@suse.de, robh+dt@kernel.org, mark.rutland@arm.com Cc: liuwei@actions-semi.com, mp-cs@actions-semi.com, 96boards@ucrobotics.com, devicetree@vger.kernel.org, davem@davemloft.net, mchehab@kernel.org, daniel.thompson@linaro.org, amit.kucheria@linaro.org, viresh.kumar@linaro.org, hzhang@ucrobotics.com, bdong@ucrobotics.com, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, manivannanece23@gmail.com, Manivannan Sadhasivam Subject: [PATCH v6 01/11] arm64: dts: actions: Add S900 clock management unit nodes Date: Sat, 24 Mar 2018 19:01:49 +0530 Message-Id: <20180324133159.4824-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180324133159.4824-1-manivannan.sadhasivam@linaro.org> References: <20180324133159.4824-1-manivannan.sadhasivam@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add Actions Semi S900 Clock Management Unit (CMU) nodes Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/actions/s900.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) -- 2.14.1 diff --git a/arch/arm64/boot/dts/actions/s900.dtsi b/arch/arm64/boot/dts/actions/s900.dtsi index 11406f6d3a6d..fee0c9557656 100644 --- a/arch/arm64/boot/dts/actions/s900.dtsi +++ b/arch/arm64/boot/dts/actions/s900.dtsi @@ -4,6 +4,7 @@ * SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ +#include #include / { @@ -88,6 +89,18 @@ #clock-cells = <0>; }; + losc: losc { + compatible = "fixed-clock"; + clock-frequency = <32768>; + #clock-cells = <0>; + }; + + diff24M: diff24M { + compatible = "fixed-clock"; + clock-frequency = <24000000>; + #clock-cells = <0>; + }; + soc { compatible = "simple-bus"; #address-cells = <2>; @@ -154,6 +167,13 @@ status = "disabled"; }; + cmu: clock-controller@e0160000 { + compatible = "actions,s900-cmu"; + reg = <0x0 0xe0160000 0x0 0x1000>; + clocks = <&hosc>, <&losc>; + #clock-cells = <1>; + }; + timer: timer@e0228000 { compatible = "actions,s900-timer"; reg = <0x0 0xe0228000 0x0 0x8000>;