From patchwork Thu Mar 26 09:46:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 213515 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E25DBC43331 for ; Thu, 26 Mar 2020 09:46:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B0FC92076A for ; Thu, 26 Mar 2020 09:46:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="Lc+9XPyN" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726292AbgCZJqk (ORCPT ); Thu, 26 Mar 2020 05:46:40 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:40659 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727780AbgCZJqh (ORCPT ); Thu, 26 Mar 2020 05:46:37 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20200326094635euoutp029bedd8394ea3374fad950205f2571e8a~-0YypD8kf2204122041euoutp02E for ; Thu, 26 Mar 2020 09:46:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20200326094635euoutp029bedd8394ea3374fad950205f2571e8a~-0YypD8kf2204122041euoutp02E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1585215995; bh=rcy9OgnMjlR9HqiN9vy+xOGxRYOJgLNMn6cjYfenBLA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Lc+9XPyN7pPAntABcTcFCspDfLk4Qp7QRNOpmgeUaczm5oAxm8VmotmwOwOAIhHP3 CyC48bqb4BS2yxhmij749BH0aIO13Q55RMyPsGxt18zszRGiwfXAg7QKiZZwMtDpRc 0t3QCNTeZwcNt1r8vA+FEmdAs5D78sv5XszQSmRo= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20200326094635eucas1p206390d1309a886719ea567e671ffc788~-0YyV19n02482624826eucas1p2a; Thu, 26 Mar 2020 09:46:35 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 5B.AD.60698.BF97C7E5; Thu, 26 Mar 2020 09:46:35 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20200326094635eucas1p2220473a93430f9319130dfc2449033b7~-0YyDNLCo2487324873eucas1p2V; Thu, 26 Mar 2020 09:46:35 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20200326094635eusmtrp2d2a051c57250534eeff7ca0d19595a79~-0YyCnMla0813208132eusmtrp2H; Thu, 26 Mar 2020 09:46:35 +0000 (GMT) X-AuditID: cbfec7f5-a29ff7000001ed1a-9c-5e7c79fbbdbd Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 8B.C2.07950.BF97C7E5; Thu, 26 Mar 2020 09:46:35 +0000 (GMT) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200326094634eusmtip2ce15c865bff9400ccab504ccac7c2f1f~-0Yxsoas52446224462eusmtip2M; Thu, 26 Mar 2020 09:46:34 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Krzysztof Kozlowski , Chanwoo Choi , Bartlomiej Zolnierkiewicz Subject: [PATCH 2/4] ARM: dts: exynos: Enable WLAN support for the Trats board Date: Thu, 26 Mar 2020 10:46:24 +0100 Message-Id: <20200326094626.28308-3-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200326094626.28308-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrFIsWRmVeSWpSXmKPExsWy7djP87q/K2viDC7PU7LYOGM9q8X1L89Z Lc6f38BuMeP8PiaLtUfusjuwemxa1cnm0bdlFaPH501yAcxRXDYpqTmZZalF+nYJXBn39s9l KTjGVXH20ha2BsYDHF2MnBwSAiYSO6asYuli5OIQEljBKNG5bS0ThPOFUWLW3N1Qmc+MEq9f XGaGadm/aSMjRGI5o8SrSSvZ4Voedu0Gq2ITMJToetvFBmKLCKhKfG5bAFbELLCNUWJL7wOw ImGBAIkXE26xg9gsQEXTe5tYQGxeAVuJ5XP2MEGsk5dYveEAWD2ngJ3E4mnfwG6SELjMJvH9 +AZGiCIXibX3t7FD2MISr45vgbJlJP7vnM8E0dAMdN65tewQTg+jxOWmGVDd1hJ3zv0CupUD 6D5NifW79CHCjhKbvzazgoQlBPgkbrwVBAkzA5mTtk1nhgjzSnS0CUFUq0nMOr4Obu3BC5eg weUhMWlpIzQcJzJKrJmxhGkCo/wshGULGBlXMYqnlhbnpqcWG+ellusVJ+YWl+al6yXn525i BKaA0/+Of93BuO9P0iFGAQ5GJR7eCPPqOCHWxLLiytxDjBIczEoivE8ja+KEeFMSK6tSi/Lj i0pzUosPMUpzsCiJ8xovehk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p2220473a93430f9319130dfc2449033b7 X-Msg-Generator: CA X-RootMTR: 20200326094635eucas1p2220473a93430f9319130dfc2449033b7 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200326094635eucas1p2220473a93430f9319130dfc2449033b7 References: <20200326094626.28308-1-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Add a node for BCM4330/3 SDIO chip on SDHCI bus #3 and the required MMC power sequence node for the Exynos4210-based Trats board. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos4210-trats.dts | 29 ++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm/boot/dts/exynos4210-trats.dts b/arch/arm/boot/dts/exynos4210-trats.dts index 7c39dd1c4d3a..df901f113df5 100644 --- a/arch/arm/boot/dts/exynos4210-trats.dts +++ b/arch/arm/boot/dts/exynos4210-trats.dts @@ -121,6 +121,11 @@ }; }; + wlan_pwrseq: sdhci3-pwrseq { + compatible = "mmc-pwrseq-simple"; + reset-gpios = <&gpl1 2 GPIO_ACTIVE_LOW>; + }; + fixed-rate-clocks { xxti { compatible = "samsung,clock-xxti"; @@ -471,6 +476,30 @@ status = "okay"; }; +&sdhci_3 { + status = "okay"; + + #address-cells = <1>; + #size-cells = <0>; + + non-removable; + bus-width = <4>; + mmc-pwrseq = <&wlan_pwrseq>; + vmmc-supply = <&tflash_reg>; + + pinctrl-names = "default"; + pinctrl-0 = <&sd3_clk>, <&sd3_cmd>, <&sd3_bus4>; + + brcmf: wifi@1 { + compatible = "brcm,bcm4330-fmac"; + reg = <1>; + + interrupt-parent = <&gpx2>; + interrupts = <5 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "host-wake"; + }; +}; + &serial_0 { status = "okay"; }; From patchwork Thu Mar 26 09:46:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 213514 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B1D6C2D0EE for ; Thu, 26 Mar 2020 09:46:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3CEFF2070A for ; Thu, 26 Mar 2020 09:46:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="KrwNnvcW" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727699AbgCZJqk (ORCPT ); Thu, 26 Mar 2020 05:46:40 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:46908 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727936AbgCZJqh (ORCPT ); Thu, 26 Mar 2020 05:46:37 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20200326094636euoutp019b8334210a00aa4da08c067c01037261~-0Yyyf_rj1254312543euoutp01S for ; Thu, 26 Mar 2020 09:46:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20200326094636euoutp019b8334210a00aa4da08c067c01037261~-0Yyyf_rj1254312543euoutp01S DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1585215996; bh=mNxRng0nxQRP6ltbIhzZVQFx69cxiNpPeKQgpJCHQVM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KrwNnvcW5skaqDi5wBC+IxGE17bQUQMPGuXrI9Rr8PUBrK/ZKkao9SFXE5Dipif82 bBtDvaSgE0p93dAm6sKmdlcuZbmSRGyCkN2HSwZXArdoHHPskvMM/WufZCxLcQZ23H LBf19k5CkXvTUpDbHZvyaMupgTmqCdt5BhnAVLug= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20200326094635eucas1p139afbb3d89ce60054038b6572f00ba89~-0Yyh4BYI2968629686eucas1p1u; Thu, 26 Mar 2020 09:46:35 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id EB.AD.60698.BF97C7E5; Thu, 26 Mar 2020 09:46:35 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20200326094635eucas1p17fbc47aecd9be9df10daacf091bc52be~-0YyPkMig2968629686eucas1p1t; Thu, 26 Mar 2020 09:46:35 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200326094635eusmtrp19b6d69db1f63d89775827c2b77e13e2d~-0YyPCCMw3171231712eusmtrp1R; Thu, 26 Mar 2020 09:46:35 +0000 (GMT) X-AuditID: cbfec7f5-a0fff7000001ed1a-9f-5e7c79fbc306 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 9C.C2.07950.BF97C7E5; Thu, 26 Mar 2020 09:46:35 +0000 (GMT) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200326094635eusmtip2635410a411be82e976ddb0289c334430~-0Yx_Nw7n2360323603eusmtip2j; Thu, 26 Mar 2020 09:46:35 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Krzysztof Kozlowski , Chanwoo Choi , Bartlomiej Zolnierkiewicz Subject: [PATCH 3/4] ARM: dts: exynos: Enable WLAN support for the Rinato board Date: Thu, 26 Mar 2020 10:46:25 +0100 Message-Id: <20200326094626.28308-4-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200326094626.28308-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrOIsWRmVeSWpSXmKPExsWy7djP87q/K2viDFpn61tsnLGe1eL6l+es FufPb2C3mHF+H5PF2iN32R1YPTat6mTz6NuyitHj8ya5AOYoLpuU1JzMstQifbsErowPEzez FXzlqZh8qYW1gfE4VxcjJ4eEgIlE84NPTF2MXBxCAisYJV58ec8C4XxhlFj77iMzhPOZUeL3 ng/sMC2HH/RBJZYzSryf2MAK1zKt5wgLSBWbgKFE19suNhBbREBV4nPbAnaQImaBbYwSW3of MIMkhAUCJS6tPQOU4OBgASpqnuMNYvIK2Eq8PccBsUxeYvWGA2DVnAJ2EounfQM7T0LgMpvE 6pN/WCCKXCQO/NvDCmELS7w6vgXqUhmJ05N7oBqaGSUenlvLDuH0MEpcbprBCFFlLXHn3C82 kM3MApoS63fpQ4QdJXoXnGYGCUsI8EnceCsIEmYGMidtmw4V5pXoaBOCqFaTmHV8Hdzagxcu QZV4SHTNlYMEz0RGif+dy9gnMMrPQti1gJFxFaN4amlxbnpqsXFearlecWJucWleul5yfu4m RmD0n/53/OsOxn1/kg4xCnAwKvHwRphXxwmxJpYVV+YeYpTgYFYS4X0aWRMnxJuSWFmVWpQf X1Sak1p8iFGag0VJnNd40ctYIYH0xJLU7NTUgtQimCwTB6dUA2PJLKl185g+Ck2u3W2/25+L W6Fvi6SqvKrt+4gNnl8LDz5a9Ie1eeaHlPe/uJvmm0oGLnVaGsMg2fgxOEXh3uptZ8L4vx/e /VnoXdK26OuqQi1N3v/M3rMHJL7fsPzs+bKD+qvPtFlf+uMlsN2pMPbpkbkNmqJGUUfnRQRq bhd8rJQ8Y/aFmdlKLMUZiYZazEXFiQDx8PPV+gIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrBLMWRmVeSWpSXmKPExsVy+t/xe7q/K2viDK48lrHYOGM9q8X1L89Z Lc6f38BuMeP8PiaLtUfusjuwemxa1cnm0bdlFaPH501yAcxRejZF+aUlqQoZ+cUltkrRhhZG eoaWFnpGJpZ6hsbmsVZGpkr6djYpqTmZZalF+nYJehkfJm5mK/jKUzH5UgtrA+Nxri5GTg4J AROJww/6mLsYuTiEBJYySvx9vZEFIiEjcXJaAyuELSzx51oXG0TRJ0aJ3c8ugRWxCRhKdL0F SXByiAioSnxuW8AOUsQssINRYsuOt2DdwgL+EofOdAHZHBwsQEXNc7xBTF4BW4m35zgg5stL rN5wgBnE5hSwk1g87RvYeCGgko0PHzJPYORbwMiwilEktbQ4Nz232EivODG3uDQvXS85P3cT IzAUtx37uWUHY9e74EOMAhyMSjy8Gyyr44RYE8uKK3MPMUpwMCuJ8D6NrIkT4k1JrKxKLcqP LyrNSS0+xGgKdNJEZinR5HxgnOSVxBuaGppbWBqaG5sbm1koifN2CByMERJITyxJzU5NLUgt gulj4uCUamA02GHHuanDINJwZcXF9+UtRlvP/uicaxyVs80ypNt63dnZU3XDHv1da/K8pvjA motGHk+mKJgufn9OuDhxYdIZzvNuf3pVdzkJz2sMOS25KY4vvNy94LFk2Y65kouEf+RpiD2e v+vnag/3co41V/92zJANyb9VdW5ff5jg4qh61rtPkzemuHoosRRnJBpqMRcVJwIAeiJSCFsC AAA= X-CMS-MailID: 20200326094635eucas1p17fbc47aecd9be9df10daacf091bc52be X-Msg-Generator: CA X-RootMTR: 20200326094635eucas1p17fbc47aecd9be9df10daacf091bc52be X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200326094635eucas1p17fbc47aecd9be9df10daacf091bc52be References: <20200326094626.28308-1-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Add a node for BCM43342A SDIO chip on MSHC bus #1 and the required MMC power sequence node for the Exynos3250-based Rinato board. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos3250-rinato.dts | 36 +++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250-rinato.dts b/arch/arm/boot/dts/exynos3250-rinato.dts index 03f214089fd4..86fedccf277c 100644 --- a/arch/arm/boot/dts/exynos3250-rinato.dts +++ b/arch/arm/boot/dts/exynos3250-rinato.dts @@ -50,6 +50,11 @@ }; }; + wlan_pwrseq: mshc1-pwrseq { + compatible = "mmc-pwrseq-simple"; + reset-gpios = <&gpe0 4 GPIO_ACTIVE_LOW>; + }; + i2c_max77836: i2c-gpio-0 { compatible = "i2c-gpio"; gpios = <&gpd0 2 GPIO_ACTIVE_HIGH>, <&gpd0 3 GPIO_ACTIVE_HIGH>; @@ -625,6 +630,37 @@ status = "okay"; }; +&mshc_1 { + status = "okay"; + + #address-cells = <1>; + #size-cells = <0>; + + broken-cd; + non-removable; + cap-sd-highspeed; + cap-sdio-irq; + keep-power-in-suspend; + card-detect-delay = <200>; + samsung,dw-mshc-ciu-div = <1>; + samsung,dw-mshc-sdr-timing = <0 1>; + samsung,dw-mshc-ddr-timing = <1 2>; + pinctrl-names = "default"; + pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_bus1 &sd1_bus4>; + bus-width = <4>; + + mmc-pwrseq = <&wlan_pwrseq>; + + brcmf: wifi@1 { + compatible = "brcm,bcm4334-fmac"; + reg = <1>; + + interrupt-parent = <&gpx1>; + interrupts = <1 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "host-wake"; + }; +}; + &serial_0 { assigned-clocks = <&cmu CLK_SCLK_UART0>; assigned-clock-rates = <100000000>; From patchwork Thu Mar 26 09:46:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 213513 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4966BC2D0E7 for ; Thu, 26 Mar 2020 09:46:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 120762078B for ; Thu, 26 Mar 2020 09:46:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="tKiSiIWM" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727729AbgCZJqk (ORCPT ); Thu, 26 Mar 2020 05:46:40 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:40666 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727699AbgCZJqh (ORCPT ); Thu, 26 Mar 2020 05:46:37 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20200326094636euoutp029d6537c7e749db4467ffe9329e57da0e~-0YzIDbq42204122041euoutp02F for ; Thu, 26 Mar 2020 09:46:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20200326094636euoutp029d6537c7e749db4467ffe9329e57da0e~-0YzIDbq42204122041euoutp02F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1585215996; bh=IYiPnFMVdj4AWZmUuJdjjsmxDZuQgtEqdhTjOCvlzjo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tKiSiIWMmF3hs+dhsXnv+qmH/9QbpaJsj0IsasSFPP9lvn0jACKUGmLnKqoOaQutw 6wFOfKOdvqTXDW6ETOYgAgxD5tdXVM9+x4Uw27szrcHz/qy3J0wqp3TZ0Tk6QK6lWc n8YUx5CLymi0jLQD9ro2jaTtrAm+AxE6Z8zI3G84= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20200326094636eucas1p1da5e1f49a47c6e7c7957d90fb8153a22~-0Yy5ra4v2968629686eucas1p1w; Thu, 26 Mar 2020 09:46:36 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 7C.AD.60698.CF97C7E5; Thu, 26 Mar 2020 09:46:36 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20200326094635eucas1p2fab15692c98fc148388a6922dc0d121f~-0YykETzh2482724827eucas1p2Y; Thu, 26 Mar 2020 09:46:35 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200326094635eusmtrp142f54d389a9ef2fed4ed467c186fcfe8~-0Yyji22A3171231712eusmtrp1T; Thu, 26 Mar 2020 09:46:35 +0000 (GMT) X-AuditID: cbfec7f5-a0fff7000001ed1a-a1-5e7c79fc46a7 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 4D.C2.07950.BF97C7E5; Thu, 26 Mar 2020 09:46:35 +0000 (GMT) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200326094635eusmtip2d32d4001e2b355299012ad4c5a19cf62~-0YyQoKJZ2636726367eusmtip2r; Thu, 26 Mar 2020 09:46:35 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Krzysztof Kozlowski , Chanwoo Choi , Bartlomiej Zolnierkiewicz Subject: [PATCH 4/4] ARM: exynos_defconfig: Compile MAC80211/CFG80211 as modules Date: Thu, 26 Mar 2020 10:46:26 +0100 Message-Id: <20200326094626.28308-5-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200326094626.28308-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrJIsWRmVeSWpSXmKPExsWy7djP87p/KmviDL7/YrPYOGM9q8X1L89Z Lc6f38BuMeP8PiaLtUfusjuwemxa1cnm0bdlFaPH501yAcxRXDYpqTmZZalF+nYJXBnN/5vZ C+ZyVWxc/J6tgfEpRxcjJ4eEgInEr3vz2LsYuTiEBFYwSszeuYcRwvnCKNGw4BhU5jOjxOe/ r9hgWs4tWwiVWM4oMfnjTFaQBFjLhTUsIDabgKFE19susAYRAVWJz20LwBqYBbYxSmzpfcAM khAWCJJY+/UCWAMLUNGUl11gg3gFbCVunz7DDLFNXmL1hgNgNqeAncTiad9YQAZJCJxhk/j3 fQ9UkYvEl6kPoc4Tlnh1fAs7hC0jcXpyD1RDM6PEw3Nr2SGcHkaJy00zGCGqrCXunPsF1M0B dJ+mxPpd+hBhR4n1e6axgoQlBPgkbrwVBAkzA5mTtk1nhgjzSnS0CUFUq0nMOr4Obu3BC5eg TvOQOPHuBhMktCYySvScWcE2gVF+FsKyBYyMqxjFU0uLc9NTi43zUsv1ihNzi0vz0vWS83M3 MQITwOl/x7/uYNz3J+kQowAHoxIPb4R5d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SDTUYi4qTgQAgNt+Jl0CAAA= X-CMS-MailID: 20200326094635eucas1p2fab15692c98fc148388a6922dc0d121f X-Msg-Generator: CA X-RootMTR: 20200326094635eucas1p2fab15692c98fc148388a6922dc0d121f X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200326094635eucas1p2fab15692c98fc148388a6922dc0d121f References: <20200326094626.28308-1-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org MAC80211/CFG80211 framework requires loading regulatory.db from /lib/firmware directory, so it makes very little sense to have it built-in. Change it to be built as modules to let it properly load the needed firmware/db files. As a side effect of this change, the size of the compressed modules on SquashFS increased significantly from 27MiB to 38MiB, so increase the size of BLK_DEV_RAM to allow the modules to fit into it. Signed-off-by: Marek Szyprowski --- arch/arm/configs/exynos_defconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig index 1ea2f87533ef..1bbbc677f0e3 100644 --- a/arch/arm/configs/exynos_defconfig +++ b/arch/arm/configs/exynos_defconfig @@ -79,8 +79,8 @@ CONFIG_BT_HCIVHCI=m CONFIG_BT_MRVL=m CONFIG_BT_MRVL_SDIO=m CONFIG_BT_ATH3K=m -CONFIG_CFG80211=y -CONFIG_MAC80211=y +CONFIG_CFG80211=m +CONFIG_MAC80211=m CONFIG_MAC80211_LEDS=y CONFIG_NFC=y CONFIG_NFC_DIGITAL=m @@ -95,7 +95,7 @@ CONFIG_DEVTMPFS_MOUNT=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_CRYPTOLOOP=y CONFIG_BLK_DEV_RAM=y -CONFIG_BLK_DEV_RAM_SIZE=32768 +CONFIG_BLK_DEV_RAM_SIZE=65536 CONFIG_SCSI=y CONFIG_BLK_DEV_SD=y CONFIG_CHR_DEV_SG=y