From patchwork Thu Sep 8 18:24:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephan Gerhold X-Patchwork-Id: 12970461 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1967AC38145 for ; Thu, 8 Sep 2022 18:25:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229699AbiIHSZR (ORCPT ); Thu, 8 Sep 2022 14:25:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230096AbiIHSZQ (ORCPT ); Thu, 8 Sep 2022 14:25:16 -0400 Received: from mx.kernkonzept.com (serv1.kernkonzept.com [IPv6:2a01:4f8:1c1c:b490::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBEF22E9FE; Thu, 8 Sep 2022 11:25:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kernkonzept.com; s=mx1; h=Content-Transfer-Encoding:MIME-Version:Message-Id :Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=9ODbspby1RslFl3J6df8z9HACSEVUoiaYoSCoi5f2zQ=; b=id00mUcDOhTaDK1jKzBAV7fmox 6AkFW9lQOqc6gCl/q3ko8DN1JEeM11APdXmvUI2gq2TcvoagUzQykFwheDbNTINZacReojquzqxps NAg4P2NCjM9C1LcfYjJnGvwqvd3uMGAL8daRugg04Y+qGYNjThje4xMD5JNxuIo8wZuWNTUc53peC pc5XoENtmkyQ/KM0ueCoeHR8KNXjHrxjSsKuZ+Xmc7jH6VNPc1az2hIJWKHb7d9bEgasHu4WfBhwE 2nUIfWkNHWjhXTZ2zXxAZI2waLK5KWMYy6UmgX+gPaL1/4lMPQuKHKVbmAIxB1Bx+I2q5i62N2nGD csx7/qPA==; Received: from [10.22.3.24] (helo=kernkonzept.com) by mx.kernkonzept.com with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2) id 1oWMCw-004g9E-Ox; Thu, 08 Sep 2022 20:24:58 +0200 From: Stephan Gerhold To: Bjorn Andersson Cc: Andy Gross , Konrad Dybcio , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Sireesh Kodali , Luca Weiss , Stephan Gerhold , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, Stephan Gerhold Subject: [PATCH v4 0/7] remoteproc: qcom_q6v5_mss: Add MSM8909 and MSM8953 Date: Thu, 8 Sep 2022 20:24:26 +0200 Message-Id: <20220908182433.466908-1-stephan.gerhold@kernkonzept.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Convert parts of the qcom,q6v5.txt binding documentation to a DT schema (together with some DT fixes) in preparation of adding new compatibles for MSM8909 and MSM8953. The schema can be easily shared between MSM8916, MSM8974, MSM8909 and MSM8953 because they have almost the same requirements. The other SoCs are quite different and are likely more clearly described in separate DT schema(s) to avoid a lot of complicated if statements. Since there were some concerns about overlap with the more generic (but also more complex) DT schema Sireesh made in [1], I've coordinated with Sireesh for v3 and include his adjusted changes for MSM8953 here. --- Changes in v4: - Address review comments from Krzysztof Changes in v3: - Combine series with Sireesh's for MSM8953 Changes in v2: - Address review comments from Krzysztof - Drop "ARM: dts: qcom: msm8974: Disable remoteprocs by default" since Bjorn applied it already Sireesh Kodali (1): remoteproc: qcom: q6v5-mss: Add modem support on MSM8953 Stephan Gerhold (6): arm64: dts: qcom: msm8916: Drop MSS fallback compatible dt-bindings: remoteproc: qcom,q6v5: Move MSM8916 to schema dt-bindings: remoteproc: qcom,msm8916-mss-pil: Add MSM8974 dt-bindings: remoteproc: qcom,msm8916-mss-pil: Add MSM8909 remoteproc: qcom: q6v5-mss: Add support for MSM8909 dt-bindings: remoteproc: qcom,msm8916-mss-pil: Add MSM8953 .../remoteproc/qcom,msm8916-mss-pil.yaml | 289 ++++++++++++++++++ .../bindings/remoteproc/qcom,q6v5.txt | 35 --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 2 +- drivers/remoteproc/qcom_q6v5_mss.c | 174 +++++++++-- 4 files changed, 431 insertions(+), 69 deletions(-) create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,msm8916-mss-pil.yaml