From patchwork Thu Apr 4 05:09:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 161746 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1156294jan; Wed, 3 Apr 2019 22:10:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqze7ZwrFUyJwdO58QcIsWbj6JzyyXVsey2FaSHDPUrBoeN6jtoAit8CsSfOfrmDz2u8gBTa X-Received: by 2002:a63:fd07:: with SMTP id d7mr3796959pgh.199.1554354642128; Wed, 03 Apr 2019 22:10:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554354642; cv=none; d=google.com; s=arc-20160816; b=bHVOxUw+zfGrcvtMpv9UGlKEac2yfCP9/RxZFCOpUpLzQZhAYP9u6aEZfqsddfKzmQ srOvE3PIvZdw56T3p1v33PXy5K4PNyXZeSyuSwhoWGClhRWDmVjKfGYU64dlqaodR8pD Bt3XKhPQS9PUL4vObcjPD4VL+NyR1fH0Df9tVqYZmdhvI2H4fPXfpHh7a7SbalSiTZ29 9WcwNax49BnujVplbv1Gjfj6c28NX+Du6klqVHLhq8bnkt57tsn3l9vxQ6ajOwLG7cqh p8uTVleEBzryi+hvx6zBuAjZRy9VOPMtmnynZi2X0WcH506eFFGER/lLTJMrMj7NaSZb zeJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5f+kkMUgvOOpOd6cTF9Ie+6FOr6453kj1E1ya/v5Za8=; b=t3HfH+nDPhFQ1I2iHB12Qq+cNYDjs+meSZ6SOahM+zZaOJxsM5XzRqKT/vG2CaWImR +EqMJu6Sf1SPgTn2oN5kbE0wHLGX1y8oMjVd6TKPwZj5EqENPd450ZVhJmoYnl2mRxy/ j03jvPG+G9S8LPxnMi3avJf/Hf/pnDKS0GCHzwx/RShhQ8aLaQtvohkkSbaVw+V4DPHt nJYkM2l81xaIB/fKg/35UhmB7+KWN7qF7DFhWYqm8+8VJL7JlnJdTiMnVRILJC+hYIU0 7PLz5k8eAEgaKEWjh8ndiwigw3rLYoDWfA00X9tkFa630xGdkVXblZ0wuSwEX+PsZqpR YuKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OQusTV+s; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-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 j25si15509246pgb.531.2019.04.03.22.10.41; Wed, 03 Apr 2019 22:10:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-pm-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=OQusTV+s; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-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 S1727021AbfDDFKl (ORCPT + 11 others); Thu, 4 Apr 2019 01:10:41 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:34191 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726693AbfDDFKl (ORCPT ); Thu, 4 Apr 2019 01:10:41 -0400 Received: by mail-pf1-f194.google.com with SMTP id b3so746737pfd.1 for ; Wed, 03 Apr 2019 22:10:40 -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 :mime-version:content-transfer-encoding; bh=5f+kkMUgvOOpOd6cTF9Ie+6FOr6453kj1E1ya/v5Za8=; b=OQusTV+sLzBgbuQim/aJBTk/xjcBPTqYlFT9scR6O8fYzA0i29sdhhV5Jnxg81dPHL MwAFl+bs31OrLE9iQXLisbdttm0uhX7lBVJOLlI3joGVjmPJ6uPi0qF4Tt8gAR7JbWdZ SvVAnPMZu0ZxSSXF9Ap7xv/YSNby0tIJIqwSeSjlSl6zskXvNpgv5CAofOoQf3BRztZ+ y+LYNuu4+wmQ32CfLWWUzCnFzLJPWclgKOPHXyxiwJitkTI8+9f8jv37IfGfhgQLMUIV k+yDCnbs4xXT2c2ttyqaycOFf5Kt5efXpoxaXHPnnFSUnBRN+2LZ034sjgPgD3U0wydF FwOw== 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:mime-version:content-transfer-encoding; bh=5f+kkMUgvOOpOd6cTF9Ie+6FOr6453kj1E1ya/v5Za8=; b=Nzr0ptJHHfu7m75sXCywyhmu5OBM+lqHw2TszYWr5aAwB2kGt7V6mbeQF3Toz9RFr/ +6KArM/o/E0ncDk3ZLnbGUGrGUVnn/Pt2w7tOQdf63UPZeyjL5JccilLaUcVycG6OKG4 QiuuJRg+D5FsvJn1BCw2PYXs7RWJGdLtZpknz0bYnRv6Tn4LXcc8xgC39bbuybfIjBuu dhYA7CssCuQ7pLHPRMgzgeZl0x2ycdQ0ZQdWSEKEr+abIRPOTSe9OD0dooh1uA0LzyM0 dVmlmOdCGVt83BQsK6gQWKiHzV1xBwZZYX4HmCZklByzCDTIBX2l/oMhH3mh755SKjRt YgIw== X-Gm-Message-State: APjAAAVQB0NM5NBK6MC67BkmGrf0CKNMby9xhtbOCzg4XclSBW0dCU6W WnwPn5y+Gbz2dV6Rbecav672Dg== X-Received: by 2002:a63:1064:: with SMTP id 36mr3772475pgq.155.1554354640554; Wed, 03 Apr 2019 22:10:40 -0700 (PDT) Received: from centauri.imgcgcw.net ([147.50.13.10]) by smtp.gmail.com with ESMTPSA id g64sm43254361pfg.13.2019.04.03.22.10.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 03 Apr 2019 22:10:40 -0700 (PDT) From: Niklas Cassel To: Andy Gross , David Brown , Viresh Kumar , Nishanth Menon , Stephen Boyd , Rob Herring , Mark Rutland Cc: linux-arm-msm@vger.kernel.org, jorge.ramirez-ortiz@linaro.org, Niklas Cassel , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH 6/9] dt-bindings: opp: Add qcom-opp bindings with properties needed for CPR Date: Thu, 4 Apr 2019 07:09:27 +0200 Message-Id: <20190404050931.9812-7-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190404050931.9812-1-niklas.cassel@linaro.org> References: <20190404050931.9812-1-niklas.cassel@linaro.org> MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Add qcom-opp bindings with properties needed for Core Power Reduction (CPR). CPR is included in a great variety of Qualcomm SoC, e.g. msm8916 and msm8996, and was first introduced in msm8974. Co-developed-by: Jorge Ramirez-Ortiz Signed-off-by: Jorge Ramirez-Ortiz Signed-off-by: Niklas Cassel --- .../devicetree/bindings/opp/qcom-opp.txt | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/opp/qcom-opp.txt -- 2.20.1 diff --git a/Documentation/devicetree/bindings/opp/qcom-opp.txt b/Documentation/devicetree/bindings/opp/qcom-opp.txt new file mode 100644 index 000000000000..d24280467db7 --- /dev/null +++ b/Documentation/devicetree/bindings/opp/qcom-opp.txt @@ -0,0 +1,24 @@ +Qualcomm OPP bindings to describe OPP nodes + +The bindings are based on top of the operating-points-v2 bindings +described in Documentation/devicetree/bindings/opp/opp.txt +Additional properties are described below. + +* OPP Table Node + +Required properties: +- compatible: Allow OPPs to express their compatibility. It should be: + "operating-points-v2-qcom-level" + +* OPP Node + +Optional properties: +- opp-hz: Frequency in Hz, expressed as a 64-bit big-endian integer. Even + though a power domain doesn't need a opp-hz, there can be devices in the + power domain that need to know the highest supported frequency for each + corner/level (e.g. CPR), in order to properly initialize the hardware. + +- qcom,opp-fuse-level: A positive value representing the fuse corner/level + associated with this OPP node. Sometimes several corners/levels shares + a certain fuse corner/level. A fuse corner/level contains e.g. ref uV, + min uV, and max uV.