From patchwork Mon Apr 9 11:43:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 133026 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp168138ljb; Mon, 9 Apr 2018 04:44:18 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/L+hnytktMk4hZYldbtxu9njgNpt/B788wOC1nnj+wQXiSc2yCo8JBDZza020bjsajYb2V X-Received: by 2002:a17:902:2805:: with SMTP id e5-v6mr39104738plb.89.1523274258245; Mon, 09 Apr 2018 04:44:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523274258; cv=none; d=google.com; s=arc-20160816; b=BZOo+/8cvBJQubsVEOejxk8SKg2o1fbGgrl+duBGJRZlU9+kLgq7W9IbAM0oHivryB l6C3+UqPwT8eBa2Em+TpgXfa6/EZ69vVROKw1Zqn9410JkgqhswumIpIncUzokLH1+kN 48BK1L6ECTRPqe/8w/aLi9t1OY5G3ATa1CoCadMhPoBCFaEe0vZTL+5Jk2/L3JNEPkkM TkF7Ca2T0e+Uq6pWQMK7AvuK5j+nS8UqYsd0f5cPjxF27XNAwIcU8P4ATtqvK3M2Ihdi fpC6QEZpY5/j1GQ6SrAm5PJWuET1vDsIIExEg8NBYabbKvGxFg9j+KeK+xJ1lIRxINFm oC4Q== 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:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=uyFc6sC0wMsLngV7eBxFxgY3xGLIfpYgTuWQe8f4MZs=; b=wKX8ASoIL2SntcGEZec29eQFJNrfbjAATWXKDnztU00C+WGkomxsmSSKMlkiJwApW6 JNrqzyt3Pr6U4wL+jFY0Sp6iMairfy4j4LixOB4XBzxWilTcOZkvZSJMKKq8FPHdUaWT 6HAjVdwMCTxoyPD9JqS7GmtFmFZfq06Sp1ddTGxUxeedM6klk3naumGUfizAbyygvRiH vK25Wc5OKHM3w0kZ3eHfFo7J/eGQQfQuTIB5Hj+goqoZZ0ExR1dxiESJNdHlczzr6UnR euhnTDgq4TvARPmcUtifj8PgiKGTxaDOQLXB9do7FoadkHuNnTncvOkbi9tQKgHl7ygh S3Ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LgNaA1hJ; 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 j188si105815pgc.584.2018.04.09.04.44.17; Mon, 09 Apr 2018 04:44:18 -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=LgNaA1hJ; 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 S1751643AbeDILoR (ORCPT + 11 others); Mon, 9 Apr 2018 07:44:17 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:45821 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751507AbeDILoQ (ORCPT ); Mon, 9 Apr 2018 07:44:16 -0400 Received: by mail-pf0-f196.google.com with SMTP id l27so5646574pfk.12 for ; Mon, 09 Apr 2018 04:44:16 -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 :in-reply-to:references; bh=uyFc6sC0wMsLngV7eBxFxgY3xGLIfpYgTuWQe8f4MZs=; b=LgNaA1hJ1Cf0aamAds6X3RRkb/tnfuq2uATvxI+gfiPN3U++5amyCwYLO6ktKKIjYU SRV7erJBtlZe7IMtv7w1knuHAGfZPeh4B+5G7CwEN7rlfWlEuucN8z0/PcP1iw72x/ln JcIEHSxlMCxiOaBg0Tj5dkWd0JQVwjByabqbE= 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:in-reply-to:references; bh=uyFc6sC0wMsLngV7eBxFxgY3xGLIfpYgTuWQe8f4MZs=; b=iv788SuYDgZEHowNIdY0dTlOV8OyBvXptPCoGYz5Q78CEgsi5a3kZNed7mKMpD4/4L MzBCu4cJPF7Z4ZCpZzX/B7hMPQ6QhnWsDpddzaS5P8sOT0MHVO4Z0MnqPpAHgg8uZgQx 8GcJXzdcaTnUOo7fMtYdgfr6Se/PqDfoo6OWfGi0QekdIS244/b1Aqf6M2ClyQ6CBP5N c7UzwBvDBXDOy3V2rFmVvWUOPJcAvKyzvrX4JMzl/MNTR8I5Ds5E6TVHAsPhlGBw5x0M 1Zin1ICsOlvUBj3W9NgLs0nt9Fya1oemQZl94iuOjIw3isGdywS2lzqYI4dlRFZE3Ize zMLw== X-Gm-Message-State: AElRT7HyrIrI0AYbCbZ0XITnjiHb1VW5QOfqP0steWOSrdPIxudE8pbI CZiYq8PU5PM6mTGuy6Tmx5E1RTvsqJA= X-Received: by 10.98.87.151 with SMTP id i23mr28886223pfj.175.1523274256239; Mon, 09 Apr 2018 04:44:16 -0700 (PDT) Received: from localhost ([122.171.228.188]) by smtp.gmail.com with ESMTPSA id d8sm596372pgu.60.2018.04.09.04.44.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Apr 2018 04:44:15 -0700 (PDT) From: Viresh Kumar To: Ulf Hansson , Stephen Boyd , Viresh Kumar , Nishanth Menon Cc: Viresh Kumar , Rajendra Nayak , Vincent Guittot , linux-pm@vger.kernel.org, Rob Herring Subject: [PATCH V2 02/11] PM / OPP: dt-bindings: Make "opp-hz" optional for power domains Date: Mon, 9 Apr 2018 17:13:42 +0530 Message-Id: <5c4a3a3fb4bf7320e592aabf582bfb6bdec4ee69.1523273291.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.15.0.194.g9af6a3dea062 In-Reply-To: References: In-Reply-To: References: Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org The "opp-hz" property is not relevant across all the devices that use the OPP tables now. For example, for a power domain a frequency value wouldn't mean anything. Though they must have another property, which may be implementation defined, which uniquely identifies the OPP nodes. Make "opp-hz" optional for such devices. Cc: Rob Herring Signed-off-by: Viresh Kumar --- Documentation/devicetree/bindings/opp/opp.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 2.15.0.194.g9af6a3dea062 Reviewed-by: Ulf Hansson diff --git a/Documentation/devicetree/bindings/opp/opp.txt b/Documentation/devicetree/bindings/opp/opp.txt index 788052d66c9d..c396c4c0af92 100644 --- a/Documentation/devicetree/bindings/opp/opp.txt +++ b/Documentation/devicetree/bindings/opp/opp.txt @@ -82,7 +82,10 @@ This defines voltage-current-frequency combinations along with other related properties. Required properties: -- opp-hz: Frequency in Hz, expressed as a 64-bit big-endian integer. +- opp-hz: Frequency in Hz, expressed as a 64-bit big-endian integer. This is a + required property for all device nodes but devices like power domains. The + power domain nodes must have another (implementation dependent) property which + uniquely identifies the OPP nodes. Optional properties: - opp-microvolt: voltage in micro Volts.