Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp734954ybm; Tue, 21 May 2019 02:38:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqygrFIYpvGW8qj8uBYGd2SJfhFS3audOc6r1L43ClrfKvQeN44eZYKqbsvHl4jnZewFCpgn X-Received: by 2002:a63:27c3:: with SMTP id n186mr77191703pgn.189.1558431486793; Tue, 21 May 2019 02:38:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558431486; cv=none; d=google.com; s=arc-20160816; b=XjGV6/VR11icMS6zFN0OMn21FKT9eIHqGBPKtJ6EV3ZLS4H79lYH4Ne8bZ8Qiutv/w TUjtrpVfHbnQ2UWp8xsIxyGerqQhETzleyPpfxH++AcXbt0QniJIa2mejjsiEbxB/ylJ yoMGUPhFpL6c2pv1zCFEFBzxy/5oTgi8eIuKNoiTFvqdFcBp+PINhIkbWhHrt/tpWy0P n6IPZtOhjH31bk9rwFqBsBkRDe+CxiKzpa/UGqFaDwxqj70HaGtLRPnA139ivAbt5CUj PsuJkeSjfhH0ZdMxbUirssFsSI9y38oaZkZR6gA6WUomFDotD3hQEtksRmdVAh7lnenw VzPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=FnxOSFCClFXBL/MQEoj2x4esQGTm7evFd77Wm/m1NK4=; b=bbB3OYS9K0ZiYG/TTgf0Gdfolz90rOMO3Yxq1eYpUms6/8aF02ziXfcquQLw019M4r RplYq1snHx7ZUZcks8FSmpzM6ybTHLskQ0Fi/u9K0WwWcRy6mDk1KJFgMcQ4xbFafU8J cjoLe0E4fVW2q/m5McHlG+ekHdpXkrZqGqzrxD+rZq++CoTpWx2UteTe0+eVCH754vIO 27ka1vIUtGyb8Xo0OH40ImypsNMmXcjteLA+fgGZKBw3iTxnoIi8qZqKxXMmAIUUVVJB G6f2YANKiIzxMF+P9tm8T8yU1o4B9gKvCaPeyuZ4rl7qEWwOxaeN5y1urERr3IfSK7ZS Y4zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FFvJMEer; 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 59si20813037plp.139.2019.05.21.02.37.51; Tue, 21 May 2019 02:38:06 -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=FFvJMEer; 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 S1727591AbfEUJff (ORCPT + 99 others); Tue, 21 May 2019 05:35:35 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:42475 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727571AbfEUJfc (ORCPT ); Tue, 21 May 2019 05:35:32 -0400 Received: by mail-pf1-f196.google.com with SMTP id 13so8768530pfw.9 for ; Tue, 21 May 2019 02:35:32 -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:in-reply-to:references :in-reply-to:references; bh=FnxOSFCClFXBL/MQEoj2x4esQGTm7evFd77Wm/m1NK4=; b=FFvJMEerPN6RTzJ+NEOY16l+7iMM0ppRraH6BWkcq2lCBKg0mIogK7V9VC0mYcnoFC lpcwM2Gk+YfdcAdRsD1nkSSdLsZUylUpeLVeBwh0oBruUCaG9/tx8N6CnMySTJwPQVOp 4Zcw1MxuGUvdcMaMWCGCeZXje44wam6ITlpgXVwK6Dc87G6IaG/nRabVCKTEJLTppkUO i3lgHNB01l3pm9EN1IpqlE91qR/FgJv4Ca/zhN6x8+WEkKKyLjd2ZBLFT4BAeggnr2C9 7U7qr/o1nxk0MfPBf5UVzNw3gO95qTis3Vw3EEfBCyjpdLtzvF/AH8mrQuUsFr4CIwaK Q+Zg== 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:in-reply-to :references:in-reply-to:references; bh=FnxOSFCClFXBL/MQEoj2x4esQGTm7evFd77Wm/m1NK4=; b=I6w3hVZqSrRP6yZPHAzUfvX/KCQt8npzlEFbCTLSGClloozrrODN2SsL2RDpPKi9kS WvdHsM4neV0gc/2lbOeI9pr/grNp+C+kvBQdyewftNhiOh/CjBijrTb+Vfuinq9Rg9EQ wGgbIe2OHVMPzH9ITsmJ2njCMcwO9YrPzK2/I1JOeOYixJ0ND2Y+/K9eZJyg2WSoDCZP Bv4tQL7OgFgXcyD1GPztcUEUmgR6z0CDlfkE/RenrBLR9sNs/9erb7PgvzaL6ZhXICIw vpUfjcB8QLOmrGy8iRaEHq1L9xQFFD35UZVmNrW0bniLBbFbhQLLX/GQt2ilQHaj0i/G fY+g== X-Gm-Message-State: APjAAAUGqVZPoZUtz0/WGfnjSrYEVDi84y/PKjNzX95oaCRjROIrDFss fnLqxa392AEox9HYo6K/p6GX57bqz5bHTQ== X-Received: by 2002:a63:1354:: with SMTP id 20mr79407935pgt.356.1558431331764; Tue, 21 May 2019 02:35:31 -0700 (PDT) Received: from localhost ([49.248.189.249]) by smtp.gmail.com with ESMTPSA id l21sm28759496pff.40.2019.05.21.02.35.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 21 May 2019 02:35:31 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, agross@kernel.org, niklas.cassel@linaro.org, marc.w.gonzalez@free.fr, sibis@codeaurora.org, daniel.lezcano@linaro.org, Andy Gross , David Brown , Li Yang , Shawn Guo Cc: devicetree@vger.kernel.org Subject: [PATCH v2 2/9] Documentation: arm: Link idle-states binding to "enable-method" property Date: Tue, 21 May 2019 15:05:12 +0530 Message-Id: <9dc4ce06143de48039e841c337fafa7cb9c8d7d2.1558430617.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.17.1 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 "enable-method" property for cpu nodes needs to be "psci" for CPU idle management to be setup correctly. Add a note to the binding documentation to this effect to make it obvious. Signed-off-by: Amit Kucheria Acked-by: Sudeep Holla --- .../devicetree/bindings/arm/idle-states.txt | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/idle-states.txt b/Documentation/devicetree/bindings/arm/idle-states.txt index 45730ba60af5..3bdbe675b9e6 100644 --- a/Documentation/devicetree/bindings/arm/idle-states.txt +++ b/Documentation/devicetree/bindings/arm/idle-states.txt @@ -241,9 +241,13 @@ processor idle states, defined as device tree nodes, are listed. - "psci" # On ARM 32-bit systems this property is optional -The nodes describing the idle states (state) can only be defined within the -idle-states node, any other configuration is considered invalid and therefore -must be ignored. +This assumes that the "enable-method" property is set to "psci" in the cpu +node[6] that is responsible for setting up CPU idle management in the OS +implementation. + +The nodes describing the idle states (state) can only be defined +within the idle-states node, any other configuration is considered invalid +and therefore must be ignored. =========================================== 4 - state node @@ -697,3 +701,6 @@ cpus { [5] Devicetree Specification https://www.devicetree.org/specifications/ + +[6] ARM Linux Kernel documentation - Booting AArch64 Linux + Documentation/arm64/booting.txt -- 2.17.1