From patchwork Tue Aug 14 12:12:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sricharan Ramabadhran X-Patchwork-Id: 10565517 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E05D51057 for ; Tue, 14 Aug 2018 12:24:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CC57E2985C for ; Tue, 14 Aug 2018 12:24:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BFAA329A40; Tue, 14 Aug 2018 12:24:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6B3E92985C for ; Tue, 14 Aug 2018 12:24:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=RUNjd9MD7e2EY9wanXjK5OmmmP8uYHCkqR+sjyfTUHE=; b=pVYZib0SESujFIbryBS38AeShb bQxYNKi69mSaFlQpfd5v8dgsqM+9Vq7+hAiae7K3rxXCD4djWsDiwDKrdnMtNmAqVsXONIg/K8WS+ 0j1s/OcysOewGmaUa9HOcQ3zQ4skj23Ek5mKAtTiEPKQ5Jb6QTOKfC+QQcHJsEmz4KtjAspcGui73 iCaUWcbkUHFbJ24n77L2CLHiKAsA6p7e29+g4+GXk+Fn4la40kQC09zJKA7nvdD+o7BcmEGTbVEme FyfuU5lmmwE/jHUyifsCy88SjoeeovCMHuSQCdRkzTPuoZnLGroHi/tXIzh5ZesddrogTgA4Y1yHj HCtRdevw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fpYNN-0007Bl-7k; Tue, 14 Aug 2018 12:24:41 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fpYDU-00028R-MN for linux-arm-kernel@lists.infradead.org; Tue, 14 Aug 2018 12:14:33 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 2E79360F83; Tue, 14 Aug 2018 12:14:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1534248866; bh=EfWhJd7Vc4ZrLSUKGHg9MXn3kFv3bcUIG9FOykTp9FE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ns1YZf53ODhmAEW5VV+3gpm2968JS5tu3D2f8aorO0Bk7Iq2AtG6aEXH9TK7TOSZr 9dA3d/tbk6dH9I8Q0E8YSv/q4pIFucsxbzdRZjeLPXNgfxY61OjtPO2HPqk0gIcUjh olrOjyW2WCWqwmBVQALseMfV3nOZG3gK61bTtEnY= Received: from srichara-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sricharan@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 46EDD60D06; Tue, 14 Aug 2018 12:14:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1534248848; bh=EfWhJd7Vc4ZrLSUKGHg9MXn3kFv3bcUIG9FOykTp9FE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lpV5/lOyvgtFXVuIkC/F9zVYDI+TzcX9SOcSiR10qct5Oc2vpkDZ8zB5LADZWCiul zvCNP1uGAkIVDTS8Rjfd41+5Ejw4CwaEBvhXEfaXOQQlcYlumuzLXqKynQJQFuCA8s 0iFX1VIlRYBdgXVdjxSgsgNHfUk9XRfo5iaYDxps= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 46EDD60D06 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sricharan@codeaurora.org From: Sricharan R To: mark.rutland@arm.com, robh@kernel.org, sudeep.holla@arm.com, linux@arm.linux.org.uk, ctatlor97@gmail.com, rjw@rjwysocki.net, viresh.kumar@linaro.org, mturquette@baylibre.com, linux-pm@vger.kernel.org, sboyd@codeaurora.org, linux@armlinux.org.uk, thierry.escande@linaro.org, linux-kernel@vger.kernel.org, david.brown@linaro.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, andy.gross@linaro.org, linux-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, niklas.cassel@linaro.org Subject: [PATCH v12 11/14] dt-bindings: clock: Document qcom,krait-cc Date: Tue, 14 Aug 2018 17:42:30 +0530 Message-Id: <1534248753-2440-12-git-send-email-sricharan@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1534248753-2440-1-git-send-email-sricharan@codeaurora.org> References: <1534248753-2440-1-git-send-email-sricharan@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180814_051429_468065_EE233B96 X-CRM114-Status: GOOD ( 11.81 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: sricharan@codeaurora.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Stephen Boyd The Krait clock controller controls the krait CPU and the L2 clocks consisting a primary mux and secondary mux. Add document for that. Reviewed-by: Rob Herring Signed-off-by: Stephen Boyd Signed-off-by: Sricharan R --- .../devicetree/bindings/clock/qcom,krait-cc.txt | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/qcom,krait-cc.txt diff --git a/Documentation/devicetree/bindings/clock/qcom,krait-cc.txt b/Documentation/devicetree/bindings/clock/qcom,krait-cc.txt new file mode 100644 index 0000000..030ba60 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/qcom,krait-cc.txt @@ -0,0 +1,34 @@ +Krait Clock Controller + +PROPERTIES + +- compatible: + Usage: required + Value type: + Definition: must be one of: + "qcom,krait-cc-v1" + "qcom,krait-cc-v2" + +- #clock-cells: + Usage: required + Value type: + Definition: must be 1 + +- clocks: + Usage: required + Value type: + Definition: reference to the clock parents of hfpll, secondary muxes. + +- clock-names: + Usage: required + Value type: + Definition: must be "hfpll0", "hfpll1", "acpu0_aux", "acpu1_aux", "qsb". + +Example: + + kraitcc: clock-controller { + compatible = "qcom,krait-cc-v1"; + clocks = <&hfpll0>, <&hfpll1>, <&acpu0_aux>, <&acpu1_aux>, ; + clock-names = "hfpll0", "hfpll1", "acpu0_aux", "acpu1_aux", "qsb"; + #clock-cells = <1>; + };