Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp5260585imb; Thu, 7 Mar 2019 11:19:52 -0800 (PST) X-Google-Smtp-Source: APXvYqzfQ8LaxhwZixATZdJg6KU5BSDmVm5Rvgil5N2IWXPXX8lSKiCd0EhixM+BvmiRpYlf8Vre X-Received: by 2002:a17:902:5ac9:: with SMTP id g9mr14614339plm.205.1551986392225; Thu, 07 Mar 2019 11:19:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551986392; cv=none; d=google.com; s=arc-20160816; b=K6tC4ujf51XmxpMfH8gMw+YG7rF0+apF0PRr4PZRkglxEFzCft2+BSVAcJ6gjjZKwA IHHrmKUKa0JvkqwuEs4P0xSX+U1kVuv4BITwAvktpxnesOt3aXDwFPJTYCpYpVMIvztS jJ7+CuepzTtC27MCFAfeMa9mZTq6ZAAYWy2fbvDzY1XCFU9e/pkDbG26CS+g6S9Me6Hj hpWYr/QfQ9NkYQERnQ0syyfQkPeIiS3c8AXDGDxHS4lhyYWnuZOdjMEiMrdEzppD1A14 EVnXhd9WT9aTiwEbcYhcCIMJbUgJtsTvw9o0y5QKv7fLK6fhJ5FdUitl5zEuUMKLEFOA MGeg== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=TV6edWcbYlz3eOY46NTUo2s3D92DBu7jHBspRKtTVuY=; b=EKfHUa8KVXuajECmP7ryKf8c5+61/+Xj1E4tKqnk/75XiHqLgZj9OvL/YyBUHI1l5p 1IE5W6hiy0PADqhEu1viW8QdZdivd7VaN775//WKl+cj/gw+QhfRJ/ydV/WpKgT6bzOI ANQChIwPKeoTfx+X/dKm8YCTnVY5tryzXdYdl10elYTwmWi+ZGYhFAxr3Nsei6JnDC+1 zDm5QRUPhij+/1joSlFX19T9WvU5tsXoStIqMHg7z+j1Q/BZVL6eFIvbBNyrDEeeu3XA 5Vmsw9lemL0cADmA5/v7pz8kXvrS6UBI8jd9rmxBZd6ish8D6rx93wcsdMTMDj48hoca 6P0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=AKvYIYBH; 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 z62si4976386pfz.244.2019.03.07.11.19.36; Thu, 07 Mar 2019 11:19:52 -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=@chromium.org header.s=google header.b=AKvYIYBH; 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 S1726698AbfCGTSm (ORCPT + 99 others); Thu, 7 Mar 2019 14:18:42 -0500 Received: from mail-pg1-f193.google.com ([209.85.215.193]:38571 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726514AbfCGTSm (ORCPT ); Thu, 7 Mar 2019 14:18:42 -0500 Received: by mail-pg1-f193.google.com with SMTP id m2so12018364pgl.5 for ; Thu, 07 Mar 2019 11:18:42 -0800 (PST) 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:in-reply-to:user-agent; bh=TV6edWcbYlz3eOY46NTUo2s3D92DBu7jHBspRKtTVuY=; b=AKvYIYBHonii6PjzihkI89A/58rguXKVbyCvwlgv38Thf44mGEdVYXDZ4pxI4RI90n 1SdZTFlhDv2JYfRhpGOqhhwbfHz8WqCaf3mtwy9vk+uv4W55pv8cXAwaz8afXx2mSilU 9qu3TuvF3P7K4yiUPOdIhs0+k3Rq7pymvbZOs= 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:in-reply-to:user-agent; bh=TV6edWcbYlz3eOY46NTUo2s3D92DBu7jHBspRKtTVuY=; b=Q+fo7w99EyXzF9FGaSHNtFJhwUVX/3R3NXoEOLf0sR0xepbtmDwkmMr/fZkraqEhoL ZH71bFsQjrk6ssXTPMHV8RJuObfjpvc2brdNDxaPRYFSTQvYFWJa535OhXZlaWmLESiY zWjLU/aN9TYZypwP6cWTV0i0QepCO6y+NFke90iBRN2ODJGLBFGDqQcn6JEv0zucLU45 3AAoIHWMA2TGJLQPRJqeUUOK0e5t8tJSdLc3Xzzbogtmhoh/qw7ZE9kLPwZVQgxEAJjr vqoJGhEeekxk2hJMaB9tjkZejG03dPbqZfta+SnNKwpWju3wtV2ZN3zbb37+v66fzJKt GwwA== X-Gm-Message-State: APjAAAUPjKz8PaSGMDJJDI8X8vwOTv5fl6QK6j4DHFqDBF14pqDMdXpm Gh2qYkUFhFjpOcozEasW109P8A== X-Received: by 2002:aa7:8b17:: with SMTP id f23mr14499703pfd.171.1551986321882; Thu, 07 Mar 2019 11:18:41 -0800 (PST) Received: from localhost ([2620:15c:202:1:75a:3f6e:21d:9374]) by smtp.gmail.com with ESMTPSA id n15sm15676625pfi.173.2019.03.07.11.18.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Mar 2019 11:18:41 -0800 (PST) Date: Thu, 7 Mar 2019 11:18:40 -0800 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 v1 0/2] Enable Bluetooth functionality for wcn3998. Message-ID: <20190307191840.GC138592@google.com> References: <1551961012-23898-1-git-send-email-c-hbandi@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1551961012-23898-1-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 + 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? 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. The DT folks can probably provide guidance on what is typically done in cases like this. Thanks Matthias