Message ID | 20240419-adin-pin-polarity-v1-0-eaae8708db8d@solid-run.com (mailing list archive) |
---|---|
Headers | show
Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2095.outbound.protection.outlook.com [40.107.104.95]) (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 58A3112F38C; Fri, 19 Apr 2024 15:35:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.104.95 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713540929; cv=fail; b=gvA3/hPuO7ff/VEes37Qk1CiNfQyAkwfTqTi63dX4jSlKhgg9IBrsNAbaeQu7TWz1XYzvdFkYMUtc29CMOrr+0vdBGSz46lYRCxtmKwtXW9zKRPY8GtEVfWE71LnEQtYcR+o8qySEAYquZSZ9+E6kibqQ5UWCNEhzQE5gjOo1tQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713540929; c=relaxed/simple; bh=PuSNGlBFSpx0Tt9bjTmgjx+ImbAsAl9Li1Wnxb/N/lU=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=J0CLvyTP40wEarrZXr1YeF/OIwwGA/ek3nly5wO/hG7HM1MPD1pIewowmsLTRVAE6nicxTmzbQpiTXvCRiUov6CKHTfVqvzHyoTSyMnL8+Qxrd0Tw3wzGSGqqSDDPqDpxy/AaJpP7Hsvq4GWZhb5/u7XIgkQpi7YSKuVbNh8hoY= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=solid-run.com; spf=pass smtp.mailfrom=solid-run.com; dkim=pass (1024-bit key) header.d=solidrn.onmicrosoft.com header.i=@solidrn.onmicrosoft.com header.b=ZXSONQvo; arc=fail smtp.client-ip=40.107.104.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=solid-run.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=solid-run.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=solidrn.onmicrosoft.com header.i=@solidrn.onmicrosoft.com header.b="ZXSONQvo" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K3bIrfvkrc3Ux03NvwXaZ69VBNP96P2TKwtCZvlL3HgtD0V2S5cjpUJKzyf6Gne0LX1hUxy9QmuJXWzSZp6OkmtqlTVNvSVz8kEd6RuK//hnByH11Nk5YwELrF28Q+w7pvcW31/h3WimrutnpcLAvWRITvkFOx2LaWZrXZQcijZaB1C76oH5LdqSBYgauPzQXFv02be4LrjY4C7sQLzQK31R9nRYL55EqTpMI418dPIupSRiOPZyusubFAaTFhrIHTdP2YTEvj1dedgksk/82ZsV5KALnF36/ayM91VtiPhgg3ITH1Q2o07c+tvrcxrRGJU+PveDTbMkzc2Vj9EDSw== 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=C9RbH4nM0ooqwDabojCFlLl1GAl/UCmyMPRdVOIzlMA=; b=W8s5X+ifG6WsQNZiHwXa2IxceUo92a400eYN/H0fZjtxJbQd/8XURPA6LGVGN8aaa5VLEFfNOksfIhtZ0j0HAzlicrjz3xCK34JC/6jKwXOlN5tHxhlaHXmE3g7QP+xoraKD6HGy6sr52ZWv4GJkZc6Waq1UKNqy8Onz4Qvjqy3HM1KBBEruEvRn4fba/0JjQUp0klQQy8ZOn70kbQoTYJwFdLANceInLoo26jVTDBjl6u9HTSNTyCr2yE1DCHStUEC4+PzOox/pCzA8D3CXA2ogX9ZjDrpTuL3z0rYQJJp7NH5BW38zxm9hX4ggoaNqxZA2XI8BOFq9uNjiJSISTw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=solid-run.com; dmarc=pass action=none header.from=solid-run.com; dkim=pass header.d=solid-run.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=solidrn.onmicrosoft.com; s=selector1-solidrn-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=C9RbH4nM0ooqwDabojCFlLl1GAl/UCmyMPRdVOIzlMA=; b=ZXSONQvo1e2070VnpZPDlKHyJdIRsxjm3WjhxDfFwviQ8N7QP3FjnGfGpmBMl6VJFuOrMLraVZIXIEl3rm1+a3Nrsm6jJCkervkz6myWeFT1KQDohckwxF/j48rrarC7J8joN9C7qMuQivc3g+UqjIWz/tZxyavFAJvLl6xvo5Q= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) by DB9PR04MB8250.eurprd04.prod.outlook.com (2603:10a6:10:245::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.43; Fri, 19 Apr 2024 15:35:25 +0000 Received: from AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::c04e:8a97:516c:5529]) by AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::c04e:8a97:516c:5529%7]) with mapi id 15.20.7472.042; Fri, 19 Apr 2024 15:35:25 +0000 From: Josua Mayer <josua@solid-run.com> Subject: [PATCH net-next 0/2] net: phy: adin: add support for setting led-, link-status-pin polarity Date: Fri, 19 Apr 2024 17:35:16 +0200 Message-Id: <20240419-adin-pin-polarity-v1-0-eaae8708db8d@solid-run.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIADSPImYC/x2MSQqAMAwAvyI5G6j78hXxUDTVgERpiyjFv1s9z GEOMwEcWSYHfRLA0smOd4mSpQlMq5aFkOfokKu8VGXWoZ5Z8PjYN23Z31go05i2MnVT1RC7w5L h638OIORR6PIwPs8LF4YjHG0AAAA= To: Michael Hennerich <michael.hennerich@analog.com>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Alexandru Tachici <alexandru.tachici@analog.com>, Andrew Lunn <andrew@lunn.ch>, Heiner Kallweit <hkallweit1@gmail.com>, Russell King <linux@armlinux.org.uk> Cc: Jon Nettleton <jon@solid-run.com>, Yazan Shhady <yazan.shhady@solid-run.com>, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Josua Mayer <josua@solid-run.com> X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR3P281CA0122.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:94::6) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: <netdev.vger.kernel.org> List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|DB9PR04MB8250:EE_ X-MS-Office365-Filtering-Correlation-Id: 88d1ad0e-13ad-4508-42c9-08dc60865514 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: =?utf-8?q?CTdnXtGxWstWzPMQZfeHkCLpf7WTshF?= =?utf-8?q?uRDnSsH4kFyjXIfh0ETzAwJT+tUThWayYYQ7quMC/PR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XFcRv?= =?utf-8?q?+gAnM+eH85jUDc9Z+LcDwm6Sz42UuNxpoPvmqQbEEokdmNZBR0aZizhgVkTiTjpv1?= =?utf-8?q?JIs1+JCXMvYL4MRPeKo2AGjU6q2EdQZU+/WrhsrHnuJZUE2W+yXKqKXeSZ0MXA8CN?= =?utf-8?q?G9U1lJMAjmSe5QWSFBGM7soawih5bllXPcDjwa/S0ucwVtl7rAJtkR386IKv9Tv+/?= =?utf-8?q?Xa5QK6giHDYKsDuy2o6l+lX/Cszmm7KSmQap+3Mv8FQx7hg3RM2xc2KgZW/Y23jvI?= =?utf-8?q?goMiHxBSJ9Ct2wi6ibnbeb0kIDjnIdopfVmWxiO5Vw92eWEStdNc78DBWiZXo8dlf?= =?utf-8?q?QbsExlMLy2w/3IyW41YSaRXOk98SBQdPRn+N4AhDdE8TxGce9oNeYi9U=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB7586.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(366007)(7416005)(376005)(52116005)(38350700005)(921011);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?HfEz4JkO16PnOe9eowiRjSjk1FX0?= =?utf-8?q?b8QPPp/1hNmzmerFBjpGk9J38SuNSY1HPcwKSfpB6XK9VPkoetAhzCjtqv+4c7H6q?= =?utf-8?q?0+Xxykjw8eule1YhYVELjAUNKyoVHn6qHdTojEQ9V5GiKDZ1RO4DjgdLQ+h12Gy0b?= =?utf-8?q?7IfXZxtQknh2wb+Oaf8Wf2sGvPJxc+tZib5MltvkpVpMhN8/IiJbxwgGwXjqW50hw?= =?utf-8?q?ukLkKSKQ4llko7HL5H8PfwHo1PFO8XBOegyoc18DUzCwzofNVHUOya6SoP+6xgliQ?= =?utf-8?q?Cvba+OzpPI1toeFn5VI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MPDNBCPOXZC3n5FH9lTGXE0QG8tAEU?= =?utf-8?q?lxceKNYWBTOnUvcLiKansW1LKFtcD+BAaQMORvIYiscMlbj7hrCQ846e0pvrp9WK4?= =?utf-8?q?wXAHqIdUZtYalimSGbV4vtv4rPCAedAazkKEaWTWFyr7hdAF/+eIjEHhv9iScyjVg?= =?utf-8?q?Ot8XnMVsdTNRuvfM0VfaIoXZzif7OQYuZTX+y4d2hTC8VMIVNGYNPHIokCA5E2mmH?= =?utf-8?q?+PX2y9/zWamkGF6aquedAyNk48D31sERmpn9ivD86inUAolVi9Iyamdd4prWl6Vtw?= =?utf-8?q?5dgyIpd8Mw60ude526vuSU5xCneVv09UvaxhgSTdHH9XwXFssXDNgRq8N4VgcJ0lg?= =?utf-8?q?1R+FPxehykKw?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 88d1ad0e-13ad-4508-42c9-08dc60865514 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2024 15:35:25.0225 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a4a8aaf3-fd27-4e27-add2-604707ce5b82 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: OqKyS+yk0JI2gxxrWDyR31r4r76kw5VQOh5Girzz5RX3W8iLQZ6aFlLKj5nJlnLZ9JekpP1ecS0OXts3uzddoQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8250 X-Patchwork-Delegate: kuba@kernel.org |
Series |
net: phy: adin: add support for setting led-, link-status-pin polarity
|
expand
|
ADIN1300 supports software control over pin polarity for both LED_0 and LINK_ST pins. Add bindings for specifying the polarity in device-tree, and implement settings in adin1300 phy driver. Signed-off-by: Josua Mayer <josua@solid-run.com> --- Josua Mayer (2): dt-bindings: net: adin: add pin polarity properties for LED_0, LINK_ST net: phy: adin: add support for setting led-, link-status-pin polarity .../devicetree/bindings/net/adi,adin.yaml | 18 ++++++++ drivers/net/phy/adin.c | 53 ++++++++++++++++++++++ 2 files changed, 71 insertions(+) --- base-commit: 4cece764965020c22cff7665b18a012006359095 change-id: 20240419-adin-pin-polarity-30f7f85f6756 Sincerely,