Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp4632027pxv; Tue, 6 Jul 2021 05:46:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzK0FyNSq8Qi+DlFfVj8sybibhU4w1fG3qZdoFccOIyMp5WRplk9vCg0q17AgDsbrwHafIR X-Received: by 2002:a17:906:805:: with SMTP id e5mr68355ejd.310.1625575592828; Tue, 06 Jul 2021 05:46:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625575592; cv=none; d=google.com; s=arc-20160816; b=IgE+3gmzkC2sPLpbQ5hq+P4nK9Y8Inv29hqt1vx9XJ7aI62R4BMadFnNnNdghyji1B NQZPSz1rzyvmTXQ5VHprfTAwedHmxdvfXs7QBnLS/hKMAcooeNg0JCBjwf6e0pflN67/ cXCqhcgJn4j5yYB7TCc3JkWme8iTnayXUqSgYWWa/6abU8Pl+ZRr5vhBXdG6JiUdbOmt Bb47vM9Fjf9pg41+IQfI7TqAcAaBLJuHmhjKzcKXoeO1qwGM8Vp0kWZtyxw16O05cdMg QBfRWky6r015XW8/OGSHFCyNIMRLAH9vHuxdh4djI9BFl73hD86e/C+DifJePBX7QrFc 1BCw== 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=d5Qtd3fuR7kMLaMb3nhIpOHtCY+/u+6q3WDsXYoZ2b4=; b=EdyXzj3M4wO9pYmnZVHGyCjqHVf4kAJLOH5rCnAi5fdZ361IUCjFa7XuW5WoS3KPa6 E8ECmOk9pHrWsBj5HVsNL5NAahy3AzHbzXJQ2nS4JZXdCArgbm1U/A7r43GM8gRriQaH 0Jcp0zYcyXd5zOTw+W5Mu3WNRT9e/g4QnIvDw0SG7kzw/69sTeOCQOxJImuVuEYCcCzN 0ba5FYZ2kfICVDF8Uy3pICKCIqEAdUf7l62Pz0FksrlERM1APmGHuB/1eBocbrlYLgM4 ItltoO8VGpk71NTTW+1AA4LM3Ylr4rZTIc4UsbQ+FaOmRr9gJvU/T94pXlvhpSKF1ROQ hbzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pjf0hNOG; 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 i26si13816598ejx.330.2021.07.06.05.46.09; Tue, 06 Jul 2021 05:46:32 -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=pjf0hNOG; 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 S234857AbhGFMrt (ORCPT + 99 others); Tue, 6 Jul 2021 08:47:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240725AbhGFMrm (ORCPT ); Tue, 6 Jul 2021 08:47:42 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81247C0A8887; Tue, 6 Jul 2021 05:29:32 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id r26so20486846lfp.2; Tue, 06 Jul 2021 05:29:32 -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=d5Qtd3fuR7kMLaMb3nhIpOHtCY+/u+6q3WDsXYoZ2b4=; b=pjf0hNOGG6UM0WfHp6uBP4xQtp6m3wjS3+XEiteAXm78Zyisok6ONiWWhMsX4xPHxi xfUW5MfTmSTfpjLcJBaOMu/9cBGdSO0Cv4Fzhnv4boQ9kBxVQx1cKgR6aq9ATokyS7hi /XeZ+ThGyFCJVmcYHKBNL0EfR1qj5yCgNZreE3LqN/cUT2JwvXbKII664V7XlUBlbaFq psHji5XzpZmmO2T7mbr6nKRd8iwrT/N8xK68uY1nBbwPmV3CVW4zb7TxTC3BVyn2mZhe 4+eg32KLEsgwaxl9BFmznWqoXYsmZlT45OGHQg6aeJOvpVTawDES9iTsUBkSkFxL/J2k H04Q== 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=d5Qtd3fuR7kMLaMb3nhIpOHtCY+/u+6q3WDsXYoZ2b4=; b=QrbiyZRAHg5kTjfFCysl6s8/s6Ymjc7TzyD/XxO44XqnfRq56BiWlLSI2NLGvfxhWM VJkMOXDpyepU72IJ9i6GkIa7wLeW2k3O/npnIbCWOWsb47CqpBC/TYcvr8AbHmL/yOl7 YkaVbJ9PERCJuHvzZS4/As3RAsc6+y/EA+EWNr9igb1yKDfkepFRHl4PRwapA7w+mNQ1 9zBIYpwOczKAkGIbX2eUujaaoKF5xmJrhyb8b574OpMOaEtFmaj8f07n5CnDXe7C1tuG FuVjx+ZkHJHjELo8+gDjHfppjBTI/q9eVjMny8//eVoW8T2PgKA1YHHitD9xti0nXwt9 V1fQ== X-Gm-Message-State: AOAM531fjWWWBAoJxJFD0KfhJzz9kbfxiVR/tnq2nlK5f7D95sABlieu uNqbV4Yj1UrIuuJ8tKv9ex7yHl050I9q9OH0RgE= X-Received: by 2002:a05:6512:1583:: with SMTP id bp3mr10083480lfb.500.1625574570856; Tue, 06 Jul 2021 05:29:30 -0700 (PDT) MIME-Version: 1.0 References: <20210706114028.132-1-alistair@alistair23.me> In-Reply-To: <20210706114028.132-1-alistair@alistair23.me> From: Fabio Estevam Date: Tue, 6 Jul 2021 09:29:19 -0300 Message-ID: Subject: Re: [PATCH v3] ARM: dts: imx7d-remarkable2: Add WiFi support To: Alistair Francis Cc: 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 , alistair23@gmail.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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>; };