Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1675785rwb; Fri, 28 Jul 2023 13:06:04 -0700 (PDT) X-Google-Smtp-Source: APBJJlEN9uCcToZP7Hzn7DigPr6Vluyxy1ilRjrKxK8rrtc2rqUcZCvBttmuWjV5wE60/5UK6F53 X-Received: by 2002:a17:90a:5d01:b0:262:f8b8:dba2 with SMTP id s1-20020a17090a5d0100b00262f8b8dba2mr2463021pji.35.1690574764313; Fri, 28 Jul 2023 13:06:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690574764; cv=none; d=google.com; s=arc-20160816; b=IXVOeMcgosfVwZ8G7BC0ZdOZ/Acskyv5nTRsEwFpg8W9ai679lrg0pGpaQG6fyWssW CrH0KdBJ/xjVhBqgU64PEIeS6Jf0q4P4QDAaxwMZztco13tAYF4nVJF5YP9WU0BohhdE HmYpZ+78rQxxcqM0Mi3OkjXKE8W6+5MvBn6RHwjkx8MS8vp/jN+MoWBrkfZqTSUF7y4/ XphSaIhp/eB0osIUbN+QAmhzMixbL5DB/RY0WvbmUwlTxPPPOeiFtw02AbL72moRsAiQ HUi3ig9WZh+Jpncyje8Sqf9zIdxrLb5R9OU8Hg/gAbaEUvvZkilEti3Q9tCtfJYa96J0 FEsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=riZXVmYGzVMEAMfHwlLrUHMQnelUKgU36Re8QtCBS4U=; fh=hGJWN2wW/glyACMfTtJcvCVU+UNXtZvf+gDdAlmtWHE=; b=YTn5pdv8TLjfTfZiOpzbXWwsRo++9FA1FtBOgSGqmlba1XYwZpqUEe4ZfdrrkptVvF q7H3f2hTUroxdeyh02J/du90qUIhiDS2Yca+PGCIIdmJjwPJAOELXw1qXy35IF1ohveZ 1y8xSgS/QIUJWozl+mfrtx0OQ+MPSCFb2RdnHDm9ZJGVgbDwaZc/0Bn1LuZo+UwNwSe6 GJ+G56riCq9a8TzHNBI3dE4UONf1n6tZNmMojxV28ELyAfcEgjy+GgQqWpaW7VmCmlby ReUHj5e6gLZmKvKsALoE3Z8F9aH7ZWF1WiCd8lKXA89XhGfBU+0GzbcrKX7/ncRL6bZT VhHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="dTB/QMT0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z3-20020a633303000000b00563ea86ad90si3476178pgz.464.2023.07.28.13.05.50; Fri, 28 Jul 2023 13:06:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="dTB/QMT0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231882AbjG1TPZ (ORCPT + 99 others); Fri, 28 Jul 2023 15:15:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229690AbjG1TPY (ORCPT ); Fri, 28 Jul 2023 15:15:24 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E001C3C06; Fri, 28 Jul 2023 12:15:22 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 70C38621D8; Fri, 28 Jul 2023 19:15:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D455C433C8; Fri, 28 Jul 2023 19:15:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690571721; bh=7nzeD4OG5R60IdpA9pA5gs1FjPrFySMLyGJy7bncXK4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dTB/QMT0kAkyH3U3pWSEc1d0F7nimYpzDvIgsAgHf/gJhyelEZpiwRbR4RPWwb+UH RP4adOgXtSidC2l6ls1h603jiXFnz/wg8o3Q9+GEskggSiQDIk9HSZf3JiUBIZHIqH xmpmQbakO887Ps7lH3GCFoZHRwfYiLdlc2sWGw/bO6YgDVAWuVhkiRE9vPgaeEWCWE Ca6ysL1dr2LDWCOPtXrJovRA8vgmD+zylEYoO/gl2SqpK7nzbxWc2ECHyLvZu1OoTZ lruRSK09D0dMvCWv8zlrcsPS7jQT7fDZ8Z5izy+kA4Zbw4Pt1iZ7Ea94gqdSVPtY/z kMWfwERX96bRQ== Received: (nullmailer pid 1121284 invoked by uid 1000); Fri, 28 Jul 2023 19:15:18 -0000 Date: Fri, 28 Jul 2023 13:15:18 -0600 From: Rob Herring To: Krzysztof Kozlowski Cc: Varshini Rajendran , gregkh@linuxfoundation.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, claudiu.beznea@microchip.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 27/50] dt-bindings: usb: atmel: add sam9x7 Message-ID: <20230728191518.GA869757-robh@kernel.org> References: <20230728102753.266660-1-varshini.rajendran@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 28, 2023 at 06:42:53PM +0200, Krzysztof Kozlowski wrote: > On 28/07/2023 12:27, Varshini Rajendran wrote: > > Add sam9x7 bindings. > > > > Signed-off-by: Varshini Rajendran > > --- > > Documentation/devicetree/bindings/usb/atmel-usb.txt | 11 +++++++---- > > 1 file changed, 7 insertions(+), 4 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/usb/atmel-usb.txt b/Documentation/devicetree/bindings/usb/atmel-usb.txt > > index 12183ef47ee4..82bd0dbc2a48 100644 > > --- a/Documentation/devicetree/bindings/usb/atmel-usb.txt > > +++ b/Documentation/devicetree/bindings/usb/atmel-usb.txt > > @@ -3,8 +3,9 @@ Atmel SOC USB controllers > > OHCI > > > > Required properties: > > - - compatible: Should be "atmel,at91rm9200-ohci" for USB controllers > > - used in host mode. > > + - compatible: Should be "atmel,at91rm9200-ohci" or > > + "microchip,sam9x7-ohci", "atmel,at91rm9200-ohci" > > + for USB controllers used in host mode. > > - reg: Address and length of the register set for the device > > - interrupts: Should contain ohci interrupt > > - clocks: Should reference the peripheral, host and system clocks > > @@ -30,8 +31,9 @@ usb0: ohci@500000 { > > EHCI > > > > Required properties: > > - - compatible: Should be "atmel,at91sam9g45-ehci" for USB controllers > > - used in host mode. > > + - compatible: Should be "atmel,at91sam9g45-ehci" or > > + "microchip,sam9x7-ehci", "atmel,at91sam9g45-ehci" > > This confuses me. Isn't microchip,sam9x7-ehci already described in EHCI > bindings? The Atmel .dts (including the one in this series) files use usb-ohci and usb-ehci compatibles, but they have extra properties (and clocks are different IIRC). So they aren't 'generic' and should drop those compatibles. There's already warnings generated for this, but obviously no one is paying attention. Rob