From patchwork Fri Jul 5 15:14:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 168554 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3703362ilk; Fri, 5 Jul 2019 08:14:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqwJ3hFoDKQutNlzrbpnkzTmBgozXshMPX+3RPO/6sGT2CMACofvgLfMMcJR+LaEP1x6d5Vi X-Received: by 2002:a17:902:4222:: with SMTP id g31mr6461359pld.41.1562339698396; Fri, 05 Jul 2019 08:14:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562339698; cv=none; d=google.com; s=arc-20160816; b=NVb5l8z401w0DWISbGW6jARfQwHYNQ8FhfmzkKKBRAZVZVfEj7w5+ixlH+ipsRHHf5 tjAdrHlyTI8r7t76winz+uA1rmdOXhjm17NinxQamVKgGdA7tL+kO01HQYF1W6znRsPz aF9RMf/xC0/MF8T2p60FIgVi7I9B4jkMG0UOOiBSvzs3N9ZlwufRHqEAU9QL+eJCcZPO kgzviLPLUdX5i2AIoO+bx4D+XKDWCd23SYWDLwOo+mT+HP4wzGRJGaZYyRCNqrVqWoqG zsOU0wC7f1zvSqloghBnh/Wz8/JITP7+nPhTi+MqSClNTJPjczkGiwL2bU4y0aD+VLHG E6rA== 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=LG/wQK5eDhZO2JkmChNMhmQOYOK1XGmyw1rFFuxqroU=; b=0fSX9m7qITdJDyv/vz/rI7/JcaMm3fwklIULCkVuZh3ZFjQy2Rt2YJFO8fy4dbI9MY 5GzlTOUoHdMMyBG0WFX0w3bayqU32iPsvijcmaIiKWDBnUhnCUabMYVBvev3EzWqMFmc awdNDpAJzYZc3xrL37owg217zVGl3d34nepr61FmAmu45ZY1jGfNwW7X99AgWBsnHjRv w9RN7RRsPhMkUaA1b/OLeWRdL3EZpt7tOnrrHkyUVxPhlTMgpazFsENqZhKnXjqCRjSg IZQLGLs5OzDYWMniUssXDWBhM+41R4QfMF/qlElTqVqFyIvAKp1CSshe0pSepvoihKAE uX1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fc5wkPe+; 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 h186si9645974pge.110.2019.07.05.08.14.58; Fri, 05 Jul 2019 08:14:58 -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=fc5wkPe+; 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 S1728003AbfGEPO4 (ORCPT + 30 others); Fri, 5 Jul 2019 11:14:56 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:45702 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727841AbfGEPOy (ORCPT ); Fri, 5 Jul 2019 11:14:54 -0400 Received: by mail-pl1-f195.google.com with SMTP id y8so38040plr.12 for ; Fri, 05 Jul 2019 08:14:53 -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=LG/wQK5eDhZO2JkmChNMhmQOYOK1XGmyw1rFFuxqroU=; b=fc5wkPe+dcpEqURdBxoMZHkCu7ruRwywX8u94KSlg4PtNUUKv1XNQ2h+hPrPex7hXK VD2FrV3QrNPFHljlLp9iA3TAwyCJpbQfIZMu6IeYhFFbqVNCG+4dRcpTTex9MIDA8isg MFmW4PlzYaU+rHd8q7Ml+nbonIDBGxC7smUnWlWgqx65ULvaH0VoOPEpDYz/AlfiLjSP cas8EcLbYQ59WCanZWRNFY1apouJ4wbEn9R7Px2mQNL9hTgQbIqhPKx99nOoihYL2EXK o64Bn2pewcsOvDIoscJDs8Pw2X+wWGYA4h5uX7U+sSA6S495hfr2tgBdrTazwNhv1WYd NN9w== 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=LG/wQK5eDhZO2JkmChNMhmQOYOK1XGmyw1rFFuxqroU=; b=i3bi8AnAPR/KwcwzzCQZHZOZS6S+PMu5KbymAi9eZTc0TpSk386W1rwoDVQJn3f7H9 i+YeqWw8JvVXZo5DHe0Vcy76wd1olhYeDWTFkQAxYIPWI7eDL7KfFQ4omBqNroOY0hC/ /EmYPmmPMp7WyiEij8ZS3Z/8NbgXzthO7tlM01UDX38i1ZfxMXmdTMWO/2pem1X/8DG5 BGYThiywUAmgndvVBuyUENvKZ1GXVMeL3/KtT2E+02s+PYOhb4/9XwXa3cgQWKzawhQF ETTj2FicPup1X4vOMpQ0BttzvFzI57LIp9njWXsM5st/a0cubfTECAmfH0pEXz/ff9W8 B5oA== X-Gm-Message-State: APjAAAUBlww9bPvW+eOVXVCkBpVNms+nXcfSFVxvdYi7HxfI0vZfFLjE inQZ4WzTnaGMImFnO26x0KJj X-Received: by 2002:a17:902:16f:: with SMTP id 102mr6040122plb.94.1562339693237; Fri, 05 Jul 2019 08:14:53 -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.14.46 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 05 Jul 2019 08:14:52 -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 0/5] Add Bitmain BM1880 clock driver Date: Fri, 5 Jul 2019 20:44:35 +0530 Message-Id: <20190705151440.20844-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, This patchset adds common clock driver for Bitmain BM1880 SoC clock controller. The clock controller consists of gate, divider, mux and pll clocks with different compositions. Hence, the driver uses composite clock structure in place where multiple clocking units are combined together. This patchset also removes UART fixed clock and sources clocks from clock controller for Sophon Edge board where the driver has been validated. Thanks, Mani Manivannan Sadhasivam (5): dt-bindings: clock: Add Bitmain BM1880 SoC clock controller binding arm64: dts: bitmain: Add clock controller support for BM1880 SoC arm64: dts: bitmain: Source common clock for UART controllers clk: Add driver for Bitmain BM1880 SoC clock controller MAINTAINERS: Add entry for Bitmain BM1880 SoC clock driver .../bindings/clock/bitmain,bm1880-clk.txt | 47 + MAINTAINERS | 2 + .../boot/dts/bitmain/bm1880-sophon-edge.dts | 9 - arch/arm64/boot/dts/bitmain/bm1880.dtsi | 27 + drivers/clk/Kconfig | 6 + drivers/clk/Makefile | 1 + drivers/clk/clk-bm1880.c | 947 ++++++++++++++++++ include/dt-bindings/clock/bm1880-clock.h | 82 ++ 8 files changed, 1112 insertions(+), 9 deletions(-) create mode 100644 Documentation/devicetree/bindings/clock/bitmain,bm1880-clk.txt create mode 100644 drivers/clk/clk-bm1880.c create mode 100644 include/dt-bindings/clock/bm1880-clock.h -- 2.17.1