From patchwork Sun Nov 17 03:31:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ikjoon Jang X-Patchwork-Id: 11247989 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 1AA44138C for ; Sun, 17 Nov 2019 03:32:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E2C1E2084C for ; Sun, 17 Nov 2019 03:32:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="RKYJOWi8" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726168AbfKQDcB (ORCPT ); Sat, 16 Nov 2019 22:32:01 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:45562 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725839AbfKQDcB (ORCPT ); Sat, 16 Nov 2019 22:32:01 -0500 Received: by mail-pl1-f195.google.com with SMTP id w7so7512827plz.12 for ; Sat, 16 Nov 2019 19:31:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=wOVdn7VL7yyxBUHZntw/D8IwcAv73NBNkLlL+UAJFSs=; b=RKYJOWi8iEdEMFM9J/pjDm+5FeNgh2U31vD65Ic8a2K1qx92kW0miLGD1lkL57W9nE PzUaQUZNU1OH5AL2XOMEMA9t2AtOScIUN6MFha9yH+IfCyVzjluJJ6xy39s2EdpF23Ne jepM3Hou6Krym2qBscM6BYZOhAVheIGfP2ftU= 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:mime-version :content-transfer-encoding; bh=wOVdn7VL7yyxBUHZntw/D8IwcAv73NBNkLlL+UAJFSs=; b=ZHWvCzowfwSKlqrLSSci68/SC0C0zVy/H9/iWbzPwS+f6jue4m2vlqE488ropG4ouR BlV0jNId7u3HAtFbZ1G+7NJKIyFzb9pCPYZUUhQej0yREtWCuASnQYxHKHY8Sh3ZzWwQ DQE2A7JfEG1/T0OSQ6toHN7h9Sc158oG/I+5U1bCUINFU2iKYsdsQt4Ts6mzjeZhQAoi pGlNHHpR3ezMKf1x+dvgByzJBRJamMaTrYkv4pFLUoCcDDcYvIjCO5IaHbqd/ZYq8Wgv rwKyr3wjUY1ZZQhWMZ1dgiMsadbsiF7jXfNc1jx2gvUKsgUyFePqajp6Jh7+OzbkMPMD xfjg== X-Gm-Message-State: APjAAAUNytMd2y1tdI3kS6WK3TlE6/D147oQ2N3zgir8f1rzvNXV1h9F ZsZHqkP/neAGNrLOEwYR263arlbzGaND5w== X-Google-Smtp-Source: APXvYqw8ibeSC9mMX54bu6dURPnqRLsC8s+GYw7BNmhc4RtLyWnWiS2SL+VhTBHiUkfuh8yW5oWrOg== X-Received: by 2002:a17:90a:610:: with SMTP id j16mr30938906pjj.85.1573961519371; Sat, 16 Nov 2019 19:31:59 -0800 (PST) Received: from ikjn-glaptop.roam.corp.google.com (2001-b400-e27e-4718-13bf-d274-f5e0-91a5.emome-ip6.hinet.net. [2001:b400:e27e:4718:13bf:d274:f5e0:91a5]) by smtp.gmail.com with ESMTPSA id a145sm16539353pfa.7.2019.11.16.19.31.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Nov 2019 19:31:58 -0800 (PST) From: Ikjoon Jang To: linux-usb@vger.kernel.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Rob Herring , Mark Rutland , Alan Stern , Suwan Kim , "Gustavo A . R . Silva" , Johan Hovold , Nicolas Boitchat , Ikjoon Jang Subject: [PATCH 0/2] usb: override hub device bInterval with device node Date: Sun, 17 Nov 2019 11:31:49 +0800 Message-Id: <20191117033149.259303-1-ikjn@chromium.org> X-Mailer: git-send-email 2.24.0.432.g9d3f5f5b63-goog MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org This patchset enables hard wired hub device to use different bInterval from its descriptor when the hub has a combined device node. When we know the specific hard wired hub supports changing its polling interval, we can adjust hub's interval to reduce the time of waking up from autosuspend or connect detection of HIDs. Ikjoon Jang (2): dt-bindings: usb: add "hub,interval" property usb: overridable hub bInterval by device node Documentation/devicetree/bindings/usb/usb-device.txt | 4 ++++ drivers/usb/core/config.c | 6 ++++++ 2 files changed, 10 insertions(+)