Received: by 10.213.65.68 with SMTP id h4csp232568imn; Fri, 23 Mar 2018 03:30:03 -0700 (PDT) X-Google-Smtp-Source: AG47ELuqNqympaJVMT+6YEa6Ahrn8oQ/qOnBy3pFvFCd5wYXxiWreOgozFcGWmkwYOFEOzQGIbMh X-Received: by 10.99.174.6 with SMTP id q6mr4891930pgf.179.1521801003714; Fri, 23 Mar 2018 03:30:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521801003; cv=none; d=google.com; s=arc-20160816; b=hffmroavYErsDfq+E6K46xNlFp5qdauegU/eCind9AxdyWARRkjarxM+ozbMVq8vkj c4kJcvYoPN1q910RoL0fej+apGZehFhvpHuOX0hgwjRJhZhdAd5oyffpXyMn886xnyqj A891MpXBcx3Y8vwKY1RAhNiYzGqEsG5d20Uc28Re8IThBnsBwRdt+pTJiWaCxc7coX7D nac6iX8juIWWIE6cqvjuuAwXGWnjpRIwaSst26u5P4a8Vj8mugPq3zsoyX9aUEWcW2cF 3RGqmxs3Os6si5kPNjgu+hvKnwsB2IQnPb8ILmKzof45C0hclKArVoGHjd0MfMs19N0r Wvew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=5pvr9pKzGbA1STpVbusXitKFshEWRC9j/gHA7K5zOvo=; b=jkWCsSVFnfeu5UeJiMEIamrU6hxk2sMeQoTp2hsgfnJk8Ubz97ll2REkghWPf1IMPj KpG3Lhevd26T3DnjzbsCfc4qZBna0GXLNxqe9OVS4fTMTIs7atfmV/cIPD740/NMJEiM axpNqPFVBQ2tm7vR7Kg2yFC+GqoefAjKRddgnHCaEPBB1soiN+L2z9fzsgvorY9oiP80 6YdE1lyOd6RnIzBHsP3G0m6hbHKXzNjPPXwwdGaG4viwtgV0gj5cRvgwBwCVamUUjBLI dlMIVFOu5UdwlVIiIoHAy4wSuRWWqZRebVYaKeNpO7lqRndpYqKADdC0Ip5TUsmtPGwK juOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=lrwQPSDn; dkim=pass header.i=@codeaurora.org header.s=default header.b=lrwQPSDn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y92-v6si5751547plb.198.2018.03.23.03.29.49; Fri, 23 Mar 2018 03:30:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=lrwQPSDn; dkim=pass header.i=@codeaurora.org header.s=default header.b=lrwQPSDn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756226AbeCWK1p (ORCPT + 99 others); Fri, 23 Mar 2018 06:27:45 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:59080 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756171AbeCWKTa (ORCPT ); Fri, 23 Mar 2018 06:19:30 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id EBAEC60807; Fri, 23 Mar 2018 10:19:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1521800369; bh=ZRuBZl10sBZvZ1IiMTFyQFSH6bmmCkL35ezKF/nA5Us=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lrwQPSDnC6rg3WwmubgiHhBI4p4cuxn3Olwe2P3lTVBc9lLPnJIoX8EMqS4VP3cVY XoTBhkq06lNOFprzHYJwvlp02uTXfio9C5wWOMNlDFm3UBBcIswJzoKD+7+zsvX5rC 4KeF3CV5rYfhlOoGiM5fC0aev7RN+kn9Qc6L5qRc= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from srichara-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sricharan@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id B2E0360131; Fri, 23 Mar 2018 10:19:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1521800369; bh=ZRuBZl10sBZvZ1IiMTFyQFSH6bmmCkL35ezKF/nA5Us=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lrwQPSDnC6rg3WwmubgiHhBI4p4cuxn3Olwe2P3lTVBc9lLPnJIoX8EMqS4VP3cVY XoTBhkq06lNOFprzHYJwvlp02uTXfio9C5wWOMNlDFm3UBBcIswJzoKD+7+zsvX5rC 4KeF3CV5rYfhlOoGiM5fC0aev7RN+kn9Qc6L5qRc= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org B2E0360131 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sricharan@codeaurora.org From: Sricharan R To: robh+dt@kernel.org, robh@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, andy.gross@linaro.org, david.brown@linaro.org, catalin.marinas@arm.com, will.deacon@arm.com, sboyd@codeaurora.org, bjorn.andersson@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, absahu@codeaurora.org, marc.zyngier@arm.com, richardcochran@gmail.com Cc: sricharan@codeaurora.org Subject: [PATCH v5 01/13] firmware: qcom: scm: Add ipq4019 soc compatible Date: Fri, 23 Mar 2018 15:48:44 +0530 Message-Id: <1521800336-19266-2-git-send-email-sricharan@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1521800336-19266-1-git-send-email-sricharan@codeaurora.org> References: <1521800336-19266-1-git-send-email-sricharan@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the compatible for ipq4019. This does not need clocks to do scm calls. Reviewed-by: Rob Herring Signed-off-by: Sricharan R --- Documentation/devicetree/bindings/firmware/qcom,scm.txt | 3 ++- drivers/firmware/qcom_scm.c | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.txt b/Documentation/devicetree/bindings/firmware/qcom,scm.txt index 7b40054..fcf6979 100644 --- a/Documentation/devicetree/bindings/firmware/qcom,scm.txt +++ b/Documentation/devicetree/bindings/firmware/qcom,scm.txt @@ -11,9 +11,10 @@ Required properties: * "qcom,scm-msm8660" for MSM8660 platforms * "qcom,scm-msm8690" for MSM8690 platforms * "qcom,scm-msm8996" for MSM8996 platforms + * "qcom,scm-ipq4019" for IPQ4019 platforms * "qcom,scm" for later processors (MSM8916, APQ8084, MSM8974, etc) - clocks: One to three clocks may be required based on compatible. - * No clock required for "qcom,scm-msm8996" + * No clock required for "qcom,scm-msm8996", "qcom,scm-ipq4019" * Only core clock required for "qcom,scm-apq8064", "qcom,scm-msm8660", and "qcom,scm-msm8960" * Core, iface, and bus clocks required for "qcom,scm" - clock-names: Must contain "core" for the core clock, "iface" for the interface diff --git a/drivers/firmware/qcom_scm.c b/drivers/firmware/qcom_scm.c index 5a7d6930..e778af7 100644 --- a/drivers/firmware/qcom_scm.c +++ b/drivers/firmware/qcom_scm.c @@ -603,6 +603,9 @@ static void qcom_scm_shutdown(struct platform_device *pdev) { .compatible = "qcom,scm-msm8996", .data = NULL, /* no clocks */ }, + { .compatible = "qcom,scm-ipq4019", + .data = NULL, /* no clocks */ + }, { .compatible = "qcom,scm", .data = (void *)(SCM_HAS_CORE_CLK | SCM_HAS_IFACE_CLK -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation