Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2476019pxb; Tue, 23 Feb 2021 07:59:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJwEzanGrqHDC4qaX3UxINpaU4CNDhzg3VhgAe53jgAy8kmm1eNRC+71B3sIOoUDT17w9O8C X-Received: by 2002:a17:906:5ac3:: with SMTP id x3mr1830788ejs.281.1614095964754; Tue, 23 Feb 2021 07:59:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614095964; cv=none; d=google.com; s=arc-20160816; b=nqppdpNApIgb+tw1HkCd9FxIIIW1hDRXwBEWFNU09lQD25/+/2K4L9tjhU8Z9Z3oW2 KjEFjcMJ3Qrmk+hZaPUaChkgt0oZG7XnAoZrzdvHAcogOI/MLwG02zkPq2662HV/OHWN rWvjWQkLx6d462ptJvFBtUqyuk5yoR6ndwU30Ww5gl70TRqUxAEuTJlo0tAs4eAomlNJ mw9kZNGkB1e1nwVKI9Shf+mTVUlAE0hoCQKWbTGPyW6WoW+KrMAvg5FbuRNxkslMG7Hp I4+ozsQbUfhMnfE8PJz/cns9y1a2Bn2CGPDoHrWeKi5FxIxUwbn0LfvOFkrftF1dmf9j 0RCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=+oAUsCZIgn01t6x55U0GpQQZRVF8rHBXF+7NxvbeGUU=; b=gHjp2ywu+Isii0hdpjSfWDGGcaXT2+TgBRZtYCfJSPzNZwGYyeBVYiT7QdharbkwsP t9IAI1umfo7XQ3+ivdcZ7x4UkAPd1prIH0iYcXy2roOZIib2fRIn9ZWSm3cvewA/jbbw 0VWa7Kst2RtJyduAfjr1HybNxjYEH1M3O1uwP7FI0H1ACQqq3f3BGfCiURosJjvTMIIG fi/SuSWeZOtvkVhYdWAOeBhDi5fDsylf62uMuCz32B4GtwwEcsVpUlTMYuZG8n4FjxuW CAn3Zc/lvrh0kdHXzDAWuQSfPQdxiNDmY1iipmcMkf7vHmvcIxUIN47IkRgjA5gJrIGc QCAg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gb39si2079569ejc.370.2021.02.23.07.58.58; Tue, 23 Feb 2021 07:59:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233283AbhBWPzr (ORCPT + 99 others); Tue, 23 Feb 2021 10:55:47 -0500 Received: from netrider.rowland.org ([192.131.102.5]:53161 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S233498AbhBWPzZ (ORCPT ); Tue, 23 Feb 2021 10:55:25 -0500 Received: (qmail 1263861 invoked by uid 1000); 23 Feb 2021 10:54:43 -0500 Date: Tue, 23 Feb 2021 10:54:43 -0500 From: Alan Stern To: =?iso-8859-1?Q?=C1lvaro_Fern=E1ndez?= Rojas Cc: f.fainelli@gmail.com, jonas.gorski@gmail.com, Greg Kroah-Hartman , Rob Herring , Tony Prisk , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 1/2] dt-bindings: usb: generic-ehci: document ignore-oc flag Message-ID: <20210223155443.GB1261797@rowland.harvard.edu> References: <20210223155005.21712-1-noltari@gmail.com> <20210223155005.21712-2-noltari@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210223155005.21712-2-noltari@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 23, 2021 at 04:50:04PM +0100, ?lvaro Fern?ndez Rojas wrote: > 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. This is not a good description of a device property. DT entries are supposed to described the hardware, not talk about how to use it. When you say that the bcm63xx doesn't support over-current reporting, what exactly do you mean? Do you mean that sometimes the hardware turns on the over-current bit when an over-current isn't actually present? Or do you mean something else? Alan Stern > + > needs-reset-on-resume: > $ref: /schemas/types.yaml#/definitions/flag > description: > -- > 2.20.1 >