From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752290AbdH2Kkk (ORCPT ); Tue, 29 Aug 2017 06:40:40 -0400 Received: from fllnx209.ext.ti.com ([198.47.19.16]:49445 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752204AbdH2Kkh (ORCPT ); Tue, 29 Aug 2017 06:40:37 -0400 Subject: Re: [PATCH net-next v3 01/13] phy: add sgmii and 10gkr modes to the phy_mode enum To: Antoine Tenart , , , , , References: <20170828145725.2539-1-antoine.tenart@free-electrons.com> <20170828145725.2539-2-antoine.tenart@free-electrons.com> CC: , , , , , , , From: Kishon Vijay Abraham I Message-ID: <4c66e79f-d385-3cf5-6f24-2a4aec9fb3b4@ti.com> Date: Tue, 29 Aug 2017 16:08:29 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <20170828145725.2539-2-antoine.tenart@free-electrons.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday 28 August 2017 08:27 PM, Antoine Tenart wrote: > This patch adds more generic PHY modes to the phy_mode enum, to > allow configuring generic PHYs to the SGMII and/or the 10GKR mode > by using the set_mode callback. > > Signed-off-by: Antoine Tenart Acked-by: Kishon Vijay Abraham I > --- > include/linux/phy/phy.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h > index 78bb0d7f6b11..e694d4008c4a 100644 > --- a/include/linux/phy/phy.h > +++ b/include/linux/phy/phy.h > @@ -27,6 +27,8 @@ enum phy_mode { > PHY_MODE_USB_HOST, > PHY_MODE_USB_DEVICE, > PHY_MODE_USB_OTG, > + PHY_MODE_SGMII, > + PHY_MODE_10GKR, > }; > > /** >