Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3793138imu; Mon, 12 Nov 2018 00:03:34 -0800 (PST) X-Google-Smtp-Source: AJdET5cZaGYhab1bckFZTBr6Sito0o7Ry7+0bVqJnqdmWQPOuonRoDmsrHThuuPfYUoUSazm5eN3 X-Received: by 2002:a63:5f41:: with SMTP id t62mr16656041pgb.76.1542009814512; Mon, 12 Nov 2018 00:03:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542009814; cv=none; d=google.com; s=arc-20160816; b=zjjy/mWZgkTfxfJ+hP8ITF4QFsm7yuA0AunUUL3yHF2c6j1+nfX+wwAVgZKt9Ye4fg zkELFOu8zjZll+KSnvYsf/86wCYj/0z0+W/N+R2747HYWuWBDP+uP77kJTW3ntCOAxUL b5hUh6YHDwGROl7GVIgDvN0GeRDjyFoM5JGlCSvDwIjS+9PyAR5iwqc784Ndy8ZzBbSb TMN5VyEMsDPoyuiPNZJJ8MNIpy0G+oa6PquUpsJE1A8IN4B74twegbTw8ajSdz52tmP9 cP9I5fi7I4ej/vyS9upIwh1zkryLkZ96WeT3xLZtJhGjupBr5w8HEV9I4TbnyoOIneEa 3khQ== 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=vOsIyufV/5RFZFA8tcsvVdqoQcHBUIVTORLAy4AWIkjpEvFicwjPWGKYfO608C2SF+ 9z2rGrt/hBrMOz5uHUhFryUaBSANj22HLNugTO400b0fPqw5Nuu/uzaMAtoBoEfG1qNk 9U4AM9SsLgUo0wmjJHH0XZHVOHIenLqaVQhOWTS0DWoQ1KVSGkXYDI1U9Mijxarg2qWk 7+gDBJIPqLGBKULnZ8xiXYV9kb6l4WKpwcl0ubU/pg31UYL+WCBcjAunPTcpjHMd/b7z +sonc7AGpQkCS/8VDmjEP0rv9MgjQsiUFK59h95DZ5J9RpJZ/+7VJ5ZHMNi7gdUeGm0K u8RA== 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 linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 r68-v6si18812171pfk.151.2018.11.12.00.03.19; Mon, 12 Nov 2018 00:03:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1728530AbeKLRyL (ORCPT + 99 others); Mon, 12 Nov 2018 12:54:11 -0500 Received: from mail-pl1-f196.google.com ([209.85.214.196]:44273 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728205AbeKLRyK (ORCPT ); Mon, 12 Nov 2018 12:54:10 -0500 Received: by mail-pl1-f196.google.com with SMTP id s5-v6so3932829plq.11 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=jVMJ4AGYwp8bD7y7thrH43yIvw9pDHKFWc2g8sz3kLR1QhAxfTyUP1UxuLBaH3DSfX WJnx6eGLgFUfM6e+UwG4pDZj4knnMOQN46BdWYYdyAskBqas6sttDcQY8xje6Qv8NeIn 8paHLLLJKbugSP0HCJqqVU1cXw/wfEXMFsTTt8gtNQh+BEahR0Y8sdZzKlUX7y9kJwLv wbcAVQ+0HZeNr8yTAFqEK9hsje62qOrAstUWzc/KGR/KL4AKuK1+3evIGZrYHvDIYgU5 kl4+lSLFVmERX/+dfpPgldSJt/kfar5uu2QMzEV7kAHvRyj3RIBdzkpGAP9Vk5VNiot3 M/vQ== X-Gm-Message-State: AGRZ1gKh7iX5zU6dAoczMdEuU5Trc0RdXWBxyXocYxnh8jPQ2bvwZXkA cEzcXQIrfo4mTNbZYK4kWZRghQ== 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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