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: 10331139 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5F5646020F for ; Mon, 9 Apr 2018 11:44:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 52DCC28B1A for ; Mon, 9 Apr 2018 11:44:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4702428B1D; Mon, 9 Apr 2018 11:44:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D13D328B1A for ; Mon, 9 Apr 2018 11:44:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751643AbeDILoR (ORCPT ); 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-Google-Smtp-Source: AIpwx4+lQxSCf5uOyibbPwfPXm2p3/kG6fAUXjvPvbKXRYSbUmp48OW2WmmmbIEadlMnCuwjI4AdXQ== 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 X-Virus-Scanned: ClamAV using ClamSMTP 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 Reviewed-by: Ulf Hansson --- Documentation/devicetree/bindings/opp/opp.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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.