From patchwork Wed Oct 9 16:28:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Pandey, Radhey Shyam" X-Patchwork-Id: 13828872 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 64AC3CEE336 for ; Wed, 9 Oct 2024 17:30:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:MIME-Version: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=OIhfu1o2O1AQqghNxEuLZJnZSM8IN6sSCwkUmTGkZOw=; b=3eCyxrtYAELAT+67LWbDjpnxec Y6+4vlqJIwrG2IDP9n1WUmG71BnZ25cRvR1h2PDm4L6+csNVbuAf8Tm4+79hIb8Wfyfolj+TxBJoT Wl6hanJCD/qiN4vhQWRgJT70lcW/t6PK5pUa170VjIpNF3Ky2BfG9D8Ra8N1DHewrQ9I1NZJfGcw3 c7bNaVBPYlsVD9qmTFOop9CBAORgRFfzZDNV2XTd62csDmzracDehc8tahI4JnQ0H3NAtP3xFbqtj kEpMy4o/Ap5zJz/u+gdNssuDzke72deo/U3tin+R3TDhJydy2YAyzhVgSzqf9W/jXbyk/1m4IpSjF 4hwQ7prQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syaVm-0000000AAys-06Sb; Wed, 09 Oct 2024 17:30:10 +0000 Received: from mail-bn7nam10on20601.outbound.protection.outlook.com ([2a01:111:f403:2009::601] helo=NAM10-BN7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syZmM-0000000A26j-2atW for linux-arm-kernel@lists.infradead.org; Wed, 09 Oct 2024 16:43:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=yPKwV1/H8NrZpeehW9dBhWM/BbZUp2wop8lvo6X5aYmgTWkekoC5KDVZFnOKUOe7NFwqzWce3qh5LocQrkqGddx0EYv8P8wMYgJpgiUMm7lIOnm3vS86LQp8JkaazxHW9dbRaajryj7beTPVYZFx+DlM1p67QFBgjCb9/vYfVer6744ZvjXWLPgKmBk0xru2U6YYL+lZj4ZthmVz2Sj/Rl8V3LJ1rSDIdDp398qh1x8CnVg87VTDOwZCXCDX5rz1rUBZV9qaUpPM7HyhfihzL1oIY9+lPKEoOj/pseYOy31D/gs1tPHIoYkeaMYaLJyhDXgkpTdtYMmBna04lRzldw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=OIhfu1o2O1AQqghNxEuLZJnZSM8IN6sSCwkUmTGkZOw=; b=n+9wrhSAuR5kHRK2JBipqB/UlWJQlpUo3lCuUhYoXE+EbBuICJhGw5xEnl6LyS+Fi/mlbg8Ub4Hzs0xsfQtgvuQHGM0LCXe6+hCCYOcPOND9k6QfLqHkpGMz9EcxfPiCzausJxxFC26ISGo076f+oPlPQoWioMbKdFqzeKFJ8C8Zr8V0ylD+AuSGUct7M/uqVAPveV4svQMddV5F0rWUHh8IAcICxyO/WBRVtEZNQ4d5zml+nAzEpVOQdPN9qpGQ24NjBHLUVp+tUFIAiYGK+86q5MPYFgRZwjdpId+Gy7+w3yJmvr69qALRtbmlHwBxb509lY/+6W25R86ddFa7vg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=davemloft.net smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OIhfu1o2O1AQqghNxEuLZJnZSM8IN6sSCwkUmTGkZOw=; b=2OYW0eQ8AkldsaIAU2hiVrUsBuMoSM+KvUkvBCO1cxZljqDVzBoxXmK/anpUXGyTay12OrHMaTLQSzj2VJkopkV0FZZONybjgPFtgxViQfRoTkGajLKqxqmxTV4iPdV6ui6lVEa6tTBaagJ/xRFwirIb2NQzHX6Urhayl3VlQxY= Received: from DM6PR06CA0072.namprd06.prod.outlook.com (2603:10b6:5:54::49) by LV3PR12MB9330.namprd12.prod.outlook.com (2603:10b6:408:217::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.18; Wed, 9 Oct 2024 16:28:34 +0000 Received: from DS1PEPF00017093.namprd03.prod.outlook.com (2603:10b6:5:54:cafe::c7) by DM6PR06CA0072.outlook.office365.com (2603:10b6:5:54::49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.17 via Frontend Transport; Wed, 9 Oct 2024 16:28:34 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB03.amd.com; pr=C Received: from SATLEXMB03.amd.com (165.204.84.17) by DS1PEPF00017093.mail.protection.outlook.com (10.167.17.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.8048.13 via Frontend Transport; Wed, 9 Oct 2024 16:28:33 +0000 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Wed, 9 Oct 2024 11:28:31 -0500 Received: from xhdradheys41.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Wed, 9 Oct 2024 11:28:27 -0500 From: Radhey Shyam Pandey To: , , , , , , , , CC: , , , , , Radhey Shyam Pandey Subject: [PATCH net-next v3 0/3] net: xilinx: emaclite: Adopt clock support Date: Wed, 9 Oct 2024 21:58:20 +0530 Message-ID: <1728491303-1456171-1-git-send-email-radhey.shyam.pandey@amd.com> X-Mailer: git-send-email 2.1.1 MIME-Version: 1.0 Received-SPF: None (SATLEXMB03.amd.com: radhey.shyam.pandey@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF00017093:EE_|LV3PR12MB9330:EE_ X-MS-Office365-Filtering-Correlation-Id: 61352782-c627-4f24-a337-08dce87f6b34 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|7416014|36860700013|376014|82310400026; X-Microsoft-Antispam-Message-Info: tEVHYQgbSzgnZLbG/13lVkcU5fXd3340Bdgd3WhnaCRvNHquV7zDdi3iSlUAiPzWvd7WBee77DR6e4oSCWjkzHR7raiEb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m6b3BaOVNwWiK0KCw8JQlT5JkhT2ZFt1hGOOZcxtafIQgWTWPxYfVEzIR8zQfKy5KvQZuFwDvB4++RBaSyv7LaJDSX3Hz4KbikH1C1KUxwjQmMsIk4EZrRXk507q0/SCkv/56h9Vxv1R71LTq2iTequ88p8eS0eJoXKYokqetRfnbGof9s7GfWUKT4vEcsWh0sfszZYqw5sXoKKZz+STBWOH28/ad1xAEy6s X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB03.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(1800799024)(7416014)(36860700013)(376014)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Oct 2024 16:28:33.5776 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 61352782-c627-4f24-a337-08dce87f6b34 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF00017093.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV3PR12MB9330 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241009_094314_666859_748283E3 X-CRM114-Status: UNSURE ( 8.62 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patchset adds emaclite clock support. AXI Ethernet Lite IP can also be used on SoC platforms like Zynq UltraScale+ MPSoC which combines powerful processing system (PS) and user-programmable logic (PL) into the same device. On these platforms it is mandatory to explicitly enable IP clocks for proper functionality. Changes for v3: - Add Conor's ack to 1/3 patch. - Remove braces around dev_err_probe(). Changes for v2: - Make clocks as required property. Abin Joseph (3): dt-bindings: net: emaclite: Add clock support net: emaclite: Replace alloc_etherdev() with devm_alloc_etherdev() net: emaclite: Adopt clock support .../bindings/net/xlnx,emaclite.yaml | 5 +++++ drivers/net/ethernet/xilinx/xilinx_emaclite.c | 21 ++++++++++--------- 2 files changed, 16 insertions(+), 10 deletions(-) base-commit: 6607c17c6c5e029da03a90085db22daf518232bf