Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1924189rwb; Fri, 12 Aug 2022 08:58:04 -0700 (PDT) X-Google-Smtp-Source: AA6agR5UIBEAPMLHrj5LnoNe/WQC7FQtQmd8KcSwVooMieeJo9/TCzDUG7J2Ae0FQICcfqlw2oCR X-Received: by 2002:a17:907:a055:b0:730:a432:99d3 with SMTP id gz21-20020a170907a05500b00730a43299d3mr2967030ejc.690.1660319884625; Fri, 12 Aug 2022 08:58:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660319884; cv=none; d=google.com; s=arc-20160816; b=WbD8DIeiGg2lOGQV1VmFjzwT6MMZrVMpACKprhnOU43Ndm1Hf80x6RjQmqhNmYMlv+ 7pDQRQUu+ONL/FF1/0tLEjTicM09pHh6sGKLKQ7EBwYOFRrELPwOEsG9OiR4O+pUorPW 7/FKEacgdylbLyVz8zZJd7AWCMVGUvAdNo2N8KoNgKukUuI6GviHIYv/y8aVCFpsWKnx 2ySyNdwTJH+96FIkoEaRaQTVvF6GjdR2n/CmUB6z5+koofJcA2i7XvCyk0yo/+uSSOSS lKgELkx7cIi0mcwfOhqRIzDAh06T/CAKsh275D8/YeyfDUSKfcXHNQgJpdmNr6VLzovM jm5Q== 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=tZiCBSbwBqTOJKgCUdOCzKrZdzh7JNhfWJyMmmQhiSo=; b=haO22GNZzAfXOIYQocAqLnYPhA6KG0kIHH3XHk8haRfRFGaSkm2uH7re5z8eQzmywn Mn9hZnIjRQcD4ML86nnSliwnC+MSZRek+1RqviMNDuKk5XmZ/UyP3qHHngb4vVyxyqlm TTX+y6JmQNv8Ngw2LgYEYQjiHtw78a0lgSycrEnnlJ49O99Peqi7StmsXoZ88g79uGRz MFihZOQcFPZ/r3Yft0G3JbowIuI7UxzuKRNTRIHgVHDVflD8HT30Loeb8XjVMKGmfOQs xhsGIJLa1FL/CJlEUbJ9vqTP3Y4ybkzo1MAJ/9CLWcIifO6HfkzVzbgXxLGUkuAdw2x5 PcMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=Ud+hEThv; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ee47-20020a056402292f00b00442b678864dsi2474032edb.431.2022.08.12.08.57.39; Fri, 12 Aug 2022 08:58: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=@lunn.ch header.s=20171124 header.b=Ud+hEThv; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237731AbiHLPgl (ORCPT + 99 others); Fri, 12 Aug 2022 11:36:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230141AbiHLPgh (ORCPT ); Fri, 12 Aug 2022 11:36:37 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A4D352DF6; Fri, 12 Aug 2022 08:36:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=tZiCBSbwBqTOJKgCUdOCzKrZdzh7JNhfWJyMmmQhiSo=; b=Ud+hEThvKtIN5qh+Tft2LlJC6m NT3NWsrfDsQ2DxwF8+/BDPEDlagfe2x7BQXnaesnWF9bxuG4fM43OQXvRc6oP/C6gXZC1iLfEP4Xh SY4LYt9ZDcJF73akCViFPAqzbbNyTXzURUquw07S1eVZGpO90tURLCvZ4ofGWNWFkTx4=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1oMWi0-00D8uy-MD; Fri, 12 Aug 2022 17:36:24 +0200 Date: Fri, 12 Aug 2022 17:36:24 +0200 From: Andrew Lunn To: wei.fang@nxp.com Cc: hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, f.fainelli@gmail.com, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net 1/2] dt: ar803x: Document disable-hibernation property Message-ID: References: <20220812145009.1229094-1-wei.fang@nxp.com> <20220812145009.1229094-2-wei.fang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220812145009.1229094-2-wei.fang@nxp.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,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 Sat, Aug 13, 2022 at 12:50:08AM +1000, wei.fang@nxp.com wrote: > From: Wei Fang > > The hibernation mode of Atheros AR803x PHYs is default enabled. > When the cable is unplugged, the PHY will enter hibernation > mode and the PHY clock does down. For some MACs, it needs the > clock to support it's logic. For instance, stmmac needs the PHY > inputs clock is present for software reset completion. Therefore, > It is reasonable to add a DT property to disable hibernation mode. > > Signed-off-by: Wei Fang > --- > Documentation/devicetree/bindings/net/qca,ar803x.yaml | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/qca,ar803x.yaml b/Documentation/devicetree/bindings/net/qca,ar803x.yaml > index b3d4013b7ca6..d08431d79b83 100644 > --- a/Documentation/devicetree/bindings/net/qca,ar803x.yaml > +++ b/Documentation/devicetree/bindings/net/qca,ar803x.yaml > @@ -40,6 +40,12 @@ properties: > Only supported on the AR8031. > type: boolean > > + qca,disable-hibernation: > + description: | > + If set, the PHY will not enter hibernation mode when the cable is > + unplugged. > + type: boolean The description itself needs indenting 2 space. I would suggest you do what the bot suggests and install the dtschema tools. Andrew