From patchwork Mon Apr 25 23:08:38 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Gross X-Patchwork-Id: 8933321 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 19E3EBF29F for ; Mon, 25 Apr 2016 23:10:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3930A20138 for ; Mon, 25 Apr 2016 23:10:48 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 60FBE2012B for ; Mon, 25 Apr 2016 23:10:47 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aupdB-000334-61; Mon, 25 Apr 2016 23:09:29 +0000 Received: from mail-oi0-x234.google.com ([2607:f8b0:4003:c06::234]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aupcx-0002p0-LF for linux-arm-kernel@lists.infradead.org; Mon, 25 Apr 2016 23:09:20 +0000 Received: by mail-oi0-x234.google.com with SMTP id r78so193518752oie.0 for ; Mon, 25 Apr 2016 16:08:55 -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=pTQyUmtU6zouyyieA3PgaeEgErlDV8qphqYEQPnZEUQ=; b=FWdKF/cXBCC51amSRd8jPoW987OXuDrOPlI+a1uh62gAqG+kP8yCCV8Y9AqiHOYfRh PVhVIDtlk8M7TiTG2K9R8s3LNigEM0RQ3luBFDq/T1f6nkrv8AvfcLxXt/OXXOHY/IlP h2FWf6TsWSbyvrg4cJF4bcJr70TbSjjA708Mg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=pTQyUmtU6zouyyieA3PgaeEgErlDV8qphqYEQPnZEUQ=; b=Vts/vECxBWUzsD7qGu3K4YV4Jv7ddJh727OHJtvRCbs28lg0cuFYlvubJIvTTzwnlL 2+Pq1Pe2EVvYFII2r1sJa9sIiaMvBwMDGjZBUA7rJIcpKFcU8JrmBnXqXXAIddi1kCpe QUmPEz0GZ5ePczmMCD6pUluMTtIqpXo7VZ3kBqCTuy3IwMn6Utiz86m6Iy+Byh2Ua/gA 4Ezi7dVzradXRPIwmkjcTWStDpkcF437N/Djsp0UcuqOkhApMD7W7xdZVOnPft2cMbDL QEqKBA2ifRm6lTta+sofPcdV1wHtTRK5/7oe+C6KS9wFRq7re43h/dohkRXoO/hm/jVG t3xQ== X-Gm-Message-State: AOPr4FX03TFYHB2prLIpBFU3dp3l3QvZtD26E7TzEeppRB+k1g+Nb4HZdzIePtAV2xef/Mqr X-Received: by 10.157.51.70 with SMTP id u6mr12603488otd.8.1461625734776; Mon, 25 Apr 2016 16:08:54 -0700 (PDT) Received: from localhost ([2602:306:c558:19b0:396f:541d:66bc:56f0]) by smtp.gmail.com with ESMTPSA id k125sm7274287oia.21.2016.04.25.16.08.54 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Mon, 25 Apr 2016 16:08:54 -0700 (PDT) From: Andy Gross To: linux-arm-msm@vger.kernel.org Subject: [Patch v2 1/8] dt/bindings: firmware: Add Qualcomm SCM binding Date: Mon, 25 Apr 2016 18:08:38 -0500 Message-Id: <1461625725-32425-2-git-send-email-andy.gross@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1461625725-32425-1-git-send-email-andy.gross@linaro.org> References: <1461625725-32425-1-git-send-email-andy.gross@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160425_160915_858255_01D8506F X-CRM114-Status: GOOD ( 12.26 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Stephen Boyd , linux-kernel@vger.kernel.org, Andy Gross , jilai wang , linux-arm-kernel@lists.infradead.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-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds the device tree support for the Qualcomm SCM firmware. Signed-off-by: Andy Gross --- .../devicetree/bindings/firmware/qcom,scm.txt | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/firmware/qcom,scm.txt diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.txt b/Documentation/devicetree/bindings/firmware/qcom,scm.txt new file mode 100644 index 0000000..a679a87 --- /dev/null +++ b/Documentation/devicetree/bindings/firmware/qcom,scm.txt @@ -0,0 +1,28 @@ +QCOM Secure Channel Manager (SCM) + +Qualcomm processors include an interface to communicate to the secure firmware. +This interface allows for clients to request different types of actions. These +can include CPU power up/down, HDCP requests, loading of firmware, and other +assorted actions. + +Required properties: +- compatible: must contain one of the following: + * "qcom,scm-apq8064" for APQ8064 + * "qcom,scm-apq8084" for APQ8084 + * "qcom,scm-msm8916" for MSM8916 + * "qcom,scm-msm8974" for MSM8974 +- clocks: One to three clocks may be required based on compatible. + * Only core clock required for "qcom,scm-apq8064" + * Core, iface, and bus clocks required for all other compatibles. +- clock-names: Must contain "core" for the core clock, "iface" for the interface + clock and "bus" for the bus clock per the requirements of the compatible. + +Example for MSM8916: + + firmware { + scm { + compatible = "qcom,scm-msm8916"; + clocks = <&gcc GCC_CRYPTO_CLK> , <&gcc GCC_CRYPTO_AXI_CLK>, <&gcc GCC_CRYPTO_AHB_CLK>; + clock-names = "core", "bus", "iface"; + }; + };