From patchwork Tue May 8 03:34: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: 10385269 X-Patchwork-Delegate: rjw@sisk.pl 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 5A19B60159 for ; Tue, 8 May 2018 03:35:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 482F428C96 for ; Tue, 8 May 2018 03:35:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 37DE728C98; Tue, 8 May 2018 03:35:02 +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 B404E28C97 for ; Tue, 8 May 2018 03:35:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754054AbeEHDfA (ORCPT ); Mon, 7 May 2018 23:35:00 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:37975 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753954AbeEHDe7 (ORCPT ); Mon, 7 May 2018 23:34:59 -0400 Received: by mail-pl0-f66.google.com with SMTP id c11-v6so1366680plr.5 for ; Mon, 07 May 2018 20:34:59 -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; bh=f0RS3P/sP6w7Q/kcaAjV9NL14HmZzJsRjxbt83Ho8FA=; b=cKDPlrflFPc44SKF1/fS5GozdNBXnSJOa910LXFMgVHhpA+YW5JJafTs55tdmVA/Zd jFMKP6q0aINl4/K6wGU/1cVcy3BvhD6OKwcSkSBTXhvWny0KjUS6vDwR6XpDJ7njyKdn TcPKa9iTZ2wSsZKY4lm4Sk7hCPoFVK83OnRkg= 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; bh=f0RS3P/sP6w7Q/kcaAjV9NL14HmZzJsRjxbt83Ho8FA=; b=fbBRXIuOVxaEQ7S36h8v4/TPYkkR1iqaIVItOuck9LDL3Mcb8IE8ypYy+5ffFHj3kU 0JR2xxz7BlPOSkEtwhBJqnVqEvUyGJ/6LtmbJYpWrth2eEztE5+zcyc6dO3X87PibTF6 Vwb2ul8e1byIAL9Yzew7FZqpoQtCfwQf4ba1BskpkJD/rbDdZ4J0Y5x1eKvEgwFGmJ1D rlMjtwpz7J+2x4xdmvghGKnNvzoIC2V+QeTQKDGuA46iD/tfGA23Q80DspD76O29e39F 0M1HA/XBWBLZ+vxloD0Fijr1o9y7TaxLXZpraYy7hlsmi2MGuxBXRsuvn8vBvVucbCoJ t6nA== X-Gm-Message-State: ALQs6tBT20si7KcKBYjz2tOiGcdxOtC81p9OWzHY106A2X8S2ZaOG9am zj+ib+MYq34b94pRkpH94MWhcg== X-Google-Smtp-Source: AB8JxZov0KWiEJMSA9ZCaFZadYEzTcMmUxU7M/RA9c7DGlA8cUOMw6raZ938f0JcOtKxwromuUu6Yg== X-Received: by 2002:a17:902:1aa:: with SMTP id b39-v6mr40027440plb.120.1525750499355; Mon, 07 May 2018 20:34:59 -0700 (PDT) Received: from localhost ([122.167.163.112]) by smtp.gmail.com with ESMTPSA id p71sm53300544pfl.170.2018.05.07.20.34.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 May 2018 20:34:58 -0700 (PDT) From: Viresh Kumar To: Rafael Wysocki , Viresh Kumar , Nishanth Menon , Stephen Boyd , Rob Herring , Mark Rutland Cc: Viresh Kumar , linux-pm@vger.kernel.org, Vincent Guittot , devicetree@vger.kernel.org, Ulf Hansson Subject: [PATCH V2 resend] PM / OPP: dt-bindings: Make "opp-hz" optional for power domains Date: Tue, 8 May 2018 09:04:42 +0530 Message-Id: <525112ef4e6148d8fc46d92c0554bd516e24952f.1525750390.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.15.0.194.g9af6a3dea062 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. Signed-off-by: Viresh Kumar Reviewed-by: Ulf Hansson Reviewed-by: Rob Herring --- Resending to get Ack from Rob. 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.