Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp483589imm; Fri, 21 Sep 2018 03:36:38 -0700 (PDT) X-Google-Smtp-Source: ANB0VdY6xCBrqdWSMmsip+aPzVGW2ybO/w7yUxlPqA4LjIzCT56+FUAVDevFtb5oS4xgg3tKtwf9 X-Received: by 2002:a17:902:6501:: with SMTP id b1-v6mr44180111plk.31.1537526198904; Fri, 21 Sep 2018 03:36:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537526198; cv=none; d=google.com; s=arc-20160816; b=k3G74KN1JYcEw4KkrRuwaHy4LhH0RYTyOOA9pYQtCqshYFMg5cdG2CLTpXlpC0T1fj W6k4kl9XQySlY8mJXGcueNOARrwiXi2LeKcOZ3xmPq9sdhbBVNcklEODekyorTh+hZfx NO+FsEktFslCgws/GXXzFxaE4U/U+zYV2E84WIq/b2wWOzMJ7CQQoNoViCh/s0LW7f/i LLxA8f1b9vjP/JrkPgnOam8FEKZRX4Oraa2M9MUM2ds+9myj7oV9tDD4g6hiGZAHcVYF uvW0YJVrqoT+Toz/orZ86jYPkwAMvsjTktVqIijhIlG0BUDOz9z58wpkXPCR8rBSdHf/ VqzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=a8IA34wmYB8AEBehNeHKtHVDVpBmHq9BGpyi+/Fop28=; b=vheJm+DLP2k09/6fs9aAUonsWg7M9fyeK6UQhjKbHd2NbtF2vde/g0uBM1pWRO6MVA L4Mps1lDGiuoA2Uo8GcemyF0fw8eF0ECvBbvZpCiSWz7hnD8fpWzLdO6ZTgYwFHicESK 242TtEcUXDBf7/pGD7uTKpiGftRyh3W4kDmqjBLhnv2LPullgeSGoFY6Q8hjVunpJeqM VH8JMPoSnLJ2HNhFsL2dKnQimdWe5sjttHEIMnNqgyXoKPb7mldq1Yu3gv+WrgqaMU+d 1UoY7ieaF+5+qhRQUH0bLGpzs0S/suiOWBXsepa1Bum3H0DPpBzU6/FfUjoo2LhCRn4m u1Fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kapsi.fi header.s=20161220 header.b=1q3QWf8M; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n6-v6si26096258pla.398.2018.09.21.03.36.23; Fri, 21 Sep 2018 03:36:38 -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=fail header.i=@kapsi.fi header.s=20161220 header.b=1q3QWf8M; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389818AbeIUQYa (ORCPT + 99 others); Fri, 21 Sep 2018 12:24:30 -0400 Received: from mail.kapsi.fi ([91.232.154.25]:46429 "EHLO mail.kapsi.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727554AbeIUQYa (ORCPT ); Fri, 21 Sep 2018 12:24:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kapsi.fi; s=20161220; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=a8IA34wmYB8AEBehNeHKtHVDVpBmHq9BGpyi+/Fop28=; b=1q3QWf8MKs0QWp2jHUWFIb6ytk 7AySfeGtJOBAIMeuvcHeAz+a/h/znoZgxoM9cxk+DVPkUxVf3j+xdelWilXca9KUWBD+rE41NKbSQ cbvBJvS4MWFiKqBNF1Pb12WLpECxO94QpcFMR6GQFfj86ME585bwje8yn+WjLOiciqv+f67Ek9C9O 5vE+FJJHybx/rqyasR8Ol8Zs27F/TuPYiUkOC4RQa2vVW7ZwlBCXyWZa1XKs85qBPFvxV0k9pioog 9rlEpirZs1ED7iVOpoKXhssbgIEYeJSU5hgltdKDTQUK/po+kl+gu7QSCOP6WhnUgO09+FkN+z9Xj dP0BiEFQ==; Received: from [39.110.237.146] (helo=[10.19.62.132]) by mail.kapsi.fi with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1g3InC-0005eJ-8a; Fri, 21 Sep 2018 13:36:10 +0300 Subject: Re: [PATCH 3/9] soc/tegra: pmc: Add wake event support To: Thierry Reding , Linus Walleij Cc: Thomas Gleixner , devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org References: <20180921102546.12745-1-thierry.reding@gmail.com> <20180921102546.12745-4-thierry.reding@gmail.com> From: Mikko Perttunen Message-ID: <62b40f71-a731-24d5-14c9-c3bdb4305695@kapsi.fi> Date: Fri, 21 Sep 2018 19:35:59 +0900 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20180921102546.12745-4-thierry.reding@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 39.110.237.146 X-SA-Exim-Mail-From: cyndis@kapsi.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21/09/2018 19.25, Thierry Reding wrote: > ... > + /* route wake to tier 2 (XXX conditionally enable this) */ > + value = readl(pmc->wake + WAKE_AOWAKE_TIER2_CTRL); > + writel(0x1, pmc->wake + WAKE_AOWAKE_TIER2_CTRL); This doesn't seem right Cheers, Mikko