From patchwork Sat Apr 20 11:23:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13637120 X-Patchwork-Delegate: kuba@kernel.org Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2138.outbound.protection.outlook.com [40.107.20.138]) (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 3EC142942C; Sat, 20 Apr 2024 11:23:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.138 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713612194; cv=fail; b=jjzJoVj5KiqOBLPKJqLYxAjRKkpx+v3qagwIAUJta4AuwzkNfWbwRIIBlrw/pDY2Futi7Sda6rhIsBHkJOeqDAWAqJlw9m4g4VuShpuoLsfgg1ODXDWMkp3GW1vgp/n9IXFCAbVtYw9TfsR6zHSSIs87WbclNZ+zy5VBuxzfa0w= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713612194; c=relaxed/simple; bh=qUmhMOYO7hRAmXJtCXe7TY5aDCN5U0hzSn+jyQb87Zc=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=rQBhLg+qIG5pHxZ5JbOZqkY+txG++bMqU2CLG45npE7wEFeONw8vtOcmQ2LhuMKDlqBqNduYk9PZIgtRgn3oYX7ElquP4S0Cm2U6O7vokM/X3R9yr9pOGawCcEA6XIOQhlbTXOoI5OS6vWMYPw4XJEZz/Xs8ulKfvJAdTQt188I= 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=Biqqbcvr; arc=fail smtp.client-ip=40.107.20.138 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="Biqqbcvr" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oYwlYF6MaWFDcO6ROPEbc3oeCng1E0c0OnfICVfd9cQ7S9tyOxpQ+1/2o2vquHUKFirZhj1aEfJVl0VGkphphqAyGGyJBQmRjAhQILqqfjde64YPPBPapO/OmRcOVRqOvkUAptJvdxWfqO9O23naKKkHKqDRBFbiLcA6fzeGPRuBwlf07OsJSHr501YakPvYNZ2DbDANdnL3lJWcUXZNk7F6g69PMhmEd6SuV8DlIZ9DNAtOkprkQkWoTKbjB1U1ZTgQzgk6K9AAeI6pf2/kWRVcvmmERplrAMaQRTQAy8CiUoSbnGiaa+2Uf7eAJICPIgnqDpZKhjzcuoDY39wBdg== 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=pKr43lIb/a8ZPpWQGxFgPVTJr4qK7JqQVy85temD/b0=; b=FDXZOZ05qN0LRDZQa4tJj7e/WeH1MMJykuNxpJZyRn6CPL1pi1QwNnWLsEuNWcIEBEpytOhW+rvflpSBnEuCq6yzErOYIEZ/w0Fc0PdOWXe0DfF05mU0LqThunOI/Cv6tG17pgxjklpaz03aaA70/UuyI2pR0jmW9dPsGq91tEC8VL86OuyV6IqfGhkkAe3F5NuRVzOJhuN1g99MAhUW0nh28iGVzrcG/M5XgwPbtWXymyeoVr/89Edab1OjDB6MpLII+5aoIaL93s+YM4T9PRhZ8NBcYJGfXygLklxbPZ8b043qmJUVmqJZW8nCLKmlf12ZE50ApXtFYvlbFpwpXQ== 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=pKr43lIb/a8ZPpWQGxFgPVTJr4qK7JqQVy85temD/b0=; b=BiqqbcvrnAk3FDV70o3139Oot9Bh0IJ2NnZIxiWrWU8p1BVZoRqoH46XR5i5pfCwdiOG7zUhr7P+rw9iU3IPbGAhp23Qc3OwaZ9LrcB3fg9kCfSzoFTM/7m0/pZ/GFYEWUfVoFRnoxXGGwPlQc21oBSajtSB4N5cbBXWAqq5lRA= 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 AM9PR04MB7588.eurprd04.prod.outlook.com (2603:10a6:20b:2dd::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.44; Sat, 20 Apr 2024 11:23:08 +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.044; Sat, 20 Apr 2024 11:23:08 +0000 From: Josua Mayer Date: Sat, 20 Apr 2024 13:23:00 +0200 Subject: [PATCH net-next v2 1/2] dt-bindings: net: adin: add property for link-status pin polarity Message-Id: <20240420-adin-pin-polarity-v2-1-bf9714da7648@solid-run.com> References: <20240420-adin-pin-polarity-v2-0-bf9714da7648@solid-run.com> In-Reply-To: <20240420-adin-pin-polarity-v2-0-bf9714da7648@solid-run.com> To: Michael Hennerich , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alexandru Tachici , Andrew Lunn , Heiner Kallweit , Russell King Cc: Jon Nettleton , Yazan Shhady , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Josua Mayer X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR0P281CA0109.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a8::9) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|AM9PR04MB7588:EE_ X-MS-Office365-Filtering-Correlation-Id: c110f105-a6a6-4c57-7a15-08dc612c40da X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: =?utf-8?q?kWHJKL1hYzKVzcvswY7vEBZBpJpXYaW?= =?utf-8?q?+WYQb9VJay/8tRYOTGtEJlVJoYQvD+O5/IfCXqaWkWB6gi1vZpEw0DDW7qSW4P2tg?= =?utf-8?q?72HWMWv9WMaYIGKqSbMN6uc1AOvlwZnokpS5ualthNXdcIID5U8xrxNLf8VncjEBn?= =?utf-8?q?Z1AF5X0y8kzoTX3pb7nCwHUa6QmTk7QUBkhdts9dCdyKutUX/PI6kCyRw4sdqmJXe?= =?utf-8?q?KvKFO2E8LG6KV1c7+2Ft3HOLC3OO0pMwYRIXpJpuGmo31p7l4ASMblN3s6bwIBcmB?= =?utf-8?q?8XlENVE7jo1dg6omuJsczw0AAw6NN7SkU8mnJ8eAhm6bzMbD4+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IN?= =?utf-8?q?qTPiK/RPbWtwJ7cSixRZWAVQrSwtS4J43paSmSFj9dSAt2668i5nIFsTSPulStawn?= =?utf-8?q?UHlBMoQpHriscWcyalrht6Izfo854BJH6FeA3I78DZq7VEqqbYmdwT5M=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)(366007)(1800799015)(52116005)(7416005)(376005)(38350700005)(921011);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?bmTTzIoofKfuf0SCR2+YcWtspRvW?= =?utf-8?q?zqFBrav76/s253UqgH9oexxD3d/lFF3F8WEdk2ZUyG0pkDVUwGx/dTk2JljrXE1z/?= =?utf-8?q?6Yvm6ui4HHbNrvRkDG3o8pfDnoKZxXt8Sar6Ifxc+k//OgitwixI/vCzpMgejvKnF?= =?utf-8?q?qY4F3/cFpM2ZzmTVeqISFIoEsWUXftH62dRQvgy2lwwamVXvIzJOs6dBAWk8E8YvE?= =?utf-8?q?2By3bhUhoJzh+mrRO19arvZkD3L5F1ogFYlVF90840lM5PAB9dfpUn95dMHK3gLPR?= =?utf-8?q?4VbDKO3Wsy2rT++MIH1TqMDDqtxjPXW9ykgyKgHEO/CX2Bcimp7bMp6G9IqQYVqNZ?= =?utf-8?q?zOxLBqQgtzo/jz9VGPKfMNq/42I6GgqUy97GWkrJtbZaKUJAUvAzuXckFT3GOEAsf?= =?utf-8?q?BYSLMTk0csD9+DVXH6SB75/Y3rSYpbbHDOcFgS+tCB2IWXJaqcstX9m3nXx3r73Nw?= =?utf-8?q?6LfRHwjLfs14T45tHpaqcQuzk0ykKKEJYf1c+cdTriiYynUDMIMwKLw+oeKTwTHMO?= =?utf-8?q?ME5aS/j5mBs2gVJ+nOneeKZdpkyOE72+rlnZ3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/24z3TJJ+rCvoS0R?= =?utf-8?q?BW4cjIaMagkLNHoNImUiJc6sa+Nv+T8t4FRQApQMIhqqy8DjaKV+bE2S60L1C+C6E?= =?utf-8?q?VAP2cFH6AKAt?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: c110f105-a6a6-4c57-7a15-08dc612c40da X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Apr 2024 11:23:07.5602 (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: fVTPvUAv7z5W//B/POIUukvqXQ8kA4Mu49jY0N+r7YnvCEm3s3K9bF1u7Hd24k4iDdAX6BAf9B8FB/DQX5UJlw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB7588 X-Patchwork-Delegate: kuba@kernel.org ADIN1200/1300 support software control over LINK_ST pin polarity. This is a fixed function output reflecting phy link-status that is not otherwise controllable by software. Add new property adi,link-st-polarity for specifying polarity as either active-high (reset-default) or active-low. Signed-off-by: Josua Mayer --- Documentation/devicetree/bindings/net/adi,adin.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/net/adi,adin.yaml b/Documentation/devicetree/bindings/net/adi,adin.yaml index 929cf8c0b0fd..cf195e070b26 100644 --- a/Documentation/devicetree/bindings/net/adi,adin.yaml +++ b/Documentation/devicetree/bindings/net/adi,adin.yaml @@ -52,6 +52,15 @@ properties: description: Enable 25MHz reference clock output on CLK25_REF pin. type: boolean + adi,link-st-polarity: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + LINK_ST pin polarity. + enum: + - 0 # active high + - 1 # active low + default: 0 + unevaluatedProperties: false examples: