From patchwork Fri Apr 22 09:03:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrejs Cainikovs X-Patchwork-Id: 567105 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C6690C433EF for ; Fri, 22 Apr 2022 09:03:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1445811AbiDVJGi (ORCPT ); Fri, 22 Apr 2022 05:06:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359739AbiDVJGh (ORCPT ); Fri, 22 Apr 2022 05:06:37 -0400 Received: from CHE01-GV0-obe.outbound.protection.outlook.com (mail-gv0che01on2128.outbound.protection.outlook.com [40.107.23.128]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC6605371F; Fri, 22 Apr 2022 02:03:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lKZgY0Fsb+4s/cW+SHjpj5+qoDAei6xCK/eNCWbNRUXIrnMDs0ajOxVLqz+XKgkqS03mxQw5EBy9ujN+y+mg1Oh0CDynVFfLhJSRkZKobjE7poA3fUeYNB8q41LgK6p4aa+L4SNASOGCi72R5yaZyB0kxD0WIcie/1adwXDdNDkM1Q2w00/lhtuLg2gImT9ayWx95f08oN3gY9uFgKRqEiKlfjfa5eurtMcy0o2lYMecYesjdLyH6jFzemrzFYl49l7RKsedV+nCfVAQsXyclERpVhk0o8Bh+CIq6EpdkMcIHbNMbD1yPxdsjSr7TrmqAvGJpP4C3UxNisgNnADJKg== 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=BOPB+Sky8Jjbb/qkjFKrN8DKf7+ZC+t1VwcmgtnnDrg=; b=K1pGXTAxMwA7IHDu1QmuE60/tWx5yv3iKkuKsgv80XdVQIU2RemVdm8pD8V39yNg4TPYBpXRSaiKcvKXyWlt/xWDzaj9Uebyfn8Sb8AOOU6KPnR3rPpE4VA4hXLB6PCQjEmfQirPL7ZeKqUAdbE2T0bssJKYzIepMabGPYD4ldK2d+t1geWLzktdqbwTMq2d46IJUWH82hfIq3sGG61dJLPryZ51tqqbVHLa/F4CQC9naJLiCCWyeEc6oLHgLvPOhTi1OKcwrM+bxEFpkrkeQyRnxUsXSECG++3Gwklexc0pKRNAxnNu6ozGKqWQJH6q1texp1gvBv3GBfqulQKhYQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=toradex.com; dmarc=pass action=none header.from=toradex.com; dkim=pass header.d=toradex.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toradex.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BOPB+Sky8Jjbb/qkjFKrN8DKf7+ZC+t1VwcmgtnnDrg=; b=AneKh+zcGjIpBfEo2ooDxbhi9P/kw9RhjklDxnXjOIZVotsUa3yYAYiVlpHljgtUDuoozel4Qe/+0o8cZ9GR1GdndgdWI74006lzn/JujjdSgWrXO/iowFYvuh6Xs4xT55+8kqBkMJ50FZrbh8LHFd6qjdTu6ocntA5T3ZSh8Sk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=toradex.com; Received: from GVAP278MB0929.CHEP278.PROD.OUTLOOK.COM (2603:10a6:710:57::6) by ZR0P278MB0393.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:34::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.14; Fri, 22 Apr 2022 09:03:41 +0000 Received: from GVAP278MB0929.CHEP278.PROD.OUTLOOK.COM ([fe80::d03a:14ba:bd9a:e165]) by GVAP278MB0929.CHEP278.PROD.OUTLOOK.COM ([fe80::d03a:14ba:bd9a:e165%7]) with mapi id 15.20.5186.015; Fri, 22 Apr 2022 09:03:41 +0000 From: Andrejs Cainikovs To: linux-wireless@vger.kernel.org, Amitkumar Karwar , Ganapathi Bhat , Sharvari Harisangam , Xinming Hu Cc: Andrejs Cainikovs , Kalle Valo , "David S . Miller" , Jakub Kicinski , Brian Norris , =?utf-8?q?Jonas_Dre=C3=9Fler?= , =?utf-8?q?Alvin_=C5=A0ipra?= =?utf-8?q?ga?= , Francesco Dolcini , netdev@vger.kernel.org Subject: [PATCH v2 0/2] mwifiex: Select firmware based on strapping Date: Fri, 22 Apr 2022 11:03:11 +0200 Message-Id: <20220422090313.125857-1-andrejs.cainikovs@toradex.com> X-Mailer: git-send-email 2.25.1 X-ClientProxiedBy: ZR0P278CA0151.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:41::12) To GVAP278MB0929.CHEP278.PROD.OUTLOOK.COM (2603:10a6:710:57::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0dbe66be-4fe4-46ad-710a-08da243efefe X-MS-TrafficTypeDiagnostic: ZR0P278MB0393:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yF52XmLJ80Z4RiPG7zzE4KaVDw9pRT0mitqoOu9yX4zbHHwAkWvOS665Ffv4qaB3VRdWyZJSsoFstkVB5o35YpOaId97sfuKxoBDPstzp+O+CI04MO3iGFVrIeHhSUqbXUL2+EeyY67W1gAe1Q/m95HpWNZyfbE9QVSuHc/lT/DG69ni8motebJBdsJo6wUbQ9yfwIewA26984Pm0ikdehKlkSJQI+F+GTu1GVAYDO3Hj1icZ7NpGQbbkOwoIqqW0Olp/TB/hjG0EQXaxWCb8LyN/IQ10TvsVLscmoVu0miWoYD8Xgqfo7ZDWadwPSdW/lC3hE0I2pj0zRB361s8s3Xno2phWLX7T33r4pSw0gD03T1011VLpLbqELiNbnJ46duOIeGH+oNnAWlCDN1SgAcPlhFLGdUNXvApuq136DZzg/9iih1nNjERNunWdDHYfzWKTJeXL/udcWJFrRPPKaYIhtxXzR3DiJv9bh03A4sJ1e+RYJnXtjVdY+iFwMVh1uFzQ92Jd3lnVuKe/BEA7dAZzxG50E6NUOwZCNIAofT7OwkuxK1whGXhluISSWp7hzJzYkY7trsdMIWsbzR3JfWoEQIkuFjK1Mor7TnGwc6D2T5rXnI1KHeIDVEeBUssSxn0DgMfu4MTqgfcIUvsezAIoFgJedl4ZBrMXpYROq8njp1rnrs6hORhCmOXYWFdNuSa4gXNgqPg+a/L+Hro/w== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:GVAP278MB0929.CHEP278.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(396003)(39850400004)(136003)(346002)(376002)(6506007)(2616005)(6512007)(86362001)(316002)(6666004)(44832011)(2906002)(5660300002)(4744005)(7416002)(54906003)(26005)(1076003)(8936002)(110136005)(38100700002)(186003)(52116002)(508600001)(38350700002)(6486002)(36756003)(8676002)(4326008)(66476007)(66556008)(66946007)(83380400001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?gimduc0TL0VWVPFFxscCHdJh8Tbo?= =?utf-8?q?0tCPp2SxjwOoR5QC/7cdtif160zn3YypodUyYfzO8IAGxFUZRrD36bycH+RUsH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5CE8W3frHVlnAt2oBC?= =?utf-8?q?LhbbkBkqe/NG0393hPWzCZyN4yTm16J/UkAByrIeQLTXFCPG58MmPS+IvUeNITluo?= =?utf-8?q?dQqX0D9y7ibQdnplpEFmGo7wT2Iy1EjLFAYRqS6yMrDYLz4am5ioefdyv8QtNVxDu?= =?utf-8?q?t39ABGH8wupuCv5Ip7tCXf3BnvU8qlDzbICm86d55DqtQPdSAARIwafgaZXAt2cAm?= =?utf-8?q?UXU0MWmk7dEowwfb100dIXNMJGnLGF3G4s2YfdGzju2BzG3+4wMPUZ/oPaPGYGAUt?= =?utf-8?q?uUkihi/fSqfjPVyeq1ulr6sWXk6lYD4P1LSvOxprWmEfuOhRvpGnOP8hxuOC4t71z?= =?utf-8?q?H772411qo6kb3ARbrXOXTcs5sbCwRb4KWdPF+Xbgsu89XWQ1snEzE69INJP+I3xC6?= =?utf-8?q?ScEPb1afOzLhwO+pth03rhkSd4k1u9hVuSQcTERCO9H2G1iGF0oXIfdeb14xieLPT?= =?utf-8?q?cKtvb6K1Uh2rdTBA9Tudcoa90Cpk4U+7gt6RyOUAMI8pIIrtjpn1R/siYmoc/IuKL?= =?utf-8?q?Cg8ZZHCyu8eQyEWb9oYwI4t9MvgJyye2AExiePrDeYxZ3GdAzM4ZwZ/7NU02xuvk9?= =?utf-8?q?RTNS9/HlYZkUSKNSDwO+WWccKybg8ttZmZy1pXkpvFwvg+/5faJ5TXVKbRMMoT1gm?= =?utf-8?q?ztEJdxg0ZLOQM/9agQRAI2BpIDiPTu1ZwHHwgT8dv3c7BgNjnBE8OHAF/TnTnvvkY?= =?utf-8?q?Xqn+RU8xLzUt2PPjX+ICjEg4jelRR+MPpPymRQd0L9/iZYk0Lf6h9XurqwQYXh+xI?= =?utf-8?q?bovhN8+Y7?= X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0dbe66be-4fe4-46ad-710a-08da243efefe X-MS-Exchange-CrossTenant-AuthSource: GVAP278MB0929.CHEP278.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2022 09:03:41.1944 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: d9995866-0d9b-4251-8315-093f062abab4 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: rZpqmucRHhJryVM2n3w0/JMULVgxTDoHWur1qhbkscGg6lC2yjf3UsnFAVWuoeSNyrFdcsPk/jzpwGponYQ4JinDoeb/sqxnQj8lQMVZAFA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: ZR0P278MB0393 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org This patch set introduces a way to automatically select appropriate firmware depending of the host connection method. Andrejs Cainikovs (2): mwifiex: Select firmware based on strapping mwifiex: Add SD8997 SDIO-UART firmware drivers/net/wireless/marvell/mwifiex/sdio.c | 23 ++++++++++++++++++++- drivers/net/wireless/marvell/mwifiex/sdio.h | 6 ++++++ 2 files changed, 28 insertions(+), 1 deletion(-)