From patchwork Mon Jun 24 08:19: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: 807218 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2135.outbound.protection.outlook.com [40.107.117.135]) (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 0A3CA4DA04; Mon, 24 Jun 2024 08:24:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.117.135 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719217451; cv=fail; b=TrUu10PvB3QlSdKl8EbEYcRt184T0k2sjvOxdA15+rNPJoFdqb0y7kxGkE/Elzz8v+lup/yVEHFoSc4q6jrQwdXnvGquIDSJgJ7YwFgOB0zSqwCeWs1VL+zkTTZwbT/VbxMsskSt4tSIQZTYU1Vgx0H3iWsAYyw7GQu+wY83Mds= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719217451; c=relaxed/simple; bh=VNoEuhV+caHPR/3VTM8kSl7yQZYWk6N7t2RYH9hl7DI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=WV5i/UliBUhytxP6Jgmq9MvHG+sM+y/9hdv8zrLTYIyw9a1dKNca+v4O4FC/vMq+WndOx1s3AUTUsbosXZGNzeEo2wMW1FJbZernsFMs1SDPFD2aIw+yzyU++gieHKUzahmJn26sDovGW5c8d/6wvc0MT2g0MmzyeiQD5mMwqvQ= 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.117.135 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=arcselector9901; d=microsoft.com; cv=none; b=Do+ZdP8ZGPH/mwdusDqjLY+o0tZOd/d6EULvZwVk+o/O+qoTVgUW+yKDaCWkRaO6ju9A6k/oHoHmKAmEaUgC1ZtpEqACnRbbd2XTaOoqRT9UHpOSxIJLYoyYpTTC8n49qCiBOdKkH5FlbGROU7BvJCGNx5eaj5DMsbjIYCDE3yWgjjQt+WjukO/pU3GTro6R1Dz3VwWfr9p66eX2JEwX1O4Etgal/K/HdMkBsS5fD6Lppsz/NxT5qdmcFgxQGulx2BJT5NffhAG7dXHQRM6pyyfnpX2dluITiPn59E9Te1C4Imi9GE1kLa8GberD9IqNretCQVLUMOQ/hiW+LNsggw== 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=dsq/MX6AolyMZm5EIQHaBjPBdjtwCwJ+vJS5BCGG/JA=; b=TSlOEin74pCwAUu76HBPp4UDC2bnid3NJUZvEWWHj5EqwzlNZJkgmY/BL5xyKfkkWsppP2t6p+3bXCvxxva7G5cOa7uG1WzDN+8z6lHPLGHSwh4Gmxp9jtgOEmRtiGCmaFBClYH6sGwOW0GzuwJ9XNOQ8RlP3q+HNE3a6A54n8bwh8ZMG8pqqqQWfKtmy+MoeNipiuuy2AW9KUv+lcrh/jg0C4s7DJVhS+lT9H+PCI9rgc3SxMol16aaadLqJmFUq3Cr6dJnE1YgcSxClCopC0fIRtxRxMldq3UCKlT15L5FxbYqQUc4pUOg5O2gpp3kBS6rUhZfEYSnwvI2vUUhZg== 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 OSQPR03MB8600.apcprd03.prod.outlook.com (2603:1096:604:290::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.31; Mon, 24 Jun 2024 08:24:07 +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.7698.024; Mon, 24 Jun 2024 08:24:07 +0000 From: Jacobe Zang To: arend.vanspriel@broadcom.com Cc: kvalo@kernel.org, duoming@zju.edu.cn, bhelgaas@google.com, minipli@grsecurity.net, linux-wireless@vger.kernel.org, brcm80211@lists.linux.dev, brcm80211-dev-list.pdl@broadcom.com, megi@xff.cz, robh@kernel.org, efectn@protonmail.com, krzk+dt@kernel.org, conor+dt@kernel.org, heiko@sntech.de, nick@khadas.com, jagan@edgeble.ai, dsimic@manjaro.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Jacobe Zang Subject: [PATCH v2 1/5] arm64: dts: rockchip: Add AP6275P wireless support to Khadas Edge 2 Date: Mon, 24 Jun 2024 16:19:02 +0800 Message-Id: <20240624081906.1399447-2-jacobe.zang@wesion.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240624081906.1399447-1-jacobe.zang@wesion.com> References: <20240624081906.1399447-1-jacobe.zang@wesion.com> X-ClientProxiedBy: SI1PR02CA0054.apcprd02.prod.outlook.com (2603:1096:4:1f5::13) 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_|OSQPR03MB8600:EE_ X-MS-Office365-Filtering-Correlation-Id: 71ccb463-ce5b-48a1-7d36-08dc94270456 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230037|366013|52116011|7416011|376011|1800799021|38350700011; X-Microsoft-Antispam-Message-Info: 5fUlq7vRpLFMtsruMG66NmTwBZpFImPSdtBHC1zIFSVgBuVLWMpzVNKesekSmCBhz0Uym+oMxex9wSXS9+wenqPh48Ui0gumE4g1iL5Z7wibg/9cqcCLq83h7X1iPdSCfOFCF2S4MT0skjW2OT/CClbGD7ige15Sr0nawU8DVTth3Q91exWIJgvM0cbuJSWnUybiNWQJMx028vbE4UtXyeNS22oYBSAt4+F/B8QygMHBCCUJ2HK+V1+i74xXwEb5Y2JYcJWPbcGsovMSBsctgGlaoVBL1+DmyuTgz36tjmDysj778IAxsERizLi4d1XXASOiR7MQcoFNMxLzCJqY1delY65sqwdTJ6LVPpm2Ms2GysAx5CEwpqkqEpJ4yooAEiAoJ49Ve2q2Mt3yvkbT6njn2ij278cVl6kx7+6+QRQKCduguwu9nThE5dawBpvYjXXJglzJPVMejMqpdXqE+ouSqqGFXhPr+dGBFAhL7ttRm1RcxHyuTDTC9omShV3tEiXVyWbDwKaDdSfUgOlz0roUNRxSkQL1MYv21nApCUgN6aiQ8Ya1kZwQpMNI1r623dFZB1JnHnEx/K1A1ONI1P8O+uRdWy92BDPV9KVwqz5JDjx+nVA2XC6xzz+nL4PZmv6gTL8SCf40QR4gwGewuEpZjGUAegslSnHGixibABmSmNOnK5Diez+l2DcVofF388S0kwzhw9DCURGeSbYEZrDyWWbvRtL32IPgySO+HRtMrsoaIqXCkKGDwR8iS1IHrbq/UWanrGsZc7uwewSd7Ex0kfc89K0nxsOXyfETt0boZ90suHjXGyT/aVAiMy2w8hQYFWEi5VPY1khg3pRZI6+x6USvGewKBr4L3YzyG2qWlgPLcgJcBjxbhqdnPFhydxw+JRXwbKGCHIPuiBo/mCn6YRxIzwtbr/ro7nVtTrqjs4zFkSOcIUS3ZtHWHBKiYE9HzWJIg8XjaDzEbqLPE2RC2n/eWwJ3EtpBvXYH40FhR7BnR+zDXmBzeVl8uxAA1WutKsc/tcX9Bc06V55O8g04YlMwrV5tfSHBtrtHUWVTa3fxexQ4Pu+RJMZ4blgC7Jt9cmtbLtz95bsleYy0AGNEYxq2Bc1ptNP8d/2yZija4xWOQglZGegEm1DKg+hVkTpRgUVF6jceuxxUPwMzUEY9EA6/2QnZxcpAfwTcGotC17ykxbohIrRFDY6fNeGTMrNfmajjYGA1WnAcaCyGOKNDKpO+eNvv6ohG3E5yKq3fOs+1xFSYLDUsktTjzcFraMy59rYojcy5SYH5LLbg4OJsdGZR5IL4bqME+cFrLtcjvEoq0T1Fj0cB3B09gvnuaQcmPHOseaiKTYjqpTswDGgz6TNfRuyUuIvIXVMqfBw= 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:(13230037)(366013)(52116011)(7416011)(376011)(1800799021)(38350700011); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: uRtpV6OEqJv1MzdynbUDNwe57OtFQjXAaPx7AnzFR/wpnldpx4VCv3izXl9AlzaxwKBGTdMY3ReqokivXsIHT6m40DCO0ksypvVZIWu0x7KYMI/TS+jtY0PxlZQdAEJckU6OPRAG8XDVkRv1y/gIz2tU5nQpHqo1Tu83RUqfnO/Mm1RxLd+/Dt6d42gD8kdUS6HleczW98haCmLVyDiC4+QSk7Iieln2oPs8/NrdWl/s1AGf1i5VoafZ2J8FpBa+qiVTZ9aiHL9lOrMnpTstewcTbIe3i7c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OqxNY2s9E+4SnxVQ63wHcMWtyy3wRZcsdLV0CUPf634oHvzTd3DAOKzAXwvZU7NAGokH2eZvCpQZSWH75QiH5yuYltTPFVD2zaC5H/v5ryUh0JOOh+2MYnRm1/Uk+1eI6PPzQMq2WIWaIW4O2Wj8UCT6SovlUeONldX4rODgPkeMvQEjE8SIJSXUDWdedgExmv1/Xynu4BiyCoTqfr33pckPs14xuewh6Nh/ X-OriginatorOrg: wesion.com X-MS-Exchange-CrossTenant-Network-Message-Id: 71ccb463-ce5b-48a1-7d36-08dc94270456 X-MS-Exchange-CrossTenant-AuthSource: TYZPR03MB7001.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jun 2024 08:24:07.8964 (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: WQNp08BM5qERtT3IgySG0PvQiWFu3PRgB6IWu231ky0DfJaE5PoHhy5+LSe8IDORTLoCId1wl6vwC+f2ALOAqQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSQPR03MB8600 Khadas Edge2 uses the PCI-e Ampak AP6275P 2T2R Wi-Fi 6 module. 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 3b6286461a746..f674deb6f7da8 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts @@ -356,6 +356,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 { + reg = <0x410000 0 0 0 0>; + clocks = <&hym8563>; + clock-names = "32k"; + }; + }; + }; &pwm11 { From patchwork Mon Jun 24 08:19: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: 808684 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2115.outbound.protection.outlook.com [40.107.117.115]) (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 6A3C9762FF; Mon, 24 Jun 2024 08:24:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.117.115 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719217454; cv=fail; b=iYMWMJgPEvLMQSwy2PMdlNQRn5+YHvnv0lKZgJ0jCT+vH1OeL1p1Y3vCBs+EsCUuh+fKvpg58iQ0SdLrc0/cPg7iil/DckvNkNo3H+CVV9V0SFL86hxNOkF1Zqe3qHYc8bE64PrB03/98lVXxWtdI6eQlscRQxsbdADOeQRNPWU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719217454; c=relaxed/simple; bh=5x8qacw50qOCNZX/84FwUSO8mSQF8PunKiIffwR9EDk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=XZoyMHD6kEV0CTFUujtw2Lj8KYM5i95+n9ylLmWCWgmyaILKd8/2pJT3W8bACCEooLEQKyFq8bKCOgmKsxmhfzrbxxjUwkC1wItjgungQTjUEMzRn9f81RcV0fc88GeqjQhLHi2CRck9pgznNDvRfRn8i7ReNsq2ZXTkZv/JEO0= 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.117.115 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=arcselector9901; d=microsoft.com; cv=none; b=cxaIWcf22e0MxNjpNOCy6hkVoJB7x3j8QhAnIild/1BGAUubB4CCxvXjlvn14MnL3RBPS10MEGO8XKRy/owMeqlxlKDMNgWwwU3JdUTlq72mC7736vARhEN5nNk0Eb5remF00W3AysL8nqa9GEYuu+GWHaFkDBlWK/ySykW11+mwNmntlpfguB9xTY1leMpeizoSftrRBGo4un3t1vlAc3ORVABN8lnDCn4Wu2C0sCl67w2jjAZr27cJJAON/1OkuIQo9lhgpKR9QUqYgIFoy5AtCpVZTZpZbShkeCrFJmQNxKfm/MjHbIR9SikNvnafXreV2FlAMZ9c0JOtKlm+Nw== 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=qVtxdk8x4vZfLLq9NLeNtFKEm+EISHpS6u1vd+CAgzY=; b=YCnmL5RTzSGkKb7zjwQMOMAq9o7OKhiH9Dzzq0xhTDCIeMHFrV6Z66JN+pFdDEHETi+QUpO8yZodyS2fxs0sZ2ZSk3uLdLntfFnCe97/CdKVr+8wBCxH/HhLp7BdyvxRQIw/7yUcJl1v7vl8EWr06n0w7mzovmdzDu+4q3Wo9Pf/KkOXmord8ZSZ2kV6C5usCkmreLRM/3pmmJN67e/4y4ofkmUivs7lsYitNVQUvCKJmm6EXioSVLw+238AddhcaszzbWVN8mM2uBaXK2TZN2g7RZyWtG8Dq2SnUV4j9YfJlqJWA6DT3AyXZPO7LpGeWVA4ph+sE7RMTWFw0CaV5A== 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 OSQPR03MB8600.apcprd03.prod.outlook.com (2603:1096:604:290::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.31; Mon, 24 Jun 2024 08:24:11 +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.7698.024; Mon, 24 Jun 2024 08:24:11 +0000 From: Jacobe Zang To: arend.vanspriel@broadcom.com Cc: kvalo@kernel.org, duoming@zju.edu.cn, bhelgaas@google.com, minipli@grsecurity.net, linux-wireless@vger.kernel.org, brcm80211@lists.linux.dev, brcm80211-dev-list.pdl@broadcom.com, megi@xff.cz, robh@kernel.org, efectn@protonmail.com, krzk+dt@kernel.org, conor+dt@kernel.org, heiko@sntech.de, nick@khadas.com, jagan@edgeble.ai, dsimic@manjaro.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Jacobe Zang Subject: [PATCH v2 2/5] net: wireless: brcmfmac: Add optional 32k clock enable support Date: Mon, 24 Jun 2024 16:19:03 +0800 Message-Id: <20240624081906.1399447-3-jacobe.zang@wesion.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240624081906.1399447-1-jacobe.zang@wesion.com> References: <20240624081906.1399447-1-jacobe.zang@wesion.com> X-ClientProxiedBy: SI1PR02CA0054.apcprd02.prod.outlook.com (2603:1096:4:1f5::13) 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_|OSQPR03MB8600:EE_ X-MS-Office365-Filtering-Correlation-Id: ce7cf8f3-bdee-4c1c-cd0e-08dc94270684 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230037|366013|52116011|7416011|376011|1800799021|38350700011; X-Microsoft-Antispam-Message-Info: ddgJBY8Wj8cDc+Nl3G3bYOxP58wO+mBeN4Y4ivcGsnAB4PhQik0T08oCDrL1XH0IzGGpo2rfSa/+5z10QsmV6Tv77aogkXw9Kcm8c1CtlwO3h2p+O8nscMyvsl+3jiXkp7/PJQZlhP8bTCAv7GbaBFXGPfoQlSeT5dzkOrTqEVr1+xpwVm7ncr9K8dfWZIdY2XsWw+Ignggd/R5VyOSNIymzmLkJ/rXS00br6LAheZSVSwn2mi4qmcsbUWzVEa4CY22LjWQyHPpYOIsV7v50AraNDcifeFdXxpSEQqWmNZ+9xNRUxCZdX5HzcPv7vwRWt+dLgqp0i88pZHBjyGqECaWmaDeaX7WIgBmoCfGXm14DIMHoaoudFT71gQSiNG6VVkWJXSB8iG/AbCs7kLUMQ9HRQ6Udf2uON0qdlB94/mDJ9Xrne8/KaZS+ga6lh/Z52gy4plBJBbOq9Y6+Bmo+1HX5KNELVkPGGtkU6LGPtvwbLCYup1v2r43ZfV2+8TpFlh3qNdbgz9Qp89TcMtRtRcJs0Vjo1UxzYESMknlILa2gpNjg73XThUPpD1HzA9FtGG/9klJJ1Z1l8m0wvPFv5EFS8SikRRxCqe5znCUW7vbARiW3BIm+rmgOM1/gNM9GR6SFZIHJn5pfjfy68QmajXOUK9XZjRP2DkkP7UnrK9PNsc/G4nacRRglefnG8wq6lVnLjOSFSajJQMMt5GqTP2yGbiYUMhn3/7Vc7na/A4UutV/9glATjZXfUKU09EM6OE1xrh27JEmR6LHflSDPkdCxHFlsAIZUzQtw9p+OFfE+PRbkqmALaUFvuLDJz9beyJWlmhXjA0VQeWeJeAZC6xYV/paj33g8HvABOvvKQnlT0FFVgNIgJnLWvOw5w+SZvBCSgGKgEVv/Qv+C1VbruEE75G15VV/ANbM3fSb4B3q14o9zbIk/IIeujnlPxpMEJyHc7S1pOpRZNyFF9ioD8E3VjG2ctK2y/JdJu+OqsSzmjD3tsDEIbeFxcouVRQe+y5f+sVFn990s8IVRCKfoqMEvLvrA6HxwHu8RaXW4/G2FXi1Z52a/887LCogqlc2fwaMfggr+8wM716MmC63ccjbNvujSMOqQd2SbIRX6B54XMdVX4sqeTOwylaT+9/4f16/+sTXN2hsygc+2mqqsOwbmumlzXblMyKVG2XM2SftOKTS7jaFWyO0iB/qM/cefgrSrwA2AKjrKh4Zbrpi5V7kQy6wvvs59Uxn3vCzWWDDuI14/luc3yz2aASLc9A/965RJoaNogIJCSJFoPMmqZDvKucdJlg33kv4Rqko40ZwTipVbkFoC0mJqNUxZGz9RAWbL4MingFLHJIFykKmJ4H/KhCTbkodICoJqOMvBGJ8= 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:(13230037)(366013)(52116011)(7416011)(376011)(1800799021)(38350700011); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ETymAqVmfoqGVNQNxbA0yCe+a6Ov9ddimmZVS4V3PPSa3N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GwukrFMbgzGDAQRZDDsjaCQD7NtnQqsdocNP2Pao/YsV57Vu5PjJfYoEr0rXAQ+h12TYXjhLQtJ8BZ2NnUGRsgJy4nFeBiQl5y5Z2NiA50rgJFzb8oGmFQceqw2cXXzgJyA3bCSK8soHRYGXsYlDxOuaXeIjf7EUYa7EkhjGOA1HVQvNOB12fvt8XEVYM0bJa5pUCgYiXcorFaROUKH6X1CXd2uLLfEACJY1IDVZG64LkW4+zFwt7bZMVc74ErSEgKhMxdQcZP1ne15FCt+EInQ+emH1LMKiFbATTFpLrKJJOmwIrQpiQOBORRGmn6hjm4EQPrrg3KaPruvwFPo38sHc6v7AY8YQDrjuNGIftXK90giSFsNixSyKBqnINMYWmo5131UzeppbMx6igJDCr+WkrjG62LJPCqRSNcUIWe8SIUZ3WLE6B04lq4fpTXmjesvLl2OODm2xJ0xqqVujP0K53TG X-OriginatorOrg: wesion.com X-MS-Exchange-CrossTenant-Network-Message-Id: ce7cf8f3-bdee-4c1c-cd0e-08dc94270684 X-MS-Exchange-CrossTenant-AuthSource: TYZPR03MB7001.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jun 2024 08:24:11.4951 (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: Nf582qAsSzUH4V9efmXW7NaknchpiGkgSk0iqCO/Yn6uSyBp2n6/eV/3NrZH79e5Grd8iF4ULvbixFdG3n5K2w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSQPR03MB8600 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 --- .../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..4a7eb83a60ffc 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, "32k"); + 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 Mon Jun 24 08:19: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: 807217 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2090.outbound.protection.outlook.com [40.107.117.90]) (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 273DC12F59F; Mon, 24 Jun 2024 08:24:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.117.90 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719217458; cv=fail; b=NC5vASj0haq+bvBCVJIeZKghIatd7aDlh+XhrdWB1pfK9WavgI11hu6MRwRUh4Y/suk5mAgCWw52KXpUbYhUAz9l8ioiASgh8kEMTPj9mgp5j2v9H6zZZCppeYIzUs/S5oSUNSI2JB0WRPeN4RgF+u/5qqVzlB86azsmKFxaYQc= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719217458; c=relaxed/simple; bh=aa3Zc87cZZGM4ZoC/rVN4yXQR9NZFRpX+bGB+i3jZrI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=SmC1Bl/Td5Kmn0gnw21/3BFxyb58pwUEH5ija465ah3QAOxQ1S6TcXNOTANGifWkCND8dXdlKKg85zdeVsseJr4VoSckUxCDTanxFmRICFVi7BS4n8mXQJfOKaZY1nL9S1sDXZOSyljl9Y6hWdhfnJx31xp339lBeFO4zDN8XOs= 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.117.90 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=arcselector9901; d=microsoft.com; cv=none; b=n2xGcBD4P9ZXdRAJP8KoHlJB5TGO4Py61+jpSdtLTBnn8QDmAlwRm5hJX6cawvuGjiyupCqq9wAYC4IGZeLHMpsYqEAbKyM+/LxJn59GiYPXktT7La4Q4D/573jeBj3CQ7ocMdCOCF7KpQGFA/TY2g/Rh+mE4dJxAcLbqojYBQFq9un6APNrflFzGcZgsyDLH9cVK6ojL+NDbWPY0D/+BBhExl2BsQSOdhk7LqYBW3x8nd1yMP+Dd+Na1V2mqT2Zt9+aZaKjnN8Yqb223gE6J4vJzyY+yj9VNarljqFLQUyhuhhtwrQlJyTvxLVn/g0W7RnR5iTJA6Rfvpl7YwKP3Q== 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=O1VU6okeg9QSC5RmC6WMkCvfbsrptK3q3ja5IoHSmII=; b=fW8XOZOQW2HMRMpxgjBtfdapy02IAva2siGm0kNb5Nytad6VY3BKOSzckW2DyvrNptVYDLnBCObKFkz3koHxNgjqzcgb+l5OAwE2pNMMFBHcPIrIXQFebZ6H7upIpEBxvB6ipLuCzOTk9AYOq8RRZYGQIzuqc/r1x3EsekLdpFg0G9u1Dq+E95daJokg419ceYNLQXsf/ovx/oF9k/AwQ0a8OYJ4bZ/M8jg2XnLDDvkbncTh2U2+EatpGkjCPJUWcha1FuZ/esttJd2mqY4GI48mmkxE7QSntiQzFw1kO7KsXFlSpjjXvM+dKH/RyDzgz8C81d4cvDWm9negkvRMKA== 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 OSQPR03MB8600.apcprd03.prod.outlook.com (2603:1096:604:290::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.31; Mon, 24 Jun 2024 08:24:14 +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.7698.024; Mon, 24 Jun 2024 08:24:14 +0000 From: Jacobe Zang To: arend.vanspriel@broadcom.com Cc: kvalo@kernel.org, duoming@zju.edu.cn, bhelgaas@google.com, minipli@grsecurity.net, linux-wireless@vger.kernel.org, brcm80211@lists.linux.dev, brcm80211-dev-list.pdl@broadcom.com, megi@xff.cz, robh@kernel.org, efectn@protonmail.com, krzk+dt@kernel.org, conor+dt@kernel.org, heiko@sntech.de, nick@khadas.com, jagan@edgeble.ai, dsimic@manjaro.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Jacobe Zang Subject: [PATCH v2 3/5] net: wireless: brcmfmac: Add support for AP6275P Date: Mon, 24 Jun 2024 16:19:04 +0800 Message-Id: <20240624081906.1399447-4-jacobe.zang@wesion.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240624081906.1399447-1-jacobe.zang@wesion.com> References: <20240624081906.1399447-1-jacobe.zang@wesion.com> X-ClientProxiedBy: SI1PR02CA0054.apcprd02.prod.outlook.com (2603:1096:4:1f5::13) 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_|OSQPR03MB8600:EE_ X-MS-Office365-Filtering-Correlation-Id: de31bf65-230d-490a-3feb-08dc94270883 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230037|366013|52116011|7416011|376011|1800799021|38350700011; X-Microsoft-Antispam-Message-Info: I/wSpLyvHaPpzVXDHHoKYw/haN0nvZl7aufiYsWuawWF38X3T6rZM+3VDa1ca45cOin6pdR+NfFUSYRZtjGrZQ9gHRavkdFtHbOGY8kJ7fUKJG+4tpjnQMK2vIedfnS+GRo8bS5vuja9fcjHTtK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0bp4af3fIRj4cWtL7h/WyTS5OTKtcmYWWe2ZDY3cBH3QB/w4yscu9QkJqIr5btf28RbJDnL2egDu61/uXmc+fMdG/J1U880uGkHx7LQL0N7TPTmxGSyZwkB1d1 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:(13230037)(366013)(52116011)(7416011)(376011)(1800799021)(38350700011); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: OkJESjpYe9lDzPEzN7gEUKeqS3KxANqEG11d9AE7ml7frLGCoWEdp2b6CiD6tG9fMgYJGonaKm2EA7IH3az4mavv1fsLAvOvsFn1vH0BDgpPPQRbLbeBUIVbQu7YExbyNs3trFecJLl/YrB6qHHm0c4jMdYR74E7YCalE/KzemuRG28bccn/YMhDILxZAmiZ4fUHtQU7tKXkQX9jVgD1oPype6ksj010rpoUrCmqwIyFdw/qX9h5FzSs2rXz/FBAENI0Y9c7Gb3I0q9Yw4ptTNsTeoX0qYX42vZ/9zmSRjR90LuGmHQv4onlEJANxxyBf5BdcJ4EW3LbmOnSzst1Yqr4OojB0JJC6yZniYbonEiG19SENxJ5L1Him8b672XVJptTZk06IxyQPUalAh7DNp78tK2vglP1OqFTrG5Gb7jCf1HHhEdlRVMtMinPT6KJJeGMeAe0WsgAmuhrzTokiC3gxUR2bhHXa9ZztiWv5b2ToW24rr75j62iErjGfvJ6s05m1EwaNFu5Rlw1eY+H4VCyIInkaTjSM78kdKwU8ZShYLJn7wocyOzMVBM9SAMJVzD4Ts+A8Vc8kRG9vDSBKdJmzPJTVQ6nPZOyk3+UlFEYrNVGDR6ZOyvOkbKoP9DSUY8aoqLcF3MHQHb3EsM4qQ/Bpm69Zu5be4DXIpti5WgNA0IcjVhf2lQOCzZHeBhAuv84+4DDgh/68EjqBIBUIocaWecPvxnaC/uBvfzj9A8x5/Rxetq2PbiwWPk5pDOkc9+D+VZE0XqXsxDLphfo7Gz/wxG82P7mGhFwSUYlIbI1iokGJqjUd/vq1trNuDJmWNIJrNY/BS4TNECahc/6YCUdXYrruX8N2+gBB/2DWtV2QdieZ1N2j9wEl4UPsxWv5tPEy6L4PbZfqNu00zAYUTDiHS7pVji4MbMtjwNs/SKEw8sQkSbGX5qKRALYOJYF5LAyYg+KS4QYf5nJAfZ0oSh6ARovaV1qmlfye4m5HeXMTheyO1jfIO7jPr1kd9PcX5ACJd5xTnAHa5NdXaanmUoBIrkHvtPWaRR3FnljigCpwla1ty+P3tXHV7U8nTBjo5Ufr2q6Y1NHT2VORCXfRcfisGj18REZKbR544Pw945ZQ2zfHfMTjiYr0WHs6OqKB/aWWhwCLSLmNkg/Ne+EAALr3k8vMGAd5+hCQfiFk97HRK+8xpxi8p3anMbv8yjjO07pmxBSwNdmxUpHfe3azI8k9Zoyq9k/eQdQkg5tnCLOOUMk+pecTNRCAg+iYEpGPcq1VwbI9fCtW4/7ei0QwNv/GOzraiHIlRhsWFMjOqjKw+OeGsPbgO44X8Shqd6CkECaMshY7904O7ioAsYg/c+EUrnk5LqA1o1PMf5e32NvksH+IZ65iA6KMbzDRhm2o1ZQryMdFbXe4gD+5EMWBOcJ0XLVk8ggfdi/SS9boQu2Bv0iocQGaNgFoWoRzaKaTSTM+mu5cIfoJyj0z4lgdGkoPbetrX3AiFD+nGZo5lje3uu1lrqVNKBHRfLOo2YgAptK3P+6aPT7yT4TRzT4ZU6q1jZyQ8TK7dzyio3EmL2G4egpcEXtbZioHLl417+J X-OriginatorOrg: wesion.com X-MS-Exchange-CrossTenant-Network-Message-Id: de31bf65-230d-490a-3feb-08dc94270883 X-MS-Exchange-CrossTenant-AuthSource: TYZPR03MB7001.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jun 2024 08:24:14.8401 (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: GN2Jyfx/mWC+MZrHOYtCQoKoXApgStgGqwLasS4sQnv3ZFsRfhyq+lQDSKBDoU+V57rpGYWlO2USsHg7W3yzMg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSQPR03MB8600 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 4a7eb83a60ffc..8b9574c5c65a7 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 From patchwork Mon Jun 24 08:19: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: 808683 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2106.outbound.protection.outlook.com [40.107.117.106]) (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 3CE9C1304B0; Mon, 24 Jun 2024 08:24:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.117.106 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719217461; cv=fail; b=HdXuYl3crZSUUBLSpSSAwt1W8rPVYCuI2IBqqUdQjZR9/xAWDyNORJ4kO8inQ8PGloaOYcH8qOQRwCLffNvN4e/Jce2qNHDmvBhC2OtBr06uEfJduREIbKpSHjfyuAbBXL7Q75hrVo69BxbzBwPApY1wyiybWZGQfmAeA+f9fSI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719217461; c=relaxed/simple; bh=DIHi0oXkObx5p42I/dAdkcyH7jHtWGc/zH0NbyApprw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=XkPazWQdngqdEJeit+l0mGX9Q3v0appjNx8Qcmmc7KFZRhkMIDnxMR67PX85C7ryDs2Kgk2jrtWW3+5DBK5tl8AdyzMYdKD37jKcYZc9ifdvMmW32hOCMOltGCbVgoU74k7hWYLTG5PL1JEXzzCPlc0MUnQohE8DdILL32+MDVs= 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.117.106 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=arcselector9901; d=microsoft.com; cv=none; b=mKRowdWMMXwekj7a00NfVrr1wbIOlK5Hj5Xr44q0wusFYnhlttNpDMDCPlpZ60AXHNWVxOBNwcEv/na5doS0oA1oNJ0lNDPGDBsbSzGB/QH0tv0sipAf+BqapoKqnl2xTb5vTqbT3FdYX0XJAjRLJ+7PBSrA7KRNj4EMmdfq58kAoaRVfzRPBh5aK/bBewv50fFA1PckePGcbVWmhcT52WDEHQ+x8Be3fOkIXTAsfjeBv7emVCb2Pe5/YdyTXSoDhcqziqy8faR4PmuVRvf8S5GZuzA01aFAS8CUfNjLhm8s7PHK9+85Ix46YGzFagSxwjSq+vyoxKdC+WMlAiOYSw== 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=fPs1cZLtwuxBYusx9pZNsqRF91GCf4SBs8sIuK9cMs4=; b=O4tA4EWjD2qQYG2rz87csX2ZmS7RDJbSjYv2etKFJIyjkam3sWLUE5qjOgqkxHX8PPzkTFZiCub+tPnNpgPLPGCpOlRfdYDazm3II1x1Gbj1FDN31jJmFPQN8Y1euRwa0W0E0I+FAQbWlTA3MeGbbzS14dcLz087UunTDpKpW8PsTvliY6Ix4ij3cUHps4o+hj1WICzZUfFC7gy61VqUNdJQd8KgF5ngVWFCriZz9DpxzvFuT7goXqiTHP6ztIG9Ky1fw8EC0SXVAgnE3RoqK6pA/cTrngC9q/ypsg60Dcc19R4n55Mj31x6dcLmhziUxpTAjDiiAPPXbqwDmj9v2A== 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 OSQPR03MB8600.apcprd03.prod.outlook.com (2603:1096:604:290::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.31; Mon, 24 Jun 2024 08:24:18 +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.7698.024; Mon, 24 Jun 2024 08:24:18 +0000 From: Jacobe Zang To: arend.vanspriel@broadcom.com Cc: kvalo@kernel.org, duoming@zju.edu.cn, bhelgaas@google.com, minipli@grsecurity.net, linux-wireless@vger.kernel.org, brcm80211@lists.linux.dev, brcm80211-dev-list.pdl@broadcom.com, megi@xff.cz, robh@kernel.org, efectn@protonmail.com, krzk+dt@kernel.org, conor+dt@kernel.org, heiko@sntech.de, nick@khadas.com, jagan@edgeble.ai, dsimic@manjaro.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Jacobe Zang Subject: [PATCH v2 4/5] dt-bindings: net: wireless: brcm4329-fmac: add clock description. Date: Mon, 24 Jun 2024 16:19:05 +0800 Message-Id: <20240624081906.1399447-5-jacobe.zang@wesion.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240624081906.1399447-1-jacobe.zang@wesion.com> References: <20240624081906.1399447-1-jacobe.zang@wesion.com> X-ClientProxiedBy: SI1PR02CA0054.apcprd02.prod.outlook.com (2603:1096:4:1f5::13) 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_|OSQPR03MB8600:EE_ X-MS-Office365-Filtering-Correlation-Id: 53c1c4ce-74f1-4917-137e-08dc94270a7e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230037|366013|52116011|7416011|376011|1800799021|38350700011; X-Microsoft-Antispam-Message-Info: EbI+wqIFTwUkzi9k4pf8Kfr19opaP+YiN7fmsgcnq6NuvWArCOqvkLXXc4fsTJdEbDQMm4Apk0k/xqjuc7Kdpj2dJ0eS/mzTulxbt1I421YTL/ezDui7LmhgO3jb6oEgFsylqK0pJ2m/KN9h6M1v/pEAuoHlM3LMk/RHk7VkP7nAC5ekytoc4GQ87v0grcrSeAVE9AeuPDnKL9Jb6YoAkAAUr8JG22O2552QH3GBVwafypvCpoSIALGAXYFfP5BKZRs0HMi/MddxO5UXq1wgLHdundMi0PxFLzF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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:(13230037)(366013)(52116011)(7416011)(376011)(1800799021)(38350700011); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: PveMgQG2mb3tyWA7MKThmchcmp2PMldTt5SDKRtkPTpjhJaZLm1PjM5FVbON2Ed2pPc+HglOSwHNRUIM4wXBl8lCs0O22EQG3unKIbgUdQQqSuYwp7ZRf5nbd4c1f4R0RCrN/zBWPfCeAsTkGgJl/jvvXAkaH1+6l2OGAGEYw4LMYCYKlc3/EBWrZxb5zFrHTtXatyq6gFQZLrND5U1HqiQn5AmcipUjtV1SgVkJk3lb/E1qhWWFD0ZR7wo7YsVBTJmBWCB+Ibo1OfU+2Bnm9Wbo9fyIreM59c1sFhSGz1fbXxWBJCIOPEAKsSURWwE4Rnj/eJTuTsznLn6KFMS1LJxRcb1YQXnafE1U56IvjJOFRsjvVPYBUAFDnO1hJO3+BKm00EnKhDh7tuyNJtAmQTWmlim36d6pISDv67bzVgnssnXGyI4UsCzGaXFy8EHx1KXAvUIY3sBkAQrWAavCLISxFj9Y6BHywwt+RD76JcH3M0s5N/HmqlCKC5O8Qaz02/A3g7Nq+6CqmIq5VoUw7yp3TWkXVx2vKe6r8ETQYj5rq2Z86JIbAB9LWjDF+mHxiCwGV+lrENdcDmO4gBJLrN8UHtYNUMpLjYRrxB2jqAHPhVksqv4JtNiO66vSwtKPGpVzdXWCe9vXgp1an2FISw83w3AlKSw8ztV04FdF0ZFYlEUXz4qfeGOSTY/5oiPtiFwzUirelYszIgRTh5ext5MuQhWQt71446fcgCRGriACGgQdU93eHsq26ecodqDc7lAiseolcoI8E6w0gCwJvBwjK1tVZm1kqDof4hZl4Rk3lFzM3SAd5qk1BvG9m+7e1ijAquDqqthEfhQtTcOpccz63WHdPVPEAJA2V2WXGu2qANzbDrlGCvlXyqLhtQIxpAfnSPmiyZHk19vaQGFiOyAscuTHr3/EG1FiK+gsOe40JJO16pxN3Q6AMBqsLd/A700fUzAuLatG8tqEWxl8RhAmIfnlfz3Jfab2X2by4ZgKf2isp+PLzoWpfu2mXnO8vCwpJiEt+CcHISKaq4uZWcgufb8AJ8VrojjAxc/nH3RYnUN/mGk/lbAhYLPUHHWBKyg7HSaFErfSdMKCBWDu7PHMS1uN399/639TiJWTHEk+riq17cMIwH1P0KV1bdrKq02/OpYw1gKtiFjQTaBgsgb9N6zoz2pRmrF4ciIbSlNadKyqKi7ucpl+b5UtcM/Oem2eUGg4GjdaO17PQqRhv4ql1DmpIr44WNfAq9DMks+2ACA675fn6r2ZnvYfzf7KWGeeQ0Es/CCJGCh1/Gk2S4Ub7ZQzgxNxuT7wsywDkS8IbiUL+xKVELDLk8bPJPIN0Xp42wCLGU1jYZgqshzQqSGctxSHJ3dU629rWrPZCIlMXPDSxlGcIkZTLs5vu1vW8LP6sCvZhXcTXWARn0zhJd4AXgWp/17K0dIFpjQoeBZvF5WxI2fnvgjObAYAcugaJFMLVKHW1Fzrv/VCJ6m6V13CUFAvOdCrlUFBy/7haNDxOFbYaqem9Xrj8lhH2pSCYttSyQMLinMM2tbOv8c0f57L2ybf33q0bjq8xtzyDUDmojRoVaUlEz1yopje/tyu X-OriginatorOrg: wesion.com X-MS-Exchange-CrossTenant-Network-Message-Id: 53c1c4ce-74f1-4917-137e-08dc94270a7e X-MS-Exchange-CrossTenant-AuthSource: TYZPR03MB7001.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jun 2024 08:24:18.2226 (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: 4zgS7mazjAhFtHjvgEF9DneSPyP48z6aZ8V4kghrFefnUJyCk3sby3AH5OPXK1eOELI7jLpwc9SJ51SrUY+KJQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSQPR03MB8600 Add clocks and clock-names for brcm4329-fmac. Signed-off-by: Jacobe Zang --- .../bindings/net/wireless/brcm,bcm4329-fmac.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml index e564f20d8f415..b9e39a62c3b32 100644 --- a/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml +++ b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml @@ -121,6 +121,15 @@ properties: NVRAM. This would normally be filled in by the bootloader from platform configuration data. + clocks: + description: phandle to the clock connected on rtc clock line. + maxItems: 1 + + clock-names: + description: Names of the supplied clocks. + items: + - const: 32k + required: - compatible - reg From patchwork Mon Jun 24 08:19:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacobe Zang X-Patchwork-Id: 807216 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2112.outbound.protection.outlook.com [40.107.117.112]) (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 8B08E4AECE; Mon, 24 Jun 2024 08:24:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.117.112 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719217464; cv=fail; b=I6f/nEegv40kX8QCqeZd9D7TV+CCAGealjkW/ID0tYyrshqkXAkWjrsGcmSGW0EyOZmPY2JjPn9mnOsp0GpqR8nqWsMMaj4gfoUP9G5xpg004mTmGW11pjYhV2ZmdlYoz6jcNskRQ/yYoHl8VzhuQ8QEWpMBluK/i/iRXnBKQ5A= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719217464; c=relaxed/simple; bh=zCaJ/XpOaJn7Eb4L5mVmG0pEaANRjFksDhUP1yLCRvw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=PxyGY+ASgrw8C++hlAaX404A1+aJ9Zz69HEFy2UNgPV2WUrd54YnIept88cRUD9zooQnWg1+6oeavax6vySmsXgiUPTg1Y7RrDAVE+GgOnwNDM301Mf0XQPbTCCY8rTiNYQnMZInEYYTVKMyBU88M7shw15TsexHkafqx+x0Y2I= 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.117.112 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=arcselector9901; d=microsoft.com; cv=none; b=Gn7YPeYUK5E4t1gT9XcA5PoygykNZTDqj6EMGj0ZnkAaRIKFnnzqNY1ar19G2IYHCCnercmdy8V8PgPbHO2uZEX65HSLMrREm3oLs8TbR1J5ArpkzlVJ0jgk6T4ilMkxrelnXcaYE7AmIhh8PbGaRO5irucMXphVklgcSUj13oHaKmVpU/Tlpky1S9HnAT1xro9WxW9krm7D4iA6fZtEjyMjjMH2YX+wYjAxsSnh9kaRXvW0TOIJnKT3QbH4Xow3wVtYV9F28mFGxr77H2c2Yt25DHUFC1IgT95xYzH2M7Emr+qS7LiwCZwcbD5NSP5BUgAUw0OAdymuAptEM6P6pw== 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=O9trhTuPRCq9gQO7cQvzRswHrFojwncCECe2MITkmqU=; b=GSZSUSDVPK6Si7cMQ4hcBMoX67nz2BQaaNSUpc8ajH5CXPo5tQay+ugRpirqHnhB4mHd9deqijOKaDpigZuXH5Rp71tNSEstRUUCf3H/UyZz6/zrt+ys2YFTXuBR/1cl7WWRekGM+fW8opGq5uloshEpWvatgQ1Aa2mhsNaZX0Gc598fwhZ3EBfScpBczadN6Pu1n/mgdQl8qPQirKTWZVhx9kBD6K4QeNjYohbcp4qmOdrIqc2u/dv23qe6gF853WGuf0eHBYxBwH3OXKwPNMx5K27RPzh2uHmqEFHJb/eIvuksBucyuUd5gAEKwhvYcu/FPTZkMhMqyUxUVIpUhw== 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 OSQPR03MB8600.apcprd03.prod.outlook.com (2603:1096:604:290::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.31; Mon, 24 Jun 2024 08:24:21 +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.7698.024; Mon, 24 Jun 2024 08:24:21 +0000 From: Jacobe Zang To: arend.vanspriel@broadcom.com Cc: kvalo@kernel.org, duoming@zju.edu.cn, bhelgaas@google.com, minipli@grsecurity.net, linux-wireless@vger.kernel.org, brcm80211@lists.linux.dev, brcm80211-dev-list.pdl@broadcom.com, megi@xff.cz, robh@kernel.org, efectn@protonmail.com, krzk+dt@kernel.org, conor+dt@kernel.org, heiko@sntech.de, nick@khadas.com, jagan@edgeble.ai, dsimic@manjaro.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Jacobe Zang Subject: [PATCH v2 5/5] dt-bindings: net: wireless: brcm4329-fmac: add pci14e4,449d Date: Mon, 24 Jun 2024 16:19:06 +0800 Message-Id: <20240624081906.1399447-6-jacobe.zang@wesion.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240624081906.1399447-1-jacobe.zang@wesion.com> References: <20240624081906.1399447-1-jacobe.zang@wesion.com> X-ClientProxiedBy: SI1PR02CA0054.apcprd02.prod.outlook.com (2603:1096:4:1f5::13) 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_|OSQPR03MB8600:EE_ X-MS-Office365-Filtering-Correlation-Id: 946c6577-dc06-465d-b7c3-08dc94270c8c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230037|366013|52116011|7416011|376011|1800799021|38350700011; X-Microsoft-Antispam-Message-Info: vBz2ntisGOAWjirzlr5/y2QXpRZsROKRE8hBkOFgn4Ieh7UmWmI+KWaWcqTRZMv5Ao+0XFuH2nWqfmEW6JdpEq5wQPFEI0q9ylvU0yMTNUjVdNUH/+WMV9H4w0Na7VkCQBkY1m2vdw2Bwh8vgUxxDS/VRqV5cx9p8oCghO9Z81OHOsxBRCIrnjS5IXFf9SjAyGNyrMiMPU4oWsPOLnx8pcjT4pZ+e3pch7HI9YyAitHFsXD2Z9yDCXScSr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dySjJQ/ymtxpTY69vyzweiQ3vvH4hAk/0uNpBesfWKVifpVvdRL0= 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:(13230037)(366013)(52116011)(7416011)(376011)(1800799021)(38350700011); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: DPjrPaSn8WrhMjXngdzN/DoSff4XjSsfQJWEalvES8Le3fqsAabMjatzhtY1XpnL4qU4r93D6CX9vlsH7fsLOKVXq+ILOo3RtI3JLOygAkj0q69iO7FhRaZjcRzEfaUQEpFuLDhIHXOYzg1d9NQV5Fs4GrK4jDPMjdT6U5SMY+J0aLZoBQkxYFxGun6dTTyR7KWfsqh6BuLr3oCrYm+hgU6iFBvp/x8zGLabpVKXHPmQRBJBhooBkvv2bPl9Z90g9M6VEQUI8Hvs0yTNmvDjX12X4B3DEV5gTK2A1ue13boJT09HyouV8ue7q0NfBMNFxvgOPDxw/iksZGFQVcmUhP0bP/c/omrGlwMvkqjaGlMcTx7B46IYgreSKLXNJPMQNhQcSr+TPj4VBeT5gyhXbAKfJkHbnpBfc2qWmPM9d3RvdCiaYDhfX6nxBN8i3PIa7Np3PtjpnYB/NOWBmtxcJor9fbODpJUDwuOWeGixT4DDAJyC9DKq+z/f21v8RsVodeByaM3BzN7Km8yIBlG9AbSSaKvXvyDw/VN1iwuhmczsnW3Ei+b7KqhABGlc+lr/HIaBfBmXg4oOhd4IaQ3xIqtAJrysK76hORWpKI9alSsf39sfJJlpVTF0v7RQRtrcv9QMqtXB2nwkQhz/XEa2K5w4pkEGNxOLg7zrGPSBXW2xTQCItqPUvcoqDTL8UDUOvQB81rJF/hvqVsRCzayaCUbq3prIU8np7tYWXnOkK5UMs+ee6C6lhn2g2+M48wxTWsdt0DPNp4/HcxW/o7xYrfOLkPN6VkY2Hw2FRmMUZOghk7PEpN886LrRAjlawdsSr5QwH3510zT1j92hQ5b8wSZWRD7m4yEvLoPUngGUYyUlkJpHdzxCxaZ7hUHvxAf8n1C7AKea0v2DkHUGvUBzYU293KYS+JKlOGjF5OTrQBEE/qbSllRr+otf91HF2j6KOUxBwYOjUDqSMNz5pbseys6AUVCcV2dxB+Ta3PKkCnqyKlqcvbcdXQ8vRXXQtBnmHuus8HeFcptNkr4MKNVXqb4ppATgwTD3M0KgraYQ0yc4gK7pRps/9bLdhb22Emv9c88sUfC8jpuL2KJq0RbZOdfnKsiPD+AQxgeDZmI+v2f8qYCfvZFEOwbUazeIf6a5XELlGcpWMn9B/7ieFOAqqIHjNDFsHgr33qwf235Vg7KkI13+cGALVv3c23v//bp9cjALosUVtcBVr9H9e5XKJQK6Bs94eX9jlM42EbpXSMX8/bSOmlGJ3cYCgEiKi/HmAgx3MiQ0g/yJZeQ0d6mletN+p2LOJDV2svHGlb8KAnYRGLYW3I41NZcNzhPFX3tYTsw5SAdMvEG/4NyoXUO5lYzK/WR0Qo2uC+wWuLXzWWPK8xQx4PPVmw7TqiyPXGqZqG11/DxMuBX+uYFdvWsTuHVTBSiepWAWr8inrlbjjf+QmD4IRmfJ47W+3svaSs9lBfNyu/ac2+Y8nVU7QV+LqvXezPp1Lcc+im0wOiN0H7eGYZxdArAf3o99ibO4Z2EKyeGrM0J1ZPkqRnuuKTjh9aW3akgkmSGBZcYGi8flXA9iwHMdnD5XicSC2X6hMHcb X-OriginatorOrg: wesion.com X-MS-Exchange-CrossTenant-Network-Message-Id: 946c6577-dc06-465d-b7c3-08dc94270c8c X-MS-Exchange-CrossTenant-AuthSource: TYZPR03MB7001.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jun 2024 08:24:21.6847 (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: 4Fo32Xp3omB9d/iP4xiFLiuA1Fs8jxRdncDGfe7T02oxqU/yd3kV8HjLIgcMwI7/pyFcqDyuIZ3d2SSpU9my9A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSQPR03MB8600 AP6275P Wi-Fi module connected via the PCIe interface. 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 b9e39a62c3b32..fd22ade92210c 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 # BCM4329 reg: description: SDIO function number for the device (for most cases