From patchwork Tue Oct 9 13:05:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Govind Singh X-Patchwork-Id: 10632447 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 CB37D1867 for ; Tue, 9 Oct 2018 13:06:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AB67C28BB4 for ; Tue, 9 Oct 2018 13:06:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9F11228DB0; Tue, 9 Oct 2018 13:06:08 +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 554BB28BB4 for ; Tue, 9 Oct 2018 13:06:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726693AbeJIUW6 (ORCPT ); Tue, 9 Oct 2018 16:22:58 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:60476 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726503AbeJIUW6 (ORCPT ); Tue, 9 Oct 2018 16:22:58 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 9566660B7A; Tue, 9 Oct 2018 13:06:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1539090366; bh=vpovowMGc80vv5LliKQuJQyja8ij/IxbNGXyfX2Sntk=; h=From:To:Cc:Subject:Date:From; b=lv0PNR+P5Mdrb5DZtp+chFWmEq+Bhy78GXc7a5qL8SAim6p8SG6vQ//5AH4t5pqi+ 0uHE8lDINp2A2ST2fggIaAMDs6TqJei3l5xXgwfQUK6sLK4YiSqffe7Q7fevD9nN5R DnaiVAoD5pl2wikJzUYqDgfkZ15DBfcHulrC1YIU= 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 ABD4A60285; Tue, 9 Oct 2018 13:06:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1539090366; bh=vpovowMGc80vv5LliKQuJQyja8ij/IxbNGXyfX2Sntk=; h=From:To:Cc:Subject:Date:From; b=lv0PNR+P5Mdrb5DZtp+chFWmEq+Bhy78GXc7a5qL8SAim6p8SG6vQ//5AH4t5pqi+ 0uHE8lDINp2A2ST2fggIaAMDs6TqJei3l5xXgwfQUK6sLK4YiSqffe7Q7fevD9nN5R DnaiVAoD5pl2wikJzUYqDgfkZ15DBfcHulrC1YIU= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org ABD4A60285 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 0/6] Add non PAS wcss Q6 support for QCS404 Date: Tue, 9 Oct 2018 18:35:51 +0530 Message-Id: <1539090357-20853-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 .../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 | 39 +- 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, 1020 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