From patchwork Wed Jul 31 06:11:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacobe Zang X-Patchwork-Id: 13748096 X-Patchwork-Delegate: kvalo@adurom.com Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2091.outbound.protection.outlook.com [40.107.255.91]) (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 C3E311607BA; Wed, 31 Jul 2024 06:11:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.255.91 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722406314; cv=fail; b=FGmAmyOHmdwdtqFmY8Epcrv0Yc2/WLqS84fgT4CICabNe7gkQkB9j0SXj0YzcMcxPJaTx3DQXXCFgD511/XC8m1iyxoML/PZWodDTPqLUAa9nOj/Z0ANcAU9DVbId9BkkqVG9l68qh91/5hcG6Uvg6QBJOwJRzkY/fWJAJIypFw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722406314; c=relaxed/simple; bh=2VnM3Xke/V+FBPoCBZ6dXFpkeLfGCL5kEesF20cliAc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=vDY7dQk8eHg2V6yYtebe7S+hFlPW38SECy4xmgE3cczOA7OveHA1P89h/BdhblVjv7JOtzLqTel+LZxnc1SFVEz40RLwA+XxwJVmvJdBloirKptsewdWI68S/afKnJBexUkZlYLjofNhu0hLjwafxy++Xlv2AJllJV1r/y6FGQY= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wesion.com; spf=pass smtp.mailfrom=wesion.com; arc=fail smtp.client-ip=40.107.255.91 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wesion.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wesion.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=PsDwdHow3LQdXz3ydpEHdx2tW7ghCunasHNk3PPrLBJJE8iPZoux0iXfySX0zto0le1hRykMYN9W1fGjfECGwBUCdHDr4q3hHLrFDsmtdEqMSYUbJnrSqsX7+VWyncSLvIuVdJv/Ku1mDoAcazG3SENZMAepXsWW/RlUb+ncxV+8+XXNT6Ic7GM4+u6i7teLT/ZrE1zCNWRhDAOiZmuKeZkWy73xZnFpVVwBIH6/wHbkE5AJAQmmG3G4JRmQud3quyXByITrUj8BhP8JLMZFto1ju29da6R8+iba6UXOK8BxtVtqa76nXG+qEStTtJpbPv/9XXrh+3fDb2vgbm+hZQ== 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=n3ZCKui3FOaZbR8MmUilWzOmfwqy4Ji7tdvVIJh0aaI=; b=NZKruUmc1bPkQBXxRkmXcff5hn5CFthObmFWYi2AlGBFOHWdTyQr/+9SeIJafngnsFWR+PTPLGDXvp1cbv/vDNGO8C3tKDvZNbGcoNk0sk+Cvmgle7GBskh4xhQOeDg+3OcHdVpDoSLiEYuEeAIKO1PTQvpCevBTqPBAbjP8dUWJ/YejrNNMcAipC9ZbF3kRzLnbLnA0YIRt4d44/IPI5FCR1VdovrXM0vEDsfw8hdaBsCXVgxNhzVc3SuMPKWiBwNLycPgm3KDYm1IlU7hu3YSnXi50adC7ROcy4ueZYO2nJ47UwA6slus3ZNF3Kb5OlPZGo3bmgfPp3Yh51qMPjg== 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 SEYPR03MB6580.apcprd03.prod.outlook.com (2603:1096:101:85::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.28; Wed, 31 Jul 2024 06:11:47 +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.7828.016; Wed, 31 Jul 2024 06:11:47 +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, arend.vanspriel@broadcom.com 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 , Krzysztof Kozlowski Subject: [PATCH v6 1/5] dt-bindings: net: wireless: brcm4329-fmac: add pci14e4,449d Date: Wed, 31 Jul 2024 14:11:28 +0800 Message-Id: <20240731061132.703368-2-jacobe.zang@wesion.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240731061132.703368-1-jacobe.zang@wesion.com> References: <20240731061132.703368-1-jacobe.zang@wesion.com> X-ClientProxiedBy: TYCP286CA0178.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:3c6::9) To TYZPR03MB7001.apcprd03.prod.outlook.com (2603:1096:400:26a::14) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR03MB7001:EE_|SEYPR03MB6580:EE_ X-MS-Office365-Filtering-Correlation-Id: 0cf383a5-4068-4b13-308f-08dcb127a8c2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|52116014|7416014|1800799024|366016|38350700014|921020; X-Microsoft-Antispam-Message-Info: LEJWwkAworILPSXlg0CXd+RVdQiXXK1waYMZ8omvU3iCpIj1g8KdkrTvzNau6YHr8Er57FgBjeOb3nDIjVKetz9fEDNLhu1zmLF1zCzl9F7fTQT8/f7zG7V2HbXINOm/5GQ2a3xJEAsThIdpNopXfQHUEtgZJDaWZ7iJWOSS1szvp5i+ArKnWhbH6WtIEcFjkOZ7stMUIFl/XYdfREXyYZ4ipJu6jDsYJDhZWAibAKfsrAQ7uhiT6kBLavqxQ5eyiEwIQf9QnZfHAKQafyyaKEb9GK27/t+BjDqP9vS+mtd8ZfVum5HU3G0ZyC3s3uQjpFuK4fCoP4b8JXnfVUhbTLUF+hZW51l4wtJiJjgn18VcJZUrSdiRgdD3n300y5xajMvqNu3a3SAFKkKCXxAqJUFAiL/8M/7abjtxCxCHKrg8zOVor0hBzuxRWE7rx7RZ+5avuyvE4Y5B8Jqpb4GW8HL9BvvRiLjLJ4r6ptZJFhiWIk+I9kAzdprN5x8tbHDC85gzKsUBDXBGg0eX3hdmxfhyvachrCq8G1Yekk7+sZ5+rVXF7Wwf3yoCa+KTJQaoFFfUl+RlcGAlkI7hs4BZPYIdVugqt4vpgyoyz9yduCy4gg33q50SN7VQjCCYpZYvSeYMa+m73sMg/LdxsqC38ONNkuFFXwjze4U6QMsLZ60jvYNBZFXGn50Kr+jM+wc/BiEvD2zfrBf+yVENSnvUYM3nxWfwKo5WYgc0h31RliDHUJcJfn5yDkV20dqas0X2OMOG4sD6Gup0Z7xFNLrKcyB+ZaJVN8Tsy+xcjuVGhvujMgthT3s+KIyaa3PcSrdiYKG2r3M8iGU4obyvT2uD/h2Vk5O3XzQV+iA+mMo1SA4L2eKA7XOfmSEKHiPm6Hzq2AHPveVjStPpOO5HMacvhC8mvVP2ve+2op8HiL22GJXTjOiRkOFi9QQeXgwJCzMQMTZ7/qJc39hpoFX0cDXoQTB164SeNzLXne0Dh25WPLpoRfY6gOLSiaiHF0MxbAvw3yOInP6XWhAoaUsBjNA5VMx09rGF4qhBSquVsFZ4Jo9dKOZhnrcokufz2BAeDpYQz6DLK5PMp4y0P0Ao3irposptneBVbgQThsCejVSw002w1qtOpUBWEUooAkhh1MjLlgAJ46DW/AZbhrFwXj9uQxagG7acNr+Nq8r8uUVu0z4K+vi7Q/Q3zgDeMeA+fVaP2v2wQA+xLPv4l1K8aPhh7Ka9Ivrxpgs9XkH0SZ+hpQLMA+3xC28ULLhq2SQOGdEh/HuRkLiN/fmCAnwgn2bZYFhSpWB/Bzi+qv+kwMuvPNJgki392t/472jFhEMHOGV7APh/uaOjz6Ob6icpIH0/+kU1uoTVWwLuMq117OT5aqaJZ6tMrjMioPX55szoOIhRK7sND9/fMKroMprZOdvV5v6hpAhPGiKt35OGOgU6INE= 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)(376014)(52116014)(7416014)(1800799024)(366016)(38350700014)(921020);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 9uQ/rDXdKTgf3Akh+Arzq+tRSWbcAtGbtQnLpX0OEYVHMnZtzKiDqsSHfQe6VPL9ivVXm7gFGnjVxpJt4RTUVc5H3g7yxOd07sDFm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H8pyHwYwVD3v5PNPseeh8dksqK06Wnfc4DBx3R2OJnpkVeNn6Kt4VlxWrZZG6owSSt8rxGQRDehhSk/kENf+t3n/ctHIbV4chOlGBgX3bHEF/r8mT5wyyD86a/EaiANhyndXzyiYABXG5Ak0UG7SrRCHBoupKMTXRvUQ1kSL6iCarMjILK0Ykn7fn1Lq6AVnVA2a322UDWfpG0S/jjWdXpuuBxAmyDfjToaQWwUGU1M2MPFqWPTdz4bFMF+2202B18Fd0vYSuukqSHlOTjZxMlXDrvEQF0FNoMoCrGOM5YD0jQy6vWIB5/FHxUQPG/5jkk1RfkMKPLZzhKmqbaT2I6u87pOS8mSjxeKT21SNC+YryoAFCtxcohgc7f9xwknhNCkA1lU88+1yTMWmN/qvnfnTC6k77HA2lFS X-OriginatorOrg: wesion.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0cf383a5-4068-4b13-308f-08dcb127a8c2 X-MS-Exchange-CrossTenant-AuthSource: TYZPR03MB7001.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jul 2024 06:11:47.4610 (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: 1puHxDxTHMPX0zDTdWerUrIbVZ4sdNnjF3kYNBjsvfb6KBTZgaPyntjMC39QKyAlL6bKi9n8WsEq/gL/E0H1fQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR03MB6580 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. Acked-by: Arend van Spriel Acked-by: Krzysztof Kozlowski Signed-off-by: Jacobe Zang --- .../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 Wed Jul 31 06:11:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacobe Zang X-Patchwork-Id: 13748098 X-Patchwork-Delegate: kvalo@adurom.com Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2091.outbound.protection.outlook.com [40.107.255.91]) (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 88240946F; Wed, 31 Jul 2024 06:11:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.255.91 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722406319; cv=fail; b=Fq0sMsIiMmL44WAqfAN6BcP5upwXV83oNVZlV4tTPdU41TBinLuC0v2z46Gl/fUjDQcuN+GjhbF+hocWV4VWsIOuT6rlXzMZW7kgrpm81fUAwN4SxldyDAYubs7JqEdQbDyvL22g/ywsCOYh4j7OC4cUJJ1U7M6KmbeUze5XMYA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722406319; c=relaxed/simple; bh=uyVPq0vuS+FMU0odfnlfw0F2eZnLPgwjnpAdPSqAp68=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=PuodPLvlAlsgP1mwPklWPJQ/J1iL1IaI1FzlTWDvEOetR9/de7NFkZy52x7RrEJKG2qWt0nTofp7bbUV0njM2pwIq0/tEGCzneJ76wVUAklR+8rAJ//JlTlobAu8T9zbcPLY/BpzbdjcgDTV17ltquOXUznP8vtDSwJ7Sb1V6Bg= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wesion.com; spf=pass smtp.mailfrom=wesion.com; arc=fail smtp.client-ip=40.107.255.91 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wesion.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wesion.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tBAQ1eVr4Mdy2JMv+WtpaoaooUo+zf6SmBsLRf1y3uX3Hh2bmpJcqZtDdKizGYU+VtIflm/NEaYLZTN2EgKt6pEqqXKMrTADKeI0NGuytc8QBx1R1uF4Fr5qCbsqFKgJyses/myuyaZyW5psfOC/gfumY1NFiF3T5RxhcTDn1UeNt7pn+Qg7aId0uhw7cbztkDZoNtXI/usMDEXp6+YgG8eUIDTwcM7lzvn8CxFA0dzOxz4r2gXNWH/tZCGMnfryarMh6TDnGELqTRNa27R+IC6XrCw9iEQIckCREVWT63ZdZjgOS3pJk/QxPkhVnIiqxhC/PE7Iq9FcOC5zZEqDfA== 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=1iPX8WFIoQ4QXgUD/qR3fD/Finzms7t/FKq4XAi292c=; b=CPG7uBJj8OoxtB9rnYmcYctb7p0iCL0gpjwN39IBx7H+0fFA27RoRiwrT2kEArwLQQwTyMsKyrj0iV5FVePeLKPftyXxJ0hKaitewJNHtBnXWeedfi8esl7oAQApcHiIJgp2haHhwb3pChNGLwKcWLy9/1HtvBTe+JvKvxxX6hi3SR89MgFalS6mW5wJRVFwcjEkC2PhrzlMrdxHj+gF5B0ILCz0T42V8FfLiTtN8Id6ZjvH2ZUlZG9FPPFyoGepgkOS8+fLDPqaMN+NZbv4/dtA3nCEj8NbyWr7uvgfNuZ88r4MuIufx6v1Yp2QRuX7iv+y8fxSkQGDUBFGYLSd4Q== 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 SEYPR03MB6580.apcprd03.prod.outlook.com (2603:1096:101:85::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.28; Wed, 31 Jul 2024 06:11:50 +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.7828.016; Wed, 31 Jul 2024 06:11:50 +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, arend.vanspriel@broadcom.com 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 , Krzysztof Kozlowski Subject: [PATCH v6 2/5] dt-bindings: net: wireless: brcm4329-fmac: add clock description for AP6275P Date: Wed, 31 Jul 2024 14:11:29 +0800 Message-Id: <20240731061132.703368-3-jacobe.zang@wesion.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240731061132.703368-1-jacobe.zang@wesion.com> References: <20240731061132.703368-1-jacobe.zang@wesion.com> X-ClientProxiedBy: TYCP286CA0178.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:3c6::9) To TYZPR03MB7001.apcprd03.prod.outlook.com (2603:1096:400:26a::14) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR03MB7001:EE_|SEYPR03MB6580:EE_ X-MS-Office365-Filtering-Correlation-Id: 89709e8a-9912-4d8c-7bff-08dcb127aaa9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|52116014|7416014|1800799024|366016|38350700014|921020; X-Microsoft-Antispam-Message-Info: c2zSIvOg8m7XLmDXAWxrAFwgK+nZ4yd+WsRMO7yAH4VkMnzeP7s4ppZKrPGYz5KgcsOEREXxE6MkV1creIvlF0hkkrv5tdBWS6ZeEYDN0NnZnQTXuCO6KC/MqrY2uAIumcgk7mMZNqfljBdrd73Ry1FkPibCrWoDZgefo2aCySx6nOwEjoxymBtq2xcg7KRLssdiZ0B/E1fa6i9zalyx5DwmGxP79crUgREcgJLo+Qa5zTA68l4jVFqp3vGpWvhCi2e/ZwRVMffunv6c0f0kPEb/fUWeGAEIfrf9wXDe0GRrMa+101sDMQeolrH68n8civ2OWgb6YJfhIa+UYTgYwfHX0SkEWGe9UXpdOYVa7/YH60cA00zVHKHL3JgyyoY/+cly/cjnjfme7qGyPxRl3+Z668eIrqrI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LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYZPR03MB7001.apcprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(52116014)(7416014)(1800799024)(366016)(38350700014)(921020);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Yk5CJZlChHUzY+BKA4MgXnCmYp50OmX7ksOe94aXJm6kZsilGu3eXubH1eyGiXQRS7WKg1e+5epO4MECMG81vBVK3fLI61XtfDELDoqGMMFAd5dUCiMKwQyYNxGqo8lUcnPrVp025HYMeGKSnRAiKgj3NmEk7Sxlp2rwGe4glX+XkI7skAlKTzf1uNB4QNfcJvZN4iTJs4Dr2FX8mg1AmkTJ+jtXN14lH/CNeALxt/LRezxJs4VjRO1soR56f0oIjD7kr+XrtrM5Ffkdpg3r81LUfVrDAbxnHaprKXwBZfFjDWMqsbhkJGXB5C8ai3zLdWDVTfSxJSqxXyDTwtNw8OD0ZZvQQojoZ1I8sTYljP6xzPLcQTOR2FzxNtmNxa059UxsJAjI6RLqQq1FPddR+XyvWnfjCqFdm9HdRD03vlKXwGyij5tuMPevCMnrdpUVp4lpCMtTNHiGCKRzEs9bESQlBsMAzYRkELsuiuzS6SoZczkmzPQVKEGlsTG+Rffblrvf+Xzp5GMjKMyS4VaZSAsWqzidl6lSSMcbD/U+Za4QTGIPXNIuOLk5ZD840zOTCL7kt+fpNqtVmPGyxZpjkco6a4dLRNjlRrnZuPgUXrVNVbPSVsCljKyZCpyl4ByBlRDbG6hrJ+5wWvC0Abkj/ZNu7F1RT5c9Rp4LhntwYJ67fE4xL8DgkuKlLKqDDQTOBI/Uuqgxuc2QfiTGfNRmPP4FoHBtuXFdguNhdYNgWpOibi1BHzFm2fRiWSdetDwzKhHAF4mpfj+Jq3AIwr3dAAnStfIrfV59KUVH5GsEbDpAcnAyoGLAKx/bEE8XqgXgRaW3nmW+Q/GZrODISfJujgnqSYhW6zHyvKEjEox8l38mSsefT98UlmWM4gwAZErvlc9I8L5WFqi21Zzu7z2Gw9QItjd0jlIjgnM8+lUnQdKLu2cSHDrSi+9s4srgfrRH07QqOs5rnFq97jv4fhYu81EaXL2hruuhu4NNE9lUSiH2D6bekXytzEAjqJW9YUvaGxdo3ciurl6AZELG8omffGlmbLqs93dSYjw+owphOVii6BTdSV7SVsMzbcuikBPf508zjqqAuDzxkKUs4UbuPejE1t2XM46PDMFuzu8OJJwLYc7Vpa+ATf68ZPC6ZQj6hyTBE810diHJhZQTGjnyiIKpCdqACLw30cwxHULY7DRxVLl8xlUB0sz5HOmW6g+TTZlj8RSIqI5VZHx0nRg1IwQYYraqNlyoizq06PL8MkpglWlmuhEo9ZSCeWUFtwqBvUj5MV2ONsJZ5RlFG37lOtd2Jc5du98q4UvfakoIlgKsqx5D3vh3py44KE4KBIZtfZFwrLJCHK8YCk48lk6OQ/uUDIqX5MTSSIe22CapB5WCtIJTLwXi2m+udkl2T0KmnYBz6nfzSX+9RtGyrYaoI5Z5DJZqE++7HGJjUF/QOlkBzup4z4guKSwMu43PkvBwizh2Atr3FlWFfSA/P6/abAiCIZITqNrPVNRZzVmVD2iQ1BZHI2vKOWVkJ/24fjX+Dfy4Pd+FyasF6vhcY2wQgvWDkV7lAU07TcGY9i+5WYFRxkReR9UXeSU+NqZi0hN+ X-OriginatorOrg: wesion.com X-MS-Exchange-CrossTenant-Network-Message-Id: 89709e8a-9912-4d8c-7bff-08dcb127aaa9 X-MS-Exchange-CrossTenant-AuthSource: TYZPR03MB7001.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jul 2024 06:11:50.6277 (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: zDGdw6exA9OMel4Nlbo4e0P6t8b35dYJoW0BvjSDrB2L28iX53SFw5qP9Kocg3x9MivgBP2epsLD05QdvjZE2w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR03MB6580 Not only AP6275P Wi-Fi device but also all Broadcom wireless devices allow external low power clock input. In DTS the clock as an optional choice in the absence of an internal clock. Reviewed-by: Arend van Spriel Reviewed-by: Krzysztof Kozlowski Signed-off-by: Jacobe Zang --- .../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..a3607d55ef367 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: External Low Power Clock input (32.768KHz) + + clock-names: + items: + - const: lpo + required: - compatible - reg From patchwork Wed Jul 31 06:11:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacobe Zang X-Patchwork-Id: 13748099 X-Patchwork-Delegate: kvalo@adurom.com Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2091.outbound.protection.outlook.com [40.107.255.91]) (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 5588616C698; Wed, 31 Jul 2024 06:11:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.255.91 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722406320; cv=fail; b=daTors3byy284+RK4hczUjvOP7c4cz2TZY5NHw7UpAjGg9veD99licUm4g3wjt/0oNxlKaADKJhF8mSJTO0QANalpErDeljJ6xySoCjw5lH545SExsqdEh+XbMy9jSYwzhMxNhDQZj9CYc+786jBYpakxuQkd35wikpS/rOFMcI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722406320; c=relaxed/simple; bh=DXcRmnONLjNZRQY8t02lISgeJnDwKFlK+PlRzNTdKzU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=fUSNlHPTJBw8TtMqXyyRTJRCXsfiU6rYCaLrZk9YG6qmyQ074RhsZvItzz3ZiakS7t04pQNRNMu1YtWM2qj552A6gcjhsxKjt8jY4yNU61F+xsHQjGS8s0JiOqqGPkKCvYvpm3vC7Yado3ikCaso+Xh9qlPdCnYO2ig1Jtc51Oc= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wesion.com; spf=pass smtp.mailfrom=wesion.com; arc=fail smtp.client-ip=40.107.255.91 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wesion.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wesion.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=s8WP7rCPy5X/O4N/MqTupfoJTTyrka5NUg4PLCiLRqjIKxbA0CYALFnIlQE+bux+Js6m0a7zT4OyvdO48F9qT5ElvDR55tREvu+vUgNE6m1TlrJPh5TXF/cF65Oa6V+S6XhN23/csErlX9yQLi/7IsvHt0IelwzZxLoUpjIt2G06SwbU5+0LFG235j5mkco88L1IitFg5+VlIE46obkJ4fzIUXFSUshLkOpLQngZoZfUTzo+Kopb0s4MR7hG8q1bi16cspDMlIglb5LbcRMcwE91FJ0HFUnD82NgvrGjjxC/ULUgKWjYTxJUfDIGVtzyKKVrjq9nNbFacLzr7BZ0Bw== 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=GDLszfaTiyXrVSeO5bo+Fx1/Lx8KsLrl9pfpXaKrTHw=; b=jhzc5LBJPXMAZ35rGC+JH7/zn+6/y7Jjdx7SQepCOS+nY2iUBFAc65QHOUTE5wnlN8n61K1mcniksNXxNnd1glIBqTLxILFzJvdzPUEpuL2cy6rJYmyiMXPDsQNLqPHh9mN3ss2N6+yKBYPrAghxTTuJ6EpLhlRT6u+HK2bDvDb+P7hN4h6x18xqa2sbkp3q5AkAJ1gxWo3PlhT+jghbSr+eHlQ2T4GDW5YNI4sbxyHJtIrwNNx038xEHsbNJUPFOpgKgSHgpXxWIPz+oiGwXDbBWZf2Vk2roZmyE7iuargNaxuDtNUsLMRcXTOAy2type7J+m1DNlN3xBO6zhzAYw== 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 SEYPR03MB6580.apcprd03.prod.outlook.com (2603:1096:101:85::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.28; Wed, 31 Jul 2024 06:11:53 +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.7828.016; Wed, 31 Jul 2024 06:11:53 +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, arend.vanspriel@broadcom.com 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 v6 3/5] arm64: dts: rockchip: Add AP6275P wireless support to Khadas Edge 2 Date: Wed, 31 Jul 2024 14:11:30 +0800 Message-Id: <20240731061132.703368-4-jacobe.zang@wesion.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240731061132.703368-1-jacobe.zang@wesion.com> References: <20240731061132.703368-1-jacobe.zang@wesion.com> X-ClientProxiedBy: TYCP286CA0178.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:3c6::9) To TYZPR03MB7001.apcprd03.prod.outlook.com (2603:1096:400:26a::14) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR03MB7001:EE_|SEYPR03MB6580:EE_ X-MS-Office365-Filtering-Correlation-Id: 7b26d14c-8e71-4976-1e81-08dcb127ac70 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|52116014|7416014|1800799024|366016|38350700014|921020; X-Microsoft-Antispam-Message-Info: 146J/iJWz2eBQpQBKn+do3b+ohLvRDdkcmEbGwEelEKIOa+/+0pLsW57WO4bX/FucKZcvlNIPH8NBoYXNot2gy851U6DksBzymMkn/lIdsCDV03NbgW4LoB9DuYqPvEDFXH6/ala9l/hcG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iD+0V1uIweEM8krSkihJnw692a5UgBkYf2gx3K4qqN2HXKdQFTZh4bxDTZm7cm/Xfc3RtH+YV8DOWp1bIzV5bLz5eGVVoulLdorned3Tr9FpTA7z4HaFF9LsLtdqCIY9NHGemqCkqtwo8YG5IUExyIVFAZqQNHcUBnprSQk+A/UmWw7uenuqJFx7s9P81YOSDYy4X+INgq43tcaJbdfIkPoQ8urQ= 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)(376014)(52116014)(7416014)(1800799024)(366016)(38350700014)(921020);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: aU3zU4U6B6wXUMTDHiUG2lOOUt9krlavCOwbo86718loI8x9tL4cxFDU73th8fV7hzUk8YU4LPm1Tmu/S5mafUp90FdmESq8fFwuneJEtlw5J7fu8xPIa3QmkgjjyPbg8EtDG7J33TrmohO0eY/l9L69nwhe9kJ7OVUItwXGK6ViNz8TvrfpN8hlDb1Cb42E2PuDCQuAlRk4yOkfDNlePaTm4C3n1B9jMu3ZZTpAwApSRsEcRX9LtIQLUhSz12TtGeyqSL1bb7faKdZP9Mc2ZDfYO1bZ0xbhZuB3cL0PoVkVdYlxyT2pi8spBlDE4hfZR/n12PN5zxAHhZZKZH5+Mu+gyIRkypb68d0yqDIMXM+gXvd5dv0GNeKOzEbgp1mMTc8A4WtkbPL/54th8kShJJbPgourbF2n1+i/WQPQi6HJ93JW9RrKXxzmqU/m7Vkwc+zEptQHMbZWedNE6FUK8KaU0p2HT98O0TFkeLtUqMKtxzZTcrwLx2cke6eFldFtNk8YbpiBDG7IpHJ71fCnWRHYBobsuId/9gawwHNg8Ysf3LPcFkJKu8cmnNkuBsFDzcVSr/t8zWYbYoiwPgBCBiO+AlG1XRXuV79VLCqSeWiytdC8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TYZPR03MB7001.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jul 2024 06:11:53.6424 (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: elWoHCDEpFI5U1ZOX7gMxIAycuNFUyBhPDZrPodUJeBtn1zRGpKUflxlgpRyyuOQcdqT1wLpw5mCgSo+j/5AOg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR03MB6580 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. Co-developed-by: Muhammed Efe Cetin Signed-off-by: Muhammed Efe Cetin Signed-off-by: Jacobe Zang --- .../boot/dts/rockchip/rk3588s-khadas-edge2.dts | 16 ++++++++++++++++ 1 file changed, 16 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..b80a552dad883 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts @@ -283,6 +283,22 @@ &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 { + compatible = "pci14e4,449d"; + reg = <0x410000 0 0 0 0>; + clocks = <&hym8563>; + clock-names = "lpo"; + }; + }; }; &pwm11 { From patchwork Wed Jul 31 06:11:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacobe Zang X-Patchwork-Id: 13748100 X-Patchwork-Delegate: kvalo@adurom.com Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2091.outbound.protection.outlook.com [40.107.255.91]) (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 0536A16C875; Wed, 31 Jul 2024 06:12:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.255.91 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722406322; cv=fail; b=d0Ggp9eRI4OHzuuSE+qUVW0MpEizP6WI3Tbh+C7uSaNjOXlp7pLWilxEVg1ZHO6G97smnlfrVBfoGiRuWDajYBTsP4cnlEcV3xeMXMYBmsySzenGTjGFWjrHQ+arH6lL1mp37zJbU63n/KZ4ArS+ng/kDXtt7dnjy34OAshF0Wc= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722406322; c=relaxed/simple; bh=lKn7tedXjLdpYoxPuq/HfCw3vPweUEjpaIRuIff6PWk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=UhTk6jVJ81jaM0a+LNae5zSdx6EwZUSpEePPdYIYyJvilrbB1aesxQnbeX7iECF2o1YIlDZ+bR9HXMuoSdaQMabU5eFayvJ6zj8fFRJod7dflnGSM2r8vblq1YywugqlmGiJ7BEoKjZuuQJvSaCd2Vmi+U9ToteFoAEAXVcr8mc= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wesion.com; spf=pass smtp.mailfrom=wesion.com; arc=fail smtp.client-ip=40.107.255.91 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wesion.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wesion.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ejYoXQ48BVWMG04moR/Iol5Hyc4JdHHzxtFKpKC58rDzPUSmke4HIxW2/bhiglnkR0EGZJRF7//gABl0JNiQvbgE0esg4L+9w05m+YvPzTeV3PqR12tC3Z+R9VRc2dgnN0TjRNrlRe02zwrMM51VZ6/WvFpTfmNmmcNRy4xXZpeceEHV22A4cekqvjXAwSFTXJEi2d32kzPlGL2VP2DBtp7jTLPHbU7fTmGeXAq3vFRrVzIUpSqxfhrgk+BHAe9VvSnFnDPU7wXu1LQWdAGWPQRCLKelgDB82Znc198lzq4kjkD65FkXTvA3AIVQhtdZtk8I7DlRgcdgxMT9Lhpa6g== 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=/2JPbJjR30bz0tWINXyBq+rwGz3WBsWM8w7Fol41l0I=; b=gZj4ygLea/EFna5IqwYEFpNt+PtcaRj8p2zKw4UJwu3AxvNNBDlyrSIbnIa2wpy/KoiPwElU/PH8/BBOd7rsYcWa8SQNwhNmCLrNdFacx8dwdM9w0ZhF8TRL+Phwt7MTlhtc/QDFYTcRq5B41xnT/tT5wudvCwfR+IjdaW2B2DMCeJHhRv1JGbJ7V+yngyFro4aRX4rIVZDDsmzWSeWyrQJdPGDrmXACyaIaOCrVi0lvVpd9W6sD+UUBNX4fu0KCQvek9kDD3hic3rYInyGj38HmXAoSbwS8Pvo8MvCqIwMFMBhS8KpAv6ImONNYhFZQ2hcVm5t9WUyrSq4XC/O5xA== 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 SEYPR03MB6580.apcprd03.prod.outlook.com (2603:1096:101:85::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.28; Wed, 31 Jul 2024 06:11:56 +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.7828.016; Wed, 31 Jul 2024 06:11:56 +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, arend.vanspriel@broadcom.com 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 v6 4/5] wifi: brcmfmac: Add optional lpo clock enable support Date: Wed, 31 Jul 2024 14:11:31 +0800 Message-Id: <20240731061132.703368-5-jacobe.zang@wesion.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240731061132.703368-1-jacobe.zang@wesion.com> References: <20240731061132.703368-1-jacobe.zang@wesion.com> X-ClientProxiedBy: TYCP286CA0178.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:3c6::9) To TYZPR03MB7001.apcprd03.prod.outlook.com (2603:1096:400:26a::14) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR03MB7001:EE_|SEYPR03MB6580:EE_ X-MS-Office365-Filtering-Correlation-Id: c93f608b-9231-492b-306e-08dcb127ae3d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|52116014|7416014|1800799024|366016|38350700014|921020; X-Microsoft-Antispam-Message-Info: xeSlYMkrJK9LBi0kMMgNwM1Cm6adjBlUskOuL61To17M+ia0ud1QgHTOROc7tHjvzLQPEfIJpF9Fl4hLfj5EuI+wBcLzrxOoqfzoJGkaheXcoLdj5DJubmm8b249l3wOeSAUv79fmzJEUdEHPYYA8vuNh7OFsiZEij1mk5V7soa8LiTsIpud+DtcF6/A1CUdmc3rAHgMA/b23soC4UAopDlN82lHmRuhePqXJQM8okXyksl9b3lCQKMwk5ZUPLckhjFUvTIu9ORVaiXN9jODqtY7E6xdUUJnbfUcpEVhgZJvZCLjKi9XG7co59PKC0oRczRIQIQFpgPsgKSJ3UjHDd9vG2D5+WbX/Db8YQafS6zHhc6GLEhHigrw1OelpkMiyMlr8t1nVk/pM2LL1D5VhlxFzmFMS1t9gM255RRuKeEfY8hRSwDYb/OUsuxgC+b69lPflOLq3rObUh/2Ep53r1ssxNcXM751b/4OhSTAHH6wviGdhllGqKH7oYyFTyawY0O3kquAl+ydWXWC+gvShIa2jAQ+v48gRNGTml8Dx8yzgshoQmQfGRDoQgEfW3TkqDaBt+Heh2I+f7BB+zuR/6EKYmHyYT7Xpcqc2WvuRvOWGzi1mVXw0BHRQ3T9SWvVyQ+In5+ei5f+lHSvonmD1qu29c4wwt2e8TrfwGQVdNTx6ZAXu5q32zXCc4vDfidk71/fXg+OnRoG/huqj00H1iXHajfeJBVKn+HbhIP0K1FOa1reNk9+X4/4hCZSdKa9rqIC1lqw2fJztwZ7kZjqQwV53jVqXINoYbdADW7VswSiBIZrb7TrFsYazEK4yQz8vWQz1BffuHakTk/oyxwD1PQxfa+qln4YDhKYd5ez01ClfF8d+lsZT9hXoHCCupKth/cx2yEdtfS7FH4zZji/4bhcVyocWsVo6lHsfAOvlz5gSVmzZnRYJKuzsQojWTtObopBB2DO3KmUe7VCpYdtT3on5/0Qjze1rxQIaf7qKBv2Em3Xmn+AQbj8OOxssoR1j7Lum1mpEKye8SjooyA5RJBZMFxNKczXQBIb5jOR38UCez148F6iOarqBUONunUXE7JjINjpG0TiX02umtsp7TKcGHQVmiUnShCPnZOYLHsNe9FYMA6a/pfpCm501n7EiSlehS2Laf1Pbqi8dbt7ZZ8S1bjX7jgBrT3J3Wd+P6iRJ/5k6LBlZJZzXOgEdecZ9gvlmMsowZEzlJK4R37W54JGY3q0vccuDWbWM7sqN13Sxy/2kZioCWcCEN2O5CIGplMNkyIeDaQDjMw5wE75YmOnD9p3TtxCz1q6neKrrhHXR4W9UHMhL7kTI4VjUx1glEVQJUKbE6YB8a0SUuqLJysSk4agNcl2Ks5jEx3XL6s1gvEVMD5dhv2EU4bq/BlIqifeK8CmlCbpUoFE27dpQp/RJo9xuCAo9y69cfPkbUk= 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)(376014)(52116014)(7416014)(1800799024)(366016)(38350700014)(921020);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 6x3pci9TbOdvkU8LqY9QkeRY6nhAmZJUBFTmkwfzygC8+zy1921d+ebJU4d4VQbYTnAaJRPmcA6y39AF5Gqs6iX5xrF5qzF+PwoIhL6sIn/rBHEC/Urq8qqZ4BMHiosTaNIAlkDrQXKa7MprH8IUpeVZGIPG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/b5uorMp06gKLwQa6hQv0u5fjqkNHKqY5VyiUaIRzLzdz9swGgPutEujRpyNbjRihBY0TvME1ll2EH47P5INMyQUZYyZeBGDdkEDiKPfZefPDR8nej2I0WnSPxzK2iPgyzwJG9EStpTU/pOR38bRPx1MVbbaOP5xCQ/KqRx07x/DIkBNK22gjPU4H2ApUkjuU66Ink/6qeCJfrXn1xVg/nNzzgJTVFOwUtsn1NA6HdgFLyZzrL6REzTWSedp5mTwuyEaT++xlt5afQijeZcvDLq9gLdEGdq/+u07jHlfr+rN2pn34MkYclmRLkE7ojsqEjGh1fnUF4nCvDX8t/aGjDEa0DUOLzz X-OriginatorOrg: wesion.com X-MS-Exchange-CrossTenant-Network-Message-Id: c93f608b-9231-492b-306e-08dcb127ae3d X-MS-Exchange-CrossTenant-AuthSource: TYZPR03MB7001.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jul 2024 06:11:56.6533 (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: l8A/M1K6JtLWhIZ2ymMDLQHmWMbtXXyAft9VekNQW5zCc+c9Ans2dVePgJujW8cS85SH6imbUGIhEjRRnmWe4A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR03MB6580 WiFi modules often require 32kHz clock to function. Add support to enable the clock to PCIe driver and move "brcm,bcm4329-fmac" check to the top of brcmf_of_probe Co-developed-by: Ondrej Jirman Signed-off-by: Ondrej Jirman Signed-off-by: Jacobe Zang --- .../net/wireless/broadcom/brcm80211/brcmfmac/of.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c index e406e11481a62..7e0a2ad5c7c8a 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #include "debug.h" @@ -70,12 +71,16 @@ void brcmf_of_probe(struct device *dev, enum brcmf_bus_type bus_type, { struct brcmfmac_sdio_pd *sdio = &settings->bus.sdio; struct device_node *root, *np = dev->of_node; + struct clk *clk; const char *prop; int irq; int err; u32 irqf; u32 val; + if (!np || !of_device_is_compatible(np, "brcm,bcm4329-fmac")) + return; + /* Apple ARM64 platforms have their own idea of board type, passed in * via the device tree. They also have an antenna SKU parameter */ @@ -113,8 +118,13 @@ void brcmf_of_probe(struct device *dev, enum brcmf_bus_type bus_type, of_node_put(root); } - if (!np || !of_device_is_compatible(np, "brcm,bcm4329-fmac")) + clk = devm_clk_get_optional_enabled(dev, "lpo"); + if (!IS_ERR_OR_NULL(clk)) { + brcmf_dbg(INFO, "enabling 32kHz clock\n"); + clk_set_rate(clk, 32768); + } else { return; + } err = brcmf_of_get_country_codes(dev, settings); if (err) From patchwork Wed Jul 31 06:11:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacobe Zang X-Patchwork-Id: 13748101 X-Patchwork-Delegate: kvalo@adurom.com Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2091.outbound.protection.outlook.com [40.107.255.91]) (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 CBC9D16D302; Wed, 31 Jul 2024 06:12:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.255.91 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722406324; cv=fail; b=Ykk6tLMHwkskNFlvfTuMmn2iIOcswLMuqpA/QyTAOxKzLcwrFHk3QUMaliXkUhBL/ESrC/8pdQI005b2LcucWXciknHYRIwbZd1NTChuukvPfHiZX2iHaxyJHuMqI0vB4uNJyhj6zY3BbtfSd5P2T7kZVZoNv7DkyOnD1pHHNsA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722406324; c=relaxed/simple; bh=8fr2le2RRkyBxxo0cMbqgGIl5Pqcs8qpx2qLsAezPSE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=LydJ1dvrYNnLInyVc0UzEFX4MdfbMuRARfr6v9xCpvf5QQGKwkbxbOMyIk8WAS5VBVV08kVJRYa71ZugHOy86NOlJbeVbJtNH0g5KOKN9SNuuyl0QUTJo1x0AnueXW9t/L3Oib3b51gnwcfWX2ke3eyj6HmSMcYYU99N+trw80I= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wesion.com; spf=pass smtp.mailfrom=wesion.com; arc=fail smtp.client-ip=40.107.255.91 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wesion.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wesion.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=mydlTK7tuwVSY7GpUZnejrjBlGFq2odhq7/ZRip3vGREe6eZC4JNj41tu9PKQuJ3ZymrmrRAuAiQ4brNLmvgdWi+rIvzYT2sx3ZqT+mzQ/mvQtu/Sody8VOxSi90iMLDz6DhZTpgHLewbw7WRfAhZMCEHlViQx7N2z8t/RCZ421lcctYLDADFlq52iQZ55U+uYytkMBDGFs407pB12NXB4j6gWBfpql4Zlo8VuqXwcv15yWN+h3kY2bwneOopmhFDaZUgjRcKnhTlrjiQ0zA8JQ0GhuzNZfCfzaz/cBKINRKp2dFo8aFTyKOTeowBnHav8Aed90E1eiKi3H8zu48zQ== 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=XB3tez9D3u90dIBU3uiBuPnvK5S2Zx5c0jWE2G6mkbA=; b=OGaZR1U34leyw+e8Y5SrJIeCcgc0DGZGAwPoLB/9eCsnZYO4RJ8uklGsM/9yKSBzN40raTqQDXpWl3u7mBQEO5TPoAA9Ca1LkC0VUDPbUxdxDUBUg+MlcBMRB2LmLUBSn2JPW6m7QkZagO//zUr6fJP9f6yxBJGI/0LCvX/o6AmfMp7tG9SsBuAM9DNWLTLH3YahmJoZUGgDyBigUb11DWjDAmMNtzUtBfglFUC7VjTVV1ESefOVvk4ZRVOp3kCa6aCf5O3BwZym6NTyaFTtCm/6wVV38zk4LZ1Opp7rAksqCyMYA1U6r6vyUlUNUgAB36xYrEg5IkJUupzZOovLUw== 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 SEYPR03MB6580.apcprd03.prod.outlook.com (2603:1096:101:85::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.28; Wed, 31 Jul 2024 06:12:00 +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.7828.016; Wed, 31 Jul 2024 06:12:00 +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, arend.vanspriel@broadcom.com 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 v6 5/5] wifi: brcmfmac: add flag for random seed during firmware download Date: Wed, 31 Jul 2024 14:11:32 +0800 Message-Id: <20240731061132.703368-6-jacobe.zang@wesion.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240731061132.703368-1-jacobe.zang@wesion.com> References: <20240731061132.703368-1-jacobe.zang@wesion.com> X-ClientProxiedBy: TYCP286CA0178.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:3c6::9) To TYZPR03MB7001.apcprd03.prod.outlook.com (2603:1096:400:26a::14) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR03MB7001:EE_|SEYPR03MB6580:EE_ X-MS-Office365-Filtering-Correlation-Id: 74d66130-af0d-4845-83e3-08dcb127b03d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|52116014|7416014|1800799024|366016|38350700014|921020; X-Microsoft-Antispam-Message-Info: xbn4GAY9HJAApfKLJDTdkuD2TY9uuushDaytBOhRvgfaH0Q1jPCmfvk1jJnoMsGOfY3IRd99zLoAjxJcrQWKlr8az39uV3rAptzC/x5F0e6cw9aO4Uafb1VGP/SBOoE6MMXKiX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rnskT3VJ13hIXlZcXFT3sCowcBoMo1jSooIME2ex4uPq2mj9tyi/uRwbZDiCAN45Wj6I8xf2KCiZI8Ihb9caxGFqzi+dLabCwI53SPC0qUYTaPg8e8WHFNububCegELdc+3Fb9mCXUr0INQ6LnOY3AFBWfTY3f0OlUT7bJEkvh95iX25YzLTTIoPWyYlo3pP6LHYaMOvqbQ8c1MhMj9SWAW75/CrswQMKkkxZa/l/v3HWU13fszoi1/LE= 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)(376014)(52116014)(7416014)(1800799024)(366016)(38350700014)(921020);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 4a4Yh0kyxI7hrch6m7Dw4R6nMVTf1rHQvkFYMJQRgYGw1Q+a/rnVS2O4UQ6QXHMFhQuflT89q5xwUoo4WTu86BC+fdaprPiPhHKLu8erQ9xqMYgjKGItp3tfAsOFSwT5/ThZZ74pwPzR5bLIuaposcSfej33bz+gTBgtrY14TxGiiDAM4zhBpV4ijUAF06N5+iLXXZHJF2/ANTqqJZwESLBfO99kcaclAiqblDxwARKXLvyru+PcSJICtytrVxLxADJCI1ambN5zv8VtLX3Gj1llgPzzfuNPDnrFiYS5amAobIhp6r0OCaJQuveT+AboAqtpM0+cWFOvcpEEV4lBbfg1NemO4ioE671A3r+Fo2TJcoCWut0SQallLWu6KpSNemXKZyXh5VyNZmZAAhwKyEG4t3Dn3BOLrhU/aiu+cOeo+c/g1EFH7vlJUOy8bcMf5sOF0/AnTPZx4CmOPKfufuXv9lnLsgbx3kNb1ELQGosxkGb0bw9ty3JPHtSH/+YlqduZtuBTvXT5WAC7ZpzrDpragArvoZRvQRxtwA7cevpGgZ6zHpxPRooNXIcohi70VFyc1E9ZTpLjBP3qOo5bvKIk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ange-CrossTenant-AuthSource: TYZPR03MB7001.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jul 2024 06:12:00.0296 (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: K+QSOCDSOF+Yfn142NHWRhgp9x8hAwk8aQh2rWCA1Msdhc1XG1eYEj4SE2cNmklfUl+i/OKETM+kibJDnkdv/A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR03MB6580 Providing the random seed to firmware was tied to the fact that the device has a valid OTP, which worked for some Apple chips. However, it turns out the BCM43752 device also needs the random seed in order to get firmware running. Suspect it is simply tied to the firmware branch used for the device. Introducing a mechanism to allow setting it for a device through the device table. Co-developed-by: Ondrej Jirman Signed-off-by: Ondrej Jirman Co-developed-by: Arend van Spriel Signed-off-by: Arend van Spriel Signed-off-by: Jacobe Zang --- .../broadcom/brcm80211/brcmfmac/pcie.c | 52 ++++++++++++++++--- .../broadcom/brcm80211/include/brcm_hw_ids.h | 2 + 2 files changed, 46 insertions(+), 8 deletions(-) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c index 06698a714b523..938632daf30a9 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c @@ -66,6 +66,7 @@ BRCMF_FW_DEF(4365C, "brcmfmac4365c-pcie"); BRCMF_FW_DEF(4366B, "brcmfmac4366b-pcie"); BRCMF_FW_DEF(4366C, "brcmfmac4366c-pcie"); BRCMF_FW_DEF(4371, "brcmfmac4371-pcie"); +BRCMF_FW_CLM_DEF(43752, "brcmfmac43752-pcie"); BRCMF_FW_CLM_DEF(4377B3, "brcmfmac4377b3-pcie"); BRCMF_FW_CLM_DEF(4378B1, "brcmfmac4378b1-pcie"); BRCMF_FW_CLM_DEF(4378B3, "brcmfmac4378b3-pcie"); @@ -104,6 +105,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 */ @@ -358,6 +360,7 @@ struct brcmf_pciedev_info { u16 value); struct brcmf_mp_device *settings; struct brcmf_otp_params otp; + bool fwseed; #ifdef DEBUG u32 console_interval; bool console_active; @@ -1720,14 +1723,14 @@ 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->fwseed) { size_t rand_len = BRCMF_RANDOM_SEED_LENGTH; struct brcmf_random_seed_footer footer = { .length = cpu_to_le32(rand_len), .magic = cpu_to_le32(BRCMF_RANDOM_SEED_MAGIC), }; - /* Some Apple chips/firmwares expect a buffer of random + /* Some chips/firmwares expect a buffer of random * data to be present before NVRAM */ brcmf_dbg(PCIE, "Download random seed\n"); @@ -2399,6 +2402,37 @@ static void brcmf_pcie_debugfs_create(struct device *dev) } #endif +struct brcmf_pcie_drvdata { + enum brcmf_fwvendor vendor; + bool fw_seed; +}; + +enum { + BRCMF_DRVDATA_CYW, + BRCMF_DRVDATA_BCA, + BRCMF_DRVDATA_WCC, + BRCMF_DRVDATA_WCC_SEED, +}; + +static const struct brcmf_pcie_drvdata drvdata[] = { + [BRCMF_DRVDATA_CYW] = { + .vendor = BRCMF_FWVENDOR_CYW, + .fw_seed = false, + }, + [BRCMF_DRVDATA_BCA] = { + .vendor = BRCMF_FWVENDOR_BCA, + .fw_seed = false, + }, + [BRCMF_DRVDATA_WCC] = { + .vendor = BRCMF_FWVENDOR_WCC, + .fw_seed = false, + }, + [BRCMF_DRVDATA_WCC_SEED] = { + .vendor = BRCMF_FWVENDOR_WCC, + .fw_seed = true, + }, +}; + /* Forward declaration for pci_match_id() call */ static const struct pci_device_id brcmf_pcie_devid_table[]; @@ -2477,9 +2511,10 @@ brcmf_pcie_probe(struct pci_dev *pdev, const struct pci_device_id *id) bus->bus_priv.pcie = pcie_bus_dev; bus->ops = &brcmf_pcie_bus_ops; bus->proto_type = BRCMF_PROTO_MSGBUF; - bus->fwvid = id->driver_data; bus->chip = devinfo->coreid; bus->wowl_supported = pci_pme_capable(pdev, PCI_D3hot); + bus->fwvid = drvdata[id->driver_data].vendor; + devinfo->fwseed = drvdata[id->driver_data].fw_seed; dev_set_drvdata(&pdev->dev, bus); ret = brcmf_alloc(&devinfo->pdev->dev, devinfo->settings); @@ -2665,14 +2700,14 @@ static const struct dev_pm_ops brcmf_pciedrvr_pm = { BRCM_PCIE_VENDOR_ID_BROADCOM, (dev_id), \ PCI_ANY_ID, PCI_ANY_ID, \ PCI_CLASS_NETWORK_OTHER << 8, 0xffff00, \ - BRCMF_FWVENDOR_ ## fw_vend \ + BRCMF_DRVDATA_ ## fw_vend \ } #define BRCMF_PCIE_DEVICE_SUB(dev_id, subvend, subdev, fw_vend) \ { \ BRCM_PCIE_VENDOR_ID_BROADCOM, (dev_id), \ (subvend), (subdev), \ PCI_CLASS_NETWORK_OTHER << 8, 0xffff00, \ - BRCMF_FWVENDOR_ ## fw_vend \ + BRCMF_DRVDATA_ ## fw_vend \ } static const struct pci_device_id brcmf_pcie_devid_table[] = { @@ -2700,9 +2735,10 @@ 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_4377_DEVICE_ID, WCC), - BRCMF_PCIE_DEVICE(BRCM_PCIE_4378_DEVICE_ID, WCC), - BRCMF_PCIE_DEVICE(BRCM_PCIE_4387_DEVICE_ID, WCC), + BRCMF_PCIE_DEVICE(BRCM_PCIE_4377_DEVICE_ID, WCC_SEED), + BRCMF_PCIE_DEVICE(BRCM_PCIE_4378_DEVICE_ID, WCC_SEED), + BRCMF_PCIE_DEVICE(BRCM_PCIE_4387_DEVICE_ID, WCC_SEED), + BRCMF_PCIE_DEVICE(BRCM_PCIE_43752_DEVICE_ID, WCC_SEED), { /* end: all zeroes */ } }; 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