From patchwork Tue Feb 23 17:44:54 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: 12100641 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=-13.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_CR_TRAILER, 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 42452C433DB for ; Tue, 23 Feb 2021 17:46:16 +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 0952E64E83 for ; Tue, 23 Feb 2021 17:46:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0952E64E83 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=ICyWwwf1U5bITI9N+JwuNMNAnvpdHYMtiStqetsaneQ=; b=IDS3ULR2NKtCVdGMtNn2+faeh g0y07DhSmUHyYaue/6b9JhwcAQthfpjIK8HRBUMa03QoLiFVKM3vr6xrvjWRvU2h1PKdUICxK2A/B kyfx5EMoLzPFf3Q+9SbYbFe5bn6Aky8UfX0DlkbqW2t9gg0ZdNtgiNm44MlsSAviN/tAADcS1dxXZ 6ZiuCrkyPnGSgY2p5e47kcX3pf6Hbsl9R3yjHB1sf5gV1RnM+ZEVWEtSuzb8DriRVXq6OIGpXoG20 NU3YhPMfyHo5cWE2sb4pIfeTir1QgkVeoZFpvOVQB0/KMVgMo0HPrnCJtM22fzR2g06F9c3eg496h S0VjmqhkA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lEbkC-0001yk-Ry; Tue, 23 Feb 2021 17:45:08 +0000 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lEbk5-0001vn-Ph for linux-arm-kernel@lists.infradead.org; Tue, 23 Feb 2021 17:45:03 +0000 Received: by mail-wm1-x335.google.com with SMTP id m1so3260309wml.2 for ; Tue, 23 Feb 2021 09:45:01 -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=IPaM4EX6V47/9lZ1DVmPyYKV5xLEHFqT5NGooxhgdBI=; b=Ck5uCe8ERGA3i2QCmNtEOJkOmUI4YtcOO1UjGTDk3XG4XYOB2scOlknlkx5m1S3pVI fxT/yEXoKO/MShBCl1bOw7LWXLxCZRr2QpwMg6ppsy74pOiWyFZDsscokCdQYM3aKjhQ bqE8gZ3aODPefOObLf02p+d2+FY2myDETHM3siEvlBP3ZU1kyaWCsjJWuizNHfdY0j71 k2GapB5rtkXrdv5OJkXNe7yjGgVQHrzu1TXGRqtc2kgmm/nNEE53s3xaEEraYNmW+Q/v c6AmGZyAqVkqTZHrpVXa43Z/gBzkfQLbobiLB6H/vkXY0Y6L2KZ9XaYaViAfS8xYTluV WWmg== 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=IPaM4EX6V47/9lZ1DVmPyYKV5xLEHFqT5NGooxhgdBI=; b=QqnEmfuX6lDRUTjpZAU7+YQvb9GM9nHKdOs7YWM5L0d5x98ftIGhDZAOpH3DmPZpvs Byh2HUZlsH9nGmwGHJZxQhn6w4soI90qWGGmZxUkTkIF9QJyqrqQdrRsh79Of6Ig4E5Z mwD11HQUc5JvOk/qJ4xTCeg/0hEsrehlZHNAVwj8V3PfQa148ljU07NQCVod0ra1q+/m IcrsCPQjTURy9csCd6v8a8LnYZrXc6yylumLRLDwVDISczkLs8a6QPI+aS6C2KGpU3uP sShwklbFeDhuKL8+RBqBrNMMrrRdrzSGvNxTXOGBK8+5R8w6orCJKRDoZJgisDR5n9uH EDIg== X-Gm-Message-State: AOAM531FqAwwAL7QOCfwewQJV1FKAWsSL3uiY29aJVJ05dCwSbOutJ6h EoG4l4fIqxeHoTkUSnGRQmU= X-Google-Smtp-Source: ABdhPJxQooaU+YomFGG2yb8vJWqmTMPGkVlCCIvt0VFUfBkO+2/hsbNm0MKWYrRs4EiUN/O7iEwToA== X-Received: by 2002:a05:600c:35c4:: with SMTP id r4mr25425356wmq.138.1614102300688; Tue, 23 Feb 2021 09:45:00 -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.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Feb 2021 09:45:00 -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 2/3] dt-bindings: usb: generic-ehci: document spurious-oc flag Date: Tue, 23 Feb 2021 18:44:54 +0100 Message-Id: <20210223174455.1378-3-noltari@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210223174455.1378-1-noltari@gmail.com> References: <20210223155005.21712-1-noltari@gmail.com> <20210223174455.1378-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_124502_258094_334A5BED X-CRM114-Status: GOOD ( 12.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. Signed-off-by: Álvaro Fernández Rojas Acked-by: Alan Stern Acked-by: Rob Herring --- v3: no changes. v2: change flag name and improve documentation as suggested by Alan Stern. Documentation/devicetree/bindings/usb/generic-ehci.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/generic-ehci.yaml b/Documentation/devicetree/bindings/usb/generic-ehci.yaml index cf83f2d9afac..8089dc956ba3 100644 --- a/Documentation/devicetree/bindings/usb/generic-ehci.yaml +++ b/Documentation/devicetree/bindings/usb/generic-ehci.yaml @@ -122,6 +122,12 @@ properties: description: Set this flag to force EHCI reset after resume. + spurious-oc: + $ref: /schemas/types.yaml#/definitions/flag + description: + Set this flag to indicate that the hardware sometimes turns on + the OC bit when an over-current isn't actually present. + companion: $ref: /schemas/types.yaml#/definitions/phandle description: