Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp359002ybi; Fri, 31 May 2019 02:38:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqyv5E0XU074XwhiOvZanO7DOHRhk4X2++B5NPXo48z2+Nk/DDKZxX6EFpbUp7M19ykZCCsE X-Received: by 2002:a63:1663:: with SMTP id 35mr8011159pgw.253.1559295516791; Fri, 31 May 2019 02:38:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559295516; cv=none; d=google.com; s=arc-20160816; b=HBFOjevSnI3W3FXqb/aJyo7y2t3gpl1iP+z5HLPGEg27BzeDsd8+BsQKQ/8Muv9n7v nD+lw8P4Hl0StAggr4BhPFrr/b3H9y74RvXzpSDx9LbVZpBwtBhmh1ymn6xdfNp5Qp2n L46XkjaDhzhhKbIUMn0jgshqDx0ZiEmbzqfBXfqghSM7hgZqE0WYAVs8ZDa4E/zIHuJA mW8yQ8kgcbvZ6Bw7L5idx574118KXbShTtvQI52+fdrRNurMW50UnQUrqdiOfb/yRi6C nYtVW87VZugfqhGaIciHdDT5JT64ChcRYtlyQNW7CAyJ2aSypo1EudAdhUG6LmBrOw/b LM9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organisation:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=lgzRxdSF1ApHi8acRz9tCvHA5Z7xP7J7wHYpr7Rhfng=; b=x+zAwx8mfTX49wecLNL6en72vxJR1mCNJ18xva18IhJEwL86o0jJU0ip8OJFV4Bpum SfBvhTK5jVdPO6ZVXOTv1m+MI7DJE3F4oqzESFgvi+s+Blk/pnv8o+0VUd8sH32hVnhx Kc8evAQgLk3jSdrFR5TMXK0Xb8fVyg4zJDavNFqjDVCij8E4z0dJsAYk+PTMbEvBlBE1 ZGPgg1nx1j1O1d5EKurBW0blMOx4Ir5tJpnJ4B+XvNGHAESgQobR+xiyG4F6wOrAMLam SC5/A8DE9KiVzynp6PfSWg08YuDsfDyKHegjnClFO2M5caaxGC+Wud+h+4XAoA9sQYrk mtCA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h34si5657246pld.42.2019.05.31.02.38.19; Fri, 31 May 2019 02:38:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727034AbfEaJhH (ORCPT + 99 others); Fri, 31 May 2019 05:37:07 -0400 Received: from kirsty.vergenet.net ([202.4.237.240]:44208 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726232AbfEaJhH (ORCPT ); Fri, 31 May 2019 05:37:07 -0400 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id E521425AE77; Fri, 31 May 2019 19:37:04 +1000 (AEST) Received: by reginn.horms.nl (Postfix, from userid 7100) id E95FB9401DB; Fri, 31 May 2019 11:37:02 +0200 (CEST) Date: Fri, 31 May 2019 11:37:02 +0200 From: Simon Horman To: Geert Uytterhoeven Cc: Spyridon Papageorgiou , Magnus Damm , Rob Herring , Mark Rutland , Linux-Renesas , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , Eugeniu Rosca , Tobias Franzen , Biju Das Subject: Re: [PATCH] arm64: dts: ulcb-kf: Add support for TI WL1837 Message-ID: <20190531093702.4pdbamghomqdhhuq@verge.net.au> References: <20190411124102.22442-1-spapageorgiou@de.adit-jv.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organisation: Horms Solutions BV User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Spyridon, please respond to Geert's review below and if appropriate provide an incremental patch. Thanks in advance, Simon On Tue, May 28, 2019 at 11:19:04AM +0200, Geert Uytterhoeven wrote: > Hi Spyridon, > > On Thu, Apr 11, 2019 at 2:42 PM Spyridon Papageorgiou > wrote: > > This patch adds description of TI WL1837 and links interfaces > > to communicate with the IC, namely the SDIO interface to WLAN. > > > > Signed-off-by: Spyridon Papageorgiou > > Thanks for your patch! > > > --- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi > > +++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi > > @@ -38,6 +38,18 @@ > > regulator-min-microvolt = <5000000>; > > regulator-max-microvolt = <5000000>; > > }; > > + > > + wlan_en: regulator-wlan_en { > > + compatible = "regulator-fixed"; > > + regulator-name = "wlan-en-regulator"; > > + > > + regulator-min-microvolt = <3300000>; > > + regulator-max-microvolt = <3300000>; > > So this is a 3.3V regulator... > > > + > > + gpio = <&gpio_exp_74 4 GPIO_ACTIVE_HIGH>; > > + startup-delay-us = <70000>; > > + enable-active-high; > > + }; > > }; > > > > &can0 { > > > @@ -273,6 +298,30 @@ > > status = "okay"; > > }; > > > > +&sdhi3 { > > + pinctrl-0 = <&sdhi3_pins>; > > + pinctrl-names = "default"; > > + > > + vmmc-supply = <&wlan_en>; > > + vqmmc-supply = <&wlan_en>; > > ... used for both card and I/O line power... > > > + bus-width = <4>; > > + no-1-8-v; > > ... hence no 1.8V I/O. > > However, VIO of WL1837 is provided by W1.8V of regulator U55, > which is 1.8V? > > > + non-removable; > > + cap-power-off-card; > > + keep-power-in-suspend; > > + max-frequency = <26000000>; > > + status = "okay"; > > + > > + #address-cells = <1>; > > + #size-cells = <0>; > > + wlcore: wlcore@2 { > > + compatible = "ti,wl1837"; > > + reg = <2>; > > + interrupt-parent = <&gpio1>; > > + interrupts = <25 IRQ_TYPE_EDGE_FALLING>; > > I'm also a bit puzzled by the interrupt type. > On Cat 874, it's IRQ_TYPE_LEVEL_HIGH, cfr. > https://lore.kernel.org/linux-renesas-soc/1557997166-63351-2-git-send-email-biju.das@bp.renesas.com/ > > On Kingfisher, the IRQ signal is inverted by U104, so I'd expect > IRQ_TYPE_LEVEL_LOW instead of IRQ_TYPE_EDGE_FALLING? > > Apart from the above two comments: > Reviewed-by: Geert Uytterhoeven > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds >