From patchwork Fri Apr 22 22:17:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Gross X-Patchwork-Id: 66504 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp962765qge; Fri, 22 Apr 2016 15:19:13 -0700 (PDT) X-Received: by 10.66.1.99 with SMTP id 3mr31203097pal.26.1461363549575; Fri, 22 Apr 2016 15:19:09 -0700 (PDT) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id wj2si9877709pab.71.2016.04.22.15.19.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Apr 2016 15:19:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org 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 1atjOd-0008Di-Jz; Fri, 22 Apr 2016 22:17:55 +0000 Received: from mail-ob0-x22e.google.com ([2607:f8b0:4003:c01::22e]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1atjOU-00085n-DX for linux-arm-kernel@lists.infradead.org; Fri, 22 Apr 2016 22:17:47 +0000 Received: by mail-ob0-x22e.google.com with SMTP id j9so55777305obd.3 for ; Fri, 22 Apr 2016 15:17:26 -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=ysuItusbZkgnRLXym3TduMWfrXLYUA/hxAbvudKKaHU=; b=aEMFI2tCjPX7zy5aGqM8GNvrmAwcapdGr+iMYUb9aLxEY1I60GhRLOsXbwvF6ZbWPH 9+irMtslPRMQ/EIqjELDfSp47w13tuRQ/boKzyAEgTsTsx8KrBa89I/yjft4ZQTPtYYF lQWi2mfY5hxrdPacJ8vkR2WZqay+tngo6sDqU= 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=ysuItusbZkgnRLXym3TduMWfrXLYUA/hxAbvudKKaHU=; b=EiroNPwMwNFWEFXrKt4APaxT781wiLeP7aXMGC/5w55nV060dWrU/OkeBEz2g7Nx4q nrG6N6w6xlxRLAWdIQovfphxoIkXx6+O0+la8QRDgUKCi3r1yMe8+kmVIA+3u6Nuel8M a06AIMXfNRik0qK9sm8opB46VCUz6x9uNUTXmUXLSP7QMbvt4pQVltmZqLlBXR9LcEQX 7NUkCyqcsc9W+o4QPl8sIapH1ps+Ne3dnuHVUrX05P6Cm1sWnj2sA00OUkImEoWFryQ0 MrhuvG4jesx3EgWNtrp70FaFvVHD0PYKJknhQMadns/DXL88ClCA6/cyuPbRDxZNUVB3 DhJQ== X-Gm-Message-State: AOPr4FViYxFw5nrx4ORfOSFhyESvD6xyJ3PCayBCdlo26n+0vpfqlw6kZbPjEzgihoJ8erOj X-Received: by 10.182.49.168 with SMTP id v8mr9693416obn.48.1461363445520; Fri, 22 Apr 2016 15:17:25 -0700 (PDT) Received: from localhost ([2602:306:c558:19b0:a419:15a3:ad7f:f979]) by smtp.gmail.com with ESMTPSA id t3sm2648852oem.3.2016.04.22.15.17.24 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Fri, 22 Apr 2016 15:17:25 -0700 (PDT) From: Andy Gross To: linux-arm-msm@vger.kernel.org Subject: [PATCH 1/8] dt/bindings: firmware: Add Qualcomm SCM binding Date: Fri, 22 Apr 2016 17:17:05 -0500 Message-Id: <1461363432-5730-2-git-send-email-andy.gross@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1461363432-5730-1-git-send-email-andy.gross@linaro.org> References: <1461363432-5730-1-git-send-email-andy.gross@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160422_151746_512316_EFFA253F X-CRM114-Status: GOOD ( 11.81 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2607:f8b0:4003:c01:0:0:0:22e listed in] [list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 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 , Bjorn Andersson , jilai wang , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org This patch adds the device tree support for the Qualcomm SCM firmware. Signed-off-by: Andy Gross --- .../devicetree/bindings/firmware/qcom,scm.txt | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/firmware/qcom,scm.txt -- 1.9.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.txt b/Documentation/devicetree/bindings/firmware/qcom,scm.txt new file mode 100644 index 0000000..57b9b3a --- /dev/null +++ b/Documentation/devicetree/bindings/firmware/qcom,scm.txt @@ -0,0 +1,31 @@ +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 MSM8084 + * "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 { + compatible = "simple-bus"; + + 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"; + }; + }; +