From patchwork Wed Nov 30 05:14:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 84945 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp86880qgi; Tue, 29 Nov 2016 21:14:34 -0800 (PST) X-Received: by 10.99.217.81 with SMTP id e17mr56356173pgj.127.1480482874627; Tue, 29 Nov 2016 21:14:34 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z3si62651981pge.291.2016.11.29.21.14.34; Tue, 29 Nov 2016 21:14:34 -0800 (PST) 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; 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 dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751503AbcK3FOc (ORCPT + 7 others); Wed, 30 Nov 2016 00:14:32 -0500 Received: from mail-pf0-f177.google.com ([209.85.192.177]:36777 "EHLO mail-pf0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751404AbcK3FOc (ORCPT ); Wed, 30 Nov 2016 00:14:32 -0500 Received: by mail-pf0-f177.google.com with SMTP id 189so36674298pfz.3 for ; Tue, 29 Nov 2016 21:14: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=ijnHoNTn2XqosmsLeYtHRScEsdNSIos/DtPAxzYNZUiHZMhkBqrbePyvxkibHuB5r/ j3FMmMpJqlNW6fm6YpVBeWVjJ3HiMfzWQrb9eKQ3TMu6r+62axRd3XPhM0dI85XJ7oDx 55FMY4l5Hx/gvqWqK3sHDhuFCtRzo0xo0+4AQ= 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=iqIp1J2a+n0wPWTkPadUjjT/etaKYPYHhsqXSIBVT6e5e/ziBD6rMLLs+AAOIHYPCI VYkkTv+bL2w/0zI0C9jYTkY7zxtF2aDueiw5FMexsY895OLpV0NU9m8QuXIZR0EktRk3 pW6q+31d6eixSX+fCzIyurJ5n9lYz5p++jW2BLJzPKLpZiV49GmOCk2UMo/5Bfo+Cm5H 52Pb4kSXmhgUTgnX3KzoKnH+sHDxnjMhB8Io6halHPX1Gz9+82oIe48L0jVxeta129MX JhCvYcousNAVhwrhj0ZpM3Xb1P9FVtBSHePlDx2T13A+K2E96N68jfJZzzWBDC3dT4L0 TW/A== X-Gm-Message-State: AKaTC03uec7CuJfQ6UKb08DqrOxtUE7nwLbOMI1qUKL8L90Qor9qyTZ4n+ZjIKgq47stvpqd X-Received: by 10.98.206.207 with SMTP id y198mr31605930pfg.70.1480482871149; Tue, 29 Nov 2016 21:14:31 -0800 (PST) Received: from localhost ([122.172.143.30]) by smtp.gmail.com with ESMTPSA id j190sm80699837pgd.23.2016.11.29.21.14.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Nov 2016 21:14:30 -0800 (PST) From: Viresh Kumar To: Rafael Wysocki , Viresh Kumar , Nishanth Menon , Stephen Boyd Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, Vincent Guittot , robh@kernel.org, d-gerlach@ti.com, broonie@kernel.org, devicetree@vger.kernel.org, Viresh Kumar Subject: [PATCH V6 01/10] PM / OPP: Fix incorrect cpu-supply property in binding Date: Wed, 30 Nov 2016 10:44:04 +0530 Message-Id: <8f19cf047b21de8b0e837c9e60e48edbbd76b91d.1480481312.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.7.1.410.g6faf27b In-Reply-To: References: In-Reply-To: References: Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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 -- 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 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>; }; };