From patchwork Fri Jul 5 15:14:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 168556 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3703599ilk; Fri, 5 Jul 2019 08:15:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqyS2zeNt4u66X38cETmrekQ2WUT/OL6vs5K37/cyoYsn3b+2R/Dm8xftOFRK+Gp/u8uEyx/ X-Received: by 2002:a63:490a:: with SMTP id w10mr6068662pga.6.1562339710211; Fri, 05 Jul 2019 08:15:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562339710; cv=none; d=google.com; s=arc-20160816; b=pBax7kmKjTqGRR/7ljRJobncyZO9WhB8TIaqaTQkUgg4gU16/o1itAE8ye5QAKeRNM +cXQA7bJgrDZEBCh0jxQggmWfK9xH9U0SMUFCqVvKtATO7muoMWCkzdVEY6jCIBTH8I2 Tw4m9Q6L1BhDlH32b3KL+HpRVWPBBG6AjHL+r9+539OPSimo1Qo4gHIL0k9t1BEMQMUe 8YYy5X3geBqq9dybRx0J0A/BqBJA+CAim1Cfvs6oPH8btuVTMg6bjng/F8q395HESCEx fHgH+oYnk0WKIhO7gX/OoJNAtAxHuu4h/wR8uHhns2vO91oNNEHJqnu37rD6+enicugO OQWA== 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; bh=pnFKwgNsYpmubPKLkJXycKS9VYfFkpb2W871iieZZDk=; b=P6+6noYhymhRchzO2pqXWlfoGB+wepdKGqThp4AhRtBz/Lpa8uDmTXH/dRhBV90jvR 1WXbVmsTBtceF9sTTj9cZi17YqpHnQ1MrUrPVgWjynJ9Q/FFJ6xUjVCT59JieBlzHrGp HhKN1FIkr9mHQIzpYzi3cPXaPSQc/6dvgze2sU0S43MC2Wn5r5309t9dde4OQeygBAV9 xLGDsPU8OcfGx6dVt120PkBEFmOq6bF9fwkDYd4Xc0D4L0wxmlH6GUYn7AC59RIHtfxM q4JCBenq0QZD2ldDKnNnpk1qrpIP6gBwwwpQQoyRueDdvvOGgBdWUTehTbRrVtqMWqpq US3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FsMlfk2Z; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 u1si7386777pfh.157.2019.07.05.08.15.10; Fri, 05 Jul 2019 08:15:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=FsMlfk2Z; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1727879AbfGEPPJ (ORCPT + 8 others); Fri, 5 Jul 2019 11:15:09 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:38551 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727899AbfGEPPJ (ORCPT ); Fri, 5 Jul 2019 11:15:09 -0400 Received: by mail-pf1-f193.google.com with SMTP id y15so4458776pfn.5 for ; Fri, 05 Jul 2019 08:15:08 -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=pnFKwgNsYpmubPKLkJXycKS9VYfFkpb2W871iieZZDk=; b=FsMlfk2ZU1BrvhnsQetLbWU/mxumz9RLpLIFkhi3D4wujKxRDkrRQIqZJdyxeCFYMj RzGyO7tG+3v1VY1p3FjAPLjLRWM7SyP/hI3Lq57e+JupfcKpTUihhyK6z8rCrkgQMyfH J8Ft8lVHesiX0u54DldtCczALimAENg83xEl2PHqLnmdezVUp1TpOf+WrVYdX1tM0h61 Y0D+wcf4+x3jq6Y08eJ3ckDQm6352vn1sITAsrVWSVd5G232Ok4TLGNMX8JWdnycmbjf NeLGBwT7rzeCUjrwD3PwitOwuQnrrY00Spycn59BAFrBR0J4z/YtmG+L/4tGXIpb2xts TwsA== 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=pnFKwgNsYpmubPKLkJXycKS9VYfFkpb2W871iieZZDk=; b=MRvseeqP11xFyBf05GIuM6wCHxDsatiHoWLLey/vIS5l2Sa69Q3VpN3it22vqMRCVv 4NpdcPBC6ra/eLyXtLJuULeSgzRhBp9E75eLjvxcSjXGM6Sfg8Wm8Tb+fVOcxAhdnJjj z41JXCa10t1HNHV99ZX2kSQ9MvZyIL3xu3n7CgxNZt1vH3nw9LkLJt/WugKYeFHMb8ox 5n4FA9kAwq0X2IE6rjIOGZdKmZU9YoptkkRMwoloOL3RNwS7T4fenwcBlKwfPL15yo1l L6NuqhE+RrWDMvfGzRC8wEHuYaN8elJmxHT19NW84c0xr7/9ZEc7KUlDPMxtww/xWFVq yNvA== X-Gm-Message-State: APjAAAWXzt+RXTGmi4a/1EubpGzYroCYApAOU6/uayKJVSWlIFk10XaK R4xDtODLHDiClD1N0aMEp7tU X-Received: by 2002:a17:90a:b312:: with SMTP id d18mr6095115pjr.35.1562339708466; Fri, 05 Jul 2019 08:15:08 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:916:7317:a59d:72b6:ef7f:a938]) by smtp.gmail.com with ESMTPSA id w3sm8248778pgl.31.2019.07.05.08.15.00 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 05 Jul 2019 08:15:07 -0700 (PDT) From: Manivannan Sadhasivam To: sboyd@kernel.org, mturquette@baylibre.com, robh+dt@kernel.org Cc: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, haitao.suo@bitmain.com, darren.tsao@bitmain.com, fisher.cheng@bitmain.com, alec.lin@bitmain.com, Manivannan Sadhasivam Subject: [PATCH 2/5] arm64: dts: bitmain: Add clock controller support for BM1880 SoC Date: Fri, 5 Jul 2019 20:44:37 +0530 Message-Id: <20190705151440.20844-3-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190705151440.20844-1-manivannan.sadhasivam@linaro.org> References: <20190705151440.20844-1-manivannan.sadhasivam@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add clock controller support for Bitmain BM1880 SoC. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/bitmain/bm1880.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/bitmain/bm1880.dtsi b/arch/arm64/boot/dts/bitmain/bm1880.dtsi index 86e73af1629c..d2edb2e28bf2 100644 --- a/arch/arm64/boot/dts/bitmain/bm1880.dtsi +++ b/arch/arm64/boot/dts/bitmain/bm1880.dtsi @@ -4,6 +4,7 @@ * Author: Manivannan Sadhasivam */ +#include #include / { @@ -65,6 +66,12 @@ ; }; + osc: osc { + compatible = "fixed-clock"; + clock-frequency = <25000000>; + #clock-cells = <0>; + }; + soc { compatible = "simple-bus"; #address-cells = <2>; @@ -93,6 +100,14 @@ reg = <0x400 0x120>; }; + clk: clock-controller { + compatible = "bitmain,bm1880-clk"; + reg = <0xe8 0x0c>,<0x800 0xb0>; + reg-names = "pll", "sys"; + clocks = <&osc>; + #clock-cells = <1>; + }; + rst: reset-controller@c00 { compatible = "bitmain,bm1880-reset"; reg = <0xc00 0x8>; From patchwork Fri Jul 5 15:14:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 168559 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3703967ilk; Fri, 5 Jul 2019 08:15:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqy1dOrrPUcV+8dIGQaMZgXzf51/HG3HA4NM9WRa5f4StBufb17oKWOBe1Yu0zxGIjpUVRpX X-Received: by 2002:a17:90a:cb8e:: with SMTP id a14mr6174192pju.124.1562339729918; Fri, 05 Jul 2019 08:15:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562339729; cv=none; d=google.com; s=arc-20160816; b=L77Wkj8Fj93hCBJpQGaAja7G13M4o8F1xUXGB0sVHurKyYbYpaqUU5kSVtGShDHzmg Rk7DsKVidm6RLWBk4Q8JliR9Mwwos17QmKEMei7A88yMAXeY5T55ECPAzuZTL2PIoVjq 5s5NA6XmaeBAn69n86wbq/ky0kp/JbiuZCwNMqkX9w5BG+4HLjc0vksVlCfmL0Tsrs8x E0kVk6yZbbuT7bEiWgjXk0NbHK88KGZj7TAP90WHoXS7p1i+2myl6u/rIpgldriBkeWp A9/jQQsYz+iFizbcQ8gZg90FoDAsgBq4LFK/S/7NKFJ6dBnQsov6kZFVnemPAoVyVs9y vLQA== 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; bh=W3shWyjUMuq9t5Vu5n5b4WyN7Fp07Hz5BxwWZP81hBQ=; b=uL/0TapMyNplWQP/loZnT08RL2VWTubts/trO5IYVQT3BgDLQLocblfWYhbhiGtRSG UfLlChZEIvmH1UJxQRQmlQGIJ/NkRLObdXaVHG7E4AZKim7Qc/A1tm3LQrjiEeqUmMH3 dxfhy9sbfzLkMGwhg5d1rO6Mq+ezboh+Sav40s1k2rLKMp9BBmsGU/owGblu/BJleI9X EMpU+YbDEwwISzRNHh42tXuRf4DEFy7y4e6hYQNpen8wBWtjRIaMJ3VCOdMr0OjEyuBY rBo4dzH5i51k+Kk3wBHOsZyrtCA9lVvbsMW6SYk0uxe3Jh2/mwDI3gGaDBMOKku+j8Iq g6zQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GLp+9NqH; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 s6si8290745pjq.108.2019.07.05.08.15.29; Fri, 05 Jul 2019 08:15:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=GLp+9NqH; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1728133AbfGEPP2 (ORCPT + 8 others); Fri, 5 Jul 2019 11:15:28 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:39710 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728124AbfGEPP2 (ORCPT ); Fri, 5 Jul 2019 11:15:28 -0400 Received: by mail-pf1-f194.google.com with SMTP id j2so4456035pfe.6 for ; Fri, 05 Jul 2019 08:15:27 -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=W3shWyjUMuq9t5Vu5n5b4WyN7Fp07Hz5BxwWZP81hBQ=; b=GLp+9NqHTitbzc/EsYIplus2wwytDD1COg7tthvJ2z5C8u6TdKlK6E52+9zQmpo/WA vr2Ea2RI3BbF84Mjk8+R3Ql1MGPwxtXnLPOc0v6pelHEkoPT1mrL1wgi6ZR6EmyyHvAI jS8p0xLZHL2Pkqpa341OyGhxtca7Ga12OwWYTVagEvFpGj5CIhDJxSCMW0JasKA5K9mG ZyaqF8WakEI2giuswI29XVelWqw+Jy+oFJ+0oIeFIF5mADrGyv8nsL0DG5Vn1F3pE01R Hb10poYOGOSaXMvo7zwOHatpZhAqtyIwKRaMsnKjgtURH+zuyJLF2xJcCEC/5xNRlbOG mLdg== 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=W3shWyjUMuq9t5Vu5n5b4WyN7Fp07Hz5BxwWZP81hBQ=; b=AH590nBUfQtji2Wr42qh8jKom9RvKR8UhjJXTeZSRTM9aG9cde2nEyYhn5JoxzwaBT KdgFcRFgK8BInT0japIZiFwm+w+rNKf18gn3QOb30x/y/oeqzFUoT7VTxOED75j8f0fV 9QQo6+FZIkt/X+6nRtxAWM4j6pz+rCbZi+OcssYw+zaSgtWWrhyuvLXzbcYRHm14vYIM Nmr7WFGTznnNVWUzRGpiHfrLWOzLAnZc9QTvcqxkyFiaPndrr8iBqODTvT+7fVT00Y40 6ahtp7EN/WGEBGiFqIeH/Ql7W0xlDquHvPzF6OGNLNEBuGbKpWgtWe6jTqs9Mnl3/c5/ Oxww== X-Gm-Message-State: APjAAAX25s+7z5ZbsW+zu23MTYiORzH+uF/XNpw43PFyl5ZZEoQctJei 5RcBT850WPJv6v/jmBLV6b3G X-Received: by 2002:a17:90a:25e6:: with SMTP id k93mr6322707pje.100.1562339727172; Fri, 05 Jul 2019 08:15:27 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:916:7317:a59d:72b6:ef7f:a938]) by smtp.gmail.com with ESMTPSA id w3sm8248778pgl.31.2019.07.05.08.15.20 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 05 Jul 2019 08:15:26 -0700 (PDT) From: Manivannan Sadhasivam To: sboyd@kernel.org, mturquette@baylibre.com, robh+dt@kernel.org Cc: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, haitao.suo@bitmain.com, darren.tsao@bitmain.com, fisher.cheng@bitmain.com, alec.lin@bitmain.com, Manivannan Sadhasivam Subject: [PATCH 5/5] MAINTAINERS: Add entry for Bitmain BM1880 SoC clock driver Date: Fri, 5 Jul 2019 20:44:40 +0530 Message-Id: <20190705151440.20844-6-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190705151440.20844-1-manivannan.sadhasivam@linaro.org> References: <20190705151440.20844-1-manivannan.sadhasivam@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add MAINTAINERS entry for Bitmain BM1880 SoC clock driver. Signed-off-by: Manivannan Sadhasivam --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) -- 2.17.1 diff --git a/MAINTAINERS b/MAINTAINERS index 01a52fc964da..f9259161cb5c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1464,8 +1464,10 @@ M: Manivannan Sadhasivam L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) S: Maintained F: arch/arm64/boot/dts/bitmain/ +F: drivers/clk/clk-bm1880.c F: drivers/pinctrl/pinctrl-bm1880.c F: Documentation/devicetree/bindings/arm/bitmain.yaml +F: Documentation/devicetree/bindings/clock/bitmain,bm1880-clk.txt F: Documentation/devicetree/bindings/pinctrl/bitmain,bm1880-pinctrl.txt ARM/CALXEDA HIGHBANK ARCHITECTURE