Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp499973rdb; Thu, 22 Feb 2024 10:01:23 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVmPJ2dQlhLTOJ4/PcRK692+Rbo5t5qjflhZT3Zl8MDn0gEh6i6H8i715U8rnAk++affk8zlLEPXn5uVqtVBIyjA8/T0AWrAmb9et5EIw== X-Google-Smtp-Source: AGHT+IEJyCI7IPslTETh4kVLu/xR/rpJt/TXMpvqSspj6rbaIn/aK+REB0NCyiNVu6g4rUj0poaL X-Received: by 2002:a1f:d502:0:b0:4c0:1bb6:322 with SMTP id m2-20020a1fd502000000b004c01bb60322mr20492606vkg.15.1708624882734; Thu, 22 Feb 2024 10:01:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708624882; cv=pass; d=google.com; s=arc-20160816; b=BJecDSYZODjElKULAhH5/QTZXrs1MKfVVXp68+8N58dwLcdfYhfGucjVct5QL8VLW5 Erm6o7MMUpl9p6WKCZZ80f5U2SD5ANKCoRHqyrHktn8gnZa20n2k/Gx5l3SmLDVnFp8f AVqWqyZvaxBMhSdrpStdUyvlGgWJemDUchVgNNm26g6elR/IF0C5e6pgX3bxTszPhCm1 cs2lZl2lEcL4pkSYXhVj6PM/n2+UXKGFa/bmE88/k7b4l4gu8FNVTU/TdEni0pXbViG4 lDd7Nr+Yi9P80T59A/iQS7M8VcD388547tHDUN9LG0k8AF1MPrCT8hvZ48A8IT/EzfW/ kacQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=IF95aGfn9jUdwxWgCRViXWnhpHDcPdIggxFh8RKCpUg=; fh=MOwdy53v9Cp44a8RuK9yPRgImRNiIctc4+eUQxDkNek=; b=wk0W/w99HRYk9Z19wYwIco+gOJ3ri9iRKUbjA6LgZXYNturuc8wRM1z4I0v4RBHA3/ dwPEqtjZOPjFkADkB8CupZDbytwlWaUcEW1G6nn6YPL2teNmkLv0RiBqVWUOLEyXFedg 19zo/fTf841TbfiN/eHGNbyScOvRSA+Ah+VoK4IFIP0jvUjvCYiSHQndc1yXRMpfmxJc XleNipWV3rNm7J+0sw17FuqUuloZDqeM+th5wGEFnTBXtk7LRcOSrPySd3D59VBdTZOn FEBhc5AB/McsU5CyFkXRUnmmKKbUhiLa3yN3Vio2DdSSN812H/v02U5XzGi+7bYh8Q3I dK9Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="d/Rou46X"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-77027-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77027-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id e7-20020a056102044700b0046b0313ff1asi1809415vsq.195.2024.02.22.10.01.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 10:01:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77027-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="d/Rou46X"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-77027-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77027-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id D5C901C254D6 for ; Thu, 22 Feb 2024 18:00:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 34D98157E96; Thu, 22 Feb 2024 17:59:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="d/Rou46X" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 59106153BEF; Thu, 22 Feb 2024 17:59:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708624763; cv=none; b=ISr79GV8rXAdoqwR4JjfWx6STMANA84bwdcdonKYgZUxfS1iZcB+JrIoO0bm3ERp/xHnENvrKMQlM/iXmt3ee79Kyt1u0UA7jjJ0HUrDfECLgeBM1740E/IbSFJG98hVNY1UtkHDdwsZH/szJdwN2ICecSrzD0ujH74BRiBUZDw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708624763; c=relaxed/simple; bh=wdnO0bFfHymT5iCbsiUCX/eH2jaKJvVYJF6RugEQ6ZU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=UJKLZACgw80yF4FI1a47qSj6xgquzzriTSCBKwUaNuvRHLPuxaajhSka7qkSAd0CGuwDimsUaV0isrkDPwgiZ1xVUIfOIfLj49gRVAx+n0GLo1LoQnudKkHd+Xa+PBsUGa1gNS5ZrgMF/A2Zj7uEMho2hqi197X1IYtU2UWjynk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=d/Rou46X; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4E618C433F1; Thu, 22 Feb 2024 17:59:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708624762; bh=wdnO0bFfHymT5iCbsiUCX/eH2jaKJvVYJF6RugEQ6ZU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=d/Rou46XoeDVCackneWERhF7n8kwnrl/gU/Vr0pLn9yDrVgMvCxjRhrUAXm+TYb8e BxgA8ftVrWEEbAoq/CYx2arEmh6w7yrXkSQG5NTJjCHbA+yo0vM7LeLom1I1WROFhJ tTH7iVbkZ1D1Vs3OfSDyuOZCX2OV6YoVTkU977KlgYbtdQkudT4MCTvi81LQUjyx8Z wUHGZgwSwh+arqkj3SUW8cB5ZrqdMY1eAB+8ukEwCpyzkQ5L2JfveFUbXI3QCwuMI4 LlF0XNDeh5SZOcz6LVTRTOauO2th45VNxBDr3m6pIuihZQ9MlNcLeWOpGa3rwltHWK j1HQahO9xKuAg== Date: Thu, 22 Feb 2024 10:59:18 -0700 From: Rob Herring To: Vineeth Karumanchi Cc: nicolas.ferre@microchip.com, claudiu.beznea@tuxon.dev, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux@armlinux.org.uk, vadim.fedorenko@linux.dev, andrew@lunn.ch, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, git@amd.com Subject: Re: [PATCH net-next v2 4/4] dt-bindings: net: cdns,macb: Deprecate magic-packet property Message-ID: <20240222175918.GA3500038-robh@kernel.org> References: <20240222153848.2374782-1-vineeth.karumanchi@amd.com> <20240222153848.2374782-5-vineeth.karumanchi@amd.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240222153848.2374782-5-vineeth.karumanchi@amd.com> On Thu, Feb 22, 2024 at 09:08:48PM +0530, Vineeth Karumanchi wrote: > WOL modes such as magic-packet should be an OS policy. > Leverage MACB_CAPS_WOL on supported devices to advertise > supported modes through ethtool. Use ethtool to activate > the required mode. According to the description of the property, it indicates whether magic packet is supported by the h/w or not. Enabling WOL or not is a separate matter. OTOH, I would think WOL support would be implied by compatible properties. No objection from me, just highlighting the distinction. > > Suggested-by: Andrew Lunn > Signed-off-by: Vineeth Karumanchi > --- > Documentation/devicetree/bindings/net/cdns,macb.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/net/cdns,macb.yaml b/Documentation/devicetree/bindings/net/cdns,macb.yaml > index bf8894a0257e..096309bf3235 100644 > --- a/Documentation/devicetree/bindings/net/cdns,macb.yaml > +++ b/Documentation/devicetree/bindings/net/cdns,macb.yaml > @@ -141,6 +141,7 @@ patternProperties: > > magic-packet: > type: boolean > + deprecated: true > description: > Indicates that the hardware supports waking up via magic packet. > > -- > 2.34.1 >