Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1455176rwb; Fri, 12 Aug 2022 00:52:31 -0700 (PDT) X-Google-Smtp-Source: AA6agR4wxd0SWI+TvkrkXa1m//G9G048aAoKtJcGpdy2fwIUbkK+ypbSA203F1Dqn3uV5HpESfMI X-Received: by 2002:a17:902:ea10:b0:16e:d88e:b14c with SMTP id s16-20020a170902ea1000b0016ed88eb14cmr2916566plg.25.1660290750952; Fri, 12 Aug 2022 00:52:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660290750; cv=none; d=google.com; s=arc-20160816; b=fiv4ugEaruk6MsQxwZrMchPsknSvwv6J6EXeyynKm+e8l9X7mb3YK4p6B9G5G8Ay4E tHvV2q/V1K061N9NaJPTJOg4uLXVxbmSC8QVcPPkMdh+tbBDRhgRab7HENP/ImOuDb4C xbPxbdXy0P86+96OtK8sewqGyTc0QmGsc0sPJRQrDI/u181h/JydP4nU9cr2nlZwyGRT ql2wdEGQwwS0vu8Rk7YcPsT8AO7HGMIZ3X5QB9TnlrLOk7O6xnEo4+zUNBBKPCJgw731 vFByZsFaDSj3kgUVpUbsURN8TL+wYcGlb3N7S95rpRKO4NCcAlCTgF/vN6bs/3ZtGeyM Frwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=bhgmVIMSR6aro90bfc2C/db0hRKG+K1TQjCAcAiHupc=; b=xXA5AtD4ElKnhoGr5faJXysR/RLQyWojtQc8yndM5rFUvZQlcNFgb2orzS5/kCJHYn jhhoQ3vyEdeU/j6lHVxUuyOjDDcr29Awp5/ON4f+CwYyLtnTtr499xIeREJrx624h/sQ Jj0TdofVDoM/UfQpysiQv1px0swOUY1on6+Exnj5A1VKZJ4gnyU6qUcBwsBF49RkcIqf YoFjvjGFeXNyYWzohKcD0ZKiqVtKcZ0uHoUGQd0E2GmSKhpDLx6YwKJNkOHK1x3eHWIo eD0BUdumbTpuhbiZvi0lBuZst6sW8YM1p1ziFZuSphj7QsUWYQ5Gjx9tGQYOiane76QB kHHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eIQyE6pA; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v23-20020a634817000000b0041cda7ee9acsi1714831pga.417.2022.08.12.00.52.16; Fri, 12 Aug 2022 00:52:30 -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=@linaro.org header.s=google header.b=eIQyE6pA; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237371AbiHLH2I (ORCPT + 99 others); Fri, 12 Aug 2022 03:28:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237358AbiHLH2G (ORCPT ); Fri, 12 Aug 2022 03:28:06 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D8ABA5C62 for ; Fri, 12 Aug 2022 00:28:05 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id r17so207798lfm.11 for ; Fri, 12 Aug 2022 00:28:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=bhgmVIMSR6aro90bfc2C/db0hRKG+K1TQjCAcAiHupc=; b=eIQyE6pAux7feSR/IdAkk/Xi7++Szw8nwQarhE8q7DVBWNYQ4Pn9pON6SljdEO5Z9r k0CwQTzAQ5WwNSgMb3Xrhhw1E6/p7a58ynGrAr9HOrVkeYdpIABSZSv4blgwVtkCwAzy qjoytJGtdhH7qNg1PlwzO9fnxmJZyy9KImhaXLEMP8G5BQHupljeBMYJylOEHCaL16sB sxzIrWVR+bz1GFf6wy/BX+klwk6ATI1/0D5qNKnZE7Lf2moeqZOah7apTmoRXS7iJ5NL mtNcTjQaDk8X88x5DYIeth2NvYY7NRd7KeqD+rh41+1BCSzGUQgvl1l0gUKElnKoswex bO4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=bhgmVIMSR6aro90bfc2C/db0hRKG+K1TQjCAcAiHupc=; b=iQX4Ov240PKRlnSQ03BXEHUWQSxFlh+tlp/f+s0cNQIzT7o5vTnViZJZ1NKNUNoPck lE9rBTHkYbV1i/9dKhXjtiRssbqURmiu3jPuPbQAURLKaZE2E28G9kTPV5FZNNGwP/px rQO1rF6ycvDt4Z+P/onxkcPcSk0NsgSb9CZRz1IECOjPqr3gAztsEoLoEINccLaLxjBm ZoYi4GLoIoLBMhN6y7KE6cBE52+aWx+neE1DSSRFqJ0M2eIQi1Tlxf1Ugbv/TLZVKVaU kgONxvw4wpNIizYOINafApLIUBPelD0b9nxjCX25qUJor9lzajeL3WFaO10yOfZQ2P3+ 0Pkg== X-Gm-Message-State: ACgBeo2tHVzpu8rfFQkJoQL2fbfvWKyfVOpTfF5E3tzdiM10ahBXIfcu LA52//bdeKrNnNSKQmdtK3hswg== X-Received: by 2002:a05:6512:3d09:b0:48b:9512:ade3 with SMTP id d9-20020a0565123d0900b0048b9512ade3mr951083lfv.390.1660289283758; Fri, 12 Aug 2022 00:28:03 -0700 (PDT) Received: from [192.168.1.39] ([83.146.140.105]) by smtp.gmail.com with ESMTPSA id r13-20020a056512102d00b0048af464559esm110538lfr.293.2022.08.12.00.27.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 12 Aug 2022 00:28:02 -0700 (PDT) Message-ID: <0cd22a17-3171-b572-65fb-e9d3def60133@linaro.org> Date: Fri, 12 Aug 2022 10:27:46 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH net 1/2] dt: ar803x: Document disable-hibernation property Content-Language: en-US To: wei.fang@nxp.com, andrew@lunn.ch, 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 References: <20220812145009.1229094-1-wei.fang@nxp.com> <20220812145009.1229094-2-wei.fang@nxp.com> From: Krzysztof Kozlowski In-Reply-To: <20220812145009.1229094-2-wei.fang@nxp.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 12/08/2022 17:50, wei.fang@nxp.com wrote: > From: Wei Fang > Please use subject prefix matching subsystem. > 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. Wrong indentation. Did you test the bindings? Unfortunately the property describes driver behavior not hardware, so it is not suitable for DT. Instead describe the hardware characteristics/features/bugs/constraints. Not driver behavior. Both in property name and property description. Best regards, Krzysztof