From patchwork Fri Oct 12 09:40:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Govind Singh X-Patchwork-Id: 10638173 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 722A917E3 for ; Fri, 12 Oct 2018 09:41:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 626E92BCAB for ; Fri, 12 Oct 2018 09:41:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 56B2B2BCB2; Fri, 12 Oct 2018 09:41:25 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,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 06DA32BCAB for ; Fri, 12 Oct 2018 09:41:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728139AbeJLRM6 (ORCPT ); Fri, 12 Oct 2018 13:12:58 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:49986 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728104AbeJLRM6 (ORCPT ); Fri, 12 Oct 2018 13:12:58 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 327446031A; Fri, 12 Oct 2018 09:41:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1539337283; bh=JGqLIk6tF+rPBplEBd2lMeK/Sl5N/iMg9tHg0sqgVuE=; h=From:To:Cc:Subject:Date:From; b=bg7Dc74+RGFWMyoTQI9ECPlu2Gw2vqdiMFNXzPjpGwamQLQRNsCZQWvk3D/sF1FoB Bea2o1hXcAAEagHWCXl7HEQLXW72B1RmDqK9PQ0P2fsIQwyMuLxIVCETZblvdY/6xr W0NC0qY7wjXUe/8/5kQLuejhv014fEHEABrqNUmo= Received: from svishnoi-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: govinds@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 8FEBF60558; Fri, 12 Oct 2018 09:41:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1539337282; bh=JGqLIk6tF+rPBplEBd2lMeK/Sl5N/iMg9tHg0sqgVuE=; h=From:To:Cc:Subject:Date:From; b=QPZJClcsLbt8Teg5mLeUNK5vk9dxK4GiZ5+tstPj3BAZuoVOawfqaFh8dfPXZwfxE VsEf5EHdzi0ezMrcsDRT4yMv+8aOWEM3xvFppNQ5HT4g/yd4ft8xaCVS1qVnXiTgnV zdFOnoiArQZwLZgvaemoHZ4i9DwjilUJb2pz6PRo= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 8FEBF60558 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=govinds@codeaurora.org From: Govind Singh To: bjorn.andersson@linaro.org, linux-remoteproc@vger.kernel.org, sricharan@codeaurora.org, sibis@codeaurora.org, linux-arm-msm@vger.kernel.org, andy.gross@linaro.org, david.brown@linaro.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org Cc: Govind Singh Subject: [PATCH v2 0/6] Add non PAS wcss Q6 support for QCS404 Date: Fri, 12 Oct 2018 15:10:38 +0530 Message-Id: <1539337244-9505-1-git-send-email-govinds@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add non PAS(Peripheral Authentication System) WCSS remoteproc driver support and wcss clock/reset controls for QCS404 SOC. Add WCSS q6 bootup and shutdown sequence handled from Application Processor SubSystem(APSS). Govind Singh (6): dt-bindings: clock: qcom: Add QCOM WCSS GCC clock bindings clk: qcom: Add WCSS gcc clock control for QCS404 dt-bindings: clock: qcom: Introduce QCOM WCSS Q6DSP clock bindings clk: qcom: Add WCSS Q6DSP clock controller for QCS404 remoteproc: qcom: wcss: populate hardcoded param using driver data remoteproc: qcom: wcss: Add non pas wcss Q6 support for QCS404 Changes since v1: Corrected clock names as per comments in v1 patch. .../devicetree/bindings/clock/qcom,wcsscc.txt | 26 + .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 1 + drivers/clk/qcom/Kconfig | 9 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/gcc-qcs404.c | 37 +- drivers/clk/qcom/wcsscc-qcs404.c | 290 +++++++++ drivers/remoteproc/qcom_q6v5_wcss.c | 666 +++++++++++++++++++-- include/dt-bindings/clock/qcom,gcc-qcs404.h | 3 + include/dt-bindings/clock/qcom,wcss-qcs404.h | 24 + 9 files changed, 1018 insertions(+), 39 deletions(-) create mode 100644 Documentation/devicetree/bindings/clock/qcom,wcsscc.txt create mode 100644 drivers/clk/qcom/wcsscc-qcs404.c create mode 100644 include/dt-bindings/clock/qcom,wcss-qcs404.h