From patchwork Tue Nov 29 06:36:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 84505 Delivered-To: patch@linaro.org Received: by 10.182.1.168 with SMTP id 8csp2108001obn; Mon, 28 Nov 2016 22:37:36 -0800 (PST) X-Received: by 10.99.116.92 with SMTP id e28mr47089480pgn.162.1480401456516; Mon, 28 Nov 2016 22:37:36 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 43si30048455pla.193.2016.11.28.22.37.36; Mon, 28 Nov 2016 22:37:36 -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 S1755762AbcK2GhT (ORCPT + 25 others); Tue, 29 Nov 2016 01:37:19 -0500 Received: from mail-pg0-f54.google.com ([74.125.83.54]:32788 "EHLO mail-pg0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754964AbcK2GhG (ORCPT ); Tue, 29 Nov 2016 01:37:06 -0500 Received: by mail-pg0-f54.google.com with SMTP id 3so66111862pgd.0 for ; Mon, 28 Nov 2016 22:37:05 -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=N2RpCFmNSk7d2qrRkErnmRZDPgLtIpbu2tn4XUQip4PJvx1czN+bZLvM0QMlTtS4XZ z2UC4w3VhHuczeNSxGpkGBgvGtefpUjfN5FFe0mVfwmEmF9CP2I3UnvMrgd6q/YSwmND Y3XGJN5rfHGoyr2i4SSfKCYgDuMvLNPh1mfO8= 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=d5ypCa0V48BRgDqOCNw6MH0P9fLphMA6yOytnfnfAT5eC5SsfqkU1x1gimWeYNvn/r I1a7GOf5fQ1x3o9+7+cw8gzKrtgaBDhbdbxEQ/0BfKQ3P6m+43VcAWNblIDnhXVJnxy4 TW2CJwbQOx+jKkYdEqhLn7/nZE7b0ejP0lDDnNXcQH457XRDYtBQrxqi3SudoFgL9J5P L5XYfLganyBi1c/19qXpGgqkotsgN7WxYs5JS/6uQlJe5BMukEVU+yJ8Q0uBwJ3QDN7P vWMCUqCMr1IVDXuGY29isPplt/d2QhLBuDSdNIONMfEuatMnaojnn6YjPuvveaeGRJXf 11zQ== X-Gm-Message-State: AKaTC03v4AK5AsYSCl9+Ee2lcN19H+EaxyGcAMGgXgMfS7Zyh8PJ+EfvcO5NIloN8ZpDOTEe X-Received: by 10.99.146.76 with SMTP id s12mr47032074pgn.8.1480401425170; Mon, 28 Nov 2016 22:37:05 -0800 (PST) Received: from localhost ([122.172.89.192]) by smtp.gmail.com with ESMTPSA id y66sm74009513pgb.21.2016.11.28.22.37.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Nov 2016 22:37:04 -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 V5 01/10] PM / OPP: Fix incorrect cpu-supply property in binding Date: Tue, 29 Nov 2016 12:06:48 +0530 Message-Id: <1fc0adf6c3d353f776c0c2eb157b6a4167cac9ea.1480401041.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>; }; };