Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1377169imm; Thu, 23 Aug 2018 01:56:08 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyxmjV2S7jBUNhUxKWcj9Ap4pwHM7bXyYnak8uLrrnmLj3IumzAjap8RogLRR5asMn6AuK/ X-Received: by 2002:a17:902:8a90:: with SMTP id p16-v6mr57553533plo.106.1535014568604; Thu, 23 Aug 2018 01:56:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535014568; cv=none; d=google.com; s=arc-20160816; b=Lp3aYkoLrXu1NKHshdzpt+zsZo+JvW2du2ptLVWz4jXUN+Y3+ynUZ6Z/bj7w93PG8X 2ARdySw4FC7yTy39guzs0pPCRDwwfXQrhy+JoFYb1hVuIDwSC+qQg2drAxAIkKD+xAoI LXv9T20qBf7sr/zvfvUnUU+UGNQBlmRdoWq43E25y/u5ijwiorKJT9Q3m5lcbhNbczYC t0sFbxfkR7AhlBq+aU4FwBddRtgDUFrv2Yli0iVaJrd2a6dSQmlmPaU87gixLmZF2M6K h2UHHBCE7KZxCrZ2NR3/lWhU9ixCl/jnCzIdJW0Qsxd3h2VTHNzl1uEPCBicuXOosROb FBDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=JcIlW3cpxGsURQTBg2vdL3XElbzAB6H7Y+Oqb/egFe0=; b=QpgyJPjv5vgO6maKQG4ASi0UnF/eCTg0t6b+sKnGvVAdbRKqiNNcdYPix5Mf+aX3iT z4CNI5vE/vGgB5r4amwqcrH6e6e3pe4R6LwuTqT2ps3Zlq+5jk1xF6H91/KVla3xiCdv DrGOfI/f/uFfSye0YDNt7UM4/EJqW6UzBaWoC6zaaotnzpt0m9B5qCVeP+XLSsF5eaao 3G0MjYkibUJ6Ls1XhndD2ZDCPRNHZsabXKNJImgKBJzQYd0MKBFm32XZqxtF8Q6fJ5ha LjEdLtWM5wU8B3lqTUQtDqCZctPMo+psG3B7UIQsdHkjGrf04583GAkMUE0vW9HN/vOw ftXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cx8M9jwr; 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 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 z4-v6si3541799pgp.580.2018.08.23.01.55.53; Thu, 23 Aug 2018 01:56:08 -0700 (PDT) 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 header.s=google header.b=cx8M9jwr; 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 sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388151AbeHWMW0 (ORCPT + 99 others); Thu, 23 Aug 2018 08:22:26 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:37110 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387539AbeHWMWZ (ORCPT ); Thu, 23 Aug 2018 08:22:25 -0400 Received: by mail-wm0-f65.google.com with SMTP id n11-v6so4917492wmc.2 for ; Thu, 23 Aug 2018 01:53:44 -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; bh=JcIlW3cpxGsURQTBg2vdL3XElbzAB6H7Y+Oqb/egFe0=; b=cx8M9jwrYIp2ToxsGS3lU/tdO1on91kl09mkTBG3SiVjEZKKC1HTy8NgkKhv8ctj8W yNVkcW2QTDxYVmhJy6iI5tWvgHRXNpuizQoqeaprDGT84u2cvvDh/6Xrx734sPM03VR8 Ms7YGevqe62nJszrW/d4AKyq7wg1vbbwFiycE= 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; bh=JcIlW3cpxGsURQTBg2vdL3XElbzAB6H7Y+Oqb/egFe0=; b=VZZlP4NThEHg4oHBfN3OeBsRfxHh6FxFHQIVcFDYTqAf/Zvt1WM2dTonQQ4LUA7cHe qgRBSAQl+A8M2EijmiTTD4RfVozHkxROdAZeYNxZBP3UvRzRPBk/wyecPy5GyNkj79/A SvcoRFfXt63/LyuftBWhdK194/FffsTlRAfvQNFnmLi5CZ9b09NLjxOwelH6GcPERvZk pLEoDUuhlKrEzc5VN00eiTi0xu41qJvJV4XazCVaA9STI1uOmLj9afkQPlV/O3b5DHUb P7NtG7tTDyroCuIJAgPNamJhmIPIQj7E5klJ5ag4YGa1v7StWs29PuRh/f7XCwtdyOyF FzTQ== X-Gm-Message-State: APzg51BpfRqXZrfgPVCt93f62nqOUOFieC7bP1Zx1vNaVIYovW5d5eQb n+x87Jp/wsxHOykrmHX4x9YRmsfcSck= X-Received: by 2002:a1c:8893:: with SMTP id k141-v6mr4665366wmd.36.1535014423597; Thu, 23 Aug 2018 01:53:43 -0700 (PDT) Received: from localhost ([49.248.176.232]) by smtp.gmail.com with ESMTPSA id l130-v6sm3411161wmd.16.2018.08.23.01.53.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 23 Aug 2018 01:53:42 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org Cc: lorenzo.pieralisi@arm.com, robh+dt@kernel.org, Mark Rutland , Liviu Dudau , Sudeep Holla , Catalin Marinas , Will Deacon , Matthias Brugger , Orson Zhai , Baolin Wang , Chunyan Zhang , Michal Simek , Shawn Guo , Hou Zhiqiang , Minghuan Lian , Yuantian Tang , Ran Wang , Fabio Estevam , Yuan Yao , Sumit Garg , Marc Zyngier , Madalin Bucur , Thomas Gleixner , Li Yang , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH] arm64: dts: Fix various entry-method properties to reflect documentation Date: Thu, 23 Aug 2018 14:23:29 +0530 Message-Id: <113f28acbc55f64762c9f0bcefe076a811f2ed82.1535014078.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The idle-states binding documentation[1] mentions that the 'entry-method' property is required on 64-bit platforms and must be set to "psci". commit a13f18f59d26 ("Documentation: arm: Fix typo in the idle-states bindings examples") attempted to fix this earlier but clearly more is needed. Fix the cpu-capacity.txt documentation that uses the incorrect value so we don't get copy-paste errors like these. Clarify the language in idle-states.txt by removing the reference to the psci bindings that might be causing this confusion. Finally, fix devicetrees of various boards to reflect current documentation. [1] Documentation/devicetree/bindings/arm/idle-states.txt (see idle-states node) Signed-off-by: Amit Kucheria --- Documentation/devicetree/bindings/arm/cpu-capacity.txt | 2 +- Documentation/devicetree/bindings/arm/idle-states.txt | 4 ++-- arch/arm64/boot/dts/arm/juno-r1.dts | 2 +- arch/arm64/boot/dts/arm/juno-r2.dts | 2 +- arch/arm64/boot/dts/arm/juno.dts | 2 +- arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 2 +- arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 2 +- arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 2 +- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 2 +- arch/arm64/boot/dts/sprd/sc9860.dtsi | 2 +- arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 2 +- 11 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/cpu-capacity.txt b/Documentation/devicetree/bindings/arm/cpu-capacity.txt index 7809fbe0cdb7..9b5685a1d15d 100644 --- a/Documentation/devicetree/bindings/arm/cpu-capacity.txt +++ b/Documentation/devicetree/bindings/arm/cpu-capacity.txt @@ -94,7 +94,7 @@ cpus { }; idle-states { - entry-method = "arm,psci"; + entry-method = "psci"; CPU_SLEEP_0: cpu-sleep-0 { compatible = "arm,idle-state"; diff --git a/Documentation/devicetree/bindings/arm/idle-states.txt b/Documentation/devicetree/bindings/arm/idle-states.txt index 7a591333f2b1..2c73847499ab 100644 --- a/Documentation/devicetree/bindings/arm/idle-states.txt +++ b/Documentation/devicetree/bindings/arm/idle-states.txt @@ -237,8 +237,8 @@ processor idle states, defined as device tree nodes, are listed. Value type: Usage and definition depend on ARM architecture version. # On ARM v8 64-bit this property is required and must - be one of: - - "psci" (see bindings in [2]) + be: + - "psci" # On ARM 32-bit systems this property is optional The nodes describing the idle states (state) can only be defined within the diff --git a/arch/arm64/boot/dts/arm/juno-r1.dts b/arch/arm64/boot/dts/arm/juno-r1.dts index 2c5db03f226c..b2b7ced633cf 100644 --- a/arch/arm64/boot/dts/arm/juno-r1.dts +++ b/arch/arm64/boot/dts/arm/juno-r1.dts @@ -63,7 +63,7 @@ }; idle-states { - entry-method = "arm,psci"; + entry-method = "psci"; CPU_SLEEP_0: cpu-sleep-0 { compatible = "arm,idle-state"; diff --git a/arch/arm64/boot/dts/arm/juno-r2.dts b/arch/arm64/boot/dts/arm/juno-r2.dts index c51950f4a1b6..ab77adb4f3c2 100644 --- a/arch/arm64/boot/dts/arm/juno-r2.dts +++ b/arch/arm64/boot/dts/arm/juno-r2.dts @@ -63,7 +63,7 @@ }; idle-states { - entry-method = "arm,psci"; + entry-method = "psci"; CPU_SLEEP_0: cpu-sleep-0 { compatible = "arm,idle-state"; diff --git a/arch/arm64/boot/dts/arm/juno.dts b/arch/arm64/boot/dts/arm/juno.dts index 2b2bf39c30ef..1fb5c5a0f32e 100644 --- a/arch/arm64/boot/dts/arm/juno.dts +++ b/arch/arm64/boot/dts/arm/juno.dts @@ -62,7 +62,7 @@ }; idle-states { - entry-method = "arm,psci"; + entry-method = "psci"; CPU_SLEEP_0: cpu-sleep-0 { compatible = "arm,idle-state"; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi index 205f0f4c5df0..3a2784117139 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi @@ -79,7 +79,7 @@ * PSCI node is not added default, U-boot will add missing * parts if it determines to use PSCI. */ - entry-method = "arm,psci"; + entry-method = "psci"; CPU_PH20: cpu-ph20 { compatible = "arm,idle-state"; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi index 1109f22bda5e..e238b86e95fb 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi @@ -121,7 +121,7 @@ * PSCI node is not added default, U-boot will add missing * parts if it determines to use PSCI. */ - entry-method = "arm,psci"; + entry-method = "psci"; CPU_PH20: cpu-ph20 { compatible = "arm,idle-state"; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi index 136ebfa9b333..1b200f7be0ba 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -117,7 +117,7 @@ * PSCI node is not added default, U-boot will add missing * parts if it determines to use PSCI. */ - entry-method = "arm,psci"; + entry-method = "psci"; CPU_PH20: cpu-ph20 { compatible = "arm,idle-state"; diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi index 6d8532af8346..75cc0f7cc088 100644 --- a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi @@ -119,7 +119,7 @@ }; idle-states { - entry-method = "arm,psci"; + entry-method = "psci"; CPU_SLEEP_0: cpu-sleep-0 { compatible = "arm,idle-state"; diff --git a/arch/arm64/boot/dts/sprd/sc9860.dtsi b/arch/arm64/boot/dts/sprd/sc9860.dtsi index 3f5160d2f130..48f5928ed45c 100644 --- a/arch/arm64/boot/dts/sprd/sc9860.dtsi +++ b/arch/arm64/boot/dts/sprd/sc9860.dtsi @@ -114,7 +114,7 @@ }; idle-states{ - entry-method = "arm,psci"; + entry-method = "psci"; CORE_PD: core_pd { compatible = "arm,idle-state"; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index a091e6f03014..29ce23422acf 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -58,7 +58,7 @@ }; idle-states { - entry-method = "arm,psci"; + entry-method = "psci"; CPU_SLEEP_0: cpu-sleep-0 { compatible = "arm,idle-state"; -- 2.17.1