From patchwork Wed May 4 22:50: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: 9019391 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C50059F39D for ; Wed, 4 May 2016 22:53:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 030782041C for ; Wed, 4 May 2016 22:53:06 +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 BE44E20416 for ; Wed, 4 May 2016 22:53:04 +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 1ay5dU-0007e3-4h; Wed, 04 May 2016 22:51:16 +0000 Received: from mail-oi0-x230.google.com ([2607:f8b0:4003:c06::230]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ay5dQ-0007Zt-Kc for linux-arm-kernel@lists.infradead.org; Wed, 04 May 2016 22:51:13 +0000 Received: by mail-oi0-x230.google.com with SMTP id k142so83745669oib.1 for ; Wed, 04 May 2016 15:50:52 -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=x0nHf3+G9wU4Y9DiWSWFrKpQaOL1daJNZMyNEEPg1kE=; b=gm/6s2gmadwfcf6Bt+T5qPIprkB79CUxGD0ufXW3MypK+VcRzrfJ4l+FgIeOe/Ot6V Hkyqk7ARrOGWHDT43AS8PtFwV/l+rkvWe0k/TdbwUWaAn/x9WaOVaLF2qb/45B+dVL0y bQN3WN8sePynIOkSLG0gBp2iRulLf4Bq8ITbE= 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=x0nHf3+G9wU4Y9DiWSWFrKpQaOL1daJNZMyNEEPg1kE=; b=d6kQrsT17YMjwIDSslXgXkCCDNttMakvztvKwWzIowgAWXs9dMC7X5IQpNZynArmM1 PokmvFEf5v1Z3cFBYzR9sWy+WjHycpkeP/ju4ZHDD2KZrF3gDlz2haieArDuLR+ChTe4 NaUiKQ81yyw3fIQaH+Q3c3D2pt2TqZLbYmEBa/E/MOCr05CiQlTCQLaDkQ+5uwhvhtYd q1Y8MYiNAn/ywI3Kxv/bxk975CI1xF95ItjR67Y8Iw0oZi2mm+uhjs3Fo52MXU+xvXPi z+rCtYO0fos8MOLFNqZA3OOHyAvwd9MPk2XhpvrgCj8OSxT2d2H5p5irs3Vshoq4gPnw A2PQ== X-Gm-Message-State: AOPr4FXr2idsiQJ1XLLAIe0Ku2pvAMSgNyGILTe53xW7UzUUiPN9vpOVwqAoj6jhra73X9Yx X-Received: by 10.202.74.10 with SMTP id x10mr4930099oia.157.1462402251548; Wed, 04 May 2016 15:50:51 -0700 (PDT) Received: from localhost ([2602:306:c558:19b0:7540:9cc9:16d9:58a9]) by smtp.gmail.com with ESMTPSA id n106sm2170708ota.22.2016.05.04.15.50.50 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 04 May 2016 15:50:51 -0700 (PDT) From: Andy Gross To: linux-arm-msm@vger.kernel.org Subject: [Patch v3 1/8] dt/bindings: firmware: Add Qualcomm SCM binding Date: Wed, 4 May 2016 17:50:38 -0500 Message-Id: <1462402245-18295-2-git-send-email-andy.gross@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1462402245-18295-1-git-send-email-andy.gross@linaro.org> References: <1462402245-18295-1-git-send-email-andy.gross@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160504_155112_738771_F16F58B6 X-CRM114-Status: GOOD ( 12.48 ) 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, Bjorn Andersson , 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=-6.2 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 | 26 ++++++++++++++++++++++ 1 file changed, 26 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..ee7cd12 --- /dev/null +++ b/Documentation/devicetree/bindings/firmware/qcom,scm.txt @@ -0,0 +1,26 @@ +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-a-family" for A family Qualcomm processors (APQ8064, MSM8960, etc) + * "qcom,scm" for B family and later processors (MSM8916, APQ8084, MSM8974, etc) +- 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 "qcom,scm" +- 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"; + clocks = <&gcc GCC_CRYPTO_CLK> , <&gcc GCC_CRYPTO_AXI_CLK>, <&gcc GCC_CRYPTO_AHB_CLK>; + clock-names = "core", "bus", "iface"; + }; + };