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: 150793 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2858855ljp; Mon, 12 Nov 2018 00:02:08 -0800 (PST) X-Google-Smtp-Source: AJdET5fJNYXtB3C2mdR/MUMug4TrdjSS6YY806hi4OQdQ8Sfj3D6KXBe382cbO8hsI+DAht5ndaS X-Received: by 2002:a17:902:7e0d:: with SMTP id b13-v6mr18809188plm.246.1542009728740; Mon, 12 Nov 2018 00:02:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542009728; cv=none; d=google.com; s=arc-20160816; b=eAP7/f/cVRbS4qA5oKIDYeEj5oct184iG8XwXDJInnS8Ozwzbhe3wceMV/bAHr4K/v G7c7ksPojOtvDPF1yvffbDmMgJTl38VQBZU18ltmmBfJgfhdUJNN7wyFlXXQwLeY2yqe Vwzgizk96egY/YgWknF6v8ux5PBDSP4krXfZ+eDNV+y2CnAGm5gL6Uv0MqY+csPUudFU I174NArxZrP1WZI+n3krMnxlK4XWwW25mFK5UkyDFyzho/8pKYrYNNrFHGGwM966Yp0g UQoFZMETVg7ZaXO6+P4Rxj+wmlnaBxyflTK3zKEqCSigAUJZU5ttydlbQeSfCJMQvUiA pNQw== 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=4+bHL2bjBr0Hcmu8WwOCTCVUO+0WVnay0OTWbgkT28o=; b=HK1kp0zhU/usOXKyPXndP14NZB8OxcuYiJ4rzoliRz1TkOt3Wl1FjN57oLftJKJaX+ ba7CEDraMWafSgpvmFgWaQkGg1Br1Yn0fddx5TZdY1JK47QF2VBlnS4jRR+nOP747H2m 5b+KaO5QFyA+lB8GsPqhn92fyZXAj8NFGj6fN1kNvrC8ot7MFHpWwcNl/HdXBuvzwDzg zCTp6nNgQag8L5BUZF8gxMLzSey2YAj2QBRbLZhkVKohGCBgzVXUJAl2lU5yNvD9scS0 1M5hvXCQP158fw406oizVfN4UA9nGGjSCWP+OWrwWSl3RtTBM84hkfeN63FVv2eAsNV0 f6DQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UvUoliy6; 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 d31-v6si18185390pla.27.2018.11.12.00.02.08; Mon, 12 Nov 2018 00:02:08 -0800 (PST) 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=UvUoliy6; 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 S1728225AbeKLRyK (ORCPT + 6 others); Mon, 12 Nov 2018 12:54:10 -0500 Received: from mail-pl1-f193.google.com ([209.85.214.193]:42220 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727996AbeKLRyK (ORCPT ); Mon, 12 Nov 2018 12:54:10 -0500 Received: by mail-pl1-f193.google.com with SMTP id x21-v6so1225769pln.9 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=b2x7733pPnq8cODWvyryGLPrazO9mJELT7+4rC4iAH9HNCGTrlpUIy56TGZfENIfs0 5bs23NvcWXpPVV8HjIhO+ZZBa5IGzbvqX6v3qv0SYKstJD/+OXdWdbwRNQQcJsSbpshz M97P1n6nXvN77X2qkeh++QXu1lxnu9LWVDi4YcVJ++JY16xBj03t4Ec5DmOHgazyGDq9 D2IoG1KuZn+pGyHz3phQkKXBOY+2XYJadETcIdCpqiWNPpW+bgxzC62IEAtUVj0iH9+p BrYFFIUt1Dc9czfM5c3k7+TIlQCUTJXVxm2n7AXOAUqpRqpDkwA9G6QTVJepEJlBdO+L 7qYw== X-Gm-Message-State: AGRZ1gJkPlMsI5qQqKi5DGnR0YGc4s+pB4zMgkELlYrqqCs3GkVbCPM8 9RMLGm6D4zHFPDYaMRCqSA4hQg== 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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 -- 2.18.0