From patchwork Sun Jun 30 07:36:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacobe Zang X-Patchwork-Id: 13717081 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 87AB5C30653 for ; Sun, 30 Jun 2024 07:37:29 +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:MIME-Version:Content-Type: Content-Transfer-Encoding:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=uHMSDZtLNXiF1aO1RXytlyH2FF7rx+CJg2ro32Jw72M=; b=u7X3/FWDbiuinCTSkA6iupEBKm 3cDT+rEx3UAUIWfCYtohDf6wgeRMqC+sJB7xVSSaVKVRwMYx5tYif1qGe7IIthao9dJzQ0vv0tvMS Mxz7nOf1khNGktJkR9JFSYJ172Me5bDLejw+EpL5N/lm9onDuldcIqyVkg88No489KMJFg1u7JJTR qpDVVMr/bWl4M7YsRgFi7/DzoQkibVXZa9v875RMnuE4k7YOpuoK3qwRQ5elKakjwJRJ6eKKxuQVF PTEr6Sm+Qa0M4irnVNVrFpOK5G+QvKhbxoEq8OfIM5P8f0qg/8F+k+5c7o9z/jewlix+OKRCKi+8E n4V4KTFg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sNp7g-0000000HZj8-1VpJ; Sun, 30 Jun 2024 07:37:20 +0000 Received: from mail-psaapc01on2071c.outbound.protection.outlook.com ([2a01:111:f400:feae::71c] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sNp7A-0000000HZQ4-2BN6; Sun, 30 Jun 2024 07:36:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QrIqK3AEav1D+dD6zgCwzkdlu7VuOBsceeuF34oEov9filGDTjBbp9zUqYD8PduC9SXwwp7DjHjHgnenUKGcyQF50Z53ZdkU83C5K7G0CdMNkaYQoZ3vxPslvU3tDMZnIDBaxZdgvGjDSmPTL+Stb5lj7kTuX4dvEBMBdht/+2JhQuhxMxuygFKtMmqgsA3ZoW3Iy5L1QOarPH0XsvdDgsNOI0YHi/ZuN7aQAo1pWjqD6iwmSNwvBMv0ZTVVlK/KcepCHGqofN5uUA7+bm6SsJH4sJLQ2cyJ3Ez0ccJ07YWHHj9c4WfqZBjPX9xkrwBWmymLNP3f/7BmW2v3sNCcXw== 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=uHMSDZtLNXiF1aO1RXytlyH2FF7rx+CJg2ro32Jw72M=; b=J1XscHfy9oD5IekvTVH40dJtfimgZAh5MgV9xdAPtU9EjgVwFaI6Rehyds5g7YxLwI0alQjmp7MziLkbr2DVstFR2XVJCBnA5DYTnFa8sN5EJO4HG3+Qh1x9D8JaLlxGmd/L64Kg/wykiALLlKjLsww2Q+qNe5FROh3INgLTiVWcC7LE1Joz/UmRn2/16gr7dZrWui4x8t3nL+80QzzLCk8EuvKlHUQOwySDM2bfeAGWu6SxHt2DZuZ7CcNbupE6BUkazxNeI7OaNXuB9iFR5y7Bl7VlEqLTDAyiFMGqhSsuA1Pn9Uie4BGJWEkrF65La3a2TISdEeY+myL5OCQpNQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wesion.com; dmarc=pass action=none header.from=wesion.com; dkim=pass header.d=wesion.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wesion.com; Received: from TYZPR03MB7001.apcprd03.prod.outlook.com (2603:1096:400:26a::14) by PUZPR03MB7234.apcprd03.prod.outlook.com (2603:1096:301:118::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7719.26; Sun, 30 Jun 2024 07:36:22 +0000 Received: from TYZPR03MB7001.apcprd03.prod.outlook.com ([fe80::78dd:5e68:1a9c:36c0]) by TYZPR03MB7001.apcprd03.prod.outlook.com ([fe80::78dd:5e68:1a9c:36c0%6]) with mapi id 15.20.7719.028; Sun, 30 Jun 2024 07:36:22 +0000 From: Jacobe Zang To: robh@kernel.org, krzk+dt@kernel.org, heiko@sntech.de, kvalo@kernel.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, conor+dt@kernel.org Cc: efectn@protonmail.com, dsimic@manjaro.org, jagan@edgeble.ai, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, arend@broadcom.com, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, megi@xff.cz, duoming@zju.edu.cn, bhelgaas@google.com, minipli@grsecurity.net, brcm80211@lists.linux.dev, brcm80211-dev-list.pdl@broadcom.com, nick@khadas.com, Jacobe Zang Subject: [PATCH v3 1/5] dt-bindings: net: wireless: brcm4329-fmac: add pci14e4,449d Date: Sun, 30 Jun 2024 15:36:01 +0800 Message-Id: <20240630073605.2164346-2-jacobe.zang@wesion.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240630073605.2164346-1-jacobe.zang@wesion.com> References: <20240630073605.2164346-1-jacobe.zang@wesion.com> X-ClientProxiedBy: SI1PR02CA0056.apcprd02.prod.outlook.com (2603:1096:4:1f5::7) To TYZPR03MB7001.apcprd03.prod.outlook.com (2603:1096:400:26a::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR03MB7001:EE_|PUZPR03MB7234:EE_ X-MS-Office365-Filtering-Correlation-Id: fb723812-25ec-4da6-1386-08dc98d75696 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|52116014|1800799024|7416014|38350700014; X-Microsoft-Antispam-Message-Info: UBonuy1aOSP5Kueax/3cm08cafuul6/hDcPSIYldOLAQZFNZS+/34tYkvWv9/8Um1xLldUgt6Wh/xSgS78vnH++VvwbPK7tXoAoHYntmfKRo2q9r6kS5+3cVDszJuty47czS7hh8dJQFZR18Ao0mmxh+EZSOsQEMfBILSgXdCvIW5qok0261p6HDXENxuKclFgf3/HltcDLNd2H5h7I2HgqkLXx3UeTCWJQxxWMJBQAqe/V5GX3EXqKwhW6/Fh8GBnGWaX12XlxLi6fLTVfP9kmM+9Vj6d7opQQGlFmne7ErxEpg191EZQvp/HG8iepNRmXlFfvFQiNnIAkoR7VHlqRBkA4StSJ25+OL+J98ny0Y0lAEF4BZ0rF3EywpYi9K9TsDvz1YyNfVo/MRMYniwkfBQecmYlsaLsn0xGgmWZZMeColgrlhLjOJNVMP7fwHtqaD4mieSyylRTjp2xzqSTFKQnNFC8L3KvvOedzcHE6HG6dSUOZoHOZLfLtlI8J42vU7t/KsXE38jnor18Rlg+3Axxvx5PyBnJgQECfb9twozsm7QRIDC9NaMLbT8Q9bXLQIaX97D+8XUtaDbZWBnNK6u+NZcIFocOzqzuNuHYB9ImXBR3IaCMsGDrWbqIBHHVdeMQLPS3KazBHpPdaa6LFQBIdKFe37TkTrhFAd21t32sMpf2DLk+PFn3chcqjULoITjrmZtBRKyGFVl4XMyIR0G1V5Q2ZJ8d17Kb0A3rQaTp93ijY/Td02khH4PrGjSLyGQZAW6hdk/vtiDckGt6lyVb1iKw1uyFOQet/NuHSRXBGh0MUm4KSE+8VXO9THVgQSS1QyzRBr6/vhFrRuPyvfVgjCgfXrvI4uvndWugvci1YCCLAClxYeeGJVbylWed8iXEmgtXvvBDfCBwq3m6iaFSxol0q6Lqnfaza1kve8so4mA0y9BDbiXWBG+l6wcQ12HZpzYhGm8KpkqueqdLkOL8h46wZ/DjHb/u5vg1efW9I7zHgsax8bvwxLspIKcv2V92MhZaS7QoUAyty1be++0JGMPIBfKK8uuxtA2M9k9nMfobidGu9Up3VfCskc3qLj3tDjFnqXp2rRj+lgbk8npRkyiPiv7C6uDwOspAdzsMZjkFeru4kZlduhbjLFXtKGl2kCJyJqGlyUe2Va1dhEYP2YlYqpIsAD/1iryQXScaiUeqTyFl2t2zbJ0Qi7wG1N9Z+vG4osc5Aw1BxA4sV4WJj7kHJFrGETCFqV0frjNYmrXNcQm2/XEy4BqIvuyCGyJrAlIh8vG2bFMRxAlj6ZlZovk+DfcOKoL6+mt2ELsEmGRD3I24xkjKdjGuS3KCUzQBNwkdlO1InZczee2dvW11cTXZLQMj3YAwjdG4tcTAbPPOHoA5W7hm+vDmA4T/Krx2Eywfk5ppl906l0eg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYZPR03MB7001.apcprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(376014)(52116014)(1800799024)(7416014)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: M0cc9FSyZGCQ69YQbOP/W9YCMf49DWXwkQTJtDRRFEIK39qhnleSDO0lYTuuweWqNUlZ46BAnOf3TJaeo7p8oiUfl/9Bq+J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6FoIUOdYd02GGdc7mrr8elMI3UA8Rpyuc0BgXO+K33D8gVHeo4S3sQKwAG5dnbmfPmPRMBOFZdqM0IEWQkTvmkuZ/EYjka3smRQpmSxLfb/yu3GMbdvsFvV69XiTafIVJ8z5quUiNfeHCJi03yVrQSftiBXjjZ+si1sjM5TIAxCaoe1kae35DuhxmhRQUZex6Gsk4oyyDatZC8AYed8JKDHKrVn7/diT3zZTkWUxy4xBKyii3I2eFXV5gzNRhHNc8Q2mygwC9geDYb12oopaTjjNdwww/Q70roK/42dH4+ZCU9dvQUivQSTCmH7NI8ASkg9uUJWdpLqTUUy6sH1t0eWDXRIGVp+XdRr1v/rVnb9JYPwvXzKS5BRzcYO8KEg6eTIxU1aUo/tXCOb/mZWmBTLDAN3vgMtMtc X-OriginatorOrg: wesion.com X-MS-Exchange-CrossTenant-Network-Message-Id: fb723812-25ec-4da6-1386-08dc98d75696 X-MS-Exchange-CrossTenant-AuthSource: TYZPR03MB7001.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jun 2024 07:36:21.9944 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 2dc3bd76-7ac2-4780-a5b7-6c6cc6b5af9b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: raYfs5oH4Rv8MkuSlOxzyy8kNhepE2/eBzv0LcBV33g4mDZbbgU2g0tYiSlyWvqL2jqnn4a4GVfWomE9skeGFg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PUZPR03MB7234 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240630_003649_032240_1A061A6E X-CRM114-Status: UNSURE ( 7.36 ) 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 It's the device id used by AP6275P which is the Wi-Fi module used by Rockchip's RK3588 evaluation board and also used in some other RK3588 boards. Signed-off-by: Jacobe Zang Acked-by: Arend van Spriel --- .../devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml index e564f20d8f415..2c2093c77ec9a 100644 --- a/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml +++ b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml @@ -53,6 +53,7 @@ properties: - pci14e4,4488 # BCM4377 - pci14e4,4425 # BCM4378 - pci14e4,4433 # BCM4387 + - pci14e4,449d # BCM43752 reg: description: SDIO function number for the device (for most cases From patchwork Sun Jun 30 07:36:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacobe Zang X-Patchwork-Id: 13717079 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 D9818C27C4F for ; Sun, 30 Jun 2024 07:37:11 +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:MIME-Version:Content-Type: Content-Transfer-Encoding:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=fCL3uoJc+1kvFKZoe9LRwyCd+Wq+nmi2fjF5cGL0UXc=; b=FwPZQwpszN+WtDcVUr9Xr/ea3G iKhKEz6/sZrDBWyQRwVqoEIZSEoqWWnx/ST3iF/SLfDx80RNN/cef64tr0u5Alrfm/vLdMSLOK5XO Mq9buwXjMnl6+8Hkyc/tmhYJPtWlU5Ajy4d51kVOprKdu5K0BCCWADR/ZeO/oQqP1hIE+bEgf0Aq0 s4gx2PnPnJyZFKKCsZgvOh7VtId1qZM18H75bGyPOnMY8AWwFxU4EEDJi/7oNnBm/CTxy3WvtSc77 dclPjGMl+WnOU7KEBp33f2w+Yw71SswwIXiFShdB/46YRheJYkE1lMtx7aSlQUO4cWb3F+nD6z+A5 ln/ueo8w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sNp7M-0000000HZXd-3pLS; Sun, 30 Jun 2024 07:37:00 +0000 Received: from mail-psaapc01on20723.outbound.protection.outlook.com ([2a01:111:f400:feae::723] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sNp76-0000000HZN9-14hT; Sun, 30 Jun 2024 07:36:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KB+Lehwz7AtE03+tVixhQTDuGfZAvcGjCQsj88pEtrsX9j0733CxkZIAS9gQUOfmLzXBlZR0GtkwJX49qPtji9PbtJvCT1Y95p4nBk+no7agA7ejIaWrbkkg+CV075f8Ink035ahvotcFhYHQBGG/auMO80bn2KnXdgmMdL/NOgdr+/2m7W8BM8LU22rXMPJjp4eNqs5ROqrfFXghz31HTmpZnnZ4XlgoMb1RQesxnm7vOqMsl3iVQhcL4kulyFz/0PI1PfnGWiTvde51dTagc7Rf9xlgySDTR1DoMUOckTtlG8uZqocxDSBpMKMC5HvIGU/IonVwEGT+DeoUVxC8g== 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=fCL3uoJc+1kvFKZoe9LRwyCd+Wq+nmi2fjF5cGL0UXc=; b=INGq2zUJGvu35lmSwZcPM+NHhELfBRHRxByneWtZHLlhpc5QEtW/fjIoVpZp/vGNOfuoulrNh2r0UZ8S5Zw6wDeqVZISV4PAFvl2yyyx3ooA6L5m5RU/lzHRJmA2V4Zk/dkk9iy9X2mUYX9jAc4Z2SOuMX6OlbCIOD9AF/lIWNMREm1j5FHPTAdjRocsTDmnDhl9Rfig+3vHXrdLonwe1PC/kGSExY7ChNgeZWUfAEAejN76deStW9PrJvK7tfjSctYhsL9ttNg6e2K/9QYnXVpRcBXohIK/FjgzKTkcq0SFtyTPlB/WJO46IkSoVJ3DEdushFTZZAnwlXk/sjUeWQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wesion.com; dmarc=pass action=none header.from=wesion.com; dkim=pass header.d=wesion.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wesion.com; Received: from TYZPR03MB7001.apcprd03.prod.outlook.com (2603:1096:400:26a::14) by PUZPR03MB7234.apcprd03.prod.outlook.com (2603:1096:301:118::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7719.26; Sun, 30 Jun 2024 07:36:26 +0000 Received: from TYZPR03MB7001.apcprd03.prod.outlook.com ([fe80::78dd:5e68:1a9c:36c0]) by TYZPR03MB7001.apcprd03.prod.outlook.com ([fe80::78dd:5e68:1a9c:36c0%6]) with mapi id 15.20.7719.028; Sun, 30 Jun 2024 07:36:26 +0000 From: Jacobe Zang To: robh@kernel.org, krzk+dt@kernel.org, heiko@sntech.de, kvalo@kernel.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, conor+dt@kernel.org Cc: efectn@protonmail.com, dsimic@manjaro.org, jagan@edgeble.ai, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, arend@broadcom.com, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, megi@xff.cz, duoming@zju.edu.cn, bhelgaas@google.com, minipli@grsecurity.net, brcm80211@lists.linux.dev, brcm80211-dev-list.pdl@broadcom.com, nick@khadas.com, Jacobe Zang Subject: [PATCH v3 2/5] dt-bindings: net: wireless: brcm4329-fmac: add clock description for AP6275P Wi-Fi device Date: Sun, 30 Jun 2024 15:36:02 +0800 Message-Id: <20240630073605.2164346-3-jacobe.zang@wesion.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240630073605.2164346-1-jacobe.zang@wesion.com> References: <20240630073605.2164346-1-jacobe.zang@wesion.com> X-ClientProxiedBy: SI1PR02CA0056.apcprd02.prod.outlook.com (2603:1096:4:1f5::7) To TYZPR03MB7001.apcprd03.prod.outlook.com (2603:1096:400:26a::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR03MB7001:EE_|PUZPR03MB7234:EE_ X-MS-Office365-Filtering-Correlation-Id: 75266d77-7f93-4f18-fdad-08dc98d75926 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|52116014|1800799024|7416014|38350700014; X-Microsoft-Antispam-Message-Info: oKMkM1Uij02QZFsG4JZVXQUMTfP8WLEbmErEbIYNmnDdqKzEtYRetmyFbErbRb1DiVB4yyyWhPZIIYOgDYQKBGMmlOeVaha92/rH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aDp8fwUcbl169Lj7ChKZ9hN3JeDZKHIxp+dymG3PmHFGlzLyLc+grbtmYrKU95mU0iZ8HChYGu6b5XjAAoHQr9gk8nbPKog0UH/+TOHRCLomKrSQxfZLVZzj4UFsF+9Gczbf1Wq2gWsfCe0MEW4EPeNl6j5ItCR+Xj6GQCo4tx2dM0nNW6Fm0kBGXql5k8VTRKio9sSD+ugRD1t2Z885xZq04ZS/WpC0Z8WThDGCvMr8mAtC7m+EdM6xy9fQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYZPR03MB7001.apcprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(376014)(52116014)(1800799024)(7416014)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: y1/8qJZHe+aAo4ZPdwRjT2wEK6p2ZWwx2NWrE3GNOtreeyWXGSJTVuPWeviOBzciZHWPPwvpzmefHs2ML4o3uY6Y449NXUiqkTnnvSn+ZQff8U7Jm0OhZunkq0W4LomBvqSWMC25BDJZMOsDHffGw/awA8VPm4fPhIqG6mpl92VjPmPlKAga8LWQDLIeyZx8AwIeDeY10tXJTf406UBTgfdAMgCrqyTaKSzmZT+USlUXG2XMNxKJlay8/rOA1BBfvgi2CF71MjMYKyWWESWrAxhRvg8rbkXy0eTK5LHNGybG1w75SOL7mJ/01bJ2aMOkc9udyr/pNYdlOy2alDDyg/L0bwy/Ya5qHCk6kGlgAHvPbitU2H3qYAoXmpzzDTkS9paTCVxrp8J4PQVLmRGB5LB+8fqOUnu7OuPwLxWMx34X6EAffTYcvJ8TSL2V5rtu72j5dyKHUQBjebpvUtLUOIwiK9DwMD/TSnz24zpBnKneOPvROCIpOra3o6a5qwuEVRRMq4SDfygOdUGjYg/jYMdgJNKVLMK4NldbwYq/SiCjXzVX2zD3f9QcE64GwTlXrtqF8AmmCVx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ad-08dc98d75926 X-MS-Exchange-CrossTenant-AuthSource: TYZPR03MB7001.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jun 2024 07:36:26.2760 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 2dc3bd76-7ac2-4780-a5b7-6c6cc6b5af9b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ospafC2fBFrCUGKmrSD9QHa6Gr3qBfcEgeXfUmL1DxmYeHi2yoG6hZF7BUkK60rx3NytlY0V4qUO5y1mL/i9jQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PUZPR03MB7234 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240630_003644_749005_AD9423E6 X-CRM114-Status: UNSURE ( 7.30 ) 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 Add clocks and clock-names for brcm4329-fmac. Signed-off-by: Jacobe Zang Reviewed-by: Arend van Spriel --- .../bindings/net/wireless/brcm,bcm4329-fmac.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml index 2c2093c77ec9a..f542b60e44dc4 100644 --- a/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml +++ b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml @@ -122,6 +122,14 @@ properties: NVRAM. This would normally be filled in by the bootloader from platform configuration data. + clocks: + items: + - description: Wi-Fi RTC clock + + clock-names: + items: + - const: lpo + required: - compatible - reg From patchwork Sun Jun 30 07:36:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacobe Zang X-Patchwork-Id: 13717080 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 CBC42C27C4F for ; Sun, 30 Jun 2024 07:37: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:MIME-Version:Content-Type: Content-Transfer-Encoding:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=5ERto1UyhkAAKVp0UYqK6we3Ig3j0IzjIphAgeN4UBA=; b=IiuWIcDP4hQ8vHc7o2RVy70F1H degBN4RZ5dLljlxXqK45bQM8i3wdk9MYakG93c45NUVXIX5izgFlXqzCgMyenoKV49O88H8fPtRYT n8EQHUaMZdmd1Yw6EgXJ+4nWKVwFHWo4pTPAjF+wmKOKv/K7U1FyTPQydg9veeWgzpLKPUUwmUEFX hNcacjyYVR165lrwiauzooLhugB4h+IzsT8iTUGX/KMEqGBgtR5EMqFgk6sngPMPXsq99XcEQd8FE DH1Nh6ECJ6tdEBWKD+doOabMvdrFzRv0NFe/y7uIxfUM1Ten9MxrN3cMlb/oQoS2rkocRBqNb569I q7bzt9DQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sNp7V-0000000HZbt-2SpL; Sun, 30 Jun 2024 07:37:09 +0000 Received: from mail-psaapc01on20723.outbound.protection.outlook.com ([2a01:111:f400:feae::723] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sNp78-0000000HZN9-1fNF; Sun, 30 Jun 2024 07:36:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kqzouzuX2F0Arb5+ygZabEB3orZqu5SPUfb5TDIUaWgG/yWoJ/wjKmFr6u7BUz96fDLQMj9eab7pug4fixP615qHtnpfyzGgmneE34nNTmN1SHA0AQZSiK7WRXKojh7kpYn/nDgF/havjNJj8FPHH34CSmJMjGqlIBldCt4HHTyL2iiHUC89wLdJOKUSVCf7UyJpF6mw8Adx3/EtWm/c7SxUbf53mQw1q8mG9gzqciKF79Ac9AoOBmnZHEwq323anWPH735N5CVvGo0fFR6jzddaXhVZ3dASS922jQHeHUHsXxnMl7DrvzDAo4nANgoZlHj3EXubJ/0DcpkmW/1oJQ== 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=5ERto1UyhkAAKVp0UYqK6we3Ig3j0IzjIphAgeN4UBA=; b=BcTxFA/Tf6rUkHQ6RSYscs2m7x6f6kWHU9ZSCxFgj/ECUcXSp/ue27hlhnoZL4KStK+HDs4TVUmA6GOxGmtr5aOH4YX/rgu2KmXBJgRLlFPYWT1XEflNjSE5r6+0Nalhd59TdDT6Tjv9xh+whfSCY2mq2I5c3VGgiaHdm0VoxU0emULm1S44oxmWzZQCjVXNLgj9EIqzimWucjPRhN6FxxVWXi8frE9VeAb/HOUSvXvqrSCQf8oY7CjZoOqDL4TXUx5gKIoYcEkbd2ql3auN3pVDxnAkZ6XGOkjPBoFgZhWvKRlZvLGvDHF8HXZ787mZhFoF2DZszIw4hUBqsHsAjA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wesion.com; dmarc=pass action=none header.from=wesion.com; dkim=pass header.d=wesion.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wesion.com; Received: from TYZPR03MB7001.apcprd03.prod.outlook.com (2603:1096:400:26a::14) by PUZPR03MB7234.apcprd03.prod.outlook.com (2603:1096:301:118::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7719.26; Sun, 30 Jun 2024 07:36:30 +0000 Received: from TYZPR03MB7001.apcprd03.prod.outlook.com ([fe80::78dd:5e68:1a9c:36c0]) by TYZPR03MB7001.apcprd03.prod.outlook.com ([fe80::78dd:5e68:1a9c:36c0%6]) with mapi id 15.20.7719.028; Sun, 30 Jun 2024 07:36:30 +0000 From: Jacobe Zang To: robh@kernel.org, krzk+dt@kernel.org, heiko@sntech.de, kvalo@kernel.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, conor+dt@kernel.org Cc: efectn@protonmail.com, dsimic@manjaro.org, jagan@edgeble.ai, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, arend@broadcom.com, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, megi@xff.cz, duoming@zju.edu.cn, bhelgaas@google.com, minipli@grsecurity.net, brcm80211@lists.linux.dev, brcm80211-dev-list.pdl@broadcom.com, nick@khadas.com, Jacobe Zang Subject: [PATCH v3 3/5] arm64: dts: rockchip: Add AP6275P wireless support to Khadas Edge 2 Date: Sun, 30 Jun 2024 15:36:03 +0800 Message-Id: <20240630073605.2164346-4-jacobe.zang@wesion.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240630073605.2164346-1-jacobe.zang@wesion.com> References: <20240630073605.2164346-1-jacobe.zang@wesion.com> X-ClientProxiedBy: SI1PR02CA0056.apcprd02.prod.outlook.com (2603:1096:4:1f5::7) To TYZPR03MB7001.apcprd03.prod.outlook.com (2603:1096:400:26a::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR03MB7001:EE_|PUZPR03MB7234:EE_ X-MS-Office365-Filtering-Correlation-Id: bde62b5c-6798-4b08-3dbc-08dc98d75bbb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|52116014|1800799024|7416014|38350700014; X-Microsoft-Antispam-Message-Info: 5mX8ncx06vC6vVmVeAkrVhrcf1dM9PH7EhU3BjYXu8T7gyrwe9wL/vAyAqRW5YrFQAhtSgveDHNTWv518aZEjCFXevsO6pPRrgm48gdXUPlhavUVf1NBFO0Mh/MrsozLD7yyfDFOCUsu0vLIK9LZgLK3RfqLXOphWrCatdBHw+2g9gs0N2+mkzLP0TiYFqAZaHgfXN2qcEiQr0Yj1mih8xEQn+NkvxWS54j5QcUXc17IYQEJKEUD/VAqo8ttmKh99R3bMNOoo8skodfhDcQ9lxrzxHpUgAXLimf4NANN68HFIlG1q94gq0Vvqbram89pT2pN8LX4e+MjxrfVC2rrqcQhfPpPmAOMg8om61JgT8dM/tLjrInGaPM8jtSnYueOSKQ/nv2L1Pdde+g++oKNctqju5+ig3MD4CG3H2Nk2CDZ9HuJzFeo1tj7yZFZE42cvqetJcE8XV92Foz0sV56UtBGCcMjYlEyOHSLr5XuBz2nFtmLmf/pky4oqaPTmMuyikm2B9I7wVhSG5gOOpfFucuqeByqZtiRWvVgCDaFEouOaEZ36K8eAOQhGxu0DzOJ/TgvY1iHSwRB5+p2wwC8Q9mhAMBZ0Lg+YBQonkomX8KUR3SePlYOvfEYdMAfvpZLP9fr7bgEiNe4cxVBQzBK4Hb99MVN83zVtDUm26F5fJY02FC+8Pwl9rAMZKYbkuktBnOhum5J5fXLOmiI/He5iLwCi4vJfGCqZok7DWtVjRvnpbkmbsn9Mb5f/I31IpdX6nBnyZ53tvy3Gcj0VW+I6ki+ODyKOnHU7oqndnTIIsjHhUSC4cru0NXMh+/nm00KHFr6XVc40iLZnyoO4bzIXvwDr1Bz2GnEHEXDO2YP9ppkxlow/BByP3Z3pBCRSop8i+YB00QglhXqecN2JadDuiH+jteVxP9LJmD/cwbCrRYuqT5O1P+JU4YkOv+Uxbb1f1fDL6B5ivBvB61mu6W5oL5CHtFzjaZoZja+HU7gVpVBFsjajLLTKqJVnqYfaoeBfI+kMxA9Mw3TyZQjzf5Oh3EYxxkOcgoiz375kuNDbXJrWul/lSeuXBgf7Z/3sVKzCf2YMUERfpXwYREENBOwgGas/oMTw/qZwjTLyUqtOU2qWEcxS7vrLCB9iQzqpv/DiktTagyLuohvppgORELi5QFnhcdIV0WviZefMCmEcSdsEyH+DfiqcHqeGhSIcNMVIFp1ZecqmipO8GFK/RZDhq8bFQdrLu8PFXwMERR6Mf+slIxejS9cap8hpkWMvbZagjnMBaW8Ses98wxQCrBbrAYBp875aAHCz/WaRNxjdJetGCjo5lnXzOMayhnY0cTok/KdivWHbVBfbphvG75xSGEgKWyZ/MYR2BqwkhBQUjotJaeRAPKQM7lCPcSZ0sk59AZ1DbXyLop0iE2Ekslh5Q== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYZPR03MB7001.apcprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(376014)(52116014)(1800799024)(7416014)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: UDg55U+x5N/j2MiA1pbTsYZ9+TVLk08Kp4iwy73xSym4kvEI8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I0D/ZdBOGyIroQqILySMUGaBCyqj5Et0WYXq+bkgCk7sWAIMVes3lB1OMoCgZPQAZUVwq3urB5ZEvXWmXRuPr8ORDfzUeK58wXyxC+SNAPfWImRdI5trfc1xzDBKCm2GR9vybr9vDuY/HV9SHgYjdvZUEHIidlWdD+oFrd+tovmc53tELZp2GH3kl1RC7ZlXGiTbMqyWrh0RCCqfyXjY56vnvj1tul7cpZ9+IBGqOktNuOpTHUlSGBR3HeIPSwSYokpFCOYJ7XITmIixj6dLC+hdJTsPyargVhspw17eal+d0Lco45l7KZgdF8QZDOwJ+ScjAHTpNaUe7zOhODHKoPa+LmAiT8eq6AFHzjqlGaeinkvGa3uzrFRmkUh+jxDI4Lj430b0sByaNOAa9eT+cvbhXeygOWiyuT2aY5s/2EhokY4IiHYXjsnYxMiBof/NpTV3BqGi4dv/ktUNNPIfnd0lwacTCDG/2aQLS X-OriginatorOrg: wesion.com X-MS-Exchange-CrossTenant-Network-Message-Id: bde62b5c-6798-4b08-3dbc-08dc98d75bbb X-MS-Exchange-CrossTenant-AuthSource: TYZPR03MB7001.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jun 2024 07:36:30.6210 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 2dc3bd76-7ac2-4780-a5b7-6c6cc6b5af9b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: A1XiHRiXjBnADk68IDd/97Q9dxvEODoksIvTZsljxi414JW6edFI/69T6tSxy+xssD1Q+anLdvGd0cq7NURlSw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PUZPR03MB7234 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240630_003646_469734_620D34A6 X-CRM114-Status: UNSURE ( 9.13 ) 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 Khadas Edge2 uses the PCI-e Ampak AP6275P 2T2R Wi-Fi 6 module. The pcie@0 node can be used as Bridge1, so the wifi@0 node is used as a device under the Bridge1. As a PCIe device the wifi@0 can be probed without compatible. Co-developed-by: Muhammed Efe Cetin Signed-off-by: Muhammed Efe Cetin Signed-off-by: Jacobe Zang --- .../boot/dts/rockchip/rk3588s-khadas-edge2.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts b/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts index dbddfc3bb4641..8c152d587aefc 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts @@ -283,6 +283,21 @@ &pcie2x1l2 { reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>; vpcie3v3-supply = <&vcc3v3_pcie_wl>; status = "okay"; + + pcie@0,0 { + reg = <0x400000 0 0 0 0>; + #address-cells = <3>; + #size-cells = <2>; + ranges; + device_type = "pci"; + bus-range = <0x40 0x4f>; + + wifi: wifi@0,0 { + reg = <0x410000 0 0 0 0>; + clocks = <&hym8563>; + clock-names = "lpo"; + }; + }; }; &pwm11 { From patchwork Sun Jun 30 07:36:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacobe Zang X-Patchwork-Id: 13717082 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 20A37C27C4F for ; Sun, 30 Jun 2024 07:37:41 +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:MIME-Version:Content-Type: Content-Transfer-Encoding:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=j8CW5kZAiyuWTO5Q1dV+wgslotDDSDogr6Cs508PlV8=; b=ux4CJXEeZcP6khfcXL4J2mSdxV C7lSgCUXngfP4iZASUvFufQraFb41QmogzAowYKr80iD9jXJcacy/txVsgKCbDId+SShhk5m6+mph lvUIfcM2LFnTqYCrcG9Gh3Tdfu4CxAwlMeQL3KrKJW61MlChYokhUfyJ/otb8rL10UHJXYtqWge4t 5OLpgkK4dz1N6eb5QAB94jExgKLjGw809CAIkCAv3uFm8rtFrn65/iAQoslhGM5gryqO6OIZtK72j Ma1+C3Oc6YAzPIfVie88EbDNGO5Ok/29fwFSR3thPAJlaarzuMTuJaEjLMRO3IZHTu21hzBVISuWA YSnIjjpQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sNp7p-0000000HZoY-2I6t; Sun, 30 Jun 2024 07:37:29 +0000 Received: from mail-psaapc01on20723.outbound.protection.outlook.com ([2a01:111:f400:feae::723] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sNp7B-0000000HZN9-1ZWI; Sun, 30 Jun 2024 07:36:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FjojMZlONJOa5q9tDETzdIYnyO3AO5vMRcVASPbCeo/6K+KsqnhOSM8vr7tLRDEdrkA7IrcOY8pZP3xg0ljEY0OcFZZw28X7i/5hvkW+aLNRnfC8DjDIn8GS7LU8lrETVzDkImmBSnUKaAvwh9z1H/Nd2gLm8FZHddIfzaWfw4enOSbnkTi6h5ICKsWjR97zpbT9IdgZDoVGH5XpBpX4uCRWCExrDHE7u0E/T2/d755ZhA2HMohtHcJMXKTQPYly6RJJEGIXS7QSchIa9hk6uI2W0NDkC1WY2vNXavDa1Lxr3+tdX/Ut+nkApcW/5sknaC/DfeU24PihcdbgrM901A== 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=j8CW5kZAiyuWTO5Q1dV+wgslotDDSDogr6Cs508PlV8=; b=ePDuwtvjcMUvn9Ocu1DI5rLQwf1IPcprOyexAtI5x1iZW2zuzzl6GVATL7mmoC0RP/D6QdGiShP7xiDfstaqpxxNmuqxvqDDUOSEsfwWzZRsrCQ5kZTw2vsOYnz7gO/GwVrl9FXeXWC1jhHzu8NRFJo9chmJ69N/FXAkgPTEnNJb7yIO4bqKwxMId/XQfJXFqSbWtnN/Wp74aIncuOYBr+bJqVJOw9jgKxMruysWaYF+ah4a3fOdka8J03GqD8ZeMlcxthPYB3481nInJ5cIWz5YezNkoXNHSrl9U4y4mHgAh4dXh01mwFOyV+fgg+poDjqag3G+I9lLQSk+nHrnBQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wesion.com; dmarc=pass action=none header.from=wesion.com; dkim=pass header.d=wesion.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wesion.com; Received: from TYZPR03MB7001.apcprd03.prod.outlook.com (2603:1096:400:26a::14) by PUZPR03MB7234.apcprd03.prod.outlook.com (2603:1096:301:118::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7719.26; Sun, 30 Jun 2024 07:36:34 +0000 Received: from TYZPR03MB7001.apcprd03.prod.outlook.com ([fe80::78dd:5e68:1a9c:36c0]) by TYZPR03MB7001.apcprd03.prod.outlook.com ([fe80::78dd:5e68:1a9c:36c0%6]) with mapi id 15.20.7719.028; Sun, 30 Jun 2024 07:36:34 +0000 From: Jacobe Zang To: robh@kernel.org, krzk+dt@kernel.org, heiko@sntech.de, kvalo@kernel.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, conor+dt@kernel.org Cc: efectn@protonmail.com, dsimic@manjaro.org, jagan@edgeble.ai, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, arend@broadcom.com, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, megi@xff.cz, duoming@zju.edu.cn, bhelgaas@google.com, minipli@grsecurity.net, brcm80211@lists.linux.dev, brcm80211-dev-list.pdl@broadcom.com, nick@khadas.com, Jacobe Zang Subject: [PATCH v3 4/5] wifi: brcmfmac: Add optional lpo clock enable support Date: Sun, 30 Jun 2024 15:36:04 +0800 Message-Id: <20240630073605.2164346-5-jacobe.zang@wesion.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240630073605.2164346-1-jacobe.zang@wesion.com> References: <20240630073605.2164346-1-jacobe.zang@wesion.com> X-ClientProxiedBy: SI1PR02CA0056.apcprd02.prod.outlook.com (2603:1096:4:1f5::7) To TYZPR03MB7001.apcprd03.prod.outlook.com (2603:1096:400:26a::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR03MB7001:EE_|PUZPR03MB7234:EE_ X-MS-Office365-Filtering-Correlation-Id: f63cd49e-f8bf-4b5c-521c-08dc98d75e2e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|52116014|1800799024|7416014|38350700014; X-Microsoft-Antispam-Message-Info: uOxtn+nyl4809V3q2DLRkzIWuId8N1y0W0v+YXkFU16C/13AhGBEuupYzhflzEoXhYDyswTBo3STsh8sGzwi5arwf5dOIsllWQcSRimaNYDKRftLPiMguoVvMfl1zbw5QLYv11RQP/1OMw51ODwwXKYNfli/n55YEJMtkqrwG3zoFppiKiyFbGZReHKDD2iq6LJtIkrnS2dsazl88qSF6EOBx9rkV4G+GuRYXCVIyDcoQ3oPl3lAfT9bd0O7b+qHyj8l9v/3mm4Y//9fKKeF5Jz5h7igv8SWHWaQkRgQwJATflAVS7ZYdarnzh7gHDYOZFL6cd4/mfdCx7Y28aupKKD7Blja7gwcnwFMMMWYH950HQOQkCKD1ndsCtIsiPxQmha2/FhhXTn5hBEAIoBn9RgP1w0nVTxf7ykyKjueOcbazTxF+rbOYr0Yvbl+qYyQVWYzm/jUJsduW/DcBv7iG7nIGoacdSaniUS4BfLJ/vps0nBQDtu+NQcN4yCgGB+EHdbNzArzo1sei7nsmWq9/RxJE48b/64RpwzYqCBOiKmMMHzdZrg4kJpqbJoexE48wqXtari1qX4d2iu4RU0zosO6zowTeuvVvuvKsKOcw6ub02yGZSLrCam14gOGeo0ArOwwnVl/BIfTePs/BisKilqILT8R1kD+VcOhk5ufi/kUv67wKvzqKAo1V+OiEa3jXmKOt3THuHHMHNezwjLxtS5i2y5kSHyonn/AmlBvjaAgYWvMnT8dF2iBMJak9DozD0vcxrMraamjeVotYhl12BmJSqeSmRc7nHDlI/Lq8j32JYPYYFHl4UWo9NeSAFcloxspTUvroDtY4QBzUT32Wvt+o7GGOdFPBR4I3Amv1pHI28M8RlKPGciousmk6yErBKZtS5Kxfy+R9htcyI17RQ/x4nx4wX2IuHwllZMgGtmtabwR7WNNo8Mi6E5bNN2jmVurDHZCBrKiU7qURigrfaRSvwhCp0h//GY2j0nHpnZn6J6ifTJAv1BLLu32k0vDXaVeciA6nTr3fz/gmiGcga87WwHen4hF4b2cbidMrw8KLsEzaHuBXC03GHCbcvhaWNkxA4eDlqb3c5z1WbZM+5gSLv3f7BaE77OPvUzDSXANQTYSqvnY6w0aigHZCk0lQNiDVCVoKvBjP9dRS76zMcZj5M1By4hHyd48folp5xwFK4ApTX3Bg2CI5144MeYHnwxEenCW9ZWxhaghy05cF3MylUK8llUAjG2pK41QaYqS05tskBD00yrDcTnEFqpdSi/HcNBsQurPQRrj4bCuOg7hMM+DAGhru9+Ou5IyijqSp2SueSZOJXGgE87Qez0Ad3asgAR0KaCm66TqeZ2ZmCNjX/79m4pOBJFec2H2Ujo8n2zZkR1Tw9KQNdqdP4FMfkeuhIhy+Otis9XO6L9FxA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYZPR03MB7001.apcprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(376014)(52116014)(1800799024)(7416014)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 6LFsK+RESDKWFPCwPvHi9gMRCofKk/W3e4H+F+jWFvTvNkpJTxhkGqGRIazUVu1a+WG3TivhfqWcZu1B7hdT0VsKI6OVfG6ql4/wY5fI+GX24nSiO24KCy3pm+SQBF6cfHPudKmgAIPProu6GK24n8h4KljoHxeokcIQ0MK/rdaeA04ahKdf3m9qlGmPfx49mykoTPxptTvDU2pq6h22jd1zL3QICdVLmZorceVu26lMajtZjtcYSXZwG9XjnlqncjYjNohCInSFXakHOVdq4jaPW5CrNJ9o6tgjHr3c3kwGYV3IaxHZ8Z3G8xGwKU11AXgDU6tpEQy72UIm0rld5J4ifwcYbtIZnLaXr4Lvv3q5xGFg5a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xh5Pell1E26K1puTA+SjT1jxgWbDoAYUE8X5G+ygBaP+iC5+zPX6y/0qSCVC3BrX3C+hHoLt6cZluZYvQ+dgoiE9qkTJY6BcvQedxhhkpM1sw5zhmRulq0i6nFZxS/3C20eD+GncZKFFza/vLiNPXOTD/XW+ZzYU0rZ X-OriginatorOrg: wesion.com X-MS-Exchange-CrossTenant-Network-Message-Id: f63cd49e-f8bf-4b5c-521c-08dc98d75e2e X-MS-Exchange-CrossTenant-AuthSource: TYZPR03MB7001.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jun 2024 07:36:34.6541 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 2dc3bd76-7ac2-4780-a5b7-6c6cc6b5af9b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: RRcX0eYwEqw+FMvZsMiVJItloXHzxKzvxF8CxVtdIK0o3HFzfFPHFuf2oLFu8VVHlLn72OPY/9zgtv4oanW4Jg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PUZPR03MB7234 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240630_003650_370064_7878122D X-CRM114-Status: UNSURE ( 9.40 ) 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 WiFi modules often require 32kHz clock to function. Add support to enable the clock to PCIe driver. Co-developed-by: Ondrej Jirman Signed-off-by: Ondrej Jirman Signed-off-by: Jacobe Zang Reviewed-by: Arend van Spriel --- .../net/wireless/broadcom/brcm80211/brcmfmac/pcie.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c index 06698a714b523..e84f562fc91b8 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c @@ -3,6 +3,7 @@ * Copyright (c) 2014 Broadcom Corporation */ +#include #include #include #include @@ -2411,6 +2412,7 @@ brcmf_pcie_probe(struct pci_dev *pdev, const struct pci_device_id *id) struct brcmf_pciedev *pcie_bus_dev; struct brcmf_core *core; struct brcmf_bus *bus; + struct clk *clk; if (!id) { id = pci_match_id(brcmf_pcie_devid_table, pdev); @@ -2422,6 +2424,14 @@ brcmf_pcie_probe(struct pci_dev *pdev, const struct pci_device_id *id) brcmf_dbg(PCIE, "Enter %x:%x\n", pdev->vendor, pdev->device); + clk = devm_clk_get_optional_enabled(&pdev->dev, "lpo"); + if (IS_ERR(clk)) + return PTR_ERR(clk); + if (clk) { + brcmf_dbg(PCIE, "enabling 32kHz clock\n", pdev->vendor, pdev->device); + clk_set_rate(clk, 32768); + } + ret = -ENOMEM; devinfo = kzalloc(sizeof(*devinfo), GFP_KERNEL); if (devinfo == NULL) From patchwork Sun Jun 30 07:36:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacobe Zang X-Patchwork-Id: 13717083 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 C5FD2C27C4F for ; Sun, 30 Jun 2024 07:38:18 +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:MIME-Version:Content-Type: Content-Transfer-Encoding:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=F9GpoB9YSriQyUfrZMMQ//GtBq9K+fFv/f5hcLUciwY=; b=ZdVvgVUaq6vYaCPz7W6IFZ/7CP TEPoqcBtbvLEaew9IdBtpEiFvVRpmYkhb5B87WmAo9XE3yEnxg8bqGjVNAFQhHiVtaBl2WWe9sdPK OEYWMSdtixdv3unPwAY2ezPw8IU/DiJTkCOwzN/1SevZWTTZjRBDcAehfD8Ge3qsU6ktEhU1OZ4E8 SqI1vStQtViumlrgdRLPV5oF3rl5PetvOweHiQCj1rsSTOTH9tgSjizq/PRYZ4igX5uFJahIlZie3 TNpnH0YfSMQHPXqFPqAfaPmrmWp55UiUCCecFI4FgzT8/jihH4ouePv2eMaInMhp/GlZoe7tFAfIu +s1T28Hw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sNp8Q-0000000Ha4F-1ZpK; Sun, 30 Jun 2024 07:38:06 +0000 Received: from mail-psaapc01on2071c.outbound.protection.outlook.com ([2a01:111:f400:feae::71c] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sNp7C-0000000HZQ4-3f9H; Sun, 30 Jun 2024 07:36:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JPsepNcotMOunPTnnt4biVU1y/R/aSnFrneqNxzWy1K5XpUzNUVcL9OZN0Bgl6uX9tmey9M5bEq8INFjZTpZcfymiNlqNrFCe37u0vv80gpLn1Xpar5119JYbdE8upOdrIfKQ6V2GbsuagSA0n1GuK45RKBzBthkzzERsVCcXun8by9/LXrSFtib6l8WmzPaUWa0mw2ffVdrSoTI6WNg6b2xO2Lj64YZha5icL6V2zAJsvX58zY+r9B3Wq8owXYUBwwCOmJY6HTEjiiC/hrq1tlXhEt8yTkbKoH6hcNYyKeuFKqL/Lt5u4YFjoUImhBmzITGr3sNnM5uXXQlrS1bVA== 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=F9GpoB9YSriQyUfrZMMQ//GtBq9K+fFv/f5hcLUciwY=; b=XSkcdRjJK/+8FxyqGJ6TMtv4EaD+QAZhOXhGI1HYpPe5hjx0v6l7Kdgz9EYuvPQ8QM1JvR+3XStWjNoxy0ttZgRbK83kbV4SjvqW1A5tyGz//RyZdKbkGwGh82Xlm+EiwyAGCzgjuBFAmAZnWxW22agP3vsmpb8KFGNvQ0eodL1vA1ajJF2AzVlJsSwTgzSy2pSNf8f9vp1USHfMXnJ93hXQBTlxBDhVpqHdFDPK2uqn1r8gSOaybf2HRgDrVNpBo6IkJ8oB6Std/samOzhX9xBOJK8MxJ7expNXU9mHOQrX1wujAnPwFLbIj5pD0PJ6/7hXtGsYHhZ9fb/95KC0IA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wesion.com; dmarc=pass action=none header.from=wesion.com; dkim=pass header.d=wesion.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wesion.com; Received: from TYZPR03MB7001.apcprd03.prod.outlook.com (2603:1096:400:26a::14) by PUZPR03MB7234.apcprd03.prod.outlook.com (2603:1096:301:118::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7719.26; Sun, 30 Jun 2024 07:36:38 +0000 Received: from TYZPR03MB7001.apcprd03.prod.outlook.com ([fe80::78dd:5e68:1a9c:36c0]) by TYZPR03MB7001.apcprd03.prod.outlook.com ([fe80::78dd:5e68:1a9c:36c0%6]) with mapi id 15.20.7719.028; Sun, 30 Jun 2024 07:36:38 +0000 From: Jacobe Zang To: robh@kernel.org, krzk+dt@kernel.org, heiko@sntech.de, kvalo@kernel.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, conor+dt@kernel.org Cc: efectn@protonmail.com, dsimic@manjaro.org, jagan@edgeble.ai, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, arend@broadcom.com, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, megi@xff.cz, duoming@zju.edu.cn, bhelgaas@google.com, minipli@grsecurity.net, brcm80211@lists.linux.dev, brcm80211-dev-list.pdl@broadcom.com, nick@khadas.com, Jacobe Zang Subject: [PATCH v3 5/5] wifi: brcmfmac: Add support for AP6275P Date: Sun, 30 Jun 2024 15:36:05 +0800 Message-Id: <20240630073605.2164346-6-jacobe.zang@wesion.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240630073605.2164346-1-jacobe.zang@wesion.com> References: <20240630073605.2164346-1-jacobe.zang@wesion.com> X-ClientProxiedBy: SI1PR02CA0056.apcprd02.prod.outlook.com (2603:1096:4:1f5::7) To TYZPR03MB7001.apcprd03.prod.outlook.com (2603:1096:400:26a::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR03MB7001:EE_|PUZPR03MB7234:EE_ X-MS-Office365-Filtering-Correlation-Id: 557f03f4-a4b0-4daf-4dc7-08dc98d76086 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|52116014|1800799024|7416014|38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doWtlEZhBMn6a4oRSYmc/l5XIBtysWphDmSVSvBOEBKnnDFZ8ibBpEq5BXHe8qs/DC19aOvOaFe/SJWS2gMgt4jnkln7n6Ov6X2x1BrAxM+j5QplKZvXj9D84OUY76ZsXE5dzuG2zmIHhA17PhnHuXKQBZlAl8PRdOm9SfgDvVO0xjzVnxdidD54gBN+P5iHIXIp8tlzd/R8n3UfrEOpc6z42IyuOvPGnPEEHesKT/ccV7QrAQOshIhWe4jrIUuqxdUG1fzqGL/vsNSg9JuRQW9t5G/CrDC8itGwSqhXR4nzPI46eQsoD3Ob9aghVQSm5s1mTDC4ASXrco= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYZPR03MB7001.apcprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(376014)(52116014)(1800799024)(7416014)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: exUfGdqNneBlxGYWgEgm6rKDX5MDlZhNCE5Nun0frHZ5tMbyIcDMf1iGfoyCnBmBTvpQXgISpSaRTA4SmQSY9ovA3hvh/k/n4EWk+EwWSXObe3aqXi+L2w2gQcztqMyKMowdyxql9MXqHVHpdLuLAyj5RF/SyukXBWM3lPf8I4J3JKhrkhyujqGbft+IqRjvpRmCNoGaNbCFUcCNg+tzoy69l1FrBDBp9mkluXCaLxIi96lWXbeLpqTUWJo5rWe/JLiA0PhTRHDtqHNr1i4FOEiPGV8J+lLRjXh3YvnGoTFwS/EI/M+s1hwLt6j4juv6sFvHz6NgfJYY4fGQzfPME/OOPJyCVt0t7s7/osmLo5+vk1n/Izb74aOeTJg1j2oQeZ+KRt6Y+wfSLMOsVA38UgX6ykrBVCsJN91YgnMDDyuFiHYl4LrN36O9lEDC+UvhDRFI6ogTJ+RO/oVL4/CH+QX3YLjLfh7jDkwJQfJpOZtaEeM1lU4aq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PIan9MA X-OriginatorOrg: wesion.com X-MS-Exchange-CrossTenant-Network-Message-Id: 557f03f4-a4b0-4daf-4dc7-08dc98d76086 X-MS-Exchange-CrossTenant-AuthSource: TYZPR03MB7001.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jun 2024 07:36:38.5761 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 2dc3bd76-7ac2-4780-a5b7-6c6cc6b5af9b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ey8JnUKQYV2xSbmEJWv3KFIzt/G5JgplRndlpe6UsnhNv+GDB2c51rqJ0G3RGFwyDX4eLTlCoZn9WgpUH4BeMQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PUZPR03MB7234 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240630_003650_971609_297E7904 X-CRM114-Status: GOOD ( 10.44 ) 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 module features BCM43752A2 chipset. The firmware requires randomness seeding, so enabled it. Co-developed-by: Ondrej Jirman Signed-off-by: Ondrej Jirman Signed-off-by: Jacobe Zang Link: https://megous.com/git/linux/commit/?h=ap6275p-6.10&id=1a99573bc8ed412e60e1969c0b29d53a0e5782e0 --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c | 5 ++++- .../net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c index e84f562fc91b8..f427d664cf3a5 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c @@ -71,6 +71,7 @@ BRCMF_FW_CLM_DEF(4377B3, "brcmfmac4377b3-pcie"); BRCMF_FW_CLM_DEF(4378B1, "brcmfmac4378b1-pcie"); BRCMF_FW_CLM_DEF(4378B3, "brcmfmac4378b3-pcie"); BRCMF_FW_CLM_DEF(4387C2, "brcmfmac4387c2-pcie"); +BRCMF_FW_CLM_DEF(43752, "brcmfmac43752-pcie"); /* firmware config files */ MODULE_FIRMWARE(BRCMF_FW_DEFAULT_PATH "brcmfmac*-pcie.txt"); @@ -105,6 +106,7 @@ static const struct brcmf_firmware_mapping brcmf_pcie_fwnames[] = { BRCMF_FW_ENTRY(BRCM_CC_43664_CHIP_ID, 0xFFFFFFF0, 4366C), BRCMF_FW_ENTRY(BRCM_CC_43666_CHIP_ID, 0xFFFFFFF0, 4366C), BRCMF_FW_ENTRY(BRCM_CC_4371_CHIP_ID, 0xFFFFFFFF, 4371), + BRCMF_FW_ENTRY(BRCM_CC_43752_CHIP_ID, 0xFFFFFFFF, 43752), BRCMF_FW_ENTRY(BRCM_CC_4377_CHIP_ID, 0xFFFFFFFF, 4377B3), /* revision ID 4 */ BRCMF_FW_ENTRY(BRCM_CC_4378_CHIP_ID, 0x0000000F, 4378B1), /* revision ID 3 */ BRCMF_FW_ENTRY(BRCM_CC_4378_CHIP_ID, 0xFFFFFFE0, 4378B3), /* revision ID 5 */ @@ -1721,7 +1723,7 @@ static int brcmf_pcie_download_fw_nvram(struct brcmf_pciedev_info *devinfo, memcpy_toio(devinfo->tcm + address, nvram, nvram_len); brcmf_fw_nvram_free(nvram); - if (devinfo->otp.valid) { + if (devinfo->otp.valid || devinfo->ci->chip == BRCM_CC_43752_CHIP_ID) { size_t rand_len = BRCMF_RANDOM_SEED_LENGTH; struct brcmf_random_seed_footer footer = { .length = cpu_to_le32(rand_len), @@ -2710,6 +2712,7 @@ static const struct pci_device_id brcmf_pcie_devid_table[] = { BRCMF_PCIE_DEVICE(BRCM_PCIE_4366_5G_DEVICE_ID, BCA), BRCMF_PCIE_DEVICE(BRCM_PCIE_4371_DEVICE_ID, WCC), BRCMF_PCIE_DEVICE(BRCM_PCIE_43596_DEVICE_ID, CYW), + BRCMF_PCIE_DEVICE(BRCM_PCIE_43752_DEVICE_ID, WCC), BRCMF_PCIE_DEVICE(BRCM_PCIE_4377_DEVICE_ID, WCC), BRCMF_PCIE_DEVICE(BRCM_PCIE_4378_DEVICE_ID, WCC), BRCMF_PCIE_DEVICE(BRCM_PCIE_4387_DEVICE_ID, WCC), diff --git a/drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h b/drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h index 44684bf1b9acc..c1e22c589d85e 100644 --- a/drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h +++ b/drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h @@ -52,6 +52,7 @@ #define BRCM_CC_43664_CHIP_ID 43664 #define BRCM_CC_43666_CHIP_ID 43666 #define BRCM_CC_4371_CHIP_ID 0x4371 +#define BRCM_CC_43752_CHIP_ID 43752 #define BRCM_CC_4377_CHIP_ID 0x4377 #define BRCM_CC_4378_CHIP_ID 0x4378 #define BRCM_CC_4387_CHIP_ID 0x4387 @@ -94,6 +95,7 @@ #define BRCM_PCIE_4366_5G_DEVICE_ID 0x43c5 #define BRCM_PCIE_4371_DEVICE_ID 0x440d #define BRCM_PCIE_43596_DEVICE_ID 0x4415 +#define BRCM_PCIE_43752_DEVICE_ID 0x449d #define BRCM_PCIE_4377_DEVICE_ID 0x4488 #define BRCM_PCIE_4378_DEVICE_ID 0x4425 #define BRCM_PCIE_4387_DEVICE_ID 0x4433