From patchwork Mon Jan 29 05:11:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sricharan Ramabadhran X-Patchwork-Id: 10189275 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BB48560388 for ; Mon, 29 Jan 2018 05:12:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ACFC6285B6 for ; Mon, 29 Jan 2018 05:12:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9FF2A287A5; Mon, 29 Jan 2018 05:12:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 25845285B6 for ; Mon, 29 Jan 2018 05:12:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=Hp8BLBj1pZedyS92FBLb6J5dUbXxizjiqUF7z1CvCpM=; b=NNeU8sHY1AXDt962XM58s20h4C r+uNR8PuE2ImSHXQJ/tTUDvn+G20KOBVo9ykxZMvxyfGYjK1qnDbVtyzRK8Yh7mip7m2IVG+SxRTj ldRX0la+Or1dUCdcmycmZ1byxECepxPZ6E/WPRofpuTMf7T0F8iGrGGqSGWuzneifn4ktg4ahI0dW XniMmaDCRMZ4wJC5bPeBlACTzOZLROIR+yv1dhAAkFRjcbI5MGL8T6pXrNYmqGFPeJ0hBOGuuhQ/6 /uKnHPEGIreG8eoiBCH4qL7DTrd3Q8CI+2Y1S8ZDdUp/RsEu4BvlcATMZgS6dE7CBWtVGd0HXJhCu VnEu/siw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eg1kD-0003Q2-M3; Mon, 29 Jan 2018 05:12:37 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eg1jW-0002pN-FC for linux-arm-kernel@lists.infradead.org; Mon, 29 Jan 2018 05:11:57 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id D0EBD609F2; Mon, 29 Jan 2018 05:11:47 +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= 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 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> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: sricharan@codeaurora.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add the compatible for ipq4019. This does not need clocks to do scm calls. Signed-off-by: Sricharan R Reviewed-by: Rob Herring --- 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