Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp789156pxb; Fri, 22 Apr 2022 11:10:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx4N4fGCbuG4uPJLGNHByr09w7HwVt/IOJBchLv79YhftIsmeF4ZpLiqoWn5TND5Wi+Jez5 X-Received: by 2002:a17:90a:6c64:b0:1cb:a150:52d with SMTP id x91-20020a17090a6c6400b001cba150052dmr6610375pjj.111.1650651015087; Fri, 22 Apr 2022 11:10:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1650651015; cv=pass; d=google.com; s=arc-20160816; b=D4bxKcvprW8u9H072FthCOmCenjxxKLU2gwJDZFH6EdOJpxvoTJulBKhLfNu8Tkz/Q xZ9uRvzi2B9Zr6ANDccUL52w9AEPn4X0Jxr8vPKbPldA08EVbaIyOk8hFBw/RJbVVDPX xH/eHKE8zIHqeU1U+Ka5OXZ9TqRb6d7X7ofJ+KinuGzGe3MVzmrZwYUTI8ACko46raY5 GXH8JsUf8GSlQoaABlz42euzkZN/fxpY/MgJspUWru4PCDVPP5SCPCMrXIpQcwBRlBm4 cC1xo8Of/XId78j06ZUpxZnUpFweU9rilqKQz6pzZUMhCuHZq3MIBrsQJDdweHd3yV5Y eFkg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=BOPB+Sky8Jjbb/qkjFKrN8DKf7+ZC+t1VwcmgtnnDrg=; b=OGGp1NbWUYNtCQwfwn899qIkYdSN35CmgD/l1EjTHXpC1XeJG/escdRV37tj9DxBLc JnUQwLVD5scZBLGDhD5GKUcfusa4BWsm4LTed5iesVKVc2R0Q55kmsTuYHxgghHgHeeH VZDcCUmAz6A7AT05gaq+MT1Todzf2C6F8+ErjsIjjkr74yf/u2ZfLtOnkUcP97i0NZTf SoequkMgoiQKK1hpm0dIHyACOpTINqk+reJYyuMR12rYursF4XlUVlH4d2AHVZFArA5/ g2PwyQi3bhCluEy+aATl5NVV5h4GpL8sy+3A+MNyXkm/SKme5DFqWlmdB1Zj2LUtQ0QD gnOA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@toradex.com header.s=selector2 header.b=AneKh+zc; arc=pass (i=1 spf=pass spfdomain=toradex.com dkim=pass dkdomain=toradex.com dmarc=pass fromdomain=toradex.com); spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=toradex.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id 63-20020a630542000000b003aaa48153a3si4681159pgf.364.2022.04.22.11.10.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 11:10:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@toradex.com header.s=selector2 header.b=AneKh+zc; arc=pass (i=1 spf=pass spfdomain=toradex.com dkim=pass dkdomain=toradex.com dmarc=pass fromdomain=toradex.com); spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=toradex.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 51C5F126340; Fri, 22 Apr 2022 10:46:50 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1445811AbiDVJGi (ORCPT + 66 others); 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=20Dre=C3=9Fler?= , =?UTF-8?q?Alvin=20=C5=A0ipraga?= , 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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?B?Z2ltZHVjMFRMMFZXVlBGRnhzY0NIZEpoOFRibzB0Q1BwMlN4andPb1I1UUMv?= =?utf-8?B?N2NkdGlmMTYwem4zWXlwb2RVeVlmek84SUFHeEZVWlJyRDM2YnljSCtSVXNI?= =?utf-8?B?eWkyc0FDWE5jTzVyTUtPRVBMenl0MFFLRFJCTnFYZXJra3pacXVVV1B6TXFy?= =?utf-8?B?VFo3VEJSektVVGlCRVZMUytRV3A4cTJwQXRmRjRQTFFBSTc0VE5FR1FQUHM4?= =?utf-8?B?SzMxNmJIbmJIRVFNSEZjcVF3Q01uUzB3bFEzNGcyQjB5V3VmU095OHRLY3V5?= =?utf-8?B?c0p5MEorZDZucnNma0k0di9IN2FhRWNNVmtJc0lmR1A1ZXY1dVRzYVlXZzN4?= =?utf-8?B?TFBBemhzbExodjBaQjN1bG83Z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= =?utf-8?B?bVp5MXBYa3B2Rnd2ZysvNWZhSjVUWFZLYlJNTW9UMWdtenRFSmR4ZzBaTE9R?= =?utf-8?B?TS85YWdRUkFJMkJwSURpUFR1MVp3SEh3Z1Q4ZHYzYzdCZ05qbkJFOE9IQUYv?= =?utf-8?B?VG5UbnZ2a1lYcW4rUlU4eEx6VXQyUFBqWCtJQ2pFZzRqZWxSUitNUHBQeW1S?= =?utf-8?Q?Qd0L9/iZYk0Lf6h9XurqwQYXh+xIbovhN8+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 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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(-) -- 2.25.1