Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp5207466rwb; Mon, 8 Aug 2022 14:19:53 -0700 (PDT) X-Google-Smtp-Source: AA6agR4fxtbQ3e/Orsn2+Md5mDM9wiJgM8Gq+TfW9HF6A44AAi/pqPeSsCHfZlONRERObQNBr+YJ X-Received: by 2002:a17:907:1b25:b0:6da:8206:fc56 with SMTP id mp37-20020a1709071b2500b006da8206fc56mr15222341ejc.81.1659993593738; Mon, 08 Aug 2022 14:19:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659993593; cv=none; d=google.com; s=arc-20160816; b=bP2M7fhbMwdPnqvaQ8yQCamoKxTBo6NrQzhgiKugy40oRdGflrtA+rRiQzj6mUOwUp enyzE1vAYUjq1SIjlOMQPk+dxE0A/OW5yiG/p2pvprxxtOzS2pySIuJVUX6nt7qPBiJ9 cht92ye8l+/m26TtKNuW+pg9Bnmsvyuza+B0UC/Yfgq6BSWpEZmcJbN2envD/1bkL+/b +lWJ+O82C42fgoGLshUhoeNR0G6K2cuDPRk2EOlwhm/gFA8IA0K5FEd+43bjiGgY+FQs oOHPW7D5Ff7d8Kv7EHL00MWwK8wyyieLmvtbiod3667T6lCBme8kg7/b+yrIGtLBrMX3 7+sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=aTpTyem7hydQrdauCJI2WQMASMRymFSEwd0UcF/UCsE=; b=J1UrOoQ3YMJj+C5OToQ83eQEs+PabytXmJ9nFlOVeDn9tMmMZhpg3a912CpFTvEUjj kuZfgH7XRLGWevmQRT4LSmZv4NH0CZ/KjEFSqZwML1QjmmroO7jR5/y13JJKZ/f/t11f JNmXFxIstmQIK9Gk3qVdhVMDy+8YxrL7O3Nbku4DF2z7Hwo+h6e0u2RRSIPPabBp0xya +DBCZ/u2ydL4vB/gcPPyOKeZSNTSjRRgjZAcFz9lrYpE/rMLqI9L38bcaZt4BQvrc73/ B1clejXlt0B7drDPAnVhlNf2hIaXuDvvdtmTAZFwsm9Z6kvrkbSRjVsLhGtvtb7aVFKL Puxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=XMP9oSMo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gz7-20020a170906f2c700b0072f1be0dff8si541395ejb.133.2022.08.08.14.19.28; Mon, 08 Aug 2022 14:19:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=XMP9oSMo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244457AbiHHUyg (ORCPT + 99 others); Mon, 8 Aug 2022 16:54:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244453AbiHHUyc (ORCPT ); Mon, 8 Aug 2022 16:54:32 -0400 Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70BB215FDB for ; Mon, 8 Aug 2022 13:54:31 -0700 (PDT) Received: by mail-yb1-xb2b.google.com with SMTP id e127so15469928yba.12 for ; Mon, 08 Aug 2022 13:54:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=aTpTyem7hydQrdauCJI2WQMASMRymFSEwd0UcF/UCsE=; b=XMP9oSMoQ90wtPcC/91xLp5SbJZA38a60hNa0NEz2TRR/auLCJsAO7NTaIfU8N1hN1 4hdX8eAxd+EJQbsm554CuEr3RU4y0QFOTWo+6HByymPBGVRWgfLzkC12nsDfo+MwbCFp 7UR8TdExmh6VrTcXylcMI/6zheq0oWhVfm8P0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=aTpTyem7hydQrdauCJI2WQMASMRymFSEwd0UcF/UCsE=; b=6FetjwwkWucrSktbpTprVEqMjGb1otlPXhEsVa6bgHavqdSenk4E5lyTEP6YQIZ1NN TzbmfsmgPCqEYd0bwNWnW02qI90PXKJzftb3VlBhNDK41YMj1Y/2Rf17s4sTA0fk4rtZ ZWQVzu2ZUoBoLaztphGNOF5pPI+XqnILq2k8xcXxWubK4q673YAIu5ecyS4NdzGCpEm3 R5VSYujdfbJ0WSq54zfWbm4U/8P+JRS8cu/XtmSxQRF1wH7Q8CqMFyuMY5KkgbPdxvIh CtivXwhdkphEAm77QfoOWsVY9Ca5TbJPHt61bntBbzoEE/7XmI3TpHDX/rCd55LOAaw2 F6Gg== X-Gm-Message-State: ACgBeo0OKDt0NpCUj8Yxq39j9N9v/m5WdR5ZNjkKVqHgbd+uqVx1B/OD YLG4g3o1zJsic/yEJrnfbpw9gNHwUlTrvHDXQ42nJA== X-Received: by 2002:a25:7450:0:b0:67b:e79c:a1be with SMTP id p77-20020a257450000000b0067be79ca1bemr6570428ybc.196.1659992070709; Mon, 08 Aug 2022 13:54:30 -0700 (PDT) MIME-Version: 1.0 References: <20220805151551.1.Idd188ff3f9caddebc17ac357a13005f93333c21f@changeid> In-Reply-To: <20220805151551.1.Idd188ff3f9caddebc17ac357a13005f93333c21f@changeid> From: Prashant Malani Date: Mon, 8 Aug 2022 13:54:19 -0700 Message-ID: Subject: Re: [PATCH] platform/chrome: cros_ec: Expose suspend_timeout in debugfs To: Evan Green Cc: Enric Balletbo i Serra , Rajat Jain , Benson Leung , Guenter Roeck , Stephen Boyd , Tinghan Shen , Tzung-Bi Shih , chrome-platform@lists.linux.dev, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Evan, On Fri, Aug 5, 2022 at 3:17 PM Evan Green wrote: > > diff --git a/drivers/platform/chrome/cros_ec_debugfs.c b/drivers/platform/chrome/cros_ec_debugfs.c > index 0dbceee87a4b1a..530378bd4359dd 100644 > --- a/drivers/platform/chrome/cros_ec_debugfs.c > +++ b/drivers/platform/chrome/cros_ec_debugfs.c > @@ -470,6 +470,9 @@ static int cros_ec_debugfs_probe(struct platform_device *pd) > debugfs_create_x32("last_resume_result", 0444, debug_info->dir, > &ec->ec_dev->last_resume_result); > > + debugfs_create_u16("suspend_timeout", 0664, debug_info->dir, > + &ec->ec_dev->suspend_timeout); Can we call this "suspend_timeout_ms" instead? That makes it clear what the units being used are. BR, - Prashant