Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6194750rwl; Tue, 4 Apr 2023 09:04:42 -0700 (PDT) X-Google-Smtp-Source: AKy350ZpSo3H9Z3xAlsXN0+F8DQrPE2407dmi6HqVF/9cMQfK5IC8QLwxPLlxRSGIkltsKTGibhO X-Received: by 2002:aa7:c7c8:0:b0:4fa:d2b1:9176 with SMTP id o8-20020aa7c7c8000000b004fad2b19176mr2476327eds.22.1680624282783; Tue, 04 Apr 2023 09:04:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680624282; cv=none; d=google.com; s=arc-20160816; b=V5hUZMxDdDMFhsvisMj6VMz7hZPwNR2618PURZgzP8Ry61QqmcqkcTFagOLvPOlSjb 1sVmyKLVTeYLsyQBZaJ2bOyAkM7+SbEOmcHLB7gz8CiCXDKx2ucYO+y/IqjXqebD3zAz Ztm/hicv3xVrbx02lzs2yj25gyxgVzafasAtF/nlF1Q8mI5XFIoVocz/07DyBiVRP1MY LexgshTjYR9+p4bWixhxfYI6bqLYA6bg6HmDQmTK0QU7HRM+A8/Qoxgz8qv8+aZAfWFZ g8LwkePR35vQxbdvG+psR6MqmPSICMZkkrWR/somGV0QF71efLOWMyGfR3S1A0GKXCBx OMpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=TJFh/bacpSKiK/EL1+NPB+d/zlFqSg6f87qMZ5P3YBE=; b=Fc87CWnZJlFMWgblLANL7WOgp7/sAad0J1poiEfs19oaS8kaLhXMCYDE93jmKdXTV3 emBFHQpQvZcnUlChRkm/K5CnMco2qOS5Yfpc/1K3eovTvlqo1/8bkuzb+UhG3ew6hJh4 tHMNeFiS0b8EZi7kE8foqsT/n5C74LaIWNUL8Oou2Vnev1GBnvqBmM87pGvPmNBTlYCS oAP9MzVXywnix1oUYHM+QkHpN3CrIYfkwe5jRr8WzB3ELCAZoHBMvobJsrUVm8Jei2vj w7TvaOlWxPLG1L9U0hOLFTLUdkrj0uzw39f3i3SIURpCUTabzv/XReze1++O4Xnkcyjr VPwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@free.fr header.s=smtp-20201208 header.b=VbGIfF4W; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=free.fr Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c19-20020a056402101300b005024c84f442si339702edu.662.2023.04.04.09.03.19; Tue, 04 Apr 2023 09:04:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@free.fr header.s=smtp-20201208 header.b=VbGIfF4W; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=free.fr Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232681AbjDDP77 (ORCPT + 59 others); Tue, 4 Apr 2023 11:59:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235121AbjDDP7t (ORCPT ); Tue, 4 Apr 2023 11:59:49 -0400 Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [212.27.42.2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51E1B1A5; Tue, 4 Apr 2023 08:59:48 -0700 (PDT) Received: from [192.168.108.81] (unknown [213.36.7.13]) (Authenticated sender: marc.w.gonzalez@free.fr) by smtp2-g21.free.fr (Postfix) with ESMTPSA id 8E078200483; Tue, 4 Apr 2023 17:59:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1680623987; bh=CzvvgTblGhaF/J7bVlIXcfhbbcQ7ryI5eYdk4LdJQkw=; h=Date:Subject:From:To:Cc:References:In-Reply-To:From; b=VbGIfF4WDXmiHdI/d3y2APmUG8N17SSZEvysy8Jmpz+SQXB1wR0+k2jnkWTHNiIrx 0enP5G+xmxoAMKV5yhhh2PpmL6Mx1kWJVLaekplNG5sceFEPSh9uFaccuRzldjYLD9 ++r23Tjrz3L0vQmPgkXeO1frRUkNI6+VPo7wfMCPsDETRaGoIYYe/zSCmHDaRELNaS EqcIFTSeOEhxHtbrHlzkMpTF/e35S+h17yi/YL+V14kfXd29v/Q6N/9URcwWEYyznV rkgDSWkw46TFYPREv9ctjX/JQZZWGfYkeNRV91TdFvw/axbaZuJ5NrjRP5fTZPIB1v Dm5GAZSOvA4EQ== Message-ID: <602e992f-514c-65e2-f45f-17c088af3a61@free.fr> Date: Tue, 4 Apr 2023 17:59:28 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [RFC PATCH] brcmfmac: add 43751 SDIO ids and initialization Content-Language: en-US From: Marc Gonzalez To: linux-amlogic@lists.infradead.org, linux-wireless@vger.kernel.org, linux-mmc@vger.kernel.org Cc: Neil Armstrong , Franky Lin , Arend van Spriel , Hante Meuleman , Kalle Valo , Eric Dumazet , Ulf Hansson , Pieter-Paul Giesberts , Alexander Prutskov , Joseph chuang , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Angus Ainslie , Pierre-Hugues Husson References: <05977cbb-8a8f-0a67-b4bd-b265dbb83280@free.fr> <895a3812-e490-cc40-0f8e-a88e166e8f24@linaro.org> <6be2c348-b343-876a-a77f-a8297676de6a@free.fr> <31dea9bf-63ef-c6db-b206-8afac960fd10@free.fr> In-Reply-To: <31dea9bf-63ef-c6db-b206-8afac960fd10@free.fr> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 On 22/03/2023 18:40, Marc Gonzalez wrote: > At my disposal, two S905X2 boards with SDIO-based brcm modules > (according to the labels on the boards) : > > Board A embeds "AP6398SR3" which identifies as > x vendor=2d0 dev=4359 over sdio_read_cis > x brcmfmac: F1 signature read @0x18000000=0x17294359 > x brcmfmac: BCM4359/9: chip=4359 rev=9 > > Board B embeds "AP6398SR32" which identifies as > x vendor=2d0 dev=aae7 over sdio_read_cis > x F1 signature read @0x18000000=0x1042aae8 > x brcmfmac: BCM43752/2: chip=aae8 rev=2 Pali Rohár pointed out lssdio. Here's the verbose output, for the record. BOARD A # lssdio -v Host 2 Address 0001 Function 1: ID 02d0:4359 Common Address: 0x0001 Common VDD voltage: 3.2-3.4V Common Type: SDIO Common Vendor ID: 0x02d0 Common Device ID: 0x4359 Common Revision: 0.0 Function ID: 1 Function Vendor ID: 0x02d0 Function Device ID: 0x4359 Function Class ID: 0x00 Function Revision: 0.0 Function Driver in use: brcmfmac Host 2 Address 0001 Function 2: ID 02d0:4359 Common Address: 0x0001 Common VDD voltage: 3.2-3.4V Common Type: SDIO Common Vendor ID: 0x02d0 Common Device ID: 0x4359 Common Revision: 0.0 Function ID: 2 Function Vendor ID: 0x02d0 Function Device ID: 0x4359 Function Class ID: 0x00 Function Revision: 0.0 Function Driver in use: brcmfmac Host 2 Address 0001 Function 3: ID 02d0:4359 (Class 02) Common Address: 0x0001 Common VDD voltage: 3.2-3.4V Common Type: SDIO Common Vendor ID: 0x02d0 Common Device ID: 0x4359 Common Revision: 0.0 Function ID: 3 Function Vendor ID: 0x02d0 Function Device ID: 0x4359 Function Class ID: 0x02 Function Revision: 0.0 Function Driver in use: (none) BOARD B # lssdio -v Host 2 Address 0001 Function 1: ID 02d0:aae7 Common Address: 0x0001 Common VDD voltage: 3.2-3.4V Common Type: SDIO Common Vendor ID: 0x02d0 Common Device ID: 0xaae7 Common Revision: 0.0 Function ID: 1 Function Vendor ID: 0x02d0 Function Device ID: 0xaae7 Function Class ID: 0x00 Function Revision: 0.0 Function Driver in use: (none) Host 2 Address 0001 Function 2: ID 02d0:aae7 Common Address: 0x0001 Common VDD voltage: 3.2-3.4V Common Type: SDIO Common Vendor ID: 0x02d0 Common Device ID: 0xaae7 Common Revision: 0.0 Function ID: 2 Function Vendor ID: 0x02d0 Function Device ID: 0xaae7 Function Class ID: 0x00 Function Revision: 0.0 Function Driver in use: (none)