From patchwork Mon Nov 12 08:05:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 10678307 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 B8D32109C for ; Mon, 12 Nov 2018 08:02:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AB2B229E62 for ; Mon, 12 Nov 2018 08:02:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9F76C29E7C; Mon, 12 Nov 2018 08:02:30 +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=ham 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 559B029E62 for ; Mon, 12 Nov 2018 08:02:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728572AbeKLRyL (ORCPT ); Mon, 12 Nov 2018 12:54:11 -0500 Received: from mail-pl1-f193.google.com ([209.85.214.193]:36960 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727953AbeKLRyK (ORCPT ); Mon, 12 Nov 2018 12:54:10 -0500 Received: by mail-pl1-f193.google.com with SMTP id p6-v6so3952168pll.4 for ; Mon, 12 Nov 2018 00:02:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=4+bHL2bjBr0Hcmu8WwOCTCVUO+0WVnay0OTWbgkT28o=; b=UvUoliy6IkDtqDfmirQPPXAfE3fmnOPAgIcYlLfQkhPE8Kk65x1wqZ+++hgk3v+Rms tYqJUsvu9G6vhlbr2+U/QTK3WcAeZb4qbKzlSQY9cU7oJUJnd7HEqi6j2dirNJmPbB8f DQDpmKUVhJBsZEhYBMNpU7EsnxbEmUfuuanso= 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=4+bHL2bjBr0Hcmu8WwOCTCVUO+0WVnay0OTWbgkT28o=; b=PrizhXuzKMR98FwEmbrEnTGeIc6EyXWE97PzNSnAc2iCZsZacl4dKUmfFp0RjVN4Xf VgVTL7OUaqpcLjDet/GsYKbOJ2JB0Wvo/697lPTR+OdQkHVkL79T5m+pnpOmxlfFx3I0 jFNZzq5rdbtGVTBDfLVQwdPjPhf7T2E4AvugbnMTHu1KRIYPQPH/tJBu7CKju+3N5akT giqqK0gZNzPzgWcZTFzy/6a8kLCt+VxtyEzgQCv/YbWswq3nyt7asIgE8SD010Sa/twI TSDSFWB4LtxxKpiMH6xglIW2MPH3jRYwRrQTCgqXPuO2liE0uECm0gx8mPCePQVHWntv yyyQ== X-Gm-Message-State: AGRZ1gICN8MiO6G6xt3yWjY9rfDc8mfAqRJIXLlaM1BIk0siHTxGGs9i 40LvXvwWc6cmBLfNQr4vAGth3Q== X-Google-Smtp-Source: AJdET5drzPuPsfi9G6eCUY4sQyy5U0Vvs2orei+nZFv9JMcikqZqfu/+PmrVSaxMNaGctGeHapMPMg== X-Received: by 2002:a17:902:7c04:: with SMTP id x4-v6mr11827983pll.60.1542009726730; Mon, 12 Nov 2018 00:02:06 -0800 (PST) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id 134sm13590085pgb.78.2018.11.12.00.02.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Nov 2018 00:02:06 -0800 (PST) From: Bjorn Andersson To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] Qualcomm AOSS QMP side channel binding and driver Date: Mon, 12 Nov 2018 00:05:54 -0800 Message-Id: <20181112080557.22698-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 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 binding and driver for the QMP based side-channel communication mechanism to the AOSS, which is used to control resources not exposed through the RPMh interface. Currently implemented is a genpd provider, but pending some improvements in the thermal framework a cooling device will be added at a later point. Bjorn Andersson (3): dt-bindings: soc: qcom: Add AOSS QMP binding soc: qcom: Add AOSS QMP communication driver soc: qcom: Add AOSS QMP genpd provider .../bindings/soc/qcom/qcom,aoss-qmp.txt | 63 ++++ drivers/soc/qcom/Kconfig | 15 + drivers/soc/qcom/Makefile | 2 + drivers/soc/qcom/aoss-qmp-pd.c | 135 ++++++++ drivers/soc/qcom/aoss-qmp.c | 313 ++++++++++++++++++ include/dt-bindings/power/qcom-aoss-qmp.h | 15 + include/linux/soc/qcom/aoss-qmp.h | 12 + 7 files changed, 555 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.txt create mode 100644 drivers/soc/qcom/aoss-qmp-pd.c create mode 100644 drivers/soc/qcom/aoss-qmp.c create mode 100644 include/dt-bindings/power/qcom-aoss-qmp.h create mode 100644 include/linux/soc/qcom/aoss-qmp.h