From patchwork Mon Sep 24 23:45:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 10613037 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A114E1803 for ; Mon, 24 Sep 2018 23:43:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8904C28474 for ; Mon, 24 Sep 2018 23:43:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7D3B9295E9; Mon, 24 Sep 2018 23:43:13 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1FACA29DBA for ; Mon, 24 Sep 2018 23:43:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726241AbeIYFrv (ORCPT ); Tue, 25 Sep 2018 01:47:51 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:39838 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727609AbeIYFrn (ORCPT ); Tue, 25 Sep 2018 01:47:43 -0400 Received: by mail-pf1-f194.google.com with SMTP id j8-v6so9865484pff.6 for ; Mon, 24 Sep 2018 16:43:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=nZtoKBVrzm3qMlK4nocfukac9kOAi6Sol1hWQrZ1Hds=; b=YwGybSo8x7biBN5aNjE+AJ09/n8uysgjLxmVQyStVfuEORfxeCDBwYGsCP/aoJRPlS 073wHCbbKBhvDhvWhLIzbqRKpcyJaDTm32Z3TOx+nHuWHVNKpXxk47jAGTNjIYitVGIF 8l58haGmAqyRk8TFDMypnI7FsXZxzHLn4KuMY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=nZtoKBVrzm3qMlK4nocfukac9kOAi6Sol1hWQrZ1Hds=; b=jCtA91L3b0v81KEyFjeF/Gwb438ZFX3OG+KL+qmObkB7lWMGn5j+5iEd7676+vKohV PhrL6RJNvSYytEt6EO1p/si1LdHTPKOnGHwuHjCiT9Iz2FLfC1ziVgR5+2osqQkehJdi T5OjkNrNEF8qW+uyWsGVZQUSjxCJ028I/GygoQ+Z7vgOccHyanBXGJb2MrXG8iWnsnHF FdNicFzMIlq3KlEqt9CYCbL8ngnHj9BOTOcW+3T8tl0+e+1xH1Er5y5O+E/HkoUdDxKD 3w7cnJvVpoGx0L0jTwz7fymKPhm5rox4+IEI/LGmpXKtcVojBaZE/Bz1H2uN5hoVl0ua 4+0w== X-Gm-Message-State: ABuFfohuvWsCaxfipWLR7D9lo9e7zqAarnqeFF+zw+d1mTN5VcUn4JzK mI9LlGrxcoZsCEbPM+rvzL3z8w== X-Google-Smtp-Source: ACcGV609x1IOst5Seja/UUYpJbkuXSYkmPvyp5NTC13+tn3DVv3NYqlkll54m44CBM1DfseQiw9cgg== X-Received: by 2002:a62:f208:: with SMTP id m8-v6mr892839pfh.222.1537832583275; Mon, 24 Sep 2018 16:43:03 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id d12-v6sm467110pfn.118.2018.09.24.16.43.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Sep 2018 16:43:02 -0700 (PDT) From: Bjorn Andersson To: Ohad Ben-Cohen , Bjorn Andersson Cc: linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Niklas Cassel Subject: [PATCH v3 2/2] remoteproc: qcom: Rename Hexagon v5 modem driver Date: Mon, 24 Sep 2018 16:45:26 -0700 Message-Id: <20180924234526.22916-3-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180924234526.22916-1-bjorn.andersson@linaro.org> References: <20180924234526.22916-1-bjorn.andersson@linaro.org> Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The qcom_q6v5_pil implements support for the self-authenticating modem subsystem. With the introduction of other q6v5 based non-TZ based remoteproc driver the current name is cause for confusion, so rename it to be more specific. No functional change. Signed-off-by: Bjorn Andersson Reviewed-by: Niklas Cassel --- Chances since v2: - Updated module description, driver name and header comment drivers/remoteproc/Kconfig | 14 +++++++------- drivers/remoteproc/Makefile | 2 +- .../{qcom_q6v5_pil.c => qcom_q6v5_mss.c} | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) rename drivers/remoteproc/{qcom_q6v5_pil.c => qcom_q6v5_mss.c} (99%) diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig index 425e502c6471..8894935583e2 100644 --- a/drivers/remoteproc/Kconfig +++ b/drivers/remoteproc/Kconfig @@ -92,30 +92,30 @@ config QCOM_Q6V5_COMMON depends on ARCH_QCOM depends on QCOM_SMEM -config QCOM_Q6V5_PAS - tristate "Qualcomm Hexagon v5 Peripheral Authentication Service support" +config QCOM_Q6V5_MSS + tristate "Qualcomm Hexagon V5 self-authenticating modem subsystem support" depends on OF && ARCH_QCOM depends on QCOM_SMEM depends on RPMSG_QCOM_SMD || (COMPILE_TEST && RPMSG_QCOM_SMD=n) depends on RPMSG_QCOM_GLINK_SMEM || RPMSG_QCOM_GLINK_SMEM=n depends on QCOM_SYSMON || QCOM_SYSMON=n select MFD_SYSCON - select QCOM_MDT_LOADER select QCOM_Q6V5_COMMON select QCOM_RPROC_COMMON select QCOM_SCM help - Say y here to support the TrustZone based Peripherial Image Loader - for the Qualcomm Hexagon v5 based remote processors. + Say y here to support the Qualcomm self-authenticating modem + subsystem based on Hexagon V5. -config QCOM_Q6V5_PIL - tristate "Qualcomm Hexagon V5 Peripherial Image Loader" +config QCOM_Q6V5_PAS + tristate "Qualcomm Hexagon v5 Peripheral Authentication Service support" depends on OF && ARCH_QCOM depends on QCOM_SMEM depends on RPMSG_QCOM_SMD || (COMPILE_TEST && RPMSG_QCOM_SMD=n) depends on RPMSG_QCOM_GLINK_SMEM || RPMSG_QCOM_GLINK_SMEM=n depends on QCOM_SYSMON || QCOM_SYSMON=n select MFD_SYSCON + select QCOM_MDT_LOADER select QCOM_Q6V5_COMMON select QCOM_RPROC_COMMON select QCOM_SCM diff --git a/drivers/remoteproc/Makefile b/drivers/remoteproc/Makefile index eb86c8ba5a87..050f41ac93b0 100644 --- a/drivers/remoteproc/Makefile +++ b/drivers/remoteproc/Makefile @@ -16,8 +16,8 @@ obj-$(CONFIG_DA8XX_REMOTEPROC) += da8xx_remoteproc.o obj-$(CONFIG_KEYSTONE_REMOTEPROC) += keystone_remoteproc.o obj-$(CONFIG_QCOM_RPROC_COMMON) += qcom_common.o obj-$(CONFIG_QCOM_Q6V5_COMMON) += qcom_q6v5.o +obj-$(CONFIG_QCOM_Q6V5_MSS) += qcom_q6v5_mss.o obj-$(CONFIG_QCOM_Q6V5_PAS) += qcom_q6v5_pas.o -obj-$(CONFIG_QCOM_Q6V5_PIL) += qcom_q6v5_pil.o obj-$(CONFIG_QCOM_Q6V5_WCSS) += qcom_q6v5_wcss.o obj-$(CONFIG_QCOM_SYSMON) += qcom_sysmon.o obj-$(CONFIG_QCOM_WCNSS_PIL) += qcom_wcnss_pil.o diff --git a/drivers/remoteproc/qcom_q6v5_pil.c b/drivers/remoteproc/qcom_q6v5_mss.c similarity index 99% rename from drivers/remoteproc/qcom_q6v5_pil.c rename to drivers/remoteproc/qcom_q6v5_mss.c index d7a4b9eca5d2..9ebbb9339295 100644 --- a/drivers/remoteproc/qcom_q6v5_pil.c +++ b/drivers/remoteproc/qcom_q6v5_mss.c @@ -1,5 +1,5 @@ /* - * Qualcomm Peripheral Image Loader + * Qualcomm self-authenticating modem subsystem remoteproc driver * * Copyright (C) 2016 Linaro Ltd. * Copyright (C) 2014 Sony Mobile Communications AB @@ -1368,11 +1368,11 @@ static struct platform_driver q6v5_driver = { .probe = q6v5_probe, .remove = q6v5_remove, .driver = { - .name = "qcom-q6v5-pil", + .name = "qcom-q6v5-mss", .of_match_table = q6v5_of_match, }, }; module_platform_driver(q6v5_driver); -MODULE_DESCRIPTION("Peripheral Image Loader for Hexagon"); +MODULE_DESCRIPTION("Qualcomm Self-authenticating modem remoteproc driver"); MODULE_LICENSE("GPL v2");