From patchwork Thu Nov 24 11:36:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 83869 Delivered-To: patch@linaro.org Received: by 10.182.1.168 with SMTP id 8csp104304obn; Thu, 24 Nov 2016 03:36:52 -0800 (PST) X-Received: by 10.99.230.83 with SMTP id p19mr3399878pgj.138.1479987412117; Thu, 24 Nov 2016 03:36:52 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d30si10419457plj.185.2016.11.24.03.36.51; Thu, 24 Nov 2016 03:36:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965490AbcKXLge (ORCPT + 25 others); Thu, 24 Nov 2016 06:36:34 -0500 Received: from mail-pg0-f52.google.com ([74.125.83.52]:34953 "EHLO mail-pg0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965418AbcKXLgb (ORCPT ); Thu, 24 Nov 2016 06:36:31 -0500 Received: by mail-pg0-f52.google.com with SMTP id p66so17960165pga.2 for ; Thu, 24 Nov 2016 03:36:31 -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:in-reply-to:references :in-reply-to:references; bh=/MbMyDx+dh2drgIJoBuCuR1mvAIiudW9qvY0d6p/mG0=; b=f9SYd7j9jd7+DyxYQF7+NKRkPmtqcMRNyc05TZ1+hW1P4vdk92bub628kTGdg1j9Nx +RAXSgdqDLWfQqo+cMt0EPl0i6OsMiE6Nxp7EWpjH8jW3RdX+sOPG0g/RMI6UcaEyLW2 UPwBV9wBIUtNNREAGqbUcEbEfisf9Jtuczvfs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=/MbMyDx+dh2drgIJoBuCuR1mvAIiudW9qvY0d6p/mG0=; b=O224XQ4D8qgq9kQudc+4l//pwAlW+E/I9QiwKAgpPKSpvaFlq0dXbdlAEunxagysPO 6O11wYhl+RJCJ6O4coPBJ23iAjo3P0w6DJSktnb6v6kWL0vn8hKQeTUPjXFTw6z6L5RD O/PCqz/zO3tJtPHAJoLwfex70HFkthdBZcn1dSqrq694veGzhzDgR1OtQgLyL+hs+r18 vsyJqC3zD8nUWUJcF/PwHJ10C/1YRQGhVFTwacW5d6jxIi6rM9k6/NatXHHTJd7KqUV+ 3D6ZIZb9J917TQwOkk8lzCJIYfRAZcOs91zKSmIWkGHxR8qN26yz8h4pQyt0vJw6rIBA OHcg== X-Gm-Message-State: AKaTC00L2FqMq3sAvPyfSJQDGrfLOuKIGbmKwh37Gx5Tj+QtbqUNCaoe/juq+mMB6kPqlT4S X-Received: by 10.98.52.71 with SMTP id b68mr1899930pfa.18.1479987390987; Thu, 24 Nov 2016 03:36:30 -0800 (PST) Received: from localhost ([122.172.89.192]) by smtp.gmail.com with ESMTPSA id y6sm41896562pge.27.2016.11.24.03.36.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Nov 2016 03:36:30 -0800 (PST) From: Viresh Kumar To: Rafael Wysocki , nm@ti.com, sboyd@codeaurora.org, Viresh Kumar Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Vincent Guittot , robh@kernel.org, d-gerlach@ti.com, broonie@kernel.org, devicetree@vger.kernel.org, Viresh Kumar Subject: [PATCH V4 01/10] PM / OPP: Fix incorrect cpu-supply property in binding Date: Thu, 24 Nov 2016 17:06:10 +0530 Message-Id: <85323242b2d1a1b489283fea8892c915510a2a61.1479986491.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.7.1.410.g6faf27b In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The regulator bindings allow the "-supply" property to define a single parent supply and not a list of parents. Fix the wrong example code present in OPP bindings. While at it also change the compatible string as Rob pointed out earlier that none of A7 implementation have multiple supplies for the CPU core. Signed-off-by: Viresh Kumar Acked-by: Rob Herring Reviewed-by: Stephen Boyd --- Documentation/devicetree/bindings/opp/opp.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- 2.7.1.410.g6faf27b diff --git a/Documentation/devicetree/bindings/opp/opp.txt b/Documentation/devicetree/bindings/opp/opp.txt index ee91cbdd95ee..f0239f68d186 100644 --- a/Documentation/devicetree/bindings/opp/opp.txt +++ b/Documentation/devicetree/bindings/opp/opp.txt @@ -386,10 +386,12 @@ Example 4: Handling multiple regulators / { cpus { cpu@0 { - compatible = "arm,cortex-a7"; + compatible = "vendor,cpu-type"; ... - cpu-supply = <&cpu_supply0>, <&cpu_supply1>, <&cpu_supply2>; + vcc0-supply = <&cpu_supply0>; + vcc1-supply = <&cpu_supply1>; + vcc2-supply = <&cpu_supply2>; operating-points-v2 = <&cpu0_opp_table>; }; };