From patchwork Mon Jun 29 23:02:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abhishek Pandit-Subedi X-Patchwork-Id: 11632809 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9644414E3 for ; Mon, 29 Jun 2020 23:02:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7DF56206E9 for ; Mon, 29 Jun 2020 23:02:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="TgqteYzF" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728859AbgF2XCg (ORCPT ); Mon, 29 Jun 2020 19:02:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728855AbgF2XCf (ORCPT ); Mon, 29 Jun 2020 19:02:35 -0400 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85D84C061755 for ; Mon, 29 Jun 2020 16:02:35 -0700 (PDT) Received: by mail-pl1-x643.google.com with SMTP id k1so7688846pls.2 for ; Mon, 29 Jun 2020 16:02:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xY3f6LHANd9HL4qtWewE6j/avY0O3O3qpSOKn6v3IpA=; b=TgqteYzF3Qo8SNCLDAu3rSFoz4yt7f0q7lmXMZgfb+rHO72XZuJlEC+55r9B9t06U5 AUDTaHAZns0j5Cn3MAgEfIK1cCRigF0gPt2Dm/eAAIml3PE/2TWjpxqq1urb3Xva0EBo MY3L+3JDAO0Ev9lg8w1e8NsQW39LDf9wLcHp4= 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:mime-version:content-transfer-encoding; bh=xY3f6LHANd9HL4qtWewE6j/avY0O3O3qpSOKn6v3IpA=; b=NBmmqLQsJ0oTpJdwa+z+PWsoYNhcUU6rMbCfXt9HO2j9BExTJTsH3PUzY7tmTOSzXo xLb/gAIJwNG12Qqh2XwYljASlfkO5R2lbmOCEuYaNV621xyHk77bhGol/pONHnNDO1iZ 6Dnts3HjvCYbTJAzwpA9dm/NoglTjZylixV2Kcv/u+MWgCbkG6J1FCqZWOpluHoV4zEh NukMKeFk96PoH1g3PJE1A3AOTsHx0eH45RhCKYIIU7YglN3qu2nq51wBzOxSO8CQa+jB n8vkjAQmMosqKlS04grxrQSgWapmyy0qkvYrjTpLHdZAaUD5qluTLtSwjAq5J/665jij DVjw== X-Gm-Message-State: AOAM53351mP1I+/dwGMK6r4k6ClRKEZADJyVH2uO0LVTh0iw96IO4rOm MqjieWXnneMeEcK8jczHdQak4w== X-Google-Smtp-Source: ABdhPJzkQoby85gty2n0QUwDODB2heVXg5ccm3vGX9FUUp4oERuWFI6wET/Op5zKsjIWnVtYkvHOsw== X-Received: by 2002:a17:902:8c8a:: with SMTP id t10mr12742132plo.153.1593471755120; Mon, 29 Jun 2020 16:02:35 -0700 (PDT) Received: from apsdesk.mtv.corp.google.com ([2620:15c:202:1:e09a:8d06:a338:aafb]) by smtp.gmail.com with ESMTPSA id i13sm467275pjd.33.2020.06.29.16.02.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jun 2020 16:02:34 -0700 (PDT) From: Abhishek Pandit-Subedi To: luiz.dentz@gmail.com, linux-bluetooth@vger.kernel.org Cc: alainm@chromium.org, marcel@holtmann.org, chromeos-bluetooth-upstreaming@chromium.org, Abhishek Pandit-Subedi Subject: [BlueZ PATCH v6 5/6] doc/device-api: Add WakeAllowed Date: Mon, 29 Jun 2020 16:02:22 -0700 Message-Id: <20200629160206.BlueZ.v6.5.If391d18ed934a1d9c24d3f54e4fee3fded0b17ab@changeid> X-Mailer: git-send-email 2.27.0.212.ge8ba1cc988-goog In-Reply-To: <20200629230223.3538949-1-abhishekpandit@chromium.org> References: <20200629230223.3538949-1-abhishekpandit@chromium.org> MIME-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Add documentation for WakeAllowed, which allows a device to wake the system from suspend. --- Changes in v6: None Changes in v5: None Changes in v4: * Renamed WakeCapable to WakeAllowed Changes in v3: * Added documentation for WakeCapable Changes in v2: None doc/device-api.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/device-api.txt b/doc/device-api.txt index 65d8fee37..4e824d2de 100644 --- a/doc/device-api.txt +++ b/doc/device-api.txt @@ -189,6 +189,11 @@ Properties string Address [readonly] drivers will also be removed and no new ones will be probed as long as the device is blocked. + boolean WakeAllowed [readwrite] + + If set to true this device will be allowed to wake the + host from system suspend. + string Alias [readwrite] The name alias for the remote device. The alias can