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: 135124 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3896513lji; Mon, 7 May 2018 20:35:01 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoCn4g3Sh37+eGqOLsg4RvOLKFrS6831uiWxCVzHL7lBrRh3OBvSXfdqyCFJPRNw1p17jMs X-Received: by 2002:a17:902:2f43:: with SMTP id s61-v6mr38944622plb.99.1525750501544; Mon, 07 May 2018 20:35:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525750501; cv=none; d=google.com; s=arc-20160816; b=VbMk+Npv9dDi042Gk2nv9JcUPR0if/dcFiM3h2nLA+M3rcRHJwx5R5/vZxEYZrZ27c fmzEnsT4hCnoXaZ9TS+rvBDPRF4TddhODv77HmujV2MyZUHqa9/X1dJUgZELQLf3yOIC 495AyUTLHJvr5BmWu21DQgxKABQ9e+GpkXCGxgjtgGgL5diGP+1ebivmzqPWywbb2v0c +aFxGOFYIiniqTg2EG7FdG0L3wCMTCX769f6JchaBJ3E3Ic3nVf2GCrhrNPL9PNjISSh U+SXz3EfAyo9CQKiyiC1tOvdZoZzSjWQj5kWPL4929tbsrOnzmuhAU+NW1KCNmGJaTLJ NpVw== 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:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=V4YIy0ePp1QojoGsjTjilYI3XNG7n6zmmelcqlWEsEs=; b=tSn0ijUv5y+B+sdMwPTnJ1UWBr6kgyKgXeC33GMABelHe7ZUm8kLZboSR+J8OjFjuB A5tKGvn42PI94EBSUjwx7l7QVK9idCF0o5jabsKX0wgmPtXFs++szR7h/6AL2OB69zDJ 9WlhSkgZVQk82DY/lN4iO7vuiDfDrw8jzWbObybl6fzP+QLeZFlPNTMLTY6ERCoxX56z MMg8Yxk9n0iFGB9TH1JOpeqJOIHSM3MnezpPZPdWovFniE4uK15sbqABJeZuYbKCOYKE zyXSds2gNVplUkLuGOh9AYdcSbopEFzkOgKPoBQPpy9gSA6/ZKSomL6+mYo/gYYKzEbU f5Vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=cKDPlrfl; 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 e8-v6si18317850pgt.185.2018.05.07.20.35.01; Mon, 07 May 2018 20:35:01 -0700 (PDT) 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=cKDPlrfl; 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 S1754024AbeEHDfA (ORCPT + 6 others); Mon, 7 May 2018 23:35:00 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:37845 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753846AbeEHDe7 (ORCPT ); Mon, 7 May 2018 23:34:59 -0400 Received: by mail-pl0-f66.google.com with SMTP id f7-v6so1366039plr.4 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=URX9j2W9Qjyz87Z1dt1j1AYjRZbWzjSn2Thz/iOt8Log7aH7t6dM9oBDzqrwNdSFb7 /a2ZjkGrG9Ks40fj8C/l+Dwtq9z23fLQZQdtobpZhUDpZnsdsKIcf8HqurdiurtkSwMq ZHnK2smrtqVFhjI1vMdto4JFpCZnDOqYz51xhjcMDs4/QrwMSVB6NMbSKoiCX0B7fHjd NOPkyKyu+sb67jIiSOvJ7Tf9YLv6SMXfnJhuLXZ60QbqQn3/JjFZ3Sui24pPEQL36+m/ iRkwkG6MV99w5Kz8RPOvKjvdPaQ36IId6NTe3TMs/Pb8/2Q2H8I2Ow6n6aWlaK4/utaC luwQ== X-Gm-Message-State: ALQs6tBMDFQG3d/zR5c3R1bQ5gbKA5araOjii80Osfk7BUsEhzS04TVF OnG3UUGXpiB9RTNHZFTAJFU59A== 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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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. Signed-off-by: Viresh Kumar Reviewed-by: Ulf Hansson --- Resending to get Ack from Rob. Documentation/devicetree/bindings/opp/opp.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 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 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.