Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp10644935rwl; Mon, 2 Jan 2023 06:04:39 -0800 (PST) X-Google-Smtp-Source: AMrXdXsUdPUFWieMDjYaoqAPAnPB+lOY2ubwkS0MMXdCcPn00Bg5FU/0d05BHmXL29JHGIJFHfPW X-Received: by 2002:a62:1981:0:b0:578:8864:b25c with SMTP id 123-20020a621981000000b005788864b25cmr35067028pfz.25.1672668278810; Mon, 02 Jan 2023 06:04:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672668278; cv=none; d=google.com; s=arc-20160816; b=KW+xwlkAvdbCrYZExaQIjP/Akr4HbuQXuJ8eeX3iwGZJ3lTgnb6o5QNjpHV/c2mktR LHdWrkXVAsQOlLgZiiF6X6wchlcbjGIXbyvX83BvRDkeLbq6ONxEugVFzzPm4YoqjpZv 07xC6jcLQBEitT6uhehk8YN7b135CUjiQSf5IV/OOxPpOTWkbvoEktlid6q3WM7MgOiU WRgGuJKW5py1rig7CvELu0alhmgs5r3ixSgoADghxPq2N/IdZW3gOJ/Q3gbOm9bbW+vy RcbDnlRVihRdsYHoxfu6MvSL2fdqe9nh+vlSUxMBxFmEPBXD3oqJfc34Ta5xx7Qr+Qat wGMA== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=6yui0wtR7ZZXgeai4ImxtDxTorpRQE0dka0RpwNA0U8=; b=K09WvOwkCrPYt48BanmIw3JqodhQyvN7nRfm3WpG4n3MbMdP13wWDQhlhOlyV7sSUc +d5LKRmtHazJab2KtBFmGXeFndQIUBLK4Iugo5c9eXLY75YIj5d6VAz3M6ww4QMv7jVZ gIlXRYwwH3uvQuvRlwmXdVaEtIKZaqF+1joM4K512dYoYm8KFzkNzUxs0yGxqZO7UCe+ ogtjE+XwSJD7gZK7wYw5SunVwvMrvsg+yB4GfDGN6xQFbPN+455j7Y3U8kQMGco/oszg rV41AAp3rle03nUSyzwiXHThW0symwDzKXq7E5QewT34f48jn/NmSUSsvoa2Ig6A8fC0 yENg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marcan.st header.s=default header.b=ffpA6x+2; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=marcan.st Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z8-20020a056a00240800b005726e8b1cedsi29759088pfh.345.2023.01.02.06.04.30; Mon, 02 Jan 2023 06:04:38 -0800 (PST) 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=@marcan.st header.s=default header.b=ffpA6x+2; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=marcan.st Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232738AbjABOBW (ORCPT + 66 others); Mon, 2 Jan 2023 09:01:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230150AbjABOBU (ORCPT ); Mon, 2 Jan 2023 09:01:20 -0500 Received: from mail.marcansoft.com (marcansoft.com [212.63.210.85]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D4BA6547; Mon, 2 Jan 2023 06:01:18 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: marcan@marcan.st) by mail.marcansoft.com (Postfix) with ESMTPSA id D46B941DF4; Mon, 2 Jan 2023 14:01:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=marcan.st; s=default; t=1672668076; bh=8Kw1GfAUqQ8QmT3lnjcfvmkDIJ1W2AProGSJuYR3RcQ=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=ffpA6x+2RCfk2WgOZ8kPqXz8PQ+g/Ovn6QhPSDJltuOjDK5oozX3eyz7hoDPtqQcb PuTJ644YLic+aP4xlKlSFktCtlASKbtCLGeimd6rz+pBIe/X04tUj6DOzzq22h4Mu6 VpNDpJp+to0Jc6O58JmErS9t1pWi9Ru3y0M0XYyi09VCH8Dt1HCi53B0hiG/ks0thX hHvy7Td7qTHsLfY0WbLF7MILLu0s7Gon64uFWZEDs1v9BugsG+zE9GETkfjy6qyQoQ 3CwlEx53MS8N/b0qfB5jRmNcWegZKcV0bdQDkR9tlwyB1Pah5gk4JkXr4ebpmiUYJW ddfW9whnyiZ4A== Message-ID: <6e204026-d102-6d81-f58b-f4340e7d07ac@marcan.st> Date: Mon, 2 Jan 2023 23:01:10 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH v2 2/4] brcmfmac: Support 89459 pcie Content-Language: en-US To: Arend van Spriel , Aditya Garg Cc: Ian Lin , "alep@cypress.com" , "brcm80211-dev-list@broadcom.com" , "brcm80211-dev-list@cypress.com" , "franky.lin@broadcom.com" , "hante.meuleman@broadcom.com" , "kvalo@kernel.org" , "Double.Lo@infineon.com" , "linux-wireless@vger.kernel.org" , LKML , Asahi Linux References: <20220922104140.11889-1-ian.lin@infineon.com> <20220922104140.11889-3-ian.lin@infineon.com> <3eb9cc12-db75-8042-4106-fa6521c684a7@marcan.st> <6D6035D7-894B-44F6-B35A-3EC9C57029B5@live.com> <91c8fc96-083d-74b7-3015-e76f1ab59cec@broadcom.com> From: Hector Martin In-Reply-To: <91c8fc96-083d-74b7-3015-e76f1ab59cec@broadcom.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS autolearn=ham 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 02/01/2023 22.58, Arend van Spriel wrote: > On 1/2/2023 10:45 AM, Aditya Garg wrote: >> Hi Hector >> >>> >>> Is the CYW89459 just a rebrand of the BCM4355, or just a subset? If it >>> is a rebrand, it's okay if we call our Apple firmware >>> brcmfmac89459-pcie* (note that we use per-board firmware names, so it >>> wouldn't conflict with a generic one). However, if CYW89459 only refers >>> to specific variants, I think the firmware should be named after the >>> overall bcm4355 family. >>> >>> I'm guessing you intend to ship firmware for this. Would that firmware >>> work for all 4355 variants, or only the CYW one? If only the CYW one, is >>> it possible to differentiate between them based on PCI revision ID? Note >>> that our 4355 has revision ID 12, and Apple specifically calls it 4355C1 >>> (different chip revisions have different firmware builds, which is why I >>> named our firmware brcmfmac4355c1-pcie). If the CYW variant uses other >>> revision IDs that do not overlap, maybe we should have different >>> firmware entries for them with different masks. >> >> >> Can we make a separate table for the OTP Apple chips, something like here :- >> >> https://github.com/AdityaGarg8/linux/commit/fc41aac9283d2ba653a8b3191e8c0138c13d8ee1 > > I do not understand from this email thread why you would need separate > tables. Can you explain? > I think he's proposing we special-case Apple chips into their own firmware table just to avoid colliding with non-Apple firmware usage, which is honestly kind of tempting as the safe option if nobody from the Broadcom/Cypress side is willing to clarify what, exactly, is the relationship between these chips and what their respective revision numbers are so we can *correctly* represent them and avoid further confusion and problems down the line. You might be able to help with that ;) - Hector