From patchwork Tue Feb 23 17:44:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= X-Patchwork-Id: 12100639 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 47B72C433E0 for ; Tue, 23 Feb 2021 17:46:15 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DF3186146D for ; Tue, 23 Feb 2021 17:46:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DF3186146D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=czL0L0EmF3m8wNzhwJwX9H/MmF2a4fwWW9NbRpBbR68=; b=qCbjkOt9fqPjrhKD4hGI5R4ja M924SzxtOKRd4WHX/VpVz/enOvFWhgT9IpXKnFsErHZU24aX4I7oFk1JNbuNNqkyd2mANTVQJCXCU HIug1mrqtYauMTCPN6HEuM5RMr2JjtB0ufK/6yg2XfzbV0fyktbWutRvi/MGBxVMfJmw/G8C3ZCUC KJgesQzL/IPlEW+hYr7lzYPAsohtkY0NobXv/bOCL5W+Th/AlavSHuzUx49sP6sDikvqup+nMSQid ICgAKendDQL2x1zLPgfrh+AZYWuPlXSCXkiLfI5/uG21YeMzvYHMzE0TIQMQ8RY/MJasqa8FRBtKH NJvjSLLsA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lEbk5-0001vo-IP; Tue, 23 Feb 2021 17:45:01 +0000 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lEbk3-0001vG-RW for linux-arm-kernel@lists.infradead.org; Tue, 23 Feb 2021 17:45:00 +0000 Received: by mail-wr1-x431.google.com with SMTP id u14so23467991wri.3 for ; Tue, 23 Feb 2021 09:44:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xePih+lj3aAhAkKt7KsLGqHiApDG139qal6vPJJIaeo=; b=Pe18qgDHUD2UoFJX9nNaVqX5yD5DWnha3vqLxSJJcgvQIOi1fsxJVEBmzw9DgH6mG6 UNj2c72fSe84Ubfcp/dIhzwi4Us07Dv+HcPTN12uWk/dlMBaJ9u1F9srXwB3A4Xa2Vmz gKhebDMcCxIWhjd7eu6Flep6gIJcWUBE3I0gEBvuzybCRwLMPZYAWiHHsRgfrT+0fFpX o1rfjzyoYZiIQl+cBWiyVJedtjNRneRAwbiX7olAFbJeObnlE7NAbIKkSFiSUDJojS9R R2/BQqF79Dw0ZVx+S6mrrELA7DFq9rFeq225K0b2AZo0QUrR/IAYp6hPSQ4DpditV0mk rV1Q== 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=xePih+lj3aAhAkKt7KsLGqHiApDG139qal6vPJJIaeo=; b=cBak1nJT7gDrIqIZH1VgfAuwYfJKv9F7EkKSG0S7b1cwyQLby72cw6LWRJcLvgqApC 6vG1D/mKM6AakXmACSETc4Rpe6uYoAMKTLjxignaDmH3hfc528YpWwMVbcLFMJebQcWj ZDt2OmhUEJRfqF+PgBsgYtix8RPrbXNOEtv+gCxk94cmS0g/Mjwy3QlenWU3PDEoB9kT 0u4wcmavbOPgqEH8ZAMRkMsbEfodMEBSZ/zKSRabJAaBVAPYzJmBCHxsirFlYUUMbtk/ fKe9ob38FYBTCtBpRJal8OtJqgEoWImD7pZAcTbiQ/CEx7NKR5yZ+/98nyEJ9jrHA1Sm ih6A== X-Gm-Message-State: AOAM531oTLhZLPljtdpjI60kAFzvf4wuP6KqeiLYAtA2VNPGsMgh99bM 8JXYH5THwJHn+sG+0joy+rE= X-Google-Smtp-Source: ABdhPJwn3hIJdJrMXlzLkgSRgFjj5dwMAsVwRnbMvl5ACPmuA8efv7I/TpRBNDZoRChI4aMciXNxUw== X-Received: by 2002:a05:6000:107:: with SMTP id o7mr27272371wrx.87.1614102298359; Tue, 23 Feb 2021 09:44:58 -0800 (PST) Received: from skynet.lan (170.red-88-1-105.dynamicip.rima-tde.net. [88.1.105.170]) by smtp.gmail.com with ESMTPSA id u7sm32408428wrt.67.2021.02.23.09.44.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Feb 2021 09:44:57 -0800 (PST) From: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= To: f.fainelli@gmail.com, jonas.gorski@gmail.com, Greg Kroah-Hartman , Rob Herring , Alan Stern , Tony Prisk , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 0/3] usb: host: ehci-platform: add spurious-oc support Date: Tue, 23 Feb 2021 18:44:52 +0100 Message-Id: <20210223174455.1378-1-noltari@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210223155005.21712-1-noltari@gmail.com> References: <20210223155005.21712-1-noltari@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210223_124459_929839_775E8666 X-CRM114-Status: GOOD ( 13.22 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Over-current reporting isn't supported on some platforms such as bcm63xx. These devices will incorrectly report over-current if this flag isn't properly activated. v3: add missing patch from Florian Fainelli. v2: change flag name and improve documentation as suggested by Alan Stern. Florian Fainelli (1): usb: ehci: add spurious flag to disable overcurrent checking Álvaro Fernández Rojas (2): dt-bindings: usb: generic-ehci: document spurious-oc flag usb: host: ehci-platform: add spurious_oc DT support Documentation/devicetree/bindings/usb/generic-ehci.yaml | 6 ++++++ drivers/usb/host/ehci-hcd.c | 2 +- drivers/usb/host/ehci-hub.c | 4 ++-- drivers/usb/host/ehci-platform.c | 5 +++++ drivers/usb/host/ehci.h | 1 + include/linux/usb/ehci_pdriver.h | 1 + 6 files changed, 16 insertions(+), 3 deletions(-)