Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp5661787imb; Thu, 7 Mar 2019 22:40:08 -0800 (PST) X-Google-Smtp-Source: APXvYqz3tC22/L1be2dqriw5SmTiebxwsl03y6qd2ZWOpo7WopnRfoamI+8y79n4eFk4hTWxiirW X-Received: by 2002:a17:902:be14:: with SMTP id r20mr16487744pls.327.1552027208722; Thu, 07 Mar 2019 22:40:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1552027208; cv=none; d=google.com; s=arc-20160816; b=XyiSxuu6OnP0Pla8E7KW6Pc7SUUS7BNKOuSTkIBQoQP6rVp8PX9sKUma0Qw28UYXlE KZ+lNTPtyHfQ1/PqO29Cct+8871ME/cP3o52gkhOhgfRUV798VcWDOJJNMjCkntta8iR ayD4KsupgZQR5MbCe/TbMw2SiuxynTKqi1iKbSXZeqJvE6MKcJar6V1rqaIoWIIk3Ub1 8+mmN8IlvL+Hv6McVFXZMFLBNvy98VQa83yqAdCEXDDGuYyPgqjzTZCn01x16o0N8qu3 iXE6q4IdemJmdlHXy9XCNMeOtz0G/EZFEKy5xD9mBCOTVnBPpybYz38wdrOhXo3Jp7Rf 8HGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:dkim-signature; bh=07d70+JTONfmf7Z2xcQLqZiBWnyi/keauM7+oA5yOH0=; b=EI4hfaqAGh6tHh9TFSnU/VedEDtkZbPyz+Oe8yN4hZZAeFfK0Z7AGG0ePnPhjyOzLx ncCEH6o2hMMds9CyGM2xXD+1rlcHEEkznla/XoJxDNG1hTt2kjo+QSoofwJAe6SHdGXR SrrW4IpNxEJyl5igGYha25F/NWufwxE1bj3AerCsRIj4/KpMMNGR35LYe+IrgDj6X+2z baxoTvk+FPtxryaAGrBYNjzxotirxZO5jkwR/FeWcgeapeFwxMBiaB1QYKxMj3Nd+fIG VQxLs7YK0Yt2VsJopnaYYUfBV1bNqTIv4knpqfcTsbH+TFxiWPq7qtMRJLxk/RjgFx7n BYqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=k26Srl1E; dkim=pass header.i=@codeaurora.org header.s=default header.b=EY+geo8n; 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 d127si5734183pgc.303.2019.03.07.22.39.51; Thu, 07 Mar 2019 22:40:08 -0800 (PST) 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=@codeaurora.org header.s=default header.b=k26Srl1E; dkim=pass header.i=@codeaurora.org header.s=default header.b=EY+geo8n; 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 S1726348AbfCHGjc (ORCPT + 99 others); Fri, 8 Mar 2019 01:39:32 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:33406 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725776AbfCHGjb (ORCPT ); Fri, 8 Mar 2019 01:39:31 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id CE9A860397; Fri, 8 Mar 2019 06:39:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1552027170; bh=OCKRJRCa90OGruMso0QcaVfoNv7SXhszXRyOQ2z4oSw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=k26Srl1EBeAf8P7onzTuRr8eRic9RnOSRzJdsJKyoFgLhBaNcDBnsCisIqYJqbQh1 slwH+2qI1aiKlHmKqrC296GSk85TNg5/uDfM5vMnm4qdPfmcnT7VwnQ6pmV2mk5JGY 9KgHIDMRlLFMjqgFAHwn3N7HUpazCqQwLnuJ78hQ= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id D8BBA602BA; Fri, 8 Mar 2019 06:39:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1552027169; bh=OCKRJRCa90OGruMso0QcaVfoNv7SXhszXRyOQ2z4oSw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=EY+geo8npCh34Xx4HEpzLeuNHMbp+K6yFJEabe6d2GXpkk/sOtkPn/qWDyxVtpP9y 4UNjWgqNzySWsbE51/aXJYqh+qF6+6iP/i0b12ErbNEFCVY0By5gqMzX/d3gnmt5Yi g1Z6TUOr3gZ4Rie61CY3MIrjx74eLZL+1k0FlQPU= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 08 Mar 2019 12:09:29 +0530 From: c-hbandi@codeaurora.org To: Matthias Kaehlcke 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, linux-bluetooth-owner@vger.kernel.org Subject: Re: [PATCH v1 0/2] Enable Bluetooth functionality for wcn3998. In-Reply-To: <20190307191840.GC138592@google.com> References: <1551961012-23898-1-git-send-email-c-hbandi@codeaurora.org> <20190307191840.GC138592@google.com> Message-ID: <316cc8c5a45a184efc2ac4e5b65b9182@codeaurora.org> X-Sender: c-hbandi@codeaurora.org User-Agent: Roundcube Webmail/1.2.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mathias, On 2019-03-08 00:48, Matthias Kaehlcke wrote: > + device tree folks > > On Thu, Mar 07, 2019 at 05:46:50PM +0530, Harish Bandi wrote: >> This patch series we add support for wcn3998 BT chip set. This new >> chipset >> is based from the wcn3990 with minimal power numbers. So here in this >> patch >> The major difference between wcn3990 and wcn3998 is only power >> numbers. where >> as init process and fw download is same with wcn3990.So we are >> leveraging the >> existing code of wcn3990 along with readiing the voltages from the dts >> file. > > About how many different variants are we talking? [Harish] As of now we are seeing 2 more variants based on wcn3990 > > Couldn't you just use a different compatible string for each variant > and specify the voltage/current limits in the hci_qca.c driver, as > currently done for the WCN3990? I understand that it requires touching > the driver for each new variant, but it might be preferable to specify > these static values in a single location, instead of repeating them in > the DT snippets of every device that uses such a controller, with the > possiblity of configuration errors. > [Harish] Insight of coming chip sets based on wcn3990, for now we are adding new compatible in hci_qca.c driver itself with compatible name as QCA_WCN3998.But in future if we have more variants based on same chip set wcn3990. It may be good to have it in DTS. For now we will provide the updated patch with new compatible and let's continue to discuss with DT folks for their view on these cases. > The DT folks can probably provide guidance on what is typically done > in cases like this. > > Thanks > > Matthias