From patchwork Wed Apr 11 16:40:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 133151 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp827743ljb; Wed, 11 Apr 2018 09:41:40 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+uJE3dwSamwBQ1K5wnhPfrFIIowdz5SyZUCbHC6w9u/xXCf6JxlJkKf/HlOzn3Q+OXZk6e X-Received: by 10.98.86.16 with SMTP id k16mr4640245pfb.149.1523464900119; Wed, 11 Apr 2018 09:41:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523464900; cv=none; d=google.com; s=arc-20160816; b=BiPXR2NXsqplRDCqOVhfH2T0VlEaD8ggNXwpP0htYaxyVJ0N/N2tIl0uLHH+5HpDqU q5+kuzDRQ+di62wuUeg8lYAqEFpY3HeacvPJDuoeP3dAM44bcY/VSCN3UwX6vafPLIwF SxIpmn6i6k82sAiCL8rXKoSjDweqjWDjfHrBMdbStJAbC51JhsmlPF02qXBPoY+VQR5l fGVqX0KorpE6KsFuoXLSlLWMFmEe+d4MWFdpW//zK/dB5UC3AkHGRLr39gmkw2oKkArM mXyW7kLFKI05gO5wxaNai9KoF5x1dupdRdT6YwLCnzhvj/oBUGerRm0f8sy+z/4os7iZ IB0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=Uh0mMFnhW0iC7vM3Yb4FkAqmdYdx2A6ZG+xxa59+oaw=; b=zcxskz0Dy8sG31a1UhLIy48bj+Bos7ypAXQI+j0pOICWd5qWX3z/ldGmnONxHcaqE/ xU4isX6TRT8vF3H73S1LXQNTDeAnANMQmANZakykFK3z3mpLm/jfpDkfZZLtSgCMOjp7 uSdzhvJjoodqqM36EUKFVLswvlbEcGlCtem3xfwRZ/3gJPs8AgsWdEFOJOfudjPibWx9 MPmBca1QOZuSulxPTlALJXKT4EmmNRvEx9DUfOXXI9ec/4bYPZJpO3xVRJlT2Eb9WaB7 MdP4TQDMT7SfGZj1hPcj4RXfuQyDnl2wfBi4yygwtGBsYAbHRoUx5rfDQKeNpSmolU3P Q6jA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ynkn00AT; 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 n1si976967pga.16.2018.04.11.09.41.39; Wed, 11 Apr 2018 09:41:40 -0700 (PDT) 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=Ynkn00AT; 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 S1753952AbeDKQlh (ORCPT + 29 others); Wed, 11 Apr 2018 12:41:37 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:36574 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753864AbeDKQld (ORCPT ); Wed, 11 Apr 2018 12:41:33 -0400 Received: by mail-pl0-f66.google.com with SMTP id 91-v6so1798998pld.3 for ; Wed, 11 Apr 2018 09:41:33 -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:in-reply-to:references; bh=Uh0mMFnhW0iC7vM3Yb4FkAqmdYdx2A6ZG+xxa59+oaw=; b=Ynkn00ATKdsVP2Cap0H3duvJp7C6A6wQKliFTxViOcWq3Bbo0vbuVFNgtf04YrCs1C Xb7m2IRpCHnlnXZFS6Q2WjAoo6VP0iM8G9YLcs26/r2p+1C9f8xJXpupNQUnKe4K2Bfi +GYvXoO5mfM/tvMuq2G8WmeOik10wTrNIzosQ= 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:in-reply-to :references; bh=Uh0mMFnhW0iC7vM3Yb4FkAqmdYdx2A6ZG+xxa59+oaw=; b=OO3Lq4o6Rrx9xgCqdZ4K7ke7bjE0WfTSH60pOZmBBmwO0JAUA8Hh+CqDx0eFd6i/s5 1tLGKD4h7SS8riaGdspEUIaZJxPK/RexNeRhG8lZL6sIYIgstHVn3XTCauhM7kA9V/Hn sZTw0x2WrM99OS+dT28+PDX2CdNcbNA3gNQWNs7stSgOEiAoWEHrjR0Yrswcuil7nPiu EOEWWAQ8KUZBZ+ERaW8USnRjs4t9yAeRzyTU5x3u9EtYtBgdBoWc2yiaTYpHOvC0ao9e UgWYyAwuwLzBpx3qhKH6DLloIrlDsNQZ4cx0xdTFwWDNm/EffXP9PseUkGh+kfZg7EH0 K0Ng== X-Gm-Message-State: ALQs6tDJlftdwaqTASVGFXT/7xorMoxJ3a9045GLlTkeFZuQNs4CgKF4 woz7/iFhhOXwwP3EwKTw/iwD X-Received: by 2002:a17:902:6c07:: with SMTP id q7-v6mr5838939plk.67.1523464892894; Wed, 11 Apr 2018 09:41:32 -0700 (PDT) Received: from localhost.localdomain ([2405:204:7003:60a7:ecd4:48:c695:bedb]) by smtp.gmail.com with ESMTPSA id r20sm4864554pff.165.2018.04.11.09.41.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Apr 2018 09:41:32 -0700 (PDT) From: Manivannan Sadhasivam To: afaerber@suse.de, robh+dt@kernel.org Cc: liuwei@actions-semi.com, mp-cs@actions-semi.com, 96boards@ucrobotics.com, devicetree@vger.kernel.org, daniel.thompson@linaro.org, amit.kucheria@linaro.org, hzhang@ucrobotics.com, bdong@ucrobotics.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, manivannanece23@gmail.com, Manivannan Sadhasivam Subject: [PATCH 1/4] dt-bindings: power: Add Actions Semi S900 SPS Date: Wed, 11 Apr 2018 22:10:33 +0530 Message-Id: <20180411164036.8046-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180411164036.8046-1-manivannan.sadhasivam@linaro.org> References: <20180411164036.8046-1-manivannan.sadhasivam@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Define power domains for Actions Semi S900 SoC Smart Power System (SPS). Signed-off-by: Manivannan Sadhasivam --- .../devicetree/bindings/power/actions,owl-sps.txt | 2 ++ include/dt-bindings/power/owl-s900-powergate.h | 23 ++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 include/dt-bindings/power/owl-s900-powergate.h -- 2.14.1 diff --git a/Documentation/devicetree/bindings/power/actions,owl-sps.txt b/Documentation/devicetree/bindings/power/actions,owl-sps.txt index 78edd63641e8..a3571937b019 100644 --- a/Documentation/devicetree/bindings/power/actions,owl-sps.txt +++ b/Documentation/devicetree/bindings/power/actions,owl-sps.txt @@ -3,11 +3,13 @@ Actions Semi Owl Smart Power System (SPS) Required properties: - compatible : "actions,s500-sps" for S500 "actions,s700-sps" for S700 + "actions,s900-sps" for S900 - reg : Offset and length of the register set for the device. - #power-domain-cells : Must be 1. See macros in: include/dt-bindings/power/owl-s500-powergate.h for S500 include/dt-bindings/power/owl-s700-powergate.h for S700 + include/dt-bindings/power/owl-s900-powergate.h for S900 Example: diff --git a/include/dt-bindings/power/owl-s900-powergate.h b/include/dt-bindings/power/owl-s900-powergate.h new file mode 100644 index 000000000000..f1aaf761112b --- /dev/null +++ b/include/dt-bindings/power/owl-s900-powergate.h @@ -0,0 +1,23 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Actions Semi S900 SPS + * + * Copyright (c) 2018 Linaro Ltd. + */ +#ifndef DT_BINDINGS_POWER_OWL_S900_POWERGATE_H +#define DT_BINDINGS_POWER_OWL_S900_POWERGATE_H + +#define S900_PD_GPU_B 0 +#define S900_PD_VCE 1 +#define S900_PD_SENSOR 2 +#define S900_PD_VDE 3 +#define S900_PD_HDE 4 +#define S900_PD_USB3 5 +#define S900_PD_DDR0 6 +#define S900_PD_DDR1 7 +#define S900_PD_DE 8 +#define S900_PD_NAND 9 +#define S900_PD_USB2_H0 10 +#define S900_PD_USB2_H1 11 + +#endif From patchwork Wed Apr 11 16:40:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 133152 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp827876ljb; Wed, 11 Apr 2018 09:41:50 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+EWBmKHyykkvlpmupqZy+M8HuVRfdXZBWR88Lr0giX07ic8H3HnqIKFleVurmhU04O2obb X-Received: by 2002:a17:902:3f83:: with SMTP id a3-v6mr5876410pld.279.1523464909952; Wed, 11 Apr 2018 09:41:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523464909; cv=none; d=google.com; s=arc-20160816; b=BJ+Pm6gR1XfkYYK2YSp9Y5Jv1sfPt2i92s8R23D2AB1KhxIOU+Zxb+Lma8GuiOiywg C0MWxzq5idIX2zj0xvWEK/tr2GqPiMzILC6eCQO8eRHaY0I6iYpz0GIK+BC0y1S77r0y o2nIHtNd1uU7KXBMt5dBi/wx+HpI3pNNwp1tf/eUHXuT1AntzcpR2+dRwgBtzaR2+17n ViDOWcKFY6swz7n0GIykcB+iBbU95TG20zSU3OysXIFZqVU0xEbExsAeqeST0dmm1luf 5eDBUe7o7UObY9aygG4ox6+qCz+8nNLtWHCqrge85ySl5vevLjQVzJAg17afmLJDINa5 gnrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=/zJoygK1bSWA4/YUc2b/G/wEG71/PtpWUGn8N69B7yY=; b=UOxkFKd2GOMJtJmZVs+CYxt546sJhcmuxGF/XEAgi3BMM+Vw4ndZtzrsKzbQ2+C5Nq T6b913zovr0jzDnVmuuSLW5CWMf8W3d2HdGv62tDCYmlpiWWcvaNG51aZlbJgn7sJSPe wUDdjtr89oCrHDKB5BVADevAzFT+WdOfua1XaNEdR8bbesjce6Y7PPDlfrduPUAD4vnB 9Bb4UtPfctmjDZ/7nPMUKkUnP3EeplGhqiKZwvKntp66X2s71fXJPpsMcxXXrECzUNTI Fe5IbsdO4f07sX7BzIyvXF4ZxSH2BxNtrS5ukAOY03sotsC0/KrmM3aqbgNBwZ4Pj9B+ G+IQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TeQW5iGo; 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 c6si1166978pfl.136.2018.04.11.09.41.49; Wed, 11 Apr 2018 09:41:49 -0700 (PDT) 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=TeQW5iGo; 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 S1754030AbeDKQlq (ORCPT + 29 others); Wed, 11 Apr 2018 12:41:46 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:45488 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753883AbeDKQlm (ORCPT ); Wed, 11 Apr 2018 12:41:42 -0400 Received: by mail-pf0-f193.google.com with SMTP id l27so1192736pfk.12 for ; Wed, 11 Apr 2018 09:41:42 -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:in-reply-to:references; bh=/zJoygK1bSWA4/YUc2b/G/wEG71/PtpWUGn8N69B7yY=; b=TeQW5iGonWrHhNQpaYI36Hj6qh19S8C8tsZuEcNQR8WexJ8FrZ/TNw5njfuhF7Oo/D YJnsNIU8wc3ZdXqulozYXo34a51PzySeX1GhBfY4kuwsG10fKlkytqMXCwlqc+nqj2I8 sgKWkAjtOcZSj5FuH73mhYeeE9Za2xeNALBi4= 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:in-reply-to :references; bh=/zJoygK1bSWA4/YUc2b/G/wEG71/PtpWUGn8N69B7yY=; b=U4sFKFgFyK1HY9ybLzOAvuQz6Xw/Gi1WukyyGJY7Sd6fIS89zgoRtdngWXYV6tlJTe abHOaEwwuAw4/Cz9GOXqP1yG2/a5byb3efEkq7MDFzB342+GQUrGQXC9g5Q9f2jjrfLM SpaFPWwzS/h3IPZlp+YuZ9Rr0oCcdwJsugX+mI/Z5xTT1wxc63fdojkUUwH+pI2mLVKV nbDED6OoH6YJ7W5zRUOQD9tuuM7BohPi5Zy+8Q4MMUoJbCINutZ02OGAMKg4fKESZZmx 5+4qI+rmrqstLKGidc50h+2DRLfgdNNkZlShn6o12YMxu+b4VKOo/lOk7IoQCiNMB5c7 5BiA== X-Gm-Message-State: ALQs6tBGh2R65Crry+eAlMKL18yv0kC/upiapEIgzO+oZ/zyrnQiast3 QpQadF/+mfWqHAlAMRb8go3f X-Received: by 10.98.75.12 with SMTP id y12mr4666691pfa.140.1523464901281; Wed, 11 Apr 2018 09:41:41 -0700 (PDT) Received: from localhost.localdomain ([2405:204:7003:60a7:ecd4:48:c695:bedb]) by smtp.gmail.com with ESMTPSA id r20sm4864554pff.165.2018.04.11.09.41.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Apr 2018 09:41:40 -0700 (PDT) From: Manivannan Sadhasivam To: afaerber@suse.de, robh+dt@kernel.org Cc: liuwei@actions-semi.com, mp-cs@actions-semi.com, 96boards@ucrobotics.com, devicetree@vger.kernel.org, daniel.thompson@linaro.org, amit.kucheria@linaro.org, hzhang@ucrobotics.com, bdong@ucrobotics.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, manivannanece23@gmail.com, Manivannan Sadhasivam Subject: [PATCH 2/4] arm64: dts: actions: Add S900 SPS node Date: Wed, 11 Apr 2018 22:10:34 +0530 Message-Id: <20180411164036.8046-3-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180411164036.8046-1-manivannan.sadhasivam@linaro.org> References: <20180411164036.8046-1-manivannan.sadhasivam@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add Actions Semi S900 Smart Power System (SPS) node Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/actions/s900.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.14.1 diff --git a/arch/arm64/boot/dts/actions/s900.dtsi b/arch/arm64/boot/dts/actions/s900.dtsi index 11406f6d3a6d..0b29dbe0030e 100644 --- a/arch/arm64/boot/dts/actions/s900.dtsi +++ b/arch/arm64/boot/dts/actions/s900.dtsi @@ -154,6 +154,12 @@ status = "disabled"; }; + sps: power-controller@e012e000 { + compatible = "actions,s900-sps"; + reg = <0x0 0xe012e000 0x0 0x2000>; + #power-domain-cells = <1>; + }; + timer: timer@e0228000 { compatible = "actions,s900-timer"; reg = <0x0 0xe0228000 0x0 0x8000>; From patchwork Wed Apr 11 16:40:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 133153 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp827963ljb; Wed, 11 Apr 2018 09:41:57 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/AZU4UJJ33C8NHdw8+FZwWcsN/YBoA9oEENmG5ds1M72w0Thxn4j2faSkibU+JC2UHzmhi X-Received: by 2002:a17:902:8:: with SMTP id 8-v6mr5726232pla.291.1523464917198; Wed, 11 Apr 2018 09:41:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523464917; cv=none; d=google.com; s=arc-20160816; b=Ep7x4/jvQEH8KbwNORZ+au3EfqCmDgY59HdanMZJI7TL5jJH22XPd5KDYVKWrcwRUF 8uML2B1h5eRGnuXppW62uaAS8alJoTmABvtqrD93UBsUDSk18dlWOkKFAmjfKVJDwkkV 7ZiLrho4crSgPfWVovFRzf3nWlT44xu9zAp5OWqDqdYqh+r8mR5NWbI24sggPPF4RogZ +eW655lHEaMNHXyKFi73ZV6Y3otdLwjCTC2tBMKtBqmHMR5hhRFz7HvaOuijC7/Q71Ct s26fmhjsGRgT07dSCq/V09qIh/bYGKvSdytRjSCtP/aRYaphBe/otHowa4ep4Lwi9Xrg pxHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=duXBi7ytN2M5Np9UXUthzyGMNoE1ArSrXMXbpwncKDw=; b=nSgRYiXrQNbGsGYLb/xo/D+sJO9iQYBgkwb4FL3lvy1B2YVfqh6jst8MIjr3uRGPbo 0NNiZlTpdxavUOUk2z04Ta0oc956IWC3GVz/acVrB0UEwNeV+uNL0cXY5pxy9RP2JmXk Vu+Fdk0pa60K9wN9ySza+xcK4+FMAmdKPiWCfTMze1Y7NlRf23/NuPUKPBnes4UaJynx zWqk4Evk2BqHqXZtVPUh88Jlu0sL/TtVrRudwjfvSKiR95n2v7bkAcv/XPD7FYeLxOIn LS8Z2ltykMqrkmKm9U+xJmrACesVQNEz9hvez1501YhHzpvwm5EO/vjBd4ND1q9xB6x2 OwCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VLQV5MFM; 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 s10si1013727pge.41.2018.04.11.09.41.56; Wed, 11 Apr 2018 09:41:57 -0700 (PDT) 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=VLQV5MFM; 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 S1754053AbeDKQly (ORCPT + 29 others); Wed, 11 Apr 2018 12:41:54 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:41081 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754032AbeDKQlu (ORCPT ); Wed, 11 Apr 2018 12:41:50 -0400 Received: by mail-pf0-f195.google.com with SMTP id a2so1196475pff.8 for ; Wed, 11 Apr 2018 09:41:50 -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:in-reply-to:references; bh=duXBi7ytN2M5Np9UXUthzyGMNoE1ArSrXMXbpwncKDw=; b=VLQV5MFMwBGbvNd397XeVu5+mT/gmiCdH7AowckAXbsMOF9VxexDfCqeN/sf3NePGR PbOii6QiwdOMj9ThetuGMwXyLlkeZvwA0tYKAF9R5FL9qApt8HBTseA4JdxPloI9V789 DjfyslFNrGMDLJj9kpUl/7UU7wLtbfUJwpwNM= 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:in-reply-to :references; bh=duXBi7ytN2M5Np9UXUthzyGMNoE1ArSrXMXbpwncKDw=; b=h0h5iMhWphBDONxrQ9l8zU9nvNX3awuwHFZSZLZiDd2L5JVJHVjomwgdyhi4ssifkc IVTyOTQojJkYhUM7E8zWO1jGsjb0G2dc0tkPf31o5fE/V9WiAEP08F4uJ2O5TDDQV+uy 39Xlq6X2zdRYHNodgqdP5gictv5QHI7hDFH1tlLimEPH8od0Q1+crq1hqs+9xOTj5UCI mHlFKYAi7JDswxwcm8NhDLrgbK5FG+3/sPqtazGiy1IOLorCG3Z2AUXI5QBZErJuWESU MVqzztr99h33nMCQIIi/Zdfjqy2ieICDy16ANlU2GzqB35hTk0D6bNLyFhfjALAfmcO2 t0pg== X-Gm-Message-State: ALQs6tDSCFZ1pZr+kw6fjWUPwWNVo2Dl7dufP5yjfWxlTx+qhDL9nSzx Bz7qrz5p4c+EBK5XfNCxJb5i X-Received: by 10.98.10.23 with SMTP id s23mr4696551pfi.204.1523464909711; Wed, 11 Apr 2018 09:41:49 -0700 (PDT) Received: from localhost.localdomain ([2405:204:7003:60a7:ecd4:48:c695:bedb]) by smtp.gmail.com with ESMTPSA id r20sm4864554pff.165.2018.04.11.09.41.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Apr 2018 09:41:49 -0700 (PDT) From: Manivannan Sadhasivam To: afaerber@suse.de, robh+dt@kernel.org Cc: liuwei@actions-semi.com, mp-cs@actions-semi.com, 96boards@ucrobotics.com, devicetree@vger.kernel.org, daniel.thompson@linaro.org, amit.kucheria@linaro.org, hzhang@ucrobotics.com, bdong@ucrobotics.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, manivannanece23@gmail.com, Manivannan Sadhasivam Subject: [PATCH 3/4] soc: actions: sps: Add S900 power domains Date: Wed, 11 Apr 2018 22:10:35 +0530 Message-Id: <20180411164036.8046-4-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180411164036.8046-1-manivannan.sadhasivam@linaro.org> References: <20180411164036.8046-1-manivannan.sadhasivam@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add power domains for Actions Semi S900 SoC. Signed-off-by: Manivannan Sadhasivam --- drivers/soc/actions/owl-sps.c | 58 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) -- 2.14.1 diff --git a/drivers/soc/actions/owl-sps.c b/drivers/soc/actions/owl-sps.c index 38b276e6f319..f6445d671f22 100644 --- a/drivers/soc/actions/owl-sps.c +++ b/drivers/soc/actions/owl-sps.c @@ -14,6 +14,7 @@ #include #include #include +#include struct owl_sps_domain_info { const char *name; @@ -240,9 +241,66 @@ static const struct owl_sps_info s700_sps_info = { .domains = s700_sps_domains, }; +static const struct owl_sps_domain_info s900_sps_domains[] = { + [S900_PD_GPU_B] = { + .name = "GPU_B", + .pwr_bit = 3, + }, + [S900_PD_VCE] = { + .name = "VCE", + .pwr_bit = 4, + }, + [S900_PD_SENSOR] = { + .name = "SENSOR", + .pwr_bit = 5, + }, + [S900_PD_VDE] = { + .name = "VDE", + .pwr_bit = 6, + }, + [S900_PD_HDE] = { + .name = "HDE", + .pwr_bit = 7, + }, + [S900_PD_USB3] = { + .name = "USB3", + .pwr_bit = 8, + }, + [S900_PD_DDR0] = { + .name = "DDR0", + .pwr_bit = 9, + }, + [S900_PD_DDR1] = { + .name = "DDR1", + .pwr_bit = 10, + }, + [S900_PD_DE] = { + .name = "DE", + .pwr_bit = 13, + }, + [S900_PD_NAND] = { + .name = "NAND", + .pwr_bit = 14, + }, + [S900_PD_USB2_H0] = { + .name = "USB2_H0", + .pwr_bit = 15, + }, + [S900_PD_USB2_H1] = { + .name = "USB2_H1", + .pwr_bit = 16, + }, +}; + +static const struct owl_sps_info s900_sps_info = { + .num_domains = ARRAY_SIZE(s900_sps_domains), + .domains = s900_sps_domains, +}; + static const struct of_device_id owl_sps_of_matches[] = { { .compatible = "actions,s500-sps", .data = &s500_sps_info }, { .compatible = "actions,s700-sps", .data = &s700_sps_info }, + { .compatible = "actions,s900-sps", .data = &s900_sps_info }, { } }; From patchwork Wed Apr 11 16:40:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 133154 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp828052ljb; Wed, 11 Apr 2018 09:42:03 -0700 (PDT) X-Google-Smtp-Source: AIpwx49i7U767EmtI9DN2vPVXBbmF6EnPAkpAThnEKJqD+1HmB232RZSJYiuJPY4j74LARFBkj0R X-Received: by 10.98.182.8 with SMTP id j8mr4679646pff.115.1523464923663; Wed, 11 Apr 2018 09:42:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523464923; cv=none; d=google.com; s=arc-20160816; b=lk4nPmIwCIEw+ZSwOK/kAWAoH0QFPdtt5Ga9Kzhy+10Mj85Pv7brLnnUGt8PbtKK8S euk/Eg/Fq8H617aeHAGyj9iMlTMiROJGs/nnX+b0Gdfx/ZZMEwhbxzIS92Be71ci4yv1 JXUj1yavI7fjyOub85HzeONsvQdGCIPLNDnD3+GynNl7fjusANtEsP1ts+mPZcdEduwf Oj57ZkKjYa7HFubGpvKhh6Opu77Y+4lD8gg4TP7ic/vR1/kDLf9zFUQCEzRhP4tYccVw EXIzEmRCVOtL29MuTef+b6qJy/IS8kF+xxaBmEXmw9/Ucqu8q9wx6TQERVmud5h3ZxGi WeAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=4xBA/B6g48FoAQfzeDe2KQr9B6/bGkYGiIh5RGsageg=; b=c5VjDQaR4Od0A9r0uDK2qDC3l5jO/rRfeiRbl7f3NKk1Vn8wiZnf0xGFCPMnKs0RPP vmVBArC7jepqZb2NkMmnwuyM8zat1f6/fkgBbSgLoE8F7qYgmE2h5AwPGK3ynM2Ruzbw d2A0J/SsUKXi290KwKTjy33EwqWe8Di+jIW9SuUrVbXQbSxrqfLLUJ7PKNyYTnD9srp3 fjOLaL00+ZuTQVWvdRaf4/rcfabA3VQQRh/A2YIcnDKW5aPdYjvoqeEJGXw/9pkNDCAR hu86RM9iXnTPdeJvJwIq2dDFa4pIMWVeAt6YNqUdE/Jd4FfC+wq0vJZi29Uswa/xwjlE iFuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GbUtB3Q9; 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 s10si1013727pge.41.2018.04.11.09.42.03; Wed, 11 Apr 2018 09:42:03 -0700 (PDT) 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=GbUtB3Q9; 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 S1754075AbeDKQmB (ORCPT + 29 others); Wed, 11 Apr 2018 12:42:01 -0400 Received: from mail-pl0-f65.google.com ([209.85.160.65]:46535 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754054AbeDKQl5 (ORCPT ); Wed, 11 Apr 2018 12:41:57 -0400 Received: by mail-pl0-f65.google.com with SMTP id 59-v6so1787868plc.13 for ; Wed, 11 Apr 2018 09:41:57 -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:in-reply-to:references; bh=4xBA/B6g48FoAQfzeDe2KQr9B6/bGkYGiIh5RGsageg=; b=GbUtB3Q94fV2yqy7v3QUWFaUbIQ//cJygR1GZSBJjd/SWNw1uFhJ9EXIIFfolgmud5 PjypMORLFmpQN8PuPXXu77gCPz6D74v8+SxZ9WDblz8cNyPTN/HA1pf76lns8cepuYa/ dCBkFfEQkXBPe7ae70R1SM0dwbwFu6PIs0dZk= 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:in-reply-to :references; bh=4xBA/B6g48FoAQfzeDe2KQr9B6/bGkYGiIh5RGsageg=; b=Fa40A6uOwq8J8pRCCdc7cDBan8Ih15XsP53vXPmGEZDj+yGHFL5ShDg3jnSv7ZL7lm HI+EDvGIOIV22dcXxdbuF7qfw7SVyGq0MizlYk5pKU5DwrCgRhcunD0vbifwLyphvZ5G JN9dr3d0VS3kvLcSCQ1brd6oSMFnGHEUgZWthcS212VoZlhURI3LiJMKs0UeQpVicucd pVK8yLbVh5TBFGuyZun27XUBkHh3Ub8JLnbL+l3VQQhYyMVjCWf2Zo5TWbunYVLnlS6Q WbvqKbXQUlu6pfFqukEPvZEK4tJoYZMnAgKvAFv9T0HZwva3wn3ZdnElCJa/rFL9k3+d KCyA== X-Gm-Message-State: ALQs6tAnmm4b9n4CRiOYLlKNg5CGlW2S9WxQLvT1gUoRJuD88tju/VGL 1Cb3PCCwhl5caYDD31zJf2Rw X-Received: by 2002:a17:902:714e:: with SMTP id u14-v6mr5802746plm.356.1523464916978; Wed, 11 Apr 2018 09:41:56 -0700 (PDT) Received: from localhost.localdomain ([2405:204:7003:60a7:ecd4:48:c695:bedb]) by smtp.gmail.com with ESMTPSA id r20sm4864554pff.165.2018.04.11.09.41.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Apr 2018 09:41:56 -0700 (PDT) From: Manivannan Sadhasivam To: afaerber@suse.de, robh+dt@kernel.org Cc: liuwei@actions-semi.com, mp-cs@actions-semi.com, 96boards@ucrobotics.com, devicetree@vger.kernel.org, daniel.thompson@linaro.org, amit.kucheria@linaro.org, hzhang@ucrobotics.com, bdong@ucrobotics.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, manivannanece23@gmail.com, Manivannan Sadhasivam Subject: [PATCH 4/4] soc: actions: Fix help text in Kconfig for OWL_PM_DOMAINS Date: Wed, 11 Apr 2018 22:10:36 +0530 Message-Id: <20180411164036.8046-5-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180411164036.8046-1-manivannan.sadhasivam@linaro.org> References: <20180411164036.8046-1-manivannan.sadhasivam@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org OWL_PM_DOMAINS is being used by 3 SoCs of OWL family. This fixes the wording to use family name OWL instead of SoC name S500. Signed-off-by: Manivannan Sadhasivam --- drivers/soc/actions/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.14.1 diff --git a/drivers/soc/actions/Kconfig b/drivers/soc/actions/Kconfig index 9d68b5a771c3..26c3155d3738 100644 --- a/drivers/soc/actions/Kconfig +++ b/drivers/soc/actions/Kconfig @@ -10,7 +10,7 @@ config OWL_PM_DOMAINS select PM_GENERIC_DOMAINS help Say 'y' here to enable support for Smart Power System (SPS) - power-gating on Actions Semiconductor S500 SoC. + power-gating on Actions Semiconductor OWL SoCs. If unsure, say 'n'. endif