Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754417AbcKPBTj (ORCPT ); Tue, 15 Nov 2016 20:19:39 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:40324 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751481AbcKPBTh (ORCPT ); Tue, 15 Nov 2016 20:19:37 -0500 DMARC-Filter: OpenDMARC Filter v1.3.1 smtp.codeaurora.org 1E0BA613B0 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=pass smtp.mailfrom=spjoshi@codeaurora.org From: Sarangdhar Joshi To: Andy Gross , David Brown , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Bjorn Andersson Cc: Sarangdhar Joshi , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Stephen Boyd , Trilok Soni Subject: [PATCH v3 0/3] Remove clocks dependency from SCM driver Date: Tue, 15 Nov 2016 17:19:22 -0800 Message-Id: <1479259165-1601-1-git-send-email-spjoshi@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1059 Lines: 26 On earlier chiptsets (APQ8064, MSM8660, MSM8690, MSM8916, APQ8084, MSM8974) crypto operations of TZ were depends on crypto clocks controlled by users/clients. However on MSM8996 crypto clocks control is handled internally in TZ itself. The current series of patches handle this clock dependency in SCM driver. Changes since v2: - Use typecast of 'unsigned long' for pointer (Stephen) Changes since v1: - Added Rob's Acked-by - Removed of_device_is_compatible check from probe (Stephen) - Modified typecast to take care of 32-bit pointer Sarangdhar Joshi (3): dt-bindings: firmware: scm: Add MSM8996 DT bindings firmware: qcom: scm: Remove core, iface and bus clocks dependency firmware: qcom: scm: Return PTR_ERR when devm_clk_get fails .../devicetree/bindings/firmware/qcom,scm.txt | 2 + drivers/firmware/qcom_scm.c | 49 ++++++++++++++++------ 2 files changed, 39 insertions(+), 12 deletions(-) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project