From patchwork Mon Sep 5 15:08:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: andrei.tachici@stud.acs.upb.ro X-Patchwork-Id: 602828 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6913CECAAD3 for ; Mon, 5 Sep 2022 15:09:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238644AbiIEPJF (ORCPT ); Mon, 5 Sep 2022 11:09:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238414AbiIEPJE (ORCPT ); Mon, 5 Sep 2022 11:09:04 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2049.outbound.protection.outlook.com [40.107.20.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05CDD57888; Mon, 5 Sep 2022 08:09:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FQ/dS48ZF+sDleUizOqwazmw2NHrPXzvChV8c4Jnz6nvkOXhxAbTpt+60PUuJqii2cdIeBe0LM/bX6jpy/wSP5g8hVsTnqIGtHMAG7GStLyBfXcCfJiTrFX1K0ZxkxWe8pzXGFSWE+muU1n0p/SCx/Nvk/XRaS3LIWsJlVeApZmMZEo2UGW4EHmgGmLmGars0aDAzhrq+0SfSAPFtp13gBQhXrWYk0NV0BTojBhDH5gWLI375U+Trghy/Irs+rHmMu6VZHD+EgRg7ltQqRxGxhINuSwiwpUsXU3B1MlRb3vGaGvd2WrVnaYkFeRyL/yx2wI8RD+vo6qU07YDA4tLQw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=SF20d+4VDknEH5d4tJQvOCEJAmkw1njeQQ+tUCS7rOQ=; b=FHbTOu3EsXDlDtS4kBN8CXi+bdTDxgvxYrFXga6qpTAERENJ0DR4XbHqAr49m/mjsD+8qTDTjAPJE0m7KBBwHZkXawIs0nQKvR9wJcgEX1KGFXFEfalO/5YXZNla3TNqDmIIcBBwtJWkwOemWydEzNEosftZH1k4Qj50lY81fzwaEbaOrPe00mjohQvnW1WzeCbfp5iq3GqKBsTxeSi6avolLKggbMrKpTy+nBG8db/wlF8/tBVMA/ky2PGiT4kNKDKj6xG+MJjw+FMNF9p7eALN3KBcdRkGismDbwkRzskX0/k4Ph7vZYqSviaqgTQe8SWpptZ6UCzxLcYV6rSmZg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=stud.acs.upb.ro; dmarc=pass action=none header.from=stud.acs.upb.ro; dkim=pass header.d=stud.acs.upb.ro; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=stud.acs.upb.ro; Received: from VI1PR0102MB3166.eurprd01.prod.exchangelabs.com (2603:10a6:803:e::11) by DU2PR01MB8655.eurprd01.prod.exchangelabs.com (2603:10a6:10:2fa::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5588.10; Mon, 5 Sep 2022 15:08:59 +0000 Received: from VI1PR0102MB3166.eurprd01.prod.exchangelabs.com ([fe80::792e:fa13:2b7e:599]) by VI1PR0102MB3166.eurprd01.prod.exchangelabs.com ([fe80::792e:fa13:2b7e:599%7]) with mapi id 15.20.5588.012; Mon, 5 Sep 2022 15:08:59 +0000 From: andrei.tachici@stud.acs.upb.ro To: linux-kernel@vger.kernel.org Cc: andrew@lunn.ch, hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, vegard.nossum@oracle.com, joel@jms.id.au, l.stelmach@samsung.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org Subject: [net-next v6 1/3] net: phy: adin1100: add PHY IDs of adin1110/adin2111 Date: Mon, 5 Sep 2022 18:08:29 +0300 Message-Id: <20220905150831.26554-2-andrei.tachici@stud.acs.upb.ro> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220905150831.26554-1-andrei.tachici@stud.acs.upb.ro> References: <20220905150831.26554-1-andrei.tachici@stud.acs.upb.ro> X-ClientProxiedBy: VI1PR0801CA0083.eurprd08.prod.outlook.com (2603:10a6:800:7d::27) To VI1PR0102MB3166.eurprd01.prod.exchangelabs.com (2603:10a6:803:e::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 050cc7a6-6103-410b-0728-08da8f508f0a X-MS-TrafficTypeDiagnostic: DU2PR01MB8655:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GzBa0fOzjFNDnJCyhPulBcJALnOb/tIZspY97ZxftM6tYabHGYmnsmJA3gyq9PE2fX6AWVX9n8ucjdvvEBzcsI+T4yXFEWBYfMCFocnLxX4ofVqUblt52WnnC2LCm1czKMOKAaraz+t4UQoczjeve/YI3gt6EvGN4BrKrpapcekK9JX2KyCTdSbOYOaXq+xfgsfEIP8IRyRea0icej7dR1fR/DmZlUlGDPhvB2vFoJ7q0MavXIIRR8Y1Lvbhe0byfGfICiE/J97afDUf+bWot0ddwuXJvMbCksmIvVwASKJVSIxwWlWDEZJfU+5dAsclUguKx41xgH1GqjoBxVtLqY/c8Y4FCG8qiBIm68fJRc1ZeSOgg6NGAIXPnUFbxQXDHLRNjdW/PYj9l3OxrhXUZUNlsr0z34EoxEOTjiL3InHwad25zITBL5tacLMTeTIAgRBFVwy88BcS+87BiIRHBpefCUOOxy7ybO0Q8vwOozKUfoJIciv0DRzlMvCkC6hSH8Z6Nzu7l5WeOI80E42iEUsjlF6MADiO+XBVyXlgDF4nZelcv+IF4tRHf47uwPHUvHgWWV15pSSxQ7/wXtaMElgO7PwhwUgb6zMIX4wD/T0wTCOGP2oWy+i1pdbObWm23cQ3WrJE1nJxNBuMTI5Vf4UCo7nkq9r/vhNeCG3ncv3uaII9bwBeSUmgkJFCCrClwneZD0TbB/e7UfU6KJJpxSx4feqrcCQryYpfsbEOcPpH9sk++2wZMxJ7B9+jvCXG X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR0102MB3166.eurprd01.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(13230016)(136003)(39860400002)(346002)(376002)(366004)(396003)(66556008)(6486002)(66476007)(2906002)(4326008)(66946007)(316002)(478600001)(786003)(6916009)(5660300002)(41320700001)(8936002)(7416002)(8676002)(83380400001)(38350700002)(86362001)(38100700002)(52116002)(6506007)(6666004)(9686003)(1076003)(26005)(41300700001)(6512007)(186003)(2616005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 7R0YWCqkXSkEM7TmR0nPNuv0oLlUxymU32QeWEy2Rnx/w050a+/4ZKtBjHKdKCJ1JEOSze1pJog1CB7gEukE8zaSpY96c464woLpxNZLIgp0CySujlbg6vTLwFB0+RLzm4chCpF44MnuavwT0GVl5SrQZ1NkWre3H9iYoPONrNSje8QZt/0pVIzjUnJK1ic28K/GDcJhV4L4Cf/VJuzQ0hMtPu240LUv3o0CZAhnSK8C0noRcNZUDZbH0K/ToRTETFyyfuSO1OcRRKXitX3Ar/PPVjD4SpFwh/DxzEFNxKF7DB+BJkl0ITUGE3pNYM4FEGI9shdrDTo+SIMfFIxBOpjiwt5C2v0yBRB6XvPYcOoIpb8IvBFOd1w9i7aLYi00L57uZnb9Z+bsKpdk0/bPRNKRF2bi89rwYzBYkXaFWAGBgee26AtBxBUUP/M1QLXL9eZrixR7h9mgQLCWghVUGYW9ADnYiOZto0SnuVQOm1S8WnUPDwF9lYEAA9xakK3AjRAdN+r+0NA6OZl8KdLUgIe7vR4+DX1clpciUH+9ZpHXGMxg17+9OdrcEyNesnC22he+5L8fqrhS1S9hk1MgSh8aUfTmXsDDbjOmVZw2vrFq0EMrXVjLvfHX5yUJOMUJIw5xgxeUxHL5vGeSZb2Zmm3sKr9cusY7lm435KyEgwe9sydiqhCsaWl2Dj1GTPnaG2paCOe6krJRF231u5rgCR58OenRKWUZFTcpw8CoAqjZA2ryWvr+Hcpc2Zm0plOF+2oaf1687aSP6s1wDF1gU5qsahcW0p9ggNWRFm40zUBhf+IlLhb5DfJLusqkd9oWpPy75IeG5QF2rkn8Rp7MqCanORUXde8C627ExqB8Z9tKMuVnUQIzxgp+7j1PyzRLDLGQhlKTBn0KZEhq9KxuWBaowroFsnWTwmtZvm76abc7aVPn98m0fNL8alB933xbxjApyCmoRmzIlrIh5FIYVLn0yT8o00nDevvDvR4P1wRTGMefFsloa9AE3pKsA7hwfWw2EsafpUdh8AuTz1oMJf0ENB//SuRMwgFbN85divE3N7fv1TlFNCNukyPI20Q8uw9TXAxhkCX7OYn0MeoftoJSZm6yLzwmBpKCcZMTJzq+qOe/iR8PjNEnUfruKn/hCPuYCPk4/hDIioJwa+Qxb102Q0xWeh5oemldip40ylve4H6Q/QI4RBahyN/17vnqjN8HiTsh06EloYsTZY/9iYJI9/+I79wWiCb3EksW5/Je+XJpc9Kvk38qXytNbExu9634seVdG93TABB0KvVy4QCaatHRrik57iGoIh/+mopyafLlRTXrSwRXmj1tOPyPGjTVyOAZVSqjk01A3cbhRsatgLBXdDT+CeQ2XdhlUrr7derAMXN3PxCmvqBkDCUHmyt/mdaUwy57VRJGaB1+V01NSSdJOmACOvNf1+7+td2PEal1J4xX567Tf/OZ2j9Nii4WKZ03Ah4So11vFOJB+XM6/SToo5HJo+7pH59hL+OV7SeFU9Iv1oCwwfg3q/7WKzH3cFlT0W8Iso0myf8ScGyDn5P0dz0mDHhP/0w188yYWyMD1RMkb7qNkaGX7rstthWVU3/fUpouHqEXDITI3olaLn+6cobQEOj3cIBojWA= X-OriginatorOrg: stud.acs.upb.ro X-MS-Exchange-CrossTenant-Network-Message-Id: 050cc7a6-6103-410b-0728-08da8f508f0a X-MS-Exchange-CrossTenant-AuthSource: VI1PR0102MB3166.eurprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Sep 2022 15:08:58.8957 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 2d8cc8ba-8dda-4334-9e5c-fac2092e9bac X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: edSXgN8wAtiJcoJJooo62F/nl2A8wdcY0NUqxdwQieeM05256cmKonEepCrwEbfpnPo8i1SBsnHzl8heaQwiUDxCJSedZIvNlYH8GnIwt3c= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR01MB8655 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Alexandru Tachici Add additional PHY IDs for the internal PHYs of adin1110 and adin2111. Reviewed-by: Andrew Lunn Signed-off-by: Alexandru Tachici --- drivers/net/phy/adin1100.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/net/phy/adin1100.c b/drivers/net/phy/adin1100.c index b6d139501199..7619d6185801 100644 --- a/drivers/net/phy/adin1100.c +++ b/drivers/net/phy/adin1100.c @@ -15,6 +15,8 @@ #include #define PHY_ID_ADIN1100 0x0283bc81 +#define PHY_ID_ADIN1110 0x0283bc91 +#define PHY_ID_ADIN2111 0x0283bca1 #define ADIN_FORCED_MODE 0x8000 #define ADIN_FORCED_MODE_EN BIT(0) @@ -265,7 +267,8 @@ static int adin_probe(struct phy_device *phydev) static struct phy_driver adin_driver[] = { { - PHY_ID_MATCH_MODEL(PHY_ID_ADIN1100), + .phy_id = PHY_ID_ADIN1100, + .phy_id_mask = 0xffffffcf, .name = "ADIN1100", .get_features = adin_get_features, .soft_reset = adin_soft_reset, @@ -284,6 +287,8 @@ module_phy_driver(adin_driver); static struct mdio_device_id __maybe_unused adin_tbl[] = { { PHY_ID_MATCH_MODEL(PHY_ID_ADIN1100) }, + { PHY_ID_MATCH_MODEL(PHY_ID_ADIN1110) }, + { PHY_ID_MATCH_MODEL(PHY_ID_ADIN2111) }, { } }; From patchwork Mon Sep 5 15:08:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: andrei.tachici@stud.acs.upb.ro X-Patchwork-Id: 602827 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3C3DEECAAD5 for ; Mon, 5 Sep 2022 15:09:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238718AbiIEPJn (ORCPT ); Mon, 5 Sep 2022 11:09:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238414AbiIEPJQ (ORCPT ); Mon, 5 Sep 2022 11:09:16 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2049.outbound.protection.outlook.com [40.107.20.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49218578BA; Mon, 5 Sep 2022 08:09:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BOlEfPA3+M5ErH2TTjZL+H7Ij+X8PoPozVhezxRKOwRftfizEPCsMkdMQhQu0AvU1r/EaCVl4Wt5evW3CAFirz+HteENU79ryWO385xYyHZ/cHRo8b2E6+2cU0pLkGIq5Ncal0BlcrOkFEbcXgShlx4K2A0gV+au3y5tkRz3oj7NnGv5/ILyVOskEt7TejW4omx7wRuKVSFW3d/Vr3TzNlX4Ge9KHBtxgs3zeLPWZP7qaIVJnJ0PMRAw0aRgW1/q9CvLLfmpFS47v6Gc2t3PsMcMN/unHeaxolK3rLqlcuIolalR5PfEVMQolkNb4uyE18WUW5AN77Wn72J0eMS8cw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=d5Xy1SP/4vVsm2Wx/rag6u83ZWyeEmTFEUaMEib9N/M=; b=ixKxdXSs7tGNVtxCqCOsH8tT2x7T0zOfwWhpPIpnP6hugSFEyoC4x8OVOG0dkA+1i5b1UZ1MdSiLsuMWk9Axolk43ZLX2VD8CC7myLv1RRwiZShJjIDc38rZ8rRJRWIZijskNxSqu5tsXL8mqE+MnfcZv03zHy/xLnYbNoVHGWRrwXiiIAq+MNBE7+2ZhdpOtakukNiOORGce4BhMzBqOUXBKZQhT8whYs5Q+wI+jYVu8yUNt2qYv3CDvOhBYuVySbVKiNiSsevStABpRcc5IJKRfk77P02CtrRNRhtaS3dHU8quJb75bMYTpaRUFTUWopXmh8QoVUNLeUFR53rb+Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=stud.acs.upb.ro; dmarc=pass action=none header.from=stud.acs.upb.ro; dkim=pass header.d=stud.acs.upb.ro; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=stud.acs.upb.ro; Received: from VI1PR0102MB3166.eurprd01.prod.exchangelabs.com (2603:10a6:803:e::11) by DU2PR01MB8655.eurprd01.prod.exchangelabs.com (2603:10a6:10:2fa::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5588.10; Mon, 5 Sep 2022 15:09:02 +0000 Received: from VI1PR0102MB3166.eurprd01.prod.exchangelabs.com ([fe80::792e:fa13:2b7e:599]) by VI1PR0102MB3166.eurprd01.prod.exchangelabs.com ([fe80::792e:fa13:2b7e:599%7]) with mapi id 15.20.5588.012; Mon, 5 Sep 2022 15:09:02 +0000 From: andrei.tachici@stud.acs.upb.ro To: linux-kernel@vger.kernel.org Cc: andrew@lunn.ch, hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, vegard.nossum@oracle.com, joel@jms.id.au, l.stelmach@samsung.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org Subject: [net-next v6 3/3] dt-bindings: net: adin1110: Add docs Date: Mon, 5 Sep 2022 18:08:31 +0300 Message-Id: <20220905150831.26554-4-andrei.tachici@stud.acs.upb.ro> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220905150831.26554-1-andrei.tachici@stud.acs.upb.ro> References: <20220905150831.26554-1-andrei.tachici@stud.acs.upb.ro> X-ClientProxiedBy: VI1PR0801CA0083.eurprd08.prod.outlook.com (2603:10a6:800:7d::27) To VI1PR0102MB3166.eurprd01.prod.exchangelabs.com (2603:10a6:803:e::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 22fcc361-1f28-49ea-a908-08da8f50913c X-MS-TrafficTypeDiagnostic: DU2PR01MB8655:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Qx+Kz/FwtXSQFfOeZ44edmvkYMz4CSd0bs4KkUNWoc5j2g9DkzgEnXKj0FDs8qvDdVEcE0QAcwuof3OaUx4kFyx6r1cXNxKexFmPQECfOFV6tsWlLSJWlqMVT6vkEn8pFzKcw83Mge9bXDJiSzDlq0d/iK7OSB2lglWfCj7LZ4lPqweJY1zspdiVbAVhKQDX+HAsMmDH4p6ogVuzHYiAI/IbKtGvswDcw0vTr19Wsd4PWSgKw9WGWVUIjMxl+lG9qATeSpgyW91D+818/gzt1EOcFzTNHdn7ulLR6jaS9Rap7VR4Ip0ySUWxfIZPvx0XpGGZZhsEFvv1wuisRkaYJewLlGVx3znpq1cAnYoQx9YYjdZqoGSF8lbZnBHBM5o+j3GK7fU66v3XGpwQWC5Ba1AFNeAPrzWSm6WOI9pgd+KztPTO72GkfjCRhvLxCfc2olEK/cf685PhbEB5cjSx5kScxrBkjGQT9AISz5lems6omCWUZ8/f9Oh7UNdQd1opPxDclgkA3ZwXrKzMLWm1KCjmb1UbGywyV9krLZAVOKTNya3SvMCnWQee5me+SdGk5q1oub4N/VKqg9mukhs2WT8p2zOtPOXEia1MHqOOkVK6VgYuPxkWFNFt2e4niyhgcq2iuOAsLdiWq67LPaN2P8l/rpO0Hmw89NrGA4gWTqgfpa7UUXIMHvaZHOFjI33eX5cwPxuS2xwXDH4/wYkRNgoAs7M2rXnsTH/ML8ghO5vCHUlnS9Pird0cHB7paE4bSNn+4GlBBT1wIJD1DeTwkYfWWd5futpq/GxTD/gLRtk= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR0102MB3166.eurprd01.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(13230016)(136003)(39860400002)(346002)(376002)(366004)(396003)(66556008)(6486002)(966005)(66476007)(2906002)(4326008)(66946007)(316002)(478600001)(786003)(6916009)(5660300002)(41320700001)(8936002)(7416002)(8676002)(83380400001)(38350700002)(86362001)(38100700002)(52116002)(6506007)(6666004)(9686003)(1076003)(26005)(41300700001)(6512007)(186003)(2616005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: sj4Xw/zSOrQQArjAWuICLpM7038acwAnujSqu4WJASOpnuRe/J/6IQbVq4Bq8k4j5tzM6igfWfEFd4bzIbI3R4sKz6H89xUIQxKBipvqyC/wdVTe81bg+TS9gMKvynInm0edjWCsR/UV74nmTJXk2D7erPybtLaU06eElNjQioe7drlLpy0/j4JrwDoJ6YOsVAQwUIqMyWy8bB7qKcsIL3eOrBDtuzvU31nn64FMwkwkIuPCTvkg5Jdjqly89BWXVyEQCs72P7UHgzLnBJRIf5bjfWyNnPdqmmd7GVIAKZyUa099ve9gycjVew9SS7NvqZzGiqTPQAwNnzdD4OA/le22c4CRXYI/BINmF8p9XYD3Hdw72HuXw6VJdzKbov6l0KgtDix2/zlO0O6ocK99IOX66N67HMIF4leC/cTs21mFgwwqO/hqyNQO+Yl3VmphJ5wrwQejuHjezQINFrReSDT4N2p3wdpAiiI+v6oVA+goJrCmfEYVaN67OAe+WrPUf0CxNpariFUwSSpd9mdbKzCFI3fxywlE/LiexJuJDF7rFpQpo8DZUqCVcyVtevVUswWbmM89NF8xnI/45epGugGUNN6/YYCTgjaBqNue2p7tXji0GFHRKq1aXT+xYxVEIyDM8rk1dVOVnrA/7mYJbuG3Wwin5SNFiBcDJqN24g3qckJv/Twu7IyEGEdiawLN9kw3Wn8k8AnxsR1T09Ld2XOvRVYxNwJNdExhrUrXilzSFB3+GPi/jYOHIKoTXm3IfgRBTm+Rh1eMgvXvz1Bz7qXdiMvGj5rS/cDTbvrN2zJudAR6IhseVAKB8BOYScD321pAty+ZpPcDVTuXlE7GEWfcQOSrP62OMGv/OP9Q/c0t8YfSUMXU071GekoBvf2F/K3XGFca7zu5JKasUrLyA+tYXcsI5cfst1y2cF0nc5o0PRZCGgFgX1VEeDQc6Cx5w5MrKmbzJIzet5xCC1UbVaJOAlREnJaHk0IZ6T6Byhj2aSrUFfIoXVCHqzlXdHehh5WHazNkGZxqHM4k6pwFYx0qBCQeF3nq+ggvUDlATikQ3xTvKwgKIYlj6es5u4qkdIEpxBCJAoGa066q3gUgwyetycATVRgT3fq+c+o1m2Ua2RCno1G4FFoAWes9Ghh2vgVjkgumv9XIr2CBoO7q18SisDLb2iTPYabW2xoMTvzNTEbU4mnjkmeHlLkJKyi+a18oDEnQae6Yr20CCmOZMcoVv7d9hb65IlFu3yQceSwQM6anGXkHFU7/FgSnUywsRcr0w+ZdFkCYBgs4foXibjNmDg0SLZD0WClTn5bzr64HPi14LecDfV2u3uNWFwyXo5zkHcodIohdVpkcxgwjUGAXwMWku12L31auyYH76rTXIwHp7U3Sx1zjbprgGXVZcQKjJZB6OOXyhIzmemEEJi1x3zcGj5lGoRo/IeE1sWcrJSzqNDqbFK8uJBpfS9EO6qbgUSgmeFRT3HkLwO/KlI3Ylch0mAYWypqMSWa9z19oCjtgEM7m6gaLtCxHve23kmFl3PhyRlB7uFC1IE/3bKqmbdblXh7clyy7Syj/WxJ8SeOdODC51NCTZo3Oggb6ter3JSVRl46gKoLQ9K/hcIpeCLgHiOKudQvOld0Huws= X-OriginatorOrg: stud.acs.upb.ro X-MS-Exchange-CrossTenant-Network-Message-Id: 22fcc361-1f28-49ea-a908-08da8f50913c X-MS-Exchange-CrossTenant-AuthSource: VI1PR0102MB3166.eurprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Sep 2022 15:09:02.5829 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 2d8cc8ba-8dda-4334-9e5c-fac2092e9bac X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: skPGUQo4+lNs8LwX4buD3FD+/4nt58T4KV+W9ygGnU/ccJB4DLyQWVOTaCgBpCFcujmJo6cQH9MIgkYmYZ+4Jeg+5fErPYlPnSuvvz3rMTo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR01MB8655 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Alexandru Tachici Add bindings for the ADIN1110/2111 MAC-PHY/SWITCH. Reviewed-by: Rob Herring Signed-off-by: Alexandru Tachici --- .../devicetree/bindings/net/adi,adin1110.yaml | 77 +++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/adi,adin1110.yaml diff --git a/Documentation/devicetree/bindings/net/adi,adin1110.yaml b/Documentation/devicetree/bindings/net/adi,adin1110.yaml new file mode 100644 index 000000000000..b6bd8ee38a18 --- /dev/null +++ b/Documentation/devicetree/bindings/net/adi,adin1110.yaml @@ -0,0 +1,77 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/adi,adin1110.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ADI ADIN1110 MAC-PHY + +maintainers: + - Alexandru Tachici + +description: | + The ADIN1110 is a low power single port 10BASE-T1L MAC- + PHY designed for industrial Ethernet applications. It integrates + an Ethernet PHY core with a MAC and all the associated analog + circuitry, input and output clock buffering. + + The ADIN2111 is a low power, low complexity, two-Ethernet ports + switch with integrated 10BASE-T1L PHYs and one serial peripheral + interface (SPI) port. The device is designed for industrial Ethernet + applications using low power constrained nodes and is compliant + with the IEEE 802.3cg-2019 Ethernet standard for long reach + 10 Mbps single pair Ethernet (SPE). + + The device has a 4-wire SPI interface for communication + between the MAC and host processor. + +allOf: + - $ref: ethernet-controller.yaml# + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +properties: + compatible: + enum: + - adi,adin1110 + - adi,adin2111 + + reg: + maxItems: 1 + + adi,spi-crc: + description: | + Enable CRC8 checks on SPI read/writes. + type: boolean + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +unevaluatedProperties: false + +examples: + - | + #include + + spi { + + #address-cells = <1>; + #size-cells = <0>; + + ethernet@0 { + compatible = "adi,adin2111"; + reg = <0>; + spi-max-frequency = <24500000>; + + adi,spi-crc; + + interrupt-parent = <&gpio>; + interrupts = <25 IRQ_TYPE_LEVEL_LOW>; + + local-mac-address = [ 00 11 22 33 44 55 ]; + }; + };