From patchwork Mon Nov 9 18:51:51 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Moritz Fischer X-Patchwork-Id: 7586241 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 4853FC05C6 for ; Mon, 9 Nov 2015 18:54:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6FF5F207C9 for ; Mon, 9 Nov 2015 18:54:31 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9FDB3207C8 for ; Mon, 9 Nov 2015 18:54:30 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZvrYZ-0007uZ-2r; Mon, 09 Nov 2015 18:52:43 +0000 Received: from mail-pa0-x22e.google.com ([2607:f8b0:400e:c03::22e]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZvrYX-0007r5-1w for linux-arm-kernel@lists.infradead.org; Mon, 09 Nov 2015 18:52:41 +0000 Received: by pasz6 with SMTP id z6so213461028pas.2 for ; Mon, 09 Nov 2015 10:52:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ettus_com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=pHIQZtYHkq59q1gU4frZr/KY8FW945ovQsaxIqVEGtU=; b=oA+UnJSRUjjMmznJPxw1oex9uJUdcahaQ/J1esVqn/EhNfn3PUq0amZyHbGgzTThue n0XyIrWXdY/Gvkl9pudJO0XnqhHn7FOj/AGSbfzWBmJuT7vN25QmHoVqetSkGNvkepbc 2Q2Vb0i7r/qJGVjXxTnf+dzQ9cR/dUqZGPgmpP7GAKiX+514e5x8NdzpuOTYjWW2H+kX Umn16QU4CalqgyVebEohim9oqaNa20FeV6fHSAtcPoJ3agDVE2d+A0mgVZNWw6TXr9nG nuyt52O9lE8+9TcO78EQcpOAwh1UzJivC5StvDq8T5rlZnODhKfZz5y4hMU7z3t0Gyu3 /rtA== 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; bh=pHIQZtYHkq59q1gU4frZr/KY8FW945ovQsaxIqVEGtU=; b=RFSzVjsciyGaVZ3C8fxxlCBjFo2IWUtA+VIWV58lPCvT4wMP7QBS3EOAPo18vbCWx7 6HUXFPUQ1Q9HAjzur9lue7bqUeEKD3IHpG/ySfn1nn/SzDbo51VPcDZ2oPIGL6hashS/ KZnEb+Vzbug/ZWsbofjMHGnwVE4yVQlX52TdfMaJKZFQUKdpgI6f+wiu/vVlAhcvub9C m+Fe8IETR7n8qpXa2hD4mB8uwEnTnMUrmNmxLB4ltmTBumXLwREYrjWi4AX7nTnqJfjn Mh8lGoIAUdHf59y+HNjHEPYSU8slla6KwCI599xjtou6J4MIWy6/sEIAN+EU2hV+dg3k gZdQ== X-Gm-Message-State: ALoCoQkl7Fd21soHnPHY551003T4oVRbnVk+JUPZew/B6ShbpzpSctjO12wq6ZQvyYxijcx1nBfN X-Received: by 10.66.55.105 with SMTP id r9mr33166303pap.137.1447095139541; Mon, 09 Nov 2015 10:52:19 -0800 (PST) Received: from fenrir.amer.corp.natinst.com (207-114-172-147.static.twtelecom.net. [207.114.172.147]) by smtp.gmail.com with ESMTPSA id bd10sm14125101pbd.29.2015.11.09.10.52.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Nov 2015 10:52:18 -0800 (PST) From: Moritz Fischer To: robh+dt@kernel.org, michal.simek@xilinx.com Subject: [PATCH] ARM: dt: zynq: Add labels to cpu nodes to allow overriding OPPs. Date: Mon, 9 Nov 2015 10:51:51 -0800 Message-Id: <1447095111-22969-1-git-send-email-moritz.fischer@ettus.com> X-Mailer: git-send-email 2.4.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151109_105241_140772_FEB38D50 X-CRM114-Status: GOOD ( 11.13 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, Moritz Fischer , linux@arm.linux.org.uk, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, galak@codeaurora.org, soren.brinkmann@xilinx.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP By adding labels to the cpu nodes in the dtsi, a dts that includes it can change the OPPs by referencing the cpu0 through the label. Signed-off-by: Moritz Fischer Reviewed-by: Sören Brinkmann --- arch/arm/boot/dts/zynq-7000.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/zynq-7000.dtsi b/arch/arm/boot/dts/zynq-7000.dtsi index dc0457e..0093722 100644 --- a/arch/arm/boot/dts/zynq-7000.dtsi +++ b/arch/arm/boot/dts/zynq-7000.dtsi @@ -19,7 +19,7 @@ #address-cells = <1>; #size-cells = <0>; - cpu@0 { + cpu0: cpu@0 { compatible = "arm,cortex-a9"; device_type = "cpu"; reg = <0>; @@ -33,7 +33,7 @@ >; }; - cpu@1 { + cpu1: cpu@1 { compatible = "arm,cortex-a9"; device_type = "cpu"; reg = <1>;