Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4254159ybb; Tue, 7 Apr 2020 03:59:12 -0700 (PDT) X-Google-Smtp-Source: APiQypJrw9gFsY5KflSYBgo8rJIYH15YHSGJA+2rdpfmAgX5zwL6DNWja89+yHzHFd0FCjKR82RZ X-Received: by 2002:a54:4482:: with SMTP id v2mr1192056oiv.114.1586257152480; Tue, 07 Apr 2020 03:59:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1586257152; cv=pass; d=google.com; s=arc-20160816; b=qC55OYm+OV9FPBS2AHioQ1wN9L1D5Qw3mBc5JFBlljcuLKxIGCHf0BcygvxTIJly9j opgUZaCk7JJR0dewAcfyVuJZweT6mo7PvgFQj9mUokiC2d+5lCE1i1wwTPU0GNx9/ZY0 uSS2FFpyQZ1rjFdK3wPpbFXG0HApI3Zn3myX005wtlyWfnpDGU8ZvFEYIsfxRygp8Z/J CRI0ERWY9OqXjZOlHwV7KZ8pUJhpNjuhGBVst0WudKdABV8pFYzAp+rwAVeOd4Lam3mk EG2snzl8jg9iTg5Rm6Dxu6SoJjmSQ91bmDWDbH08ap+mcpFVKXMzBeHHduCdFKAVRkEe rJuA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=MBigxvV/BuH7LVzVY8Hv8l5OAVehBfk82G2z6C2UoUg=; b=kf5Df73CM9eTmVvxk3DXSfYHNlEpZEi8mSbzDEAqoMw2F/rso5uBwcpxCXLMMKT72V /JGDuhkOdG+/ky5J5tryzCuV10PaWofcr4wi6EMr9wQxO+3ScZYHO2uBXGmOLa+EyHta zqH/JscBBcRf8/jOMh/LngPfpGQGkhgJhrY8yo92ltWVpGZMKXPiZLVF0RasqsQIIY5X 1wuOv/ufKInsRYsgFPIeu1m+kcOwK+HAvjl/f4b9YXi0+Mx64j09R075zdH76Kp1YCyN YuQInpOMlarNHyZJCIrL+5e/IKHufOirPcFLcGRhbqlB+FRAZMLE5nuOTnzsOWX8QSdB DTWg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@toradex.com header.s=selector2 header.b=uWDbAoU4; arc=pass (i=1 spf=pass spfdomain=toradex.com dkim=pass dkdomain=toradex.com dmarc=pass fromdomain=toradex.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=toradex.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o5si1082018otp.191.2020.04.07.03.58.59; Tue, 07 Apr 2020 03:59:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@toradex.com header.s=selector2 header.b=uWDbAoU4; arc=pass (i=1 spf=pass spfdomain=toradex.com dkim=pass dkdomain=toradex.com dmarc=pass fromdomain=toradex.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=toradex.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728329AbgDGK5O (ORCPT + 99 others); Tue, 7 Apr 2020 06:57:14 -0400 Received: from mail-db8eur05on2120.outbound.protection.outlook.com ([40.107.20.120]:5526 "EHLO EUR05-DB8-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726562AbgDGK5O (ORCPT ); Tue, 7 Apr 2020 06:57:14 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lq0JiMMYuI5tEjiBCaUiPml8lKPRy6EKzbnJAj3fmvdSQViEnmma9+NNBpG4uYomH54vc8APxUQP3PfOlcqWgXf2i5dJ6Qe6Lmc1i8cN9fWlvVgmZQuLBOs0G+hfq+jiTHQNSgjDoxmVPEOuHKf8fAr18tQg3ReZ7oDBgTleHi3MMQlDJG4AUzFLo5q6W3YiLZ1QIsMvJ92jdN/tFPxeOysxQbnJmzD7YsHip8gJEX8mLc+Q5nAaBR9MR8Si7ypHRH/x83eNjBvus6dtR0QqRo2L/Qs9djuKg4SpYVfIWBaz0k1MI0/bZvIzncHGLPivzumC7ivuNb1HU88KYPSvqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MBigxvV/BuH7LVzVY8Hv8l5OAVehBfk82G2z6C2UoUg=; b=H4ifPJ6h0CHgylwKWQOK2XTrSaDl0fsRGUrMLzW84SkPwF4r2tXfYSB+fLLgSd20RgCJtUoEyTgAzcyNblFNnOoAzkFsWcCH3VN4OI8EBkshJ1O8vVrWXoyrqyzxhyNBNj/IAcrePMfEzCazjyQ4V9lHSTpbjRST1GuBpoguOXe7ljve1RstiTxKaKca8nRaT10TtYp4TU4SmZ2V8IxWOYpRf77PaUzPTjKsfHf1DxRsoVeBwiPZ5g9r/COD4KQdLdtIQNaMlsPnOiMNSZ/a3yMFjM6ShrqjGIrAPQHrt4lvLHwOAJn6EVBsojCaSl/72iHNmrZkATCvVuV0S0XCxw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=toradex.com; dmarc=pass action=none header.from=toradex.com; dkim=pass header.d=toradex.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toradex.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MBigxvV/BuH7LVzVY8Hv8l5OAVehBfk82G2z6C2UoUg=; b=uWDbAoU46akok2sDpvGAVhYpYysGxE6qWhppB0OqFECoOU3lYL26LcXDrbW56FhARABdQthEKt70uoqdQm6B8krBoQmyY6+RXtDYZKCcF2YKWMWC9JlgLKw0NfDGnq/kAt0ZzYmHihu9jTl1AntxfK7HoP+95K4ze7qI6/uJSSk= Received: from AM6PR05MB6120.eurprd05.prod.outlook.com (2603:10a6:20b:a8::25) by AM6PR05MB5351.eurprd05.prod.outlook.com (2603:10a6:20b:65::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.16; Tue, 7 Apr 2020 10:57:08 +0000 Received: from AM6PR05MB6120.eurprd05.prod.outlook.com ([fe80::44ad:bee7:b765:b9c7]) by AM6PR05MB6120.eurprd05.prod.outlook.com ([fe80::44ad:bee7:b765:b9c7%7]) with mapi id 15.20.2878.021; Tue, 7 Apr 2020 10:57:07 +0000 From: Philippe Schenker To: "o.rempel@pengutronix.de" , "hkallweit1@gmail.com" , "f.fainelli@gmail.com" , "andrew@lunn.ch" CC: "linux@armlinux.org.uk" , "kernel@pengutronix.de" , "davem@davemloft.net" , "david@protonic.nl" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH net-next v3] net: phy: micrel: add phy-mode support for the KSZ9031 PHY Thread-Topic: [PATCH net-next v3] net: phy: micrel: add phy-mode support for the KSZ9031 PHY Thread-Index: AQHWDMAdAKh4okIfHEScpK5LI+w0J6htfQ6A Date: Tue, 7 Apr 2020 10:57:07 +0000 Message-ID: <699bf716ce12178655b47ce77227e4e42b85de1b.camel@toradex.com> References: <20200407093654.26095-1-o.rempel@pengutronix.de> In-Reply-To: <20200407093654.26095-1-o.rempel@pengutronix.de> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.36.1 authentication-results: spf=none (sender IP is ) smtp.mailfrom=philippe.schenker@toradex.com; x-originating-ip: [51.154.7.61] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5464b94f-cf35-4e6f-e71f-08d7dae26a78 x-ms-traffictypediagnostic: AM6PR05MB5351: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 036614DD9C x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR05MB6120.eurprd05.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(10019020)(4636009)(136003)(366004)(346002)(396003)(376002)(39840400004)(71200400001)(4326008)(54906003)(110136005)(478600001)(36756003)(86362001)(2616005)(316002)(6486002)(66446008)(64756008)(186003)(7416002)(5660300002)(66476007)(6512007)(8936002)(26005)(8676002)(2906002)(91956017)(76116006)(6506007)(66556008)(44832011)(81166006)(81156014)(66946007);DIR:OUT;SFP:1102; received-spf: None (protection.outlook.com: toradex.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: uH/h3C86Y3u5TFKgjh6ayrjMybBPrEjvs7vM9D0REQWkEHb3bkwXCJMS3nU6J7augeRtVrzhMHENDeXoLrLCZtzg0sjNWHe35CdH9C2sKDHZOuRXRg51SvT28Grn/O/ezkhjg1wiQVirAT3ZSY04YRp8QAmc/d4FhZ+nb98M/zNXWIVzTUXmuEkFI26Ww5p1pt8LJeNX+dX2HFyOKS9ZFHci34XW/KxqFYPr1JeEj7qVNVkKF3kyAZ5+me9Qm5JENRzhD7UO5fALjMiJi/D8RWUR1qGih7Ol2X9dfLDr3jtcgsMBntyA87VEdhbu/nO1gOYbG7OXAkmSj0n7DeLQyeCt9tmKFnqyIV4q3dtU+/0rrXqDprPKX0fdsvHwOXYpJvyQ65wgNFEdIhhi7RUiEk6b/Yq0/LvM1ZZwuDoikT22dhIV20XtuIoM8OkwdNTJ x-ms-exchange-antispam-messagedata: ZOA/qyCESh5ed7LA4YAOx6OhFds7kBN+S0eR/SCQllopoyn/0waqatp3R+Y0ShzMdLU9r5b1dBXkTeHjwrSwou2eZEjyKYIZvquCq3/QQXg/C/x+t3L4var6ELwmMd3cN3zy+R1NrI3f0IXkEEZmTQ== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <069228F9C9A338469247819907C9232C@eurprd05.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5464b94f-cf35-4e6f-e71f-08d7dae26a78 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Apr 2020 10:57:07.8927 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: d9995866-0d9b-4251-8315-093f062abab4 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: LYhTRIrHaJWF2AAKFBz01Uo9Y2Dy0349V1xxCR/NVaEVD4uBGxEaQA8TwyOZ5LNsw/fcZ1k+Rv1LIyMDrJtBzFHyxThYIAxcQBxL4Q4SjXQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR05MB5351 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVHVlLCAyMDIwLTA0LTA3IGF0IDExOjM2ICswMjAwLCBPbGVrc2lqIFJlbXBlbCB3cm90ZToN Cj4gQWRkIHN1cHBvcnQgZm9yIGZvbGxvd2luZyBwaHktbW9kZXM6IHJnbWlpLCByZ21paS1pZCwg cmdtaWktdHhpZCwNCj4gcmdtaWktcnhpZC4NCj4gDQo+IFRoaXMgUEhZIGhhcyBhbiBpbnRlcm5h bCBSWCBkZWxheSBvZiAxLjJucyBhbmQgbm8gZGVsYXkgZm9yIFRYLg0KPiANCj4gVGhlIHBhZCBz a2V3IHJlZ2lzdG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