Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp4100761rwj; Tue, 20 Dec 2022 06:10:20 -0800 (PST) X-Google-Smtp-Source: AA0mqf7vIZ1H1EzvcSX7qUY9EWvkmappXrWGeI24UjKCYFqXqDMzwJ9zu8hxuihqRFF1rbvfP9ML X-Received: by 2002:aa7:c690:0:b0:470:1605:7d8b with SMTP id n16-20020aa7c690000000b0047016057d8bmr28861303edq.16.1671545420608; Tue, 20 Dec 2022 06:10:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671545420; cv=none; d=google.com; s=arc-20160816; b=IgLdu+qICmgKCJZYIJ/3WzXO+Iq8M8Ff+kyf6TYTSJ5BVZJTwaDDnYG5CQB77wEbtP MZWYOBLHOpamwluKnj/TOOnudZtM9wi9wZBIMMd6AoIk9hy8PakP/P2Kmkmq3z7Zhqh0 7I2x2mzyGdVKbb6j8MuhVoZA7jVkKkfTvg6qjjqpGtdfKJk8U++wxqI4xOi/55jPG/Lb 4k6qid9qnHkFZhbPBGgj95xbIx0OkOrXKG7xCGRNpWEuOOpsarTLtwxdBv3p4swfeLDq 0BeEfUt1rcWE8ydoss2WmlWM7Pu7AwiZK8Qb3yFnA53TfYmMiHNhxnpOcX2eANY1qVCF Pc8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=daA9J5YlAexs96vTZu++9x6wpDUZP6QOYY7D+BYR1/I=; b=s1HxLn+PSQwna/DdaLrc4im5PS6wYMwxpXp+gahcN6Aq1kNcK1lS4zckfTvG7y+lae Od85A0y3r1bW6QQh7ribcByVaq1o2HeZI8tEl9Bxcn9/khsnmZF1Eto5F+pNa7cD03Lw qgzCfB4tMod/8diTYmdTcLVtR1X/xbJKjWwWj//9zR6M9foc7sZ4buNgBA57RhRRAQ0G VWwEYfl5w00WSsIIoenZKfLKT8Ja26K0p407/SJn3BATM/zov5QVBGFU8DYPmY2CBpOj d1vDcIoOl4qx4WhHRPVb0ge+xZvRcuBa0iXSm2KoWp9K7/wOy+Mml1gmw2wlaYYEkiT7 cOew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=W8gBo7Dl; 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 p9-20020a170906228900b007c10d4ceddesi8278349eja.767.2022.12.20.06.10.03; Tue, 20 Dec 2022 06:10:20 -0800 (PST) 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=W8gBo7Dl; 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 S233364AbiLTOEz (ORCPT + 70 others); Tue, 20 Dec 2022 09:04:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229610AbiLTOEv (ORCPT ); Tue, 20 Dec 2022 09:04:51 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4E981B1CA; Tue, 20 Dec 2022 06:04:48 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 64F3BB8120C; Tue, 20 Dec 2022 14:04:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0A4CCC433F0; Tue, 20 Dec 2022 14:04:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1671545086; bh=W7Nt9CNlbNQTRtOJ+Ou9FJetWciHdrJoIDblv/IyaxY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=W8gBo7DlbzbFGiVxqKnDzbddmVtiUu8dnjSgUzI+ahxBpvXYwtq03/lVGFBHCkM8x Ew23AGP8R8/4yhwY8AIc5canf3OnsMpb4HGycC52evWSth/oto9lNDQJ6e+AbJOX9T XfLpWRg1nYU5Z5/eq2q9D5RbS9eV7/Vh6p9b9xcuqXTGg+QabVGlY2L61Oh0p91p0U KH+n6D2u3hlI8nCxMzVSf86uWUY883tQ8XWBGTPnUXI9Q30chZOUDV9+nKFa2oKUH9 gjbghHg0obc79L6a5B6sy7484gqrRy61FQQeVbtczHNUN6ljhmoQRKa7fnxG3VKUk/ j5XjgQ312VTRA== Received: by mail-vs1-f51.google.com with SMTP id c184so11851618vsc.3; Tue, 20 Dec 2022 06:04:45 -0800 (PST) X-Gm-Message-State: ANoB5pm3II7IV3cR9RmoHWJu9oogeU57F3ijFyAHjCLn1pm/qWlZVXxk delVgLPOuaG+MJdbPKPgbIEVc5sT/an0mEfv8w== X-Received: by 2002:a67:af07:0:b0:3b1:1713:ba12 with SMTP id v7-20020a67af07000000b003b11713ba12mr18042140vsl.6.1671545084970; Tue, 20 Dec 2022 06:04:44 -0800 (PST) MIME-Version: 1.0 References: <20221219191038.1973807-1-robh@kernel.org> <87edsua5q4.fsf@balbi.sh> In-Reply-To: <87edsua5q4.fsf@balbi.sh> From: Rob Herring Date: Tue, 20 Dec 2022 08:04:33 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/2] dt-bindings: usb: snps,dwc3: Allow power-domains property To: Felipe Balbi Cc: Heiko Stuebner , Greg Kroah-Hartman , Krzysztof Kozlowski , Thinh Nguyen , linux-rockchip@lists.infradead.org, Johan Jonker , linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 Tue, Dec 20, 2022 at 1:34 AM Felipe Balbi wrote: > > > Hi, > > Rob Herring writes: > > > The Rockchip RK3399 DWC3 node has 'power-domain' property which isn't > > allowed by the schema: > > > > usb@fe900000: Unevaluated properties are not allowed ('power-domains' was unexpected) > > > > Allow DWC3 nodes to have a single power-domains entry. We could instead > > move the power-domains property to the parent wrapper node, but the > > could be an ABI break (Linux shouldn't care). Also, we don't want to > > encourage the pattern of wrapper nodes just to define resources such as > > clocks, resets, power-domains, etc. when not necessary. > > > > Signed-off-by: Rob Herring > > --- > > Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml > > index 6d78048c4613..bcefd1c2410a 100644 > > --- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml > > +++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml > > @@ -91,6 +91,9 @@ properties: > > - usb2-phy > > - usb3-phy > > > > + power-domains: > > + maxItems: 1 > > AFAICT this can be incorrect. Also, you could have Cc the dwc3 > maintainer to get comments. When we have a user with more and know what each one is, then we can extend it. All the other users (upstream), put 'power-domains' in the wrapper node. But this is what we need now for RK3399. I used get_maintainers.pl. If that's the wrong output, fix it please. Rob