Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp279153pxv; Thu, 8 Jul 2021 02:20:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWJrAWYIIfyTcuYT3S4zeqeNYD28ObdoBFkR71zeWuq3kQSrCUCsnHfmEcKEsO6D1F0wV3 X-Received: by 2002:a50:d0cf:: with SMTP id g15mr14389692edf.219.1625736011073; Thu, 08 Jul 2021 02:20:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625736011; cv=none; d=google.com; s=arc-20160816; b=JjnZ/tlyRo1Ez4ypK7tBPxmcJV6yKTTByKaGvivs804BnD/ShYgJlY8O+LGidNXltS CK70T7Zog/1SgBNew7hJouJGSGTt3/bi8+mmjvRQdCrWrjl03G23It2dc1po2JjH4exN 27gyjw6YrJKDKij/54iCTtHplDL35brEPIrrKo6UYhSj3qI5kjV4bJ/IUZ6OFZfixaw3 CrfGkrVc0PaEqhGMB+JN1QM9pDKCqDRyhoyejuejqJyb9v9DvL7IP2lywgDUusT43ZMR CHYNIxptE8j+olaNP2N3wwW2YnXmyzseP9zQJfqgCMjxs5/z+xGVrlnFWcL2IgW1sGcc R1/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Zz9QRz4PH4T9zJcgIW5PVOczaMK/54zPkqBHDjRsL5s=; b=ndzUGV/K9RiBvqKwU45GY1Ok+3Gpp8zQm9HXWifRXwDNos4vwCgdWVNq9ENvWdQv// Mn9pbT+wH9qIjiusGr9Fv9CsHxecKZzqolkJ//kHng4pL1WqkmRT9/kkh+1mjFH3XjUE voBAzdQpG4UG9mKWx7LE86H9XtJ/UwjN+MJo2Q/dpP4n10VQ/KSJp+sas6RCNqkgG6J5 x7HclthyNvjH2BgRcsYpMCu0u62vqcazVC2jXz1CeFsCjt9Oa/swIVjbjLCK4FxDWY30 IVmiu2gJiiNP+u0Na9UJx4eOq3Q41NyJRSIqMNriQ9nciML+9Jz4JOdR2SVWeW480hOE JhCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ij6xvXG8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hp39si2446046ejc.669.2021.07.08.02.19.48; Thu, 08 Jul 2021 02:20:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ij6xvXG8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231281AbhGHJSp (ORCPT + 99 others); Thu, 8 Jul 2021 05:18:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231236AbhGHJSo (ORCPT ); Thu, 8 Jul 2021 05:18:44 -0400 Received: from mail-il1-x12e.google.com (mail-il1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5ADD7C061574; Thu, 8 Jul 2021 02:16:02 -0700 (PDT) Received: by mail-il1-x12e.google.com with SMTP id k6so5955475ilo.3; Thu, 08 Jul 2021 02:16:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Zz9QRz4PH4T9zJcgIW5PVOczaMK/54zPkqBHDjRsL5s=; b=Ij6xvXG8Xt7J3wv8u9vDtGmfCm6zljIOtCGnNK4JixS6QDrcLNAW3PVg+FErot3dsx ax65rSFG9vA0RrS9irKw7dGYuvRx9F4ZwQf0fKWaAUCaeRPkLLlP2abMugzWPZl6PG8A +gkTNWq392F4IE5cGt5WhHfTPfM9hp5wT3VrQaCOPEjnjBm0eQr9etVRZ2Ti3tcjh2B7 4Ww8hVGVdXSj7aKvvkasjslhv1uTy85nMq1Poghy2r3A8AAxremfFMKZK2T/GkDnpu0N Xct3v2XpJwQtUxhmPpSFXs7Icg7/RCOtKA16vL3w5C2dR6gJHtBKBjVCT21ksDun8uIZ Pk0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Zz9QRz4PH4T9zJcgIW5PVOczaMK/54zPkqBHDjRsL5s=; b=LvAihj7Aom5/ZXaVS6tn/LJjcZbOJ07Ov2TvR+1j/HekF7rSI88xt8gITKv6nqVGXO cSuchEOd/YBfd7sQjb32ZWU1CttC365PQXKAOzeDrBa56ogTutHsdK8HeGiKKWSSvwBn E8qjhDBBl+d+ADGfC8G+Fv2HCKEt3H3h0ZwJ/3apTx0mYkS/tBgOIBaNeZ7u/i/iJlOE yAb20nK9k21M7HVuFq28aw0UglCi9WE+MKnDD8QLZtEVU9zjG8HZQ6NoRN7ntzk1EwwJ gG1xWYQedWabigAi4614JdmaaSY1nYtKa0xgKgEW/pDHyh+peHR3sxsHCB2zTPpa49u9 mwdw== X-Gm-Message-State: AOAM531v2KRoV44A9udRAAbSlnOZp3p6hSus7k1Yi3HKg8RuicU7vtwK 7/mEa6/ezm1CFgjXD1bK27aVobgdbaogYpyAcaA= X-Received: by 2002:a92:8707:: with SMTP id m7mr7741565ild.177.1625735761721; Thu, 08 Jul 2021 02:16:01 -0700 (PDT) MIME-Version: 1.0 References: <20210706114028.132-1-alistair@alistair23.me> In-Reply-To: From: Alistair Francis Date: Thu, 8 Jul 2021 19:16:00 +1000 Message-ID: Subject: Re: [PATCH v3] ARM: dts: imx7d-remarkable2: Add WiFi support To: Fabio Estevam Cc: Alistair Francis , Rob Herring , Shawn Guo , Sascha Hauer , Sascha Hauer , NXP Linux Team , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 6, 2021 at 10:29 PM Fabio Estevam wrote: > > Hi Alistair, > > On Tue, Jul 6, 2021 at 8:40 AM Alistair Francis wrote: > > > + wifi_pwrseq: wifi_pwrseq { > > + compatible = "mmc-pwrseq-simple"; > > + pinctrl-names = "default"; > > + pinctrl-0 = <&pinctrl_wifi>; > > + reset-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>; > > + clocks = <&clks IMX7D_CLKO2_ROOT_DIV>; > > Don't you need to select the osc32 as the parent clock? > > This is what we do on arch/arm/boot/dts/imx7d-pico.dtsi and > arch/arm/boot/dts/imx7d-nitrogen7.dts: > > &clks { > assigned-clocks = <&clks IMX7D_CLKO2_ROOT_SRC>, > <&clks IMX7D_CLKO2_ROOT_DIV>; > assigned-clock-parents = <&clks IMX7D_CKIL>; > assigned-clock-rates = <0>, <32768>; > }; I'm not sure I follow, we do the same thing here with: &clks { assigned-clocks = <&clks IMX7D_CLKO2_ROOT_SRC>, <&clks IMX7D_CLKO2_ROOT_DIV>; assigned-clock-parents = <&clks IMX7D_CKIL>; assigned-clock-rates = <0>, <32768>; }; Alistair