Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp474617ybz; Wed, 22 Apr 2020 01:50:01 -0700 (PDT) X-Google-Smtp-Source: APiQypJEL6lkt3HR3vgXuYm8bdv9/bjydVjN9OI4fKosLjTRW2zVVZWhVxmJS0Qvw3KGnIfE7q9f X-Received: by 2002:a17:906:af99:: with SMTP id mj25mr24430457ejb.151.1587545401303; Wed, 22 Apr 2020 01:50:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1587545401; cv=pass; d=google.com; s=arc-20160816; b=HrsdodL4aukMXlam+lO/tTXZHtEhPVHHSjqZe5xu8n62onBvZP1Ms/I3aIYKRiBVEh F7TkxFzNYL0yhgF3vKKiqdksXYzy3xeBst8uEpOslepfwE14vyxJNo4bzoGnQNF5vUTl BPD+F2rf9BmerjAX2YzpQJWXpEJ6EtO9Gx/ZZKUwcOZgjGXMwamIZts0xQkvAlC4wM5I rOy+ogeBgXdZWrxVUgT3ypb5PSWZkLvrA5yKaEV6EV8oFdAF0ioWjSVjzp9D+7Xb+GGO orEx25fDzTM1SQEL4U3EaYkpHOqOPRCL8sgkmR7UUJ33FzyE3qcSluCczq/UHV8OZVD+ 6IPA== 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=DwKFfMrLHNaXPtn0igXOB1VftcWFgWKC4UZ3jpuSxc4=; b=GHiRkFlH98uN8s3FfT4Nk9xDv1BHy0z+2cVYE3DWKO14RhJW1FAdWYE4wAL72BgAu9 LC7336dUlGok7GOUiyG69T1LCi0Dun/iXGCqaW+DH76KskECqvJXr4eKPWRwcuZl0Xkd im3rfZlamft+Ana/COswrbt6vKmLBmS7uBGf0Yq+c9deq/Y6RTL4W5giuEp00FmV2/Dr BI8f8ABcB258NlIllZfqylL8l9T8U+GLjwbIl0sytZ4dKWH1GRlwLADmb0opz5v7r5YU 1oaessU5kGdeGHFeUtTzMKkAGUGMLoxHMP/5B67hhH/r7DVSXirjz9AJ9ZdizeNEQKSU VuAQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@toradex.com header.s=selector2 header.b="um/9N2Hc"; arc=pass (i=1 spf=pass spfdomain=toradex.com dkim=pass dkdomain=toradex.com dmarc=pass fromdomain=toradex.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id z9si3280618ejr.264.2020.04.22.01.49.37; Wed, 22 Apr 2020 01:50:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@toradex.com header.s=selector2 header.b="um/9N2Hc"; arc=pass (i=1 spf=pass spfdomain=toradex.com dkim=pass dkdomain=toradex.com dmarc=pass fromdomain=toradex.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726502AbgDVIsL (ORCPT + 99 others); Wed, 22 Apr 2020 04:48:11 -0400 Received: from mail-eopbgr60109.outbound.protection.outlook.com ([40.107.6.109]:9698 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725786AbgDVIsK (ORCPT ); Wed, 22 Apr 2020 04:48:10 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S7X0w/9qAb6cgRBhGMNIdX7T3FWZOWt0XyBdXN3YqhAwYMdTlg6hzh1QEFi6nL3sVZV6RisMiJgvSdsWeoLRpFwtQU/V0NwXxqr3ILBwPbk8paqY2K4tL/F3yzyXTT84D+kpOJCdBKBcHDzrz453iPjB2e5zZuX5kSg3ughOQ2/jPvGx5tZTmKxHWn3pOgJymX0t7owstSOSr7Xwvr7D8WuxT5GpaK+BvK4hgGM3ulLDx/dXwMSUyJUHIPQI3Q58EY+McjN52nC4xQrDVH3XQXCNKSuBclZpiv5DWNuEKsBz659lLbfsnZJMjxtKVqFM5j/JIeF4VxeF5zOafIODSA== 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=DwKFfMrLHNaXPtn0igXOB1VftcWFgWKC4UZ3jpuSxc4=; b=ICQ1EevBxtq1VkgbVNzYT6DT5z89w34OYJj4It/lexnb3aC0M3gmMpjwjX/aG91Dj1r2JBHuBezfEZRMyuQJxN+Zymhiv2MryXwtbZS/Pg1eDZuygaVXf4B9Escj82oe90BLu+sz5+1Jb3ptiV/sUMcOxBdsiVL3rIcl41yJ5ZOpfnwXnc9nQtGkwjut3si79oPTgVzUPuxZ81iGeraYkE9ur2wc3h5lSkLv5kNJro/f+fEoMCaAQBaF6Zev/eUKKMgbquOJ++F0WvhHxwtWYPYosQJiH3XClARJPu+qN8GOkXgEVEK/X1zJ517hTqF4TRpv/c4qbMayHAm4dsVy4g== 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=DwKFfMrLHNaXPtn0igXOB1VftcWFgWKC4UZ3jpuSxc4=; b=um/9N2HcWPh3jfL5hQ+DPR6vFXL9krnN4OLwBMSjUh3ep3hC+NLa6qKYWIk36yJ9uIFNnoUmWmcDhyG/gWZt1YGR8EGzU4LphyiBgOboDgMWoxOFJCRVKidX81mKTGUCH6tp3HerStFE+njerInkKhcqZ5ZSoHMuq0VKq0/Z+54= Received: from AM6PR05MB6120.eurprd05.prod.outlook.com (2603:10a6:20b:a8::25) by AM6PR05MB5640.eurprd05.prod.outlook.com (2603:10a6:20b:94::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.25; Wed, 22 Apr 2020 08:48:06 +0000 Received: from AM6PR05MB6120.eurprd05.prod.outlook.com ([fe80::95fc:fc35:26a2:a920]) by AM6PR05MB6120.eurprd05.prod.outlook.com ([fe80::95fc:fc35:26a2:a920%7]) with mapi id 15.20.2921.030; Wed, 22 Apr 2020 08:48:06 +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: AQHWGHaxUA6NfMbeRU2VdAoOfe//rKiE1IqA Date: Wed, 22 Apr 2020 08:48:06 +0000 Message-ID: <88640742d3a6ff4bc028034e46aac838e5a6d01f.camel@toradex.com> References: <20200422072137.8517-1-o.rempel@pengutronix.de> In-Reply-To: <20200422072137.8517-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: 7329b223-b8e0-4a54-976e-08d7e699e082 x-ms-traffictypediagnostic: AM6PR05MB5640: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 03818C953D 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)(39840400004)(346002)(136003)(366004)(396003)(376002)(91956017)(36756003)(76116006)(478600001)(6512007)(5660300002)(86362001)(6486002)(8936002)(66556008)(4326008)(6506007)(54906003)(2616005)(66946007)(64756008)(66446008)(8676002)(66476007)(81156014)(71200400001)(26005)(2906002)(44832011)(110136005)(7416002)(316002)(186003);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: Bk7+SoOOO7QEGlYiyms/ovtyhcpCzQDwxSBJPNPpS5upgiLTumhyObwJmwU/GEPmhexgvA5W2kBnIbHVQG+EOgpe/KDZ11+c50bVCznBkI9ds0txX4S8xaS7oeVWrS4x3tGbXMRWFPKGIV6PDgVkakogUpU4wfjbkICHbhIrtXU6yFi3PO3vtPmBr+phdxvmQfjOU/uiBPCnc2XWEeO90x2RbkaOGgMxxmk3Y+flbb7L8hp3PWPHQuzE37cez1UuBDx2ijh51RbgCRnK4iV3kDZy2VgkGggmZoJT+PXiL0/SvAsl+1rIpyLkF0AkDLlEu7zhW45CliBGzzZMsm6zwU3Opv2MM4cGtCXyuS/858QOCCGs18AVGk3DinX2vo2OIiY7jqILHzMvpQw/7bxfELtfMNBitoC6Hhn+ycYrAvRwfESkejF9Tuzsj63bBNZ1 x-ms-exchange-antispam-messagedata: YspuEVgixvn1ml0xorFR6tdzxwbqIGmcUuiLRnwnbi8dhwJZqHQsBCd4eXzW7bM6TRBxm8SpzuAYbB8LdxXuvAgeY0071CSA0c8CxFbbBU1j+ycojPjpFCAM2Nk8yLdPPXaTZANPpeZLHT7MGDMiRw== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <7BB2D7AA7C900E43A912F2C92B380AEB@eurprd05.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7329b223-b8e0-4a54-976e-08d7e699e082 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Apr 2020 08:48:06.5744 (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: oizpWnph0UqMDWf9NVteOmpuuoNgXjRAwLif+puYzVJrI0xfWPJD5tQXPH24jG1OEFNfothDT+yEsUmAp4OOXgRqDK1Ay82mfViA338dYEo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR05MB5640 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gV2VkLCAyMDIwLTA0LTIyIGF0IDA5OjIxICswMjAwLCBPbGVrc2lqIFJlbXBlbCB3cm90ZToN Cj4gQWRkIHN1cHBvcnQgZm9yIGZvbGxvd2luZyBwaHktbW9kZXM6IHJnbWlpLCByZ21paS1pZCwg cmdtaWktdHhpZCwNCj4gcmdtaWktcnhpZC4NCj4gDQo+IFRoaXMgUEhZIGhhcyBhbiBpbnRlcm5h bCBSWCBkZWxheSBvZiAxLjJucyBhbmQgbm8gZGVsYXkgZm9yIFRYLg0KPiANCj4gVGhlIHBhZCBz a2V3IHJlZ2lzdGVycyBhbGxvdyB0byBzZXQgdGhlIHRvdGFsIFRYIG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