Received: by 10.223.176.5 with SMTP id f5csp2453283wra; Sun, 28 Jan 2018 21:16:45 -0800 (PST) X-Google-Smtp-Source: AH8x227BQct0/G0y8yQXSH5nWmfj71uHWXvHQO3GcXqwzoWPqYN5+MntUK7JPG/9uVhx4dHL4mzs X-Received: by 10.99.120.66 with SMTP id t63mr20583165pgc.375.1517203005145; Sun, 28 Jan 2018 21:16:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517203005; cv=none; d=google.com; s=arc-20160816; b=Y9Wu+dpl72W5KwIUbgXbG7B//awEt3EyXv6p8eFSaTbqS20tdAcVeSAwGWlF0vXvlw qs5HAdJ9xQcgpnPkAQ56fYPYDyEhUg0pC5NVauztKfRd54ar0rmg8DtE0b6DgxyIwFzb PZBPg66P1nw3q2HVWLzsXlxsCw3QPPuW9BO0iMBpcfQc0BtCQB4ysvF7NaoLZ8nkPZHp DFT0hMnoO5btMj0l69+EuVmdWxby+GCc+zv1RU2aOinYznDjRt1eNBPe2PDx9cHvX799 PsjVu7w2I+dQJbp5EQ4J1JSfbfBWlmnlbrWqcUTf3huiDSjgm8MFsdUExN2kToAI32p1 WGZQ== 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=Lo7i/spfkrrLKtMVlSGJn+UEP7+rhs5Bk69WzTrpruY=; b=rKk9SRMp+jUEl91/Zh+ktIqrYLXr2FB3OqMFYC41DBd8G0o7EjQ0z+Xc1vNkiVayOr IBSFy203umSs0PL6riBLH42SAPet+t6oyClVNTwIDnUXBBliGVio6k4VE0ALi91B+oRz z1uNV3sA4pIZBES/KRRTmXZdcirilaBgx974fsQI0Q/yg+3MrdCVKJu8+2y3TPaq37JJ bNxWfxkNYPtXvtIubVgUfmfdlJjRUNDkG6bFfbMr8nZFNGX+qjKk/TPnvxuGraEjZLJC tJCrEikk3WFjYSCPmIITm2SGcW0ddN0qMDUy2vvZMSvd5Vvw+rHqTQGyE/3lHe5j8OIb eGuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=OP1pap1z; dkim=pass header.i=@codeaurora.org header.s=default header.b=b7Zw7yD3; 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 bh4-v6si488490plb.14.2018.01.28.21.16.31; Sun, 28 Jan 2018 21:16:45 -0800 (PST) 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=OP1pap1z; dkim=pass header.i=@codeaurora.org header.s=default header.b=b7Zw7yD3; 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 S1751421AbeA2FLw (ORCPT + 99 others); Mon, 29 Jan 2018 00:11:52 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:59188 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750957AbeA2FLs (ORCPT ); Mon, 29 Jan 2018 00:11:48 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 1815F601D9; Mon, 29 Jan 2018 05:11:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1517202708; bh=o7+YxdoHfW95UGmId6BM09QF33l+qVKyU0h00rcYA5E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OP1pap1zTbHCeOtIpFppsj5g3Ts8oSKuP7FEOmulHmPPerfE/z9BViKPdQ+BflN6K 50Ugr3wyRFaHHefQE6U8DknVhKlypI1WrmbX6+4ylEa+f24n0MkkeIQolQTVouDKt/ wOV+wyzK+LIgyyYpjIHOV2prCyicYefBJy8Y+5nE= 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 163AA6071A; Mon, 29 Jan 2018 05:11:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1517202707; bh=o7+YxdoHfW95UGmId6BM09QF33l+qVKyU0h00rcYA5E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=b7Zw7yD3FcXNX1SkrrgycXDA7KAbui5fSKOCV+eKyx3fG0M0oCi6wr1/B5I8JCYO6 quiA0L7xmjXmxIveEstUFOYmTg52uVIMzoagrMOfxHMkpqp3LIqSjRVTSK2Exe9rif id7KVXIm4ZsGxUSiNg8aj0oBlg47C9ugByFEZ6R0= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 163AA6071A 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 Cc: sricharan@codeaurora.org Subject: [PATCH 01/15] firmware: qcom: scm: Add ipq4019 soc compatible Date: Mon, 29 Jan 2018 10:41:15 +0530 Message-Id: <1517202689-14212-2-git-send-email-sricharan@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1517202689-14212-1-git-send-email-sricharan@codeaurora.org> References: <1517202689-14212-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. 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 af4c752..ddc9ea8 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