Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4135362imm; Mon, 25 Jun 2018 10:17:00 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIlplS+1WEmmUuCFQ3aKOgRDh83yEeyyYNrniGOmiSDlGb4AG19YWeUx4MknrrBJNlg5873 X-Received: by 2002:a17:902:bb8d:: with SMTP id m13-v6mr13140410pls.46.1529947020198; Mon, 25 Jun 2018 10:17:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529947020; cv=none; d=google.com; s=arc-20160816; b=T3HWKWeV55SKtCvuKILaeMwv1uK1X7HdYcOajNaYc8urKg/m/dEVeaYGmcDsTlnH/U 1Nt5Wy2y3WYbAn6gqa/xWxpo4zk1RUe5WMtw3Una2Wnl3MlUJRyA8KSjJ0SEeuDpeXx5 AmkOsekUxZrPwo8LOBjYc/v06h+BebAz9EhiL/lKKpPXFg3YCW4Zaoyjd91RsMUlUEF5 uERHE9gzgNstu/bDUEDs2ZjYCPSQN6Kc2xSslmvBlHQTR8SIul4WDqIcSuwf9quInqi1 0ps5eeEj+rTXmgVbtvaYVBbt658lKc9ikfJbdZaLUODn1kEty9j0N88JAnqngRe4g63u ezBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=QG6e7w97m9sAcjWPZDMgj0TIFIRZzmbyWfp4geZhq7w=; b=y3F2vVCKdz8wHYvcGSseHdEJyj/IRBLv9u1ro2rquOREF/TxTzt4qvg+aZosSVfbHm VFdWuz7GjyQYko8IV/CqN2Ux5MQNQX4DLh29wg3BFfgZuRprKO832n49ZvkzYmEcUJQu wj8t/skFF+3t4GzQM9wptaO9hPsopZbJmjK5FnrO/NqfRKRmqwX0+nYKQxsOgBBFNdTo YIHeZ8HzFOlXuXJ1ByCRkE28i85S6hghclZfpwytsXwMaCOJl+5fukcEeDIkQvMlruuR A2jh4OERPCP+MU8U5VmtcCZgnUj+8k+4pvxSHNHxKHlx7eJJROVZOvSyF3tL+mU0Zf0k dzCg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 67-v6si8541220pla.475.2018.06.25.10.16.45; Mon, 25 Jun 2018 10:17:00 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964809AbeFYRPu (ORCPT + 99 others); Mon, 25 Jun 2018 13:15:50 -0400 Received: from mail-yw0-f193.google.com ([209.85.161.193]:37927 "EHLO mail-yw0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933870AbeFYRPr (ORCPT ); Mon, 25 Jun 2018 13:15:47 -0400 Received: by mail-yw0-f193.google.com with SMTP id w13-v6so5031491ywa.5; Mon, 25 Jun 2018 10:15:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=QG6e7w97m9sAcjWPZDMgj0TIFIRZzmbyWfp4geZhq7w=; b=F083P1TI+NekSS3rmxf085SsxxoWLlhwS3RLEkVlUr5TDpWu+ZMyaWoTX0jkFvWkUY vBqZx2og38klWQVih5xxmHaC38+cZkJd+X8TbpcAj2PwimxAg/RWvxNDSXeGTyfruT5F 82NdLrCW+E6djFhML7qVk4Fj1wfigxfrLztwTiAWhHVpjImRX2sj/NUJGjB+cH/AyLz+ cSF8yWjkkIN3H89UNFYEyhf51S1EgJEcvAxWOlKyD9KaBrwd/vVPSAMY/0HNZf+W27Xm mE6t3tH2dEYUThOw9PxzfY9KJn9VpSxNVYe0Jp3WxynIAVhYpmcZKdCeOPXHtDQds0/b l/Uw== X-Gm-Message-State: APt69E3l8P9wS8d+4BzWXYJUW3yzaXeP0idZL85ja0U4IW3FRbbvPm4y vzSSpQZ1MRb97VNpsJGb8g== X-Received: by 2002:a0d:d951:: with SMTP id b78-v6mr6384435ywe.396.1529946946730; Mon, 25 Jun 2018 10:15:46 -0700 (PDT) Received: from localhost (24-223-123-72.static.usa-companies.net. [24.223.123.72]) by smtp.gmail.com with ESMTPSA id i2-v6sm447823ywa.20.2018.06.25.10.15.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Jun 2018 10:15:45 -0700 (PDT) Date: Mon, 25 Jun 2018 11:15:44 -0600 From: Rob Herring To: Rajendra Nayak Cc: viresh.kumar@linaro.org, sboyd@kernel.org, andy.gross@linaro.org, ulf.hansson@linaro.org, collinsd@codeaurora.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 2/7] soc: qcom: rpmpd: Add a Power domain driver to model corners Message-ID: <20180625171544.GA18520@rob-hp-laptop> References: <20180612044052.4402-1-rnayak@codeaurora.org> <20180612044052.4402-3-rnayak@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180612044052.4402-3-rnayak@codeaurora.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 12, 2018 at 10:10:47AM +0530, Rajendra Nayak wrote: > The Power domains for corners just pass the performance state set by the > consumers to the RPM (Remote Power manager) which then takes care > of setting the appropriate voltage on the corresponding rails to > meet the performance needs. > > We add all Power domain data needed on msm8996 here. This driver can easily > be extended by adding data for other qualcomm SoCs as well. > > Signed-off-by: Rajendra Nayak > Signed-off-by: Viresh Kumar > --- > drivers/soc/qcom/Kconfig | 9 + > drivers/soc/qcom/Makefile | 1 + > drivers/soc/qcom/rpmpd.c | 301 +++++++++++++++++++++++++ > include/dt-bindings/power/qcom-rpmpd.h | 16 ++ Acked-by: Rob Herring > 4 files changed, 327 insertions(+) > create mode 100644 drivers/soc/qcom/rpmpd.c > create mode 100644 include/dt-bindings/power/qcom-rpmpd.h