Message ID | 20230603200243.243878-4-varshini.rajendran@microchip.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1826603vqr; Sat, 3 Jun 2023 13:08:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5g2D56g2/urRCQ1s0n4GXXGs2DmsofwONNbCWiLy6C83iuVDLA8IVg5YVWgW9nmxMdXf55 X-Received: by 2002:a05:6870:8447:b0:19f:9146:f5df with SMTP id n7-20020a056870844700b0019f9146f5dfmr5210475oak.47.1685822901649; Sat, 03 Jun 2023 13:08:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685822901; cv=none; d=google.com; s=arc-20160816; b=At5kNGK6kCE+EU3iRnmRL8cZcIPAfWaV9I8+Y8AIv7LK5g+zudrVi2e3Xb7XsUz57Q /aTeoevk5exUylQmjjXQj+YcAUHroz6ftZpkzf5rKkGgIWy1aC/5Kv9U+QG0dWeScxja qHE77SZOhsqhoTBnR6fX2sc9ty726DY3W8/3TmsA8nJbM08Usrcu4ht3GVg/Z1YmY5th 3k1b4/tpFkfj12JTNfnWeVbvq8Ml6j/6PziU8FBq3fDjtW74qh6bLZ9Djyw4P8mqhBFg yHMwD4My66yOZmYvrSLTvtqB03LS40aYeLkGcP9ptXvKYbXnqbHQPb+Bl2t2LV8bgApC Bjkg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Vmgb4Lt00NeYIOodU7kJyS4Z+xB7cSoYFt+Iey9rrdo=; b=I4q/tSynr8ToHQ+tRQ/RsqFDVB5mCldtouldPiT+OnB/H10LIvtNkVa+OrI6ABAWrL QDKsY+ZTdjV+q0vw9C+ENeooIOO/hQ/VwuV03YaCQM2yQAiikdMNHXHiWb1Pgr0OdYCc UP78p+PMhSV6lGCgAz3+T1TEMzmhyY3N48tRhy+RBDTQJNmFNKqYVCyA85zNu05h46c5 nmalSD7D/7iK4AEMBnfwmjm3JnTKJI7LPCGDbtVyc59ts7RdYsbeggtt21G0tgKndKwz Qbbv8f8rbPwJXAF/AQN9aZwQG62DXW+EWT5dUIHBN3Eg2KDYtqLzotPpSVayjrSEnMDX LGag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=z77uQqFM; 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 ix12-20020a170902f80c00b001a9f42553ddsi2931468plb.296.2023.06.03.13.08.05; Sat, 03 Jun 2023 13:08:21 -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=z77uQqFM; 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 S229689AbjFCUEE (ORCPT <rfc822;stefanalexe802@gmail.com> + 99 others); Sat, 3 Jun 2023 16:04:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229751AbjFCUEC (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 3 Jun 2023 16:04:02 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECAA8197; Sat, 3 Jun 2023 13:03:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1685822630; x=1717358630; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=62RFP3h4kV3RGmaZG5f5ySHz7+UFs0OjPWWLvevHV+s=; b=z77uQqFM7EUy+JrfSwMXd5H/WziPqOLmmTLXvfckU+DDDSeEhDLhZwb6 J7BnZs/kzoJxTdtfnljt4nmHd8HUsKEdbHEz/8CWKtxPsT0t1R3YufhuN SrEIy1JWH7HTjaSschCaIVsOhb+tKU4UuxYjosLtaPshw4XP3fEL0kRXr ei/gXWm1KrflvzCs0hBuI3ruD61WTYzxt9GyGci+Inn/An2rc/fNv6zpl qvFpl+u/JNuttBDcl8BWpRJVtDx9GBkJQSFGsOEZNVUCjIyDYCohOXKVS Rv++HwmBAWivw7exHbr0mwWD1XDXhbLyoPcwTfo+LWX9m+/60gSK5iE+P w==; X-IronPort-AV: E=Sophos;i="6.00,216,1681196400"; d="scan'208";a="155388242" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 03 Jun 2023 13:03:48 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) 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; Sat, 3 Jun 2023 13:03:46 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Sat, 3 Jun 2023 13:03:34 -0700 From: Varshini Rajendran <varshini.rajendran@microchip.com> To: <tglx@linutronix.de>, <maz@kernel.org>, <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <conor+dt@kernel.org>, <nicolas.ferre@microchip.com>, <alexandre.belloni@bootlin.com>, <claudiu.beznea@microchip.com>, <davem@davemloft.net>, <edumazet@google.com>, <kuba@kernel.org>, <pabeni@redhat.com>, <gregkh@linuxfoundation.org>, <linux@armlinux.org.uk>, <mturquette@baylibre.com>, <sboyd@kernel.org>, <sre@kernel.org>, <broonie@kernel.org>, <varshini.rajendran@microchip.com>, <arnd@arndb.de>, <gregory.clement@bootlin.com>, <sudeep.holla@arm.com>, <balamanikandan.gunasundar@microchip.com>, <mihai.sain@microchip.com>, <linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <netdev@vger.kernel.org>, <linux-usb@vger.kernel.org>, <linux-clk@vger.kernel.org>, <linux-pm@vger.kernel.org> CC: <Hari.PrasathGE@microchip.com>, <cristian.birsan@microchip.com>, <durai.manickamkr@microchip.com>, <manikandan.m@microchip.com>, <dharma.b@microchip.com>, <nayabbasha.sayed@microchip.com>, <balakrishnan.s@microchip.com> Subject: [PATCH 03/21] dt-bindings: usb: generic-ehci: Document clock-names property Date: Sun, 4 Jun 2023 01:32:25 +0530 Message-ID: <20230603200243.243878-4-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230603200243.243878-1-varshini.rajendran@microchip.com> References: <20230603200243.243878-1-varshini.rajendran@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-4.6 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_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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767713434818127198?= X-GMAIL-MSGID: =?utf-8?q?1767713434818127198?= |
Series |
Add support for sam9x7 SoC family
|
|
Commit Message
Varshini Rajendran
June 3, 2023, 8:02 p.m. UTC
Document the property clock-names in the schema.
It fixes the dtbs_warning,
'clock-names' does not match any of the regexes: 'pinctrl-[0-9]+'
Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com>
---
Documentation/devicetree/bindings/usb/generic-ehci.yaml | 4 ++++
1 file changed, 4 insertions(+)
Comments
Hey Varshini, On Sun, Jun 04, 2023 at 01:32:25AM +0530, Varshini Rajendran wrote: > Document the property clock-names in the schema. > > It fixes the dtbs_warning, s/dtbs_warning/dtbs_check warning/? > 'clock-names' does not match any of the regexes: 'pinctrl-[0-9]+' Does this fix a warning currently in the tree, or fix a warning introduced by some patches in this series? (Or both?) Cheers, Conor. > > Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com> > --- > Documentation/devicetree/bindings/usb/generic-ehci.yaml | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/devicetree/bindings/usb/generic-ehci.yaml b/Documentation/devicetree/bindings/usb/generic-ehci.yaml > index 7e486cc6cfb8..542ac26960fc 100644 > --- a/Documentation/devicetree/bindings/usb/generic-ehci.yaml > +++ b/Documentation/devicetree/bindings/usb/generic-ehci.yaml > @@ -102,6 +102,10 @@ properties: > - if a USB DRD channel: first clock should be host and second > one should be peripheral > > + clock-names: > + minItems: 1 > + maxItems: 4 > + > power-domains: > maxItems: 1 > > -- > 2.25.1 >
On 03/06/2023 22:02, Varshini Rajendran wrote: > Document the property clock-names in the schema. > > It fixes the dtbs_warning, > 'clock-names' does not match any of the regexes: 'pinctrl-[0-9]+' You cut too much from the warning. Which target/board? > > Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com> > --- > Documentation/devicetree/bindings/usb/generic-ehci.yaml | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/devicetree/bindings/usb/generic-ehci.yaml b/Documentation/devicetree/bindings/usb/generic-ehci.yaml > index 7e486cc6cfb8..542ac26960fc 100644 > --- a/Documentation/devicetree/bindings/usb/generic-ehci.yaml > +++ b/Documentation/devicetree/bindings/usb/generic-ehci.yaml > @@ -102,6 +102,10 @@ properties: > - if a USB DRD channel: first clock should be host and second > one should be peripheral > > + clock-names: > + minItems: 1 > + maxItems: 4 Not really, because we want them to be fixed, so you need to list the items. But it seems this is not needed at all... which boards and drivers use names? Best regards, Krzysztof
On 03/06/2023 at 23:15, Conor Dooley wrote: > Hey Varshini, > > On Sun, Jun 04, 2023 at 01:32:25AM +0530, Varshini Rajendran wrote: >> Document the property clock-names in the schema. >> >> It fixes the dtbs_warning, > s/dtbs_warning/dtbs_check warning/? > >> 'clock-names' does not match any of the regexes: 'pinctrl-[0-9]+' > Does this fix a warning currently in the tree, or fix a warning > introduced by some patches in this series? (Or both?) Our USB DT pattern is the same on all our newer SoC, to it mustn't be introduced by the addition of this one. Best regards, Nicolas >> Signed-off-by: Varshini Rajendran<varshini.rajendran@microchip.com> >> --- >> Documentation/devicetree/bindings/usb/generic-ehci.yaml | 4 ++++ >> 1 file changed, 4 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/usb/generic-ehci.yaml b/Documentation/devicetree/bindings/usb/generic-ehci.yaml >> index 7e486cc6cfb8..542ac26960fc 100644 >> --- a/Documentation/devicetree/bindings/usb/generic-ehci.yaml >> +++ b/Documentation/devicetree/bindings/usb/generic-ehci.yaml >> @@ -102,6 +102,10 @@ properties: >> - if a USB DRD channel: first clock should be host and second >> one should be peripheral >> >> + clock-names: >> + minItems: 1 >> + maxItems: 4 >> + >> power-domains: >> maxItems: 1 >> >> -- >> 2.25.1
diff --git a/Documentation/devicetree/bindings/usb/generic-ehci.yaml b/Documentation/devicetree/bindings/usb/generic-ehci.yaml index 7e486cc6cfb8..542ac26960fc 100644 --- a/Documentation/devicetree/bindings/usb/generic-ehci.yaml +++ b/Documentation/devicetree/bindings/usb/generic-ehci.yaml @@ -102,6 +102,10 @@ properties: - if a USB DRD channel: first clock should be host and second one should be peripheral + clock-names: + minItems: 1 + maxItems: 4 + power-domains: maxItems: 1