Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4780468ybi; Tue, 28 May 2019 02:21:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqz8dABoAehz3G54W8Rqc6rWYxgDM8m0r5+NB/eyiCdV9HNKAj39ZNfqrJ1kG5BcYP9tkWkj X-Received: by 2002:a63:f813:: with SMTP id n19mr129420647pgh.273.1559035273044; Tue, 28 May 2019 02:21:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559035273; cv=none; d=google.com; s=arc-20160816; b=MfBm2PFAY4+WeSa8qcCVlRc4+pCz2HbgbT/3OufGr58d8hG8ZiJkGuiAAulW6kavuo YHSiqo7/FfdJzs2bDBMESHt/Pbrcp0W5HpJw1tvpy7TvEmSU5HoXNMUbcojHK7hH3K8r 0zIpKmgqoPcVr1dEFY5fzwgpMg51kt0DLTfVCZ/jmIuiYqa91df+Dk4IbEAr/WyUMaQI YghowDotRlN8Q40Cd6RoP2oQbcHfDA7coxvKrbgPhJ+IovVkOG41FlbowXBiV/WgLmMw fm3iEDVMKCCPTs/Mnv+KdnEs5B5nCVkV/kpJURwjXG/oVXF9MKZ5s17urOscb9y08GmG CoxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=Dt6xkTlYLLzspF5sWEy/VH41bbc6zw6jc+Wa8i9f9a4=; b=0NGHnzzwROH+snfEc6HkQ2YwfEaEN7fTGY+d0BtQrw7C0YDH+2D1Ui4JBS0mhXmudg MNCFwOcBG9h4Xxd961vjAyg44NXySpw02n4JIdA9QLnM30j8GgzS+Z3VKpk2X16k/PMv auKxyYrZFKIVyRwVwYa0n/EXKSef1Tc+WjcG++mA+DhUZrurZF/aZOCCcN2Y3i+or1m/ apdO1Bff9ickv7GM6ObRxMeT7UEiNn2OClIR6437ypg2lzqYh/XT2B2HV+VPtegOoYTl jaSMU5vd2G14CuLFSkh/sC4W38slyT43ZONNNPNhFDY3U9/XZ0KEvKvgsfLEsUZf1hCB ecCg== 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 y4si2532210pjv.52.2019.05.28.02.20.56; Tue, 28 May 2019 02:21:13 -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 S1726933AbfE1JTT (ORCPT + 99 others); Tue, 28 May 2019 05:19:19 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:34767 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725943AbfE1JTS (ORCPT ); Tue, 28 May 2019 05:19:18 -0400 Received: by mail-lf1-f66.google.com with SMTP id v18so14002976lfi.1; Tue, 28 May 2019 02:19:17 -0700 (PDT) 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=Dt6xkTlYLLzspF5sWEy/VH41bbc6zw6jc+Wa8i9f9a4=; b=JaHn5ULYYfT8Za5dRYDWXNqjhmoeUxR2S4wNB4JIggoZam3mijAcjcqKPBoFkmBXVM 01jgpp+sbmzRFLmLm/Mkss71m29AheffTJEHLZ1p62AOy2HFsj3ju4swltIFzqTOx/V+ CcLQDIHBRcYwZJyA07xR19AJP6pj5N4irv5MPkrioWc/ifYO+7RwiG0IKx4PpShsY6BV sRGIRL7uuT2zm+moZFP2diiIAO+la8savTi9eZjoKC83xHM6hq4SdPnt608cg22abRrP IkdgeAZj8pW6Xh/iHaCic12COGPzBOaAkL9ti+BP9qPIgaRnk8u6rDdJv5C4WwgQTNfM cjlw== X-Gm-Message-State: APjAAAXnJYdUafOOT/Tq/L3N8l59HlL9aquILCOhUPzZJ3iKua2RHmNW 2TJspp5+83pe6d8LWKGOzIGSUu/Eq2c/SyvP3VlB42oa X-Received: by 2002:ac2:546a:: with SMTP id e10mr6776442lfn.75.1559035156588; Tue, 28 May 2019 02:19:16 -0700 (PDT) MIME-Version: 1.0 References: <20190411124102.22442-1-spapageorgiou@de.adit-jv.com> In-Reply-To: <20190411124102.22442-1-spapageorgiou@de.adit-jv.com> From: Geert Uytterhoeven Date: Tue, 28 May 2019 11:19:04 +0200 Message-ID: Subject: Re: [PATCH] arm64: dts: ulcb-kf: Add support for TI WL1837 To: Spyridon Papageorgiou Cc: Simon Horman , 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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