Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933872AbcKDAKv (ORCPT ); Thu, 3 Nov 2016 20:10:51 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:50446 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933372AbcKDAKs (ORCPT ); Thu, 3 Nov 2016 20:10:48 -0400 DMARC-Filter: OpenDMARC Filter v1.3.1 smtp.codeaurora.org C9FB8611B7 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 v2 0/3] Remove clocks dependency from SCM driver Date: Thu, 3 Nov 2016 17:10:34 -0700 Message-Id: <1478218237-1737-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: 984 Lines: 23 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 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