From patchwork Wed May 1 04:37:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 163172 Delivered-To: patch@linaro.org Received: by 2002:a92:7e86:0:0:0:0:0 with SMTP id q6csp4099915ill; Tue, 30 Apr 2019 21:37:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqwlvVHm29YPXP39YnVXzMaA+Cream5E53hYDxnCXvRJow6rQp0W6PmvTPyQnFBS64vQ9AhZ X-Received: by 2002:a63:1e0c:: with SMTP id e12mr19265305pge.218.1556685459947; Tue, 30 Apr 2019 21:37:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556685459; cv=none; d=google.com; s=arc-20160816; b=ChlQ2CYN7Sdf145Jd66YmW+LPzQTepk+ALU9Hubi8NZNJEtriedrxYvE1gNsHjyXV3 k8/8wsobTQoVbtdvyybNVaUS8YyTPftupC5JB6XQHqKoE1uu7UgR3ji2rJSgbFn2B6f4 1zcjiZK5QRa+E2b97n4nQli+iiRLGycMhH3DzVq6wFFwuOh1cC7eH2/iE3/SXCQpETJh 8Bj79UfFbDHzPwBhyaSn4sdh31gM03aQ+lBF0Q3y3/bkMmd7Aqk3do5pr86cXAibccqw 66a+pV0C9Ez61nG8MR4ACIMAqDHjApYCJ3Ygz6F9JQPxt4Ti8DbSS8pHOUlPMLySdAZQ 5y5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=57ICluVQ3RIbtAJVvKOiKDvbYrXy0r4F6ND/9IOkSlQ=; b=zAn75D07TIBmEWVaGY87RCXtwIQELLuzxBQ07NtEvjMMbZXQVKH68PMXulDFoe5oRK Sx+/MnHWccM/3vAF0uVZqX8HzyCkPCN5mRc7l39VLihCR+xC27cfRz2ponpK33PVieNW b1zReH1BqphmLC6gslp2pwzxQ5+cRfX0zkf8gwLKobveWzaHeEvIiP+73vPL9TJ1j+J2 XBApFYHO2OivlrlGEZtfVFV57fOqA88d/Vu+B+R5n2yukUyNH2VdyHUmA8UAMHjeJ96M sU902Kd0XPelTOoyqB1ZeaiS19ZMnnzET3C31IHKfjY7CkNzs/VmH7k+UD+QFVJN5sot U2AQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="hXe1zn/U"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d33si35577955pla.345.2019.04.30.21.37.39; Tue, 30 Apr 2019 21:37:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="hXe1zn/U"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726088AbfEAEhj (ORCPT + 7 others); Wed, 1 May 2019 00:37:39 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:37137 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726071AbfEAEhi (ORCPT ); Wed, 1 May 2019 00:37:38 -0400 Received: by mail-pl1-f193.google.com with SMTP id z8so7738624pln.4 for ; Tue, 30 Apr 2019 21:37:38 -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; bh=57ICluVQ3RIbtAJVvKOiKDvbYrXy0r4F6ND/9IOkSlQ=; b=hXe1zn/Uxwnr0xpFKdyJiyVbqWX2AObkJU2blrgZ4L7Lw8T3/LJwLTo86yviWCoIJm /u3yI07YJmS5UUkENXhvpeayrw1N3/kSh7fN+556/QPY6lHNHXCPPgQbX+ut4fj2Qv4K 7dgWtu243ot+moo8dK5qyE2DX6wvPLWC+ipcyu+2USUQmKNXYrMRELLqBn1c4PKN8fO3 EO6mptcZJXAz1tktRC9j3GbRtc+BFp87lwbGUKuGjdkB/Y7ijPLaMfIlY9wJ//1aKdhl 0k/wXHBZKbjUxA+Pe8qnF6i2K4Fn2u5WKEeAOKC+9eAu/4AEq8qeW1kbRg0lwiEdx+0M ANkg== 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; bh=57ICluVQ3RIbtAJVvKOiKDvbYrXy0r4F6ND/9IOkSlQ=; b=X8I7GTzqBgUHknwZKfho0nfwlOBeqXkAmxpzaw4BCgmbGHUff9CDD3QkxEelTEtUGw kZ+B8XP1Y/qPUrB4gZSaalic1Eia67+El5V4eEF/4ThU6iybg6nM/fR3yUVUvp4ljPqL tmavx+e3teyq0ZqQrPzq10InemSJpKeKRkc3KLeEcyMQx2AYfyv2QrD8cIANR+yRSO9e Lo2uTavVz7fEX71s+ShnWSDV3VOYTegFX88E+oN5IDeNscUJqctagTT2FOBURzy5l48X 5U9/J8Z4j1b1etrIIox1/uE4EUvso8/C9iIM/aKiNyTtcudQjnGn5LKPRfIiDae+gFcS JY2Q== X-Gm-Message-State: APjAAAVLnVxKqfuEfDKq1eKAna0duAoduCMazIVtlYyQlUrqM/dWmwt1 T0w6nPwren3V7fAhZRfLVXJOqw== X-Received: by 2002:a17:902:5a3:: with SMTP id f32mr72229182plf.82.1556685458165; Tue, 30 Apr 2019 21:37:38 -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 q128sm55912865pga.60.2019.04.30.21.37.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Apr 2019 21:37:36 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , David Brown , Stephen Boyd Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v7 0/4] Qualcomm AOSS QMP driver Date: Tue, 30 Apr 2019 21:37:30 -0700 Message-Id: <20190501043734.26706-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Introduce a driver implementing Qualcomm Messaging Protocol (QMP) to communicate with the Always On Subsystem (AOSS) and expose the low-power states for the remoteprocs as a set of power-domains and the QDSS clock as a clock. Changes since v6: - First couple of patches merged for v5.2 - Squashed the qmp and qmp-pd driver into one and by that moved it all to one file - Expose QDSS clock as a clock instead of a power domain Bjorn Andersson (3): dt-bindings: soc: qcom: Add AOSS QMP binding soc: qcom: Add AOSS QMP driver arm64: dts: qcom: Add AOSS QMP node Sibi Sankar (1): arm64: dts: qcom: sdm845: Add Q6V5 MSS node .../bindings/soc/qcom/qcom,aoss-qmp.txt | 81 +++ arch/arm64/boot/dts/qcom/sdm845.dtsi | 68 +++ drivers/soc/qcom/Kconfig | 11 + drivers/soc/qcom/Makefile | 1 + drivers/soc/qcom/qcom_aoss.c | 473 ++++++++++++++++++ include/dt-bindings/power/qcom-aoss-qmp.h | 14 + 6 files changed, 648 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.txt create mode 100644 drivers/soc/qcom/qcom_aoss.c create mode 100644 include/dt-bindings/power/qcom-aoss-qmp.h -- 2.18.0 Reviewed-by: Rob Herring Reviewed-by: Vinod Koul