From patchwork Tue Feb 23 15:50:04 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: 386522 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=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 D38D2C433DB for ; Tue, 23 Feb 2021 15:51:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A3321614A7 for ; Tue, 23 Feb 2021 15:51:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233403AbhBWPvI (ORCPT ); Tue, 23 Feb 2021 10:51:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233285AbhBWPu6 (ORCPT ); Tue, 23 Feb 2021 10:50:58 -0500 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAB86C061574; Tue, 23 Feb 2021 07:50:10 -0800 (PST) Received: by mail-wm1-x32d.google.com with SMTP id v21so2865100wml.4; Tue, 23 Feb 2021 07:50:10 -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=jq0kQtDSX5dH8ohcWOXbXLKCHW4XC2c+FwwnMqOyu8A=; b=Mn95eKnody6kfmlE5fsuhDTGCKEpKYtcBWhBSJRoqeZmHsoLH5OuaAg433mD41zUd5 7+z/S0bNOSAlCu70n5GQ9tkHE+Xk5LG/UAUElWGDkBKzMg3CRkHRLUdmFhbFTj5jd+66 7uRatcu4Th3iB0YqtGDSWRET9tqBurnEwVtUL8d09G9jRNI8C1/3MDoXbbG580F7MNrf VBc7JOz/B5YEAN8tmKMNjPbet1Zd91Fhfwn8SCTyS2KhhUVXT8viF2DeF1EHE2auzPjU tpTWqnRncEcotdVvw35HBCFon7GIpTUAFP4TxQPbTBKB/5A4F9ORmDp90c3w/CtTPtBU AHXg== 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=jq0kQtDSX5dH8ohcWOXbXLKCHW4XC2c+FwwnMqOyu8A=; b=bfH9cWSRAqmJkghzYiiegRkzwZn7mC84EVB/vfEQeDCpQ+I0BKiSYt2q20jLFiyHt0 zb4gUp3NRfp16FQTFbLMwcxrzMd3n7J9TObRbgaauF2QvluxeTA6l4JBjIc6FIy9ViOA fe0FBN+S/9Bw5Nc3aZdfhnsi6hbcrMN1GyfK96Cg/0HPm7WGVAvCYvae/6Jcl1kmgs7S cETFBEEf/63YD7lKkrf+qAw3Mb15g7zZ0kcu6fkfARYo0cdDGln0mhe2uLwpmId0U0wS IUTp/N3lXD9iMT/k9cMmH1hq9IdW32CLSwNHi+nui09TM8kWUEuUCU9qwIjTOw25ni8f 54Rw== X-Gm-Message-State: AOAM531U2Bs+C3rkiXxCceRKFW+JKwhGxELINyhEqyAqWBZs+NsoGHPe u7ZuwIPTBac6CIilA8plikUL2coC2boIHV1/ X-Google-Smtp-Source: ABdhPJxaWV+jkKPqgTfcLyedOekGOVSPfUwolyvZEyL1bt55OsE94y2kP27DZAoLfZmH+JvYySqJRg== X-Received: by 2002:a1c:4c0c:: with SMTP id z12mr797142wmf.60.1614095409667; Tue, 23 Feb 2021 07:50:09 -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 t23sm3209201wmn.13.2021.02.23.07.50.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Feb 2021 07:50:09 -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 Cc: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= Subject: [PATCH 1/2] dt-bindings: usb: generic-ehci: document ignore-oc flag Date: Tue, 23 Feb 2021 16:50:04 +0100 Message-Id: <20210223155005.21712-2-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 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.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 --- Documentation/devicetree/bindings/usb/generic-ehci.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/generic-ehci.yaml b/Documentation/devicetree/bindings/usb/generic-ehci.yaml index cf83f2d9afac..294bbf02399e 100644 --- a/Documentation/devicetree/bindings/usb/generic-ehci.yaml +++ b/Documentation/devicetree/bindings/usb/generic-ehci.yaml @@ -117,6 +117,11 @@ properties: Set this flag if EHCI has a Transaction Translator built into the root hub. + ignore-oc: + $ref: /schemas/types.yaml#/definitions/flag + description: + Set this flag for HCDs without over-current reporting support. + needs-reset-on-resume: $ref: /schemas/types.yaml#/definitions/flag description: