From patchwork Tue Oct 31 19:54:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 117661 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp12014qgn; Tue, 31 Oct 2017 12:54:59 -0700 (PDT) X-Google-Smtp-Source: ABhQp+T5yF9digFwtkxG70xlUiURboTCDit4R0WtYetSHOCkmxKErQ/Hpm7gFUjhAhXNIAGmhV7p X-Received: by 10.98.65.11 with SMTP id o11mr3343443pfa.86.1509479699392; Tue, 31 Oct 2017 12:54:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509479699; cv=none; d=google.com; s=arc-20160816; b=XeJEmgfde2qqdtmShtgIpPUUM/32SrWPXNRnF/pUSiDyiWBcHL0u4gMBIFctUnPFZi cRQJC4dARflqLpudz47BycqNuvhXMzsu76Zgmh02cl/N7CwxHtYIx8FBKVkUVkptFwFL 7Ve94FzhRWNEFk5SZIp/LI4csd7IWWM3s0zVovxCoh+UQ/+mUkJNwAgCrxhFc/o5ulBD dNCUKlVsH5nd//cun3qNn3bIliwLV56MTYfM3qedbJ3eZaFN2NYqoCLJUcecfavHFAHs D+4me+VKUalH/6undb6molF+n/Ntl6gfhOnILTJI9qr/D2pTQk5VGBOon2lfjbnIlpes 9jSg== 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=LYhBBm13oISY2EhfUzFtfqdcBnS2dJsA6pbEl/ln0sI=; b=A6kEmiqfBphkIQ6VnDQmiF5chhrZRcF0wdk1iJiOUgZjBig5S8A8FM+MR5THu/ziie fI/aaQLZ+kG3BggYKGFifekkTWrCGDGZ06iLl1C/rCVl/bnCWKLPErXBTfD83TEqIKes IsW4qC02bvcuea4uAWqDP3TEhsfgMpsYCiTtLgWMRP7o3++ZSBKJbmB9oJyc/R2LnKQB MQLAhmkYH3Gghl/WpnW8nY/Pl6rKZMOxONTLvibvf6XYF3Bq1Dj1HfmNZFBe2v2CYpzV u4yVz8HWHJPOpqS51h9PAt54iV8RfkadS8Wk0Dy6Kcxt0ifboG4/NEwSfpGUUQoLBX7E 3mDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SBIjplM5; 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 y10si2295796pgq.774.2017.10.31.12.54.59; Tue, 31 Oct 2017 12:54:59 -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=SBIjplM5; 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 S932856AbdJaTy5 (ORCPT + 27 others); Tue, 31 Oct 2017 15:54:57 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:49959 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932817AbdJaTyy (ORCPT ); Tue, 31 Oct 2017 15:54:54 -0400 Received: by mail-pf0-f193.google.com with SMTP id i5so104229pfe.6 for ; Tue, 31 Oct 2017 12:54:54 -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=LYhBBm13oISY2EhfUzFtfqdcBnS2dJsA6pbEl/ln0sI=; b=SBIjplM5D5ZXCugN3pIh6zpLcoAv3tYfAaKKAMpHiIQi1f5ixkJOsAYjkIqzsysFwC Y7vOt5J8QeLv3dFryjCyWAtYyJF+11j+B5e+mmhzZ1qCOyV/x8vzlWSXjCEVb5ZhzJ7p 4zs4g+KVkSF0CzYASoDYt7Oi92DLlXe8nWUow= 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=LYhBBm13oISY2EhfUzFtfqdcBnS2dJsA6pbEl/ln0sI=; b=W13P8/gRRASzHoH5bgK7Hm7f2e53Q2fsSmkrvvuV0/APRmDdnpbhJgrJMc1aNTPqAZ M9aiUCDY+R4UDYu5805OfgLwNgcg94WGU09+IzmtEhUvEcn7zy6N1j5GNrIreG8FBShp iVxwz+aQ4NkRljStlu6PKXEKbSnBcWdXJDRoWNeH/bErXXy1qhDI+NNC37qIqkPwhqwD ID6wyzRIU4kJvticwd0wrAAtXqUcRQvs/m8m6eCwEO6b7Bqw8Q87n3mS6AYo97d8myVR T+fZnjzMSClcQEGyxaLS/DFlp19PmEV0WeSciHGxl70tV1vWpzHuhABEH5o+cgWO3LLC 8mBg== X-Gm-Message-State: AMCzsaWXv/lqeSvPywHKLFrS91gHsnoLSdD54IjYa0e+D+aBHNoufzOU mxoc4XkdJ/Oulwm3T/Ufbcsz X-Received: by 10.98.89.6 with SMTP id n6mr3249197pfb.89.1509479694295; Tue, 31 Oct 2017 12:54:54 -0700 (PDT) Received: from localhost.localdomain ([2405:204:7307:c0df:a955:b01b:cf95:dedf]) by smtp.gmail.com with ESMTPSA id r18sm4254289pfe.99.2017.10.31.12.54.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 31 Oct 2017 12:54:53 -0700 (PDT) From: Manivannan Sadhasivam To: mturquette@baylibre.com, sboyd@codeaurora.org, afaerber@suse.de, robh+dt@kernel.org, mark.rutland@arm.com Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, davem@davemloft.net, mchehab@kernel.org, rdunlap@infradead.org, daniel.thompson@linaro.org, amit.kucheria@linaro.org, liuwei@actions-semi.com, Manivannan Sadhasivam Subject: [PATCH 1/3] arm64: dts: actions: add s900 clock controller nodes Date: Wed, 1 Nov 2017 01:24:21 +0530 Message-Id: <1509479663-8985-2-git-send-email-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509479663-8985-1-git-send-email-manivannan.sadhasivam@linaro.org> References: <1509479663-8985-1-git-send-email-manivannan.sadhasivam@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds clock controller nodes for Actions Semi s900 SoC Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/actions/s900.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) -- 2.7.4 diff --git a/arch/arm64/boot/dts/actions/s900.dtsi b/arch/arm64/boot/dts/actions/s900.dtsi index 11406f6..c099ef1 100644 --- a/arch/arm64/boot/dts/actions/s900.dtsi +++ b/arch/arm64/boot/dts/actions/s900.dtsi @@ -5,6 +5,7 @@ */ #include +#include / { compatible = "actions,s900"; @@ -88,6 +89,24 @@ #clock-cells = <0>; }; + losc: losc { + compatible = "fixed-clock"; + clock-frequency = <32768>; + #clock-cells = <0>; + }; + + diff_24M: diff_24M { + compatible = "fixed-clock"; + clock-frequency = <24000000>; + #clock-cells = <0>; + }; + + clock: clock-controller@e0160000 { + compatible = "actions,s900-clock"; + reg = <0 0xe0160000 0 0x1000>; + #clock-cells = <1>; + }; + soc { compatible = "simple-bus"; #address-cells = <2>;