Message ID | 20230728102843.266967-1-varshini.rajendran@microchip.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp367210vqg; Fri, 28 Jul 2023 04:33:21 -0700 (PDT) X-Google-Smtp-Source: APBJJlE5tJZFPNp0RHQVZ/CD6sYrin2BOSVoQxydYtgw+d6SY700m44L5zLsGdSwYEe3zAmG4fzc X-Received: by 2002:a05:6a00:b56:b0:686:22de:634b with SMTP id p22-20020a056a000b5600b0068622de634bmr1828258pfo.1.1690544000722; Fri, 28 Jul 2023 04:33:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690544000; cv=none; d=google.com; s=arc-20160816; b=gTN/E6ANjb0ypBhFMQJ/X/Y7Oy/PP3ML+1NDwBsk9HyPguOYEbmnpA6PhmP3Q3EWBD P2pa0uLqRJv6nrwYwhwP6ZwUBiXKioYTR/f9nZu15MTZyyTV8MehoMQJZNCX9p/Grrq7 hb9tUM38VYs2S54920uYpzxDoPZUUr+BFzV1zY5vhFMW66iRVR/v+Nzesom4Wo0rxWu7 GU5jlabQAfapPZmRodBNXLxWn1GosJZRz0ZjdLL59+wTcDoKoXXm5TDtmFkxJLn5B0b4 joMeE/VWzpx+Ef5Cue1ifDRRXTzcM21gil6W5UNw9XQCXQWeREDZyrnenZu3DRpBQ8KG pUWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=EHWreK95+2R6VD3PKlNFqzlfN9l+npsNRygWrBQAdxE=; fh=JVGqnhxgDjQhgkZvcg74el+UeeT4q5mOS4xATfDjwAc=; b=OQlTF7DsUTmtFe1Jj+12nBvKSYr50Aayrv1q52vx+NP55R8o77GGnkKAS5mRJMMYnM uJRk3Yr00ucpJnmbaffRh7rxtAhAVK+vj074+FdOCvLVzwyf8Xxzx7aEKm4ABHQaVjBV PSmOzh5EQEehGN1YQbWewSigprRwwMnDtbVrb9v9e7+J9ulZc8kGi6wUTgJIe4NzbA5u MLYwnakZqGnV17C4+uU/BTs3jNuROyN0Et1r2eTZmQ/Ow6bb4yiwUH3kzuLdYrkVcEf6 QrgVgbJt8eHB73NUgqBlcpnGMbWIwunFDLUSw3S9W5o0bRRp0IYEUnHLyqHiypKJqAmC 0zrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=cfZvuJf3; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f10-20020a63de0a000000b00563dde13953si2933421pgg.739.2023.07.28.04.33.06; Fri, 28 Jul 2023 04:33:20 -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=@microchip.com header.s=mchp header.b=cfZvuJf3; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235794AbjG1Kas (ORCPT <rfc822;hanasaki@gmail.com> + 99 others); Fri, 28 Jul 2023 06:30:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235329AbjG1Ka1 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 28 Jul 2023 06:30:27 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAE8659C6; Fri, 28 Jul 2023 03:28:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540133; x=1722076133; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=2p0mZJVu+p3/bzhmij45EcuZNnb/S3hGj7wJ9TXid3Y=; b=cfZvuJf3sO5BpzNKMJll7Xurb/jpOhksaZULxXpayM9CLcXNf31CHoGt qgegXxSP6YtbG06QiHl0M4kfpFNbxLuVOrTBUVqVkgjypFBpsY0Chqbvz NS1bQFEPakWyAny9bY2KYCga4YT1JMawGBvYEECxWGzF0h6c329BaDj+h 6/ZaJO/URJx2m8b2FKahWtmZxHBWXE6U31yHPTU+iUHH8/VAiGqVYaeRH AE4n3oQiHDrcbUsAlfvEa7kK5L+cF1ft8OYjVMooORRCaH86MUorNyPnH kyer22No2MEjhE/4Dpw64sQhCuSdeqrtywU/nWz3gUnUvoweA0hoBUCvr A==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="225813662" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 28 Jul 2023 03:28:51 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Fri, 28 Jul 2023 03:28:50 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:28:47 -0700 From: Varshini Rajendran <varshini.rajendran@microchip.com> To: <gregkh@linuxfoundation.org>, <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <conor+dt@kernel.org>, <linux-usb@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org> CC: <varshini.rajendran@microchip.com> Subject: [PATCH v3 33/50] dt-bindings: usb: add sam9x7 Date: Fri, 28 Jul 2023 15:58:43 +0530 Message-ID: <20230728102843.266967-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772663865964027109 X-GMAIL-MSGID: 1772663865964027109 |
Series |
[v3,01/50] dt-bindings: microchip: atmel,at91rm9200-tcb: add sam9x60, sam9x7 compatible
|
|
Commit Message
Varshini Rajendran
July 28, 2023, 10:28 a.m. UTC
Document sam9x7 compatible for usb ohci.
Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com>
---
Documentation/devicetree/bindings/usb/generic-ohci.yaml | 6 ++++++
1 file changed, 6 insertions(+)
Comments
On 28/07/2023 12:28, Varshini Rajendran wrote: > Document sam9x7 compatible for usb ohci. > > Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com> > --- > Documentation/devicetree/bindings/usb/generic-ohci.yaml | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/usb/generic-ohci.yaml b/Documentation/devicetree/bindings/usb/generic-ohci.yaml > index be268e23ca79..a2490759f694 100644 > --- a/Documentation/devicetree/bindings/usb/generic-ohci.yaml > +++ b/Documentation/devicetree/bindings/usb/generic-ohci.yaml > @@ -57,6 +57,12 @@ properties: > - nxp,ohci-nxp > - st,spear600-ohci > - const: usb-ohci > + - items: > + - enum: > + - microchip,sam9x7-ohci > + - enum: That's not an enum. You cannot have here different compatibles. > + - atmel,at91rm9200-ohci > + - const: usb-ohci > > reg: > maxItems: 1 Best regards, Krzysztof
On Fri, Jul 28, 2023 at 01:48:01PM +0200, Krzysztof Kozlowski wrote: > On 28/07/2023 12:28, Varshini Rajendran wrote: > > Document sam9x7 compatible for usb ohci. > > > > Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com> > > --- > > Documentation/devicetree/bindings/usb/generic-ohci.yaml | 6 ++++++ > > 1 file changed, 6 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/usb/generic-ohci.yaml b/Documentation/devicetree/bindings/usb/generic-ohci.yaml > > index be268e23ca79..a2490759f694 100644 > > --- a/Documentation/devicetree/bindings/usb/generic-ohci.yaml > > +++ b/Documentation/devicetree/bindings/usb/generic-ohci.yaml > > @@ -57,6 +57,12 @@ properties: > > - nxp,ohci-nxp > > - st,spear600-ohci > > - const: usb-ohci > > + - items: > > + - enum: > > + - microchip,sam9x7-ohci > > + - enum: > > That's not an enum. You cannot have here different compatibles. > > > + - atmel,at91rm9200-ohci > > + - const: usb-ohci As mentioned elsewhere, you aren't really compatible having custom properties. If you are adding this here, then stuff should be removed from the .txt binding. You need to sort out this mess and the existing warnings with 'usb-ohci' in Atmel dts files before adding on to it. Rob
diff --git a/Documentation/devicetree/bindings/usb/generic-ohci.yaml b/Documentation/devicetree/bindings/usb/generic-ohci.yaml index be268e23ca79..a2490759f694 100644 --- a/Documentation/devicetree/bindings/usb/generic-ohci.yaml +++ b/Documentation/devicetree/bindings/usb/generic-ohci.yaml @@ -57,6 +57,12 @@ properties: - nxp,ohci-nxp - st,spear600-ohci - const: usb-ohci + - items: + - enum: + - microchip,sam9x7-ohci + - enum: + - atmel,at91rm9200-ohci + - const: usb-ohci reg: maxItems: 1