From patchwork Wed Sep 30 10:01:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Nie X-Patchwork-Id: 11808651 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6C842618 for ; Wed, 30 Sep 2020 10:02:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 50E052074A for ; Wed, 30 Sep 2020 10:02:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="d+s3AQEK" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728988AbgI3KCO (ORCPT ); Wed, 30 Sep 2020 06:02:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728169AbgI3KCM (ORCPT ); Wed, 30 Sep 2020 06:02:12 -0400 Received: from mail-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A9B8C0613D0 for ; Wed, 30 Sep 2020 03:02:11 -0700 (PDT) Received: by mail-pj1-x1044.google.com with SMTP id q4so642217pjh.5 for ; Wed, 30 Sep 2020 03:02:11 -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; bh=TPF6YKdz4OEVC8EPsySKMAkJJaxtO9jBU1rqnEtldNQ=; b=d+s3AQEKnZn0OUF8cNY4yT+LUckpBFghzZVuu+U7ioW4R2aIqwBgmJrSD+5JOj6gd+ qxr9Mc+YgJ1OKrCQNHzmQmy45PtPZW5+P7BbwP8yAhajEXBW3ESNI85knwwULO7eLzHE 0TeHmbljVjTZLcc85C444BNdUDb8tBGrIiFyInuzHe1l+zxA9OWIXfY8u+jg1f79VPw4 qOdDEXgPkXQBP0GCGs+kw1iQK2HRyHUpsBnRPdc7WSuJLUCRTzR2ekZD4Kh5nP7x0jhj Oz2sYP/KdGJUWNDbEjKzCnjpFv+vC3y6MCjILfu3LDItpfmUs/tEYmzmlRtXDFUEI+7a /TSQ== 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=TPF6YKdz4OEVC8EPsySKMAkJJaxtO9jBU1rqnEtldNQ=; b=XKwYxZkM5wdx/wanCE2pQEG+4UWOMeQnJcxLq4nwsGz+8R4oFisHl9WhmTrm4joTY7 PlNzdisUm0ct6siURbQiIYoQzGQlQMvLNFiFzDFiPQGf3Up/away0cSCk5BPUk7NAEuk ZuyhqL0DIPLEkXKH8LcuxAB7sZWuvsiWr6ipaXiLFYVTLOAjJCsIfRPvYSMuVmjR/o6H Crii2KcKW6rwO6gSdAL9Ebj3GnWs+V7l7Fqme6o1qR5sTPZ9u2kAFg+ZC9BKZeC3spPZ H9U3duBDPGIDv7vCqp9rJQjhfVLV8A4sV3KxSS5kSR7kHdp0Xqbr109KHn34jsjZauX8 dBBQ== X-Gm-Message-State: AOAM531rk/gxav1MD+FmTglEHZppjV+w3UcWRkDalhsMGPXmGuaFWGFT CZDG5bmUel97tF9LKLJ/YA7DRw== X-Google-Smtp-Source: ABdhPJya4sefjAvwlYSQDZpNkFyXnQ071yq6/CRkAkkWEECUcxm265GOdq0m1WwIOXZJGigPPPROFA== X-Received: by 2002:a17:902:9343:b029:d1:f3e1:c190 with SMTP id g3-20020a1709029343b02900d1f3e1c190mr1846628plp.2.1601460130636; Wed, 30 Sep 2020 03:02:10 -0700 (PDT) Received: from localhost.localdomain (li519-153.members.linode.com. [66.175.222.153]) by smtp.gmail.com with ESMTPSA id b2sm1890002pfp.3.2020.09.30.03.02.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Sep 2020 03:02:10 -0700 (PDT) From: Jun Nie To: stephan@gerhold.net, bjorn.andersson@linaro.org, agross@kernel.org, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, robh@kernel.org Cc: shawn.guo@linaro.org, Jun Nie Subject: [PATCH v3 0/2] Add MSM8939 RPM power domains Date: Wed, 30 Sep 2020 18:01:43 +0800 Message-Id: <20200930100145.9457-1-jun.nie@linaro.org> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Add MSM8939 RPM power domains and associated document. This is based on Stephan's patch set to reuse max state definition: https://lore.kernel.org/linux-arm-msm/20200916104135.25085-1-stephan@gerhold.net/ Changes vs v2: - fix max power domain state value. - trim code layout. Jun Nie (2): dt-bindings: power: rpmpd: Add MSM8939 RPM power domains soc: qcom: rpmpd: Add MSM8939 power-domains .../devicetree/bindings/power/qcom,rpmpd.yaml | 1 + drivers/soc/qcom/rpmpd.c | 27 +++++++++++++++++++ include/dt-bindings/power/qcom-rpmpd.h | 10 +++++++ 3 files changed, 38 insertions(+) Reviewed-by: Stephan Gerhold