From patchwork Mon Dec 18 10:21:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 122202 Delivered-To: patch@linaro.org Received: by 10.80.152.193 with SMTP id j59csp2554742edb; Mon, 18 Dec 2017 02:21:38 -0800 (PST) X-Google-Smtp-Source: ACJfBosZFAevSpKV8UTQB2Xn0B24BzeSK5VcO6WBeVIkPk27LjlIacrCNXIlOR4lQ98797kP+NmF X-Received: by 10.84.241.15 with SMTP id a15mr22367323pll.103.1513592498692; Mon, 18 Dec 2017 02:21:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513592498; cv=none; d=google.com; s=arc-20160816; b=Lg4ZRYSw1rkiNxYpiz6DhTvTTCtjLFaARSgCOx1xWgkUKCz1kgsZPhBbKtxRUMO+T2 2pz+tQwnOUTkKi4DGIclUSNaqdRFng3p586go2ELRoqmyM/Z98pLhryYBPfmCZ3veN1C H1bg3Mh6QYukocEGbrtw+9JtUnjmuSva7X+UXAWUfTdnv03JgRy9psjJHnKlTCYSCFLr jLAuPtEr7kBst8FNJYB7F/zHqaUl+2pEBPxwHvuIfVH2BWUI06O5IHfBNmGvrMoZEW0y MDVDuIYNkDDLxW4geFflBQrtadgQYPOFQrPEm+b4p47nZFP9LMqlPaTryqPJI2YM38UN 73bw== 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:arc-authentication-results; bh=nzgJpl35JNpxkbWJrD0FvFNgSv2ESwxgoyFm00/suos=; b=jR5/BqSgFVHw7tk/CiH4+3CMOsEO49YzkR2x4p1JOepnbRi1xnyAIuv8AkHtpymW+J 1DhD6Asnqjs+LKlqE24CPtpYt+V8mxh/8r7wamGQfWYYG2wKLkrs9BQj8FuQdtc56Xa8 lhVXmXr3QLxPURGBe4cIHlKDGE9SZ/Nz1UZwAIJQ2kve3h11d8CBtLDcoSb7159Htoo7 tA+jNTtm+CfNXsmPh0333lYAgQHQDTj4GQncGkIZaePgQwSjncEGW9BdfFafCWudr1Re I2S5cgiQou5np1K/T2GkGWgfRiaOHC/RaHV1sbjA5+G1zQLrKeMI35RHWnJ+yLZo7VCt L76w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=jMNs6uyR; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (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 u6si1891730pgo.371.2017.12.18.02.21.38; Mon, 18 Dec 2017 02:21:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=jMNs6uyR; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932565AbdLRKVh (ORCPT + 6 others); Mon, 18 Dec 2017 05:21:37 -0500 Received: from mail-pl0-f65.google.com ([209.85.160.65]:44635 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932591AbdLRKVg (ORCPT ); Mon, 18 Dec 2017 05:21:36 -0500 Received: by mail-pl0-f65.google.com with SMTP id n13so4537107plp.11 for ; Mon, 18 Dec 2017 02:21:36 -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=X4bZWMu6AWuYd/meNuzXSuyEKI4XWcrf+uNFFE8P9Vk=; b=jMNs6uyRNudcpfGWjuIKNQVDliNiXMXRU+IPqHNprlX2JQY6hOZLt1fgHKV6lwNxhU 9CJ7Td02nA4lGIUEt2Z3MYXxt3/IdPjpycBJbck01bzwHIU2mG0aW7aostY6muXCQIKF P35wx0RvLAYUorkdytNenrkb8W00c6EY+QEH0= 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=X4bZWMu6AWuYd/meNuzXSuyEKI4XWcrf+uNFFE8P9Vk=; b=fQlGL3x/CUVe3zZP2PyljLpY7PqJYdvI5a2xSTtI1P7yG+tEYwZilhq4YTUmVkIoWb fk7Q5ZFRPj+B/5lxcjgrPjOfa3Lc1UnMuy4MWpmHkkde6AwNaJyepSZE1RxgOhBiTRkt sOvCa/v2oUoUjMHl6E+jTKkbiBZVvoydB+uoGkvuDlJVlG8s/lyp8k/BhGH/81fmJZbE 9NT1qAuD1kDYVv3f+NHac7Ck9PBBBTvhc4yUtLMNY2NZiA6Il647HfEotZIgUfMLYnbV 8wSoSaR21nE5MRCoKwQVsYyvvcs6EOAKSVurCyyxYHiU3YutnBSkIgw5R8mPoK2XgLpe OAfA== X-Gm-Message-State: AKGB3mKt32q9oThcr/2VU0DtbcWobRitiy3DSGzXZyezmU8CM6KEnUU6 8guJNPC4oXzE5ydbvoCj5V/QrA== X-Received: by 10.84.235.11 with SMTP id o11mr21985512plk.5.1513592495764; Mon, 18 Dec 2017 02:21:35 -0800 (PST) Received: from localhost ([122.172.99.7]) by smtp.gmail.com with ESMTPSA id c191sm25185400pfg.24.2017.12.18.02.21.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Dec 2017 02:21:34 -0800 (PST) From: Viresh Kumar To: ulf.hansson@linaro.org, Kevin Hilman , robh+dt@kernel.org, Nishanth Menon , "Rafael J. Wysocki" , Stephen Boyd , Viresh Kumar Cc: Viresh Kumar , linux-pm@vger.kernel.org, Vincent Guittot , rnayak@codeaurora.org, sudeep.holla@arm.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V8 0/3] OPP: Allow OPP table to be used for power-domains Date: Mon, 18 Dec 2017 15:51:27 +0530 Message-Id: X-Mailer: git-send-email 2.15.0.194.g9af6a3dea062 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi, Now that the performance state of PM domains are supported by the kernel (merged in linux-next), I am trying once again to define the bindings which we dropped until the code is merged first. Summary: Power-domains can also have their active states and this patchset enhances the OPP binding to define those. The power domains can use the OPP bindings mostly as is. Though there are some changes required to support special cases: - Allow "operating-points-v2" to contain multiple phandles for power domain providers providing multiple domains. - A new property "required-opp" is added for the devices to specify the minimum required OPP of the master domain or any other type of device. - Allow some of the OPP properties to accept magic values (firmware dependent) as the OS doesn't know the real freq/voltage values. V7->V8: - V7 1/2 divided into two patches. 1/3 is unchanged from V7. - 2/3 renamed the property from "power-domain-opp" to "required-opp", as suggested by Rob. - Added Ulf's reviewed-by for 1/3 and 3/3. -- viresh Viresh Kumar (3): OPP: Allow OPP table to be used for power-domains OPP: Introduce "required-opp" property OPP: Allow "opp-hz" and "opp-microvolt" to contain magic values Documentation/devicetree/bindings/opp/opp.txt | 19 +++++++ .../devicetree/bindings/power/power_domain.txt | 65 ++++++++++++++++++++++ 2 files changed, 84 insertions(+) -- 2.15.0.194.g9af6a3dea062 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Reviewed-by: Rob Herring