From patchwork Fri May 10 11:29:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 163857 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:142:0:0:0:0 with SMTP id j2csp2233954ilr; Fri, 10 May 2019 04:30:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqwbQktnl9kQ1VD0+7FCcB/6uWvGCsaSV+B0fABGVgWOXi2mQ0GVsCapopHHgLsIPUoMSgj6 X-Received: by 2002:a63:6a41:: with SMTP id f62mr12781063pgc.392.1557487802879; Fri, 10 May 2019 04:30:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557487802; cv=none; d=google.com; s=arc-20160816; b=tdEnnGam5XKmT7p2tq7vOrR3iq1dkLjLhGLwOH8avqSr/UW+LnJnVvUO2se4P6x6Y0 /zncg/VyIFFtwRU9ARBej6lnps+sbxCToZoHJQSbRdvhdvucA7sWWiXXWFSugXY23RAt rbjL5hwwZcXTcKkAzidJ8tzi1qhXRb5LHiccMROAYmhjHz7pGfI4haJJLQEwfak+m3Uu 9C0iMlWVbgHSfpBXTakFNWrTF3SOu6fP4YcTtX5JMJbe/GUMeNzU337D5d7ft60nWMjz NEwZc1DaFRrXSDU3aO6V6HcLAY5THoXVuJJ86ZK5RsiLKayoNfTPTapb6n4abA7e28+R MlxQ== 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=Nowmg4pM+Rb20HCwqnrJE3ir4gOjFPzAF5fVDd2jYag=; b=MSIN8/yWn8B2ZHqIP4kgh6SLUSn5zJGXR3bsI0rG4nCkv48GzBELYjdpHGssMA+fu6 z7o4t4dOXsLVbgKMq6bJUJOzO8xF+HEaKZUlH30mEC3Q9ILXgWNLF9XKS1xBpS61sb9c Cgeroofu9ged5iFW6kLz++2rppdLfhdJ2c8Eo+pBXQvlpYyhEKL3T3RFzSEpgVdTS1T5 NE1WKsX5zH6c+/qIUOFNdwfcNMXBr9p157/hmbn/gb3N3PMw3K9uq0E6WabtH2tFk8H4 B+TvQnhrZcK5+DZEo/Zzn3ZVu14MWsAOipxiWZwIIPA+YhSCzFLlg1/g/jl7M8Gy9Cf3 Mx0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DaU0WMI+; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 p3si6859804plo.170.2019.05.10.04.30.02; Fri, 10 May 2019 04:30:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=DaU0WMI+; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1727346AbfEJLaC (ORCPT + 15 others); Fri, 10 May 2019 07:30:02 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:46261 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727340AbfEJLaB (ORCPT ); Fri, 10 May 2019 07:30:01 -0400 Received: by mail-pg1-f195.google.com with SMTP id t187so2879986pgb.13 for ; Fri, 10 May 2019 04:30:01 -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=Nowmg4pM+Rb20HCwqnrJE3ir4gOjFPzAF5fVDd2jYag=; b=DaU0WMI+essN/z0vje9uyYZ/QVRI5R7wBylNonZJ7l9TcmbGVfnnheCNpFi2rdH/fw mm6qF57JD4HFRZHe2mvxcPLnNjjZV2R4QENKZsyWst8gEEkfrIQPduttU4QnYPPQbio1 y+Sm36/ksNcO6SplI1eUVlQuOG6OxE0lbRjzyL0VOj/S2+ifDUG96gEiHno20zUl+1c7 qJzgJBWxT46RYiIyccb1qMZ6O0njE6CU/0Mg1N4AMlVJDP0Yve2guyuTSTh2FjVxt1na 7MEx5uYwviLZCAey4uRmV3Fnc8hV3+jhM3Eq4LS+mryeP8WRwFR0SBhK9idMQNXTK+AG HePA== 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=Nowmg4pM+Rb20HCwqnrJE3ir4gOjFPzAF5fVDd2jYag=; b=haoBes9GZhYyqaTi4wx8CHQ9GWXdGI6czj5LIj3Bzn6EZFmdkq4TZcmIAMHF1VfMoh QIoQhdIDcijnVAghBw+jAt+5yB7tjExQzDsvgo3MhNM9AjfWh/AWMdki0eS20vxeJLjO KazemMoEjPuzH3r6ANH4y7hq/Zj3Rb6VsOt6UvIjVofd2sfVIxLLv0h2qDxzRSszphoP dMjmzmwiB0s1bsjDnbQoasW0yixlN3JKPypWp37dL4/ek4kIX9u3fwYTZOjiNgcHErOA IM6ms1t4+AWXcND0yrQ5nsGyGfBnqs5diBUsaL+QMlFCuYTe5YASJ57bMswbWoXqhpq3 0jkg== X-Gm-Message-State: APjAAAUN5rAbiAE9Mj8W+yLG5SWkG14Eqn4QG4rtvZT09ufnQoTT5B1R M8UWnoYGYPcQQvnBWvL5xu3QUH0Oe0M= X-Received: by 2002:a62:87c6:: with SMTP id i189mr13483917pfe.65.1557487800962; Fri, 10 May 2019 04:30:00 -0700 (PDT) Received: from localhost ([103.8.150.7]) by smtp.gmail.com with ESMTPSA id 9sm5583081pgv.5.2019.05.10.04.29.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 May 2019 04:30:00 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, andy.gross@linaro.org, David Brown , Li Yang , Shawn Guo Cc: Sudeep Holla , devicetree@vger.kernel.org Subject: [PATCHv1 2/8] Documentation: arm: Link idle-states binding to code Date: Fri, 10 May 2019 16:59:40 +0530 Message-Id: <5f25e2b3096fa73f205e1797e355e049ed9f8c9c.1557486950.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The enable-method needs to be psci for the psci_cpuidle_ops to be correctly registered. Add a note to the binding documentation on where to find the declaration of the enable-method since it is a macro and escapes any attempts to grep for it. Cc: Sudeep Holla Signed-off-by: Amit Kucheria --- Documentation/devicetree/bindings/arm/idle-states.txt | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.17.1 diff --git a/Documentation/devicetree/bindings/arm/idle-states.txt b/Documentation/devicetree/bindings/arm/idle-states.txt index 45730ba60af5..3a42335a6f3d 100644 --- a/Documentation/devicetree/bindings/arm/idle-states.txt +++ b/Documentation/devicetree/bindings/arm/idle-states.txt @@ -239,6 +239,10 @@ processor idle states, defined as device tree nodes, are listed. # On ARM v8 64-bit this property is required and must be: - "psci" + (This assumes that the enable-method is "psci" + in the cpu node[6] that then uses the + CPUIDLE_METHOD_OF_DECLARE macro to setup the + psci_cpuidle_ops callbacks) # On ARM 32-bit systems this property is optional The nodes describing the idle states (state) can only be defined within the @@ -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