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 4EE99C636CC for ; Wed, 15 Feb 2023 10:13:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233806AbjBOKNS (ORCPT ); Wed, 15 Feb 2023 05:13:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230197AbjBOKNR (ORCPT ); Wed, 15 Feb 2023 05:13:17 -0500 Received: from mail-yw1-x112d.google.com (mail-yw1-x112d.google.com [IPv6:2607:f8b0:4864:20::112d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32D9D34C33 for ; Wed, 15 Feb 2023 02:13:14 -0800 (PST) Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-52ecd867d89so208055947b3.8 for ; Wed, 15 Feb 2023 02:13:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=TChxARwnI0lpB/SBhETxB4OwsG83QsJzGDQ5SFDuIHI=; b=YnA5Um2G6jRmV2vPq6yTc+f3qCg8bJxLYu0M00iWtnL85aZ5NMUQcFoyvhlq5xVscT g/FxUgYK3nZrVcqBMq01M0/gGCKbOcbXgv+qqiMKM/kmW6c5tLNSuRBtBO9NPrV4Dfkv qtu2/GRfCCRqXIATR7QzjRsD0Udxh40USkDw1qXVoGrxYLj6rdex8MJ2vBOB1nVQJjFh 4RrFqcGYGrg5mGbLsRrkcsByOUuuDgqUE/L4bvrtcAY4mgNI66TjQXZSEcYGZW/EnCTb Y9BPKr7dM7+ATFt1rVGWp9ZKCZMoQE2mKcGNRyRAMI+koTTOIYDIWr6kGg2PWrFmXKrs cU/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TChxARwnI0lpB/SBhETxB4OwsG83QsJzGDQ5SFDuIHI=; b=WmWrItvWHsh0d652p/xpJZNwwh6N4yGWkIFR4O1M0f8rOor+KvJxJ2h7m/IUet1X1S Isg3EBay6qZmO2kGSra/34oWGJYVPnhEYGg3T5TXIjg9KgBHFagBSswW3LpR1fh8VFxr r2ZtkPII6wDZ2nfNx0fSoJvdtLxA0BJdH77FwP+m9eRziKSua2mdLpc0DwpbXRu4caPB ihI4qNB3WJEVHvpdYbgJdkrX5I6GZP/tca1szNU+5OxKKwgGgHKer3VLQGM+OpRXR4qk 4tr490yFPiJ/eWtt8Ingjqq8mKXKT/aGVdXUzdUcCDcT0H2vYEnB21d2NuQzbRnW/4JY veNw== X-Gm-Message-State: AO0yUKWHp+ojL3O2xKh3/L69PHJ1VmWLoOn/urkxVCsMBVh57qJ0zZN4 aa6dVLi7RZZbDtl1m9KXICrBDR322E6uo3sCzMIA+A== X-Google-Smtp-Source: AK7set/ERxZzW3KNVrEUjAzdskHBB0Sb13W2voFJQCEl0GcMl9AuDWEND5R+eHJNT6p08hYHRxzc2W9S3PJRV7hbj7k= X-Received: by 2002:a81:a103:0:b0:52e:b3df:cae4 with SMTP id y3-20020a81a103000000b0052eb3dfcae4mr144282ywg.128.1676455993332; Wed, 15 Feb 2023 02:13:13 -0800 (PST) MIME-Version: 1.0 References: <20230214080034.3828-1-marcan@marcan.st> <20230214080034.3828-2-marcan@marcan.st> In-Reply-To: <20230214080034.3828-2-marcan@marcan.st> From: Linus Walleij Date: Wed, 15 Feb 2023 11:13:01 +0100 Message-ID: Subject: Re: [PATCH 1/2] brcmfmac: acpi: Add support for fetching Apple ACPI properties To: Hector Martin Cc: Arend van Spriel , Franky Lin , Hante Meuleman , Kalle Valo , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Sven Peter , Alyssa Rosenzweig , asahi@lists.linux.dev, linux-wireless@vger.kernel.org, brcm80211-dev-list.pdl@broadcom.com, SHA-cyfmac-dev-list@infineon.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Tue, Feb 14, 2023 at 9:01 AM Hector Martin wrote: > On DT platforms, the module-instance and antenna-sku-info properties > are passed in the DT. On ACPI platforms, module-instance is passed via > the analogous Apple device property mechanism, while the antenna SKU > info is instead obtained via an ACPI method that grabs it from > non-volatile storage. > > Add support for this, to allow proper firmware selection on Apple > platforms. > > Signed-off-by: Hector Martin It looks like a horrible Apple-ism but I don't know much about ACPI. The ACPI people are working on device properties to abstract away all device properties no matter if they come from ACPI, device tree or, ehm Apple-ACPI, but for now I think it is more important to get this hardware working upstream and we can think about refactoring this into device properties for the longer term. Acked-by: Linus Walleij Yours, Linus Walleij