Received: by 10.213.65.68 with SMTP id h4csp95931imn; Mon, 19 Mar 2018 21:03:16 -0700 (PDT) X-Google-Smtp-Source: AG47ELs/8uR8abXdmRI6+Z5rp2Zn9kCjfI755zcU22T4RBmPIkRLv+iA2ex3swM/q+hgQzl2IgF2 X-Received: by 10.98.232.6 with SMTP id c6mr12219454pfi.242.1521518596771; Mon, 19 Mar 2018 21:03:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521518596; cv=none; d=google.com; s=arc-20160816; b=qefyYjrnnk5OiSEAqIhJI70UgBPaldidYPwjINzqXQpzi7pMq5aSbpyR2PQICWxMTn fm4OqCYQocawQ0FErwh7hcgMqdd3Nd1mPvBYeG20jJJtMlXDiQnz/bZDA1IInoe5PMNT xpmKeeA/QtJTwSuqkcf6TuKWiKEzD5If2jSxyY6G2Gcuro7y7mC890a31rcOb8D/TuxP 47GM+V7dJIXiTL5U6rNX8cYSvM7ZAmMSeKcTK27GsyKyv4Av91shcXQ1Pz8Wsd63TjqG S5rQpU9SOsZsxYzcL0nqU8Fy2XdTeTy1eyZ55Vtx47Wkx0+NhifJaNe9NvBUUfb6FuTT c1Mw== 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=fOThciguSshay1Y4x2wc71cOVHJjy+U287AuFLsIS2S3NhAwFIDAubFGACSToliRVw 5IyxLow1b526xZ9oQYWFg1qs/bJ2KwdCtH9d2zjONVzytE7Rsm/akxUgj99nkroNpWRi Rfn/jwjMxb1zCQIV+Hx1FCp7bP8vklU3GM/Cx/8EjuSbLBP+Dxw6vEV1FAWelbrkAMtD JJPtVRukUlujNtUTXtaVG+DQRFNcG34i0jlMoNpjR+ojJ6qktYbamyVCS1JJUm0jUKe/ 4M4QpKR6cyfbEdZTltgrQxFTWEnnXPpXXsfibJ3mGQqMOFc3hJMR7EAqKOfow0+Jaj21 QoGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=DGmFYKKF; dkim=pass header.i=@codeaurora.org header.s=default header.b=Co+V7vZu; 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 d2-v6si748807pln.115.2018.03.19.21.03.02; Mon, 19 Mar 2018 21:03:16 -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=DGmFYKKF; dkim=pass header.i=@codeaurora.org header.s=default header.b=Co+V7vZu; 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 S1751857AbeCTD7W (ORCPT + 99 others); Mon, 19 Mar 2018 23:59:22 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:45490 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751094AbeCTD7S (ORCPT ); Mon, 19 Mar 2018 23:59:18 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 6A56660C54; Tue, 20 Mar 2018 03:59:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1521518357; bh=ZRuBZl10sBZvZ1IiMTFyQFSH6bmmCkL35ezKF/nA5Us=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DGmFYKKFV0ycuh2WueeERujrfc/ND1YrAmXBGS4SC0kjp8TBTIOqVoXOcfU8UWpVD 3n7ujjV6N/ndpgAgd6cDLcc4Ib7ndhvBOgzq5J+PCDjEUfMQiWFj+vTtseHPl8bfHf Qg328DWQi7UNOKngAJl7gwEJ+rOVa35bHZrzoJM0= 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 08D6160C66; Tue, 20 Mar 2018 03:59:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1521518356; bh=ZRuBZl10sBZvZ1IiMTFyQFSH6bmmCkL35ezKF/nA5Us=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Co+V7vZugAymJprUjHBrkEH4CLDQEdKPmKLR8EPZZSpvB0aas26eGla9jR9e0CIWP QCTfTktHjl0ZakQbec5HersiZbiNeq2Wv/llHacSuzzl3wfjJePJmuM4H/cXsLqX9e 6QU5cOD5bFwjtsccPQt/GJFftWkg4LL3FQLzJrgw= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 08D6160C66 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 Cc: sricharan@codeaurora.org Subject: [PATCH v3 01/13] firmware: qcom: scm: Add ipq4019 soc compatible Date: Tue, 20 Mar 2018 09:28:44 +0530 Message-Id: <1521518336-5467-2-git-send-email-sricharan@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1521518336-5467-1-git-send-email-sricharan@codeaurora.org> References: <1521518336-5467-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