Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp2255280imc; Tue, 12 Mar 2019 10:00:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqzs6snBVeUSlY7FRQFUCueXqn2y4EAF10hhCcq4bzCxildVIAGgF88Qg6fXrfWYpGRD5Pib X-Received: by 2002:a63:4509:: with SMTP id s9mr18703766pga.420.1552410039864; Tue, 12 Mar 2019 10:00:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552410039; cv=none; d=google.com; s=arc-20160816; b=hMx6MzvmlZJizN7xnxObiJlulMMnfG4gMngUrbVU2sdFA0wS+xxP0kLQ19Fgwxqa4s 8GEoZv6VWZ+xM9sVyLhXNWJx2sRTJMT++8XEx3abhXyVBtN9nZTdivYEWw7zwbDxQRlP 8fednkMotD40TGQj0NlHG3op2H763QjQejPuT8t3AI16teK9NOstIH18xOiU8J4mngs6 VgkPbJZ8M6Ou7y02PsWCLDj7N01kaysh7d6fKfoy089MG6mk5yXVAhIW7bTiLprXa4Bt iqU76g5xRvA+7TbA5cs+v5ptTYh7pP5qA1c72kGI1qUPhx3ymYCl/TtaKUBPKiSs5rkm BOIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=oZb6CACGM6VZGvUR+Ibx4EQn2QmozkbR6QSAW+dYXLM=; b=l3IHJFnRdzNOXa3B7k9nQt5UXXk1gl0y9qk5nQBWdof4Os/Aj5t+XzEkr65fsa5G6e a/7ByottYC9RLKpBnRqwUqyczCojXsztbWv9ciOLDW51eRxMce9p9YPlG4DHsEk1U8c9 s7zmGmDiA+iI9FnWewYCHwD+kUHcIvvkEMVME4Mo95tD8vJrmb0X4mNxt5T2oMEzuzAT EVJKtA85TxkeH8FlZcuo7B9Ych3jo7tWWU0yyipYzN7+y2BXCrOSGYmFhLnKn5wigAQd 2K7EPuD+D81kwUqD64v8kW7w+0FVBNaIPBHy3XS7Qc1GXB1U7Y5lr7i/5WHqnlA6eLPx tl0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ZBYG5KyF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 9si8882145plc.121.2019.03.12.10.00.22; Tue, 12 Mar 2019 10:00:39 -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; dkim=pass header.i=@chromium.org header.s=google header.b=ZBYG5KyF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726716AbfCLQ7b (ORCPT + 99 others); Tue, 12 Mar 2019 12:59:31 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:33659 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725894AbfCLQ7a (ORCPT ); Tue, 12 Mar 2019 12:59:30 -0400 Received: by mail-pf1-f194.google.com with SMTP id i19so2279063pfd.0 for ; Tue, 12 Mar 2019 09:59:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=oZb6CACGM6VZGvUR+Ibx4EQn2QmozkbR6QSAW+dYXLM=; b=ZBYG5KyFEqg9qtHysYtsux5REdr5/Qo34GKc4sM/GAFU9HTtpiNrI2jZ4f1KZ5OUh5 h2ckGFXe61F6zTG4AFfpTsqtfdXBwdcR3u8jtCT28kuRymKnTpnfcumMsmEmY96oLqhu fgqobwQchJTVwZs4YQi4R/ZIIxiNjw+rddNCg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=oZb6CACGM6VZGvUR+Ibx4EQn2QmozkbR6QSAW+dYXLM=; b=V9XRGpP13fM7Ro986PGn1Va4llRe8c0JDLVCTjLxmGrYg4LJ1A6gwNBvK11Nm2sqy8 Uaty2L0EDRstEJwx9T6MMYb/4cHyuqafJrX4lVM+mD2SGmi2OAxUoyqxukydu5JsHLVa udgvY2UD0NnH6xvXpTCM1GBekaEVn5QXm+rjAluevItJfIXfui/mz6DcUicGKOBJN5cJ aUHmcXiyyaAL6lQ1+MmdondxeKW6wF4955hC20yZ4bUjeZZhBaDeb7Nxis7RUhxg3WYa xVwqBEw7mz1UONklp+IwWfHbxME6hErtkrIU8g066CS3DqGwOPr0UheootT+lEQwOkdU BmyA== X-Gm-Message-State: APjAAAVH054BG7O4iVyU4hTPW6GG+TQhOMGHM4oFNNtCfpDOTqOwvOAH ZNrCwt0iDdt9JPBmKn9C6Tf6CQ== X-Received: by 2002:a17:902:8f81:: with SMTP id z1mr41681710plo.265.1552409969614; Tue, 12 Mar 2019 09:59:29 -0700 (PDT) Received: from localhost ([2620:15c:202:1:75a:3f6e:21d:9374]) by smtp.gmail.com with ESMTPSA id 11sm11887958pfh.131.2019.03.12.09.59.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Mar 2019 09:59:28 -0700 (PDT) Date: Tue, 12 Mar 2019 09:59:28 -0700 From: Matthias Kaehlcke To: Harish Bandi Cc: marcel@holtmann.org, johan.hedberg@gmail.com, linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org, hemantg@codeaurora.org, linux-arm-msm@vger.kernel.org, bgodavar@codeaurora.org, anubhavg@codeaurora.org, Rob Herring , Mark Rutland , devicetree@vger.kernel.org Subject: Re: [PATCH v3 2/2] dt-bindings: net: bluetooth: Add device tree bindings for QTI chip wcn3998 Message-ID: <20190312165928.GD200579@google.com> References: <1552393379-26330-1-git-send-email-c-hbandi@codeaurora.org> <1552393379-26330-3-git-send-email-c-hbandi@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1552393379-26330-3-git-send-email-c-hbandi@codeaurora.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org +DT folks Please add them in future versions (script/scripts/get_maintainer.pl should have listed them) On Tue, Mar 12, 2019 at 05:52:59PM +0530, Harish Bandi wrote: > This patch enables regulators for the Qualcomm Bluetooth wcn3998 > controller. No, it doesn't. The next version should probably say something like "Add compatible string for the Qualcomm WCN3998 Bluetooth controller. Is there any particular reason why QCA drivers folks use 'wcn' instead of 'WCN'? The QCA documentations calls it WCN399x, so I'd suggest to consistently use the uppercase name in comments and documentation (and log messages?). > Signed-off-by: Harish Bandi > --- > changes in v3: > - updated to latest code base. This comment is useless, please describe what changed wrt the previous version. > --- > .../devicetree/bindings/net/qualcomm-bluetooth.txt | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/qualcomm-bluetooth.txt b/Documentation/devicetree/bindings/net/qualcomm-bluetooth.txt > index 824c0e2..1221535 100644 > --- a/Documentation/devicetree/bindings/net/qualcomm-bluetooth.txt > +++ b/Documentation/devicetree/bindings/net/qualcomm-bluetooth.txt > @@ -53,3 +53,18 @@ serial@898000 { > max-speed = <3200000>; > }; > }; > + > +&blsp1_uart3 { > + pinctrl-names = "default"; > + pinctrl-0 = <&blsp1_uart3_default>; > + status = "okay"; > + > + bluetooth: wcn3998-bt { > + compatible = "qcom,wcn3998-bt"; > + vddio-supply = <&vreg_l6_1p8>; > + vddxo-supply = <&vreg_l5_1p8>; > + vddrf-supply = <&vreg_s5_1p35>; > + vddch0-supply = <&vdd_ch0_3p3>; > + max-speed = <3200000>; > + }; > +}; > \ No newline at end of file I think the example isn't really needed since it's essentially the same as the one for 'qcom,wcn3990-bt'. But the important part is missing: add the new compatible string under ´Required properties´. You also want to update the documentation that mentiones 'qcom,wcn3990-bt' to 'qcom,wcn399x-bt' (assuming for now that other possible WCN399x chips would be similar). You mentioned in an earlier version of the series that there are multiple WCN3998 variants with different requirements for voltage/current. This seems to suggests that multiple compatible strings are needed to distinguish between them. Thanks Matthias