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: 613889 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3qs97L18FVz9sXR for ; Sat, 23 Apr 2016 08:21:02 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b=aEMFI2tC; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752908AbcDVWUn (ORCPT ); Fri, 22 Apr 2016 18:20:43 -0400 Received: from mail-ob0-f178.google.com ([209.85.214.178]:33600 "EHLO mail-ob0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753110AbcDVWR0 (ORCPT ); Fri, 22 Apr 2016 18:17:26 -0400 Received: by mail-ob0-f178.google.com with SMTP id tz8so55901026obc.0 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=AfqKKajsB4rUrhQTseCy+psCFVmEbZTewQBj2OgvAE2dL/15HH25tYcOEvOu1EBIkk Iz0TpjB1NXXzIcfsi1uW0QomUl3JFFD9JPMHGTwkzkuzOwA2xAqnu6eC2GgKd+2ays6A Rpe9ipxJZPONGSt29txSDMfhcjbedddzJ1/6HY6N4940d/R861SMmzw45FhGia7SLKdf rEI3HuGKN32FDHb+yFabBUrXdHh/X1Xak/PiNdmqgd6mIx02E4O9VlClVWSkWhPSmGDp n6agE9yoHUwQoinGYx/QtQm6CsQxspZtht8Ckak4tTFCAmtt5jqvQXyFjywjmUgJIcZj ge5w== X-Gm-Message-State: AOPr4FVTg3sryPQBFgAVE/z0aDPynk7ZIQLpewAO/DHrKqoSn8UurIjr7zNpGm0zKTPq9gAb 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 Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Stephen Boyd , devicetree@vger.kernel.org, Bjorn Andersson , jilai wang , Andy Gross 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> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patch adds the device tree support for the Qualcomm SCM firmware. Signed-off-by: Andy Gross Acked-by: Bjorn Andersson --- .../devicetree/bindings/firmware/qcom,scm.txt | 31 ++++++++++++++++++++++ 1 file changed, 31 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..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"; + }; + }; +