Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1308939ybg; Fri, 18 Oct 2019 15:38:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqyovwcRMA0e2TtbK2cx1MK6CCopegndoPbzBh3fcG1nIdW+0d10Wbgbq1qMHVSM156C06ul X-Received: by 2002:a50:f414:: with SMTP id r20mr12358491edm.94.1571438323739; Fri, 18 Oct 2019 15:38:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571438323; cv=none; d=google.com; s=arc-20160816; b=V3a0ke0E4ny7eHNI8daeelMYG2ugioPj6Cyz5WYWYj1/NNVeRjRvW+eQUPipwIZ4va SNgy5zBpO2Vls01bVbDtSE+BiLBu4xWhxolPRSPkNkT8uhd7sRUZZkniF16GKInE4OkV em2bmbT4RU57Dbx5bP3I+tNRnM0eeNBYHgIBzwfZP8t7gcNdKA30SNw7V5xYaNQra7SK vU8uonQp67gHaJAD3fO26XwyWW0mzGWHO9rBx6orn+k226p2dZmFlEHewOct5MFhp8Gi NsEbCm7CSmQ6s/2YEM5UKB1otkzJimvA/IAnhyqXrRuCQhnqFFOzIB17JHLqkW+15JQ9 w/gQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=3o3EqRq3PgsgiQtn4AY+sfKyKLaEqB9pO5QeXjYW1YY=; b=GovAnakMmF5/N2nCAg6hubMUY7mD/WIcKhsg22tDvWyvNdpqwAoOXQbjzEE/8vB9eC Yt546qjho8pu2hKnboYbtzJCA230vyo8CwW1/38HG99t1h+QdVG/Ce2rY3EdGTMFeE5q O8PhC+HU/+9GJxzbxXSGEg2zpqYoJZDTBOngo3u9/wSLaTr3RiQCGS98xfVWnh8xuBPG kobV/762Pqhbb5ioM3JosbFwVV39SGvIt/EXzQjjKMpJp2uvcVjvn8ysvvydPLb+NC7c OjZDLrzUw7Svyi3cFL89QuP0lhFGqtxhgZSCpxgi18hWlmFPCn+vyi/2qe9Nmnnt/cLj gSuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=x9MS2j9S; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b1si5114855edm.271.2019.10.18.15.38.21; Fri, 18 Oct 2019 15:38:43 -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=@linaro.org header.s=google header.b=x9MS2j9S; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2394865AbfJRFYK (ORCPT + 99 others); Fri, 18 Oct 2019 01:24:10 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:46170 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388756AbfJRFYJ (ORCPT ); Fri, 18 Oct 2019 01:24:09 -0400 Received: by mail-pl1-f196.google.com with SMTP id q24so2257990plr.13 for ; Thu, 17 Oct 2019 22:24:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3o3EqRq3PgsgiQtn4AY+sfKyKLaEqB9pO5QeXjYW1YY=; b=x9MS2j9SeTU1yjy/80Wvue6xeCHSErdf9EALM3Tjzc+ohSUTFrZ70EJyB/p3y8uCmp E6oisSzZ64R/uT5q9VScB/CUyOZ7ZGyvBjpyp+JPl3pGOKo/IXykFV388A0MvXI77cst pX5J3+EwmNbRsR9dCClbr9xz+PMxp6zkgcXjXyQuncbUYaCKC4ppDkibNqRVoiKxoeeH +oLDcz/9+Kcji/s4z+0T7kT4MnasCEasJtZh74m8B8wBqkjOwDpK8JzeJNlW3UOJuHVG pt2vWbvQc3jWMwz2Ms+vvdBzlZUx/NjpKlQsWPs7KiSDmoqv7lUg/7KxWmUlBYxRTjrF KBsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3o3EqRq3PgsgiQtn4AY+sfKyKLaEqB9pO5QeXjYW1YY=; b=XcpGet26NuMY5BzF2mUz5VUEq2bYORFiU0IbVz1ESjECoGP1AEOvLmpuiAbDJwSh4l H1F3BWcvPWn8HQhG6m+1Dr3EOzzslSO4kYK94bSE4bppCUITYkdqLGloZdE1sU+0B64O lTWfUmppUFSbcpGhE/BIAMD2l8OTded8BZG8B16FGBh1kdcBIMMJxlTIp1gV1uSHm5/4 RGMMsHIR+uD4OAei3c64QL8K6c4VpntOmEhzB2f6DylLqKOaXn4dXYqMU5e9YMBaOQYx 3UUrdnea36ait2gvqhkCpDXinsXEojyf34v/QBlUMEpjbiWnlPA7olPp5MIGLBsCbwPU YFtQ== X-Gm-Message-State: APjAAAXX2Ph1NvM7Np0T9oTxMZdXOlWQvBi7xR8+6a/9VcA0nulDOVUA Upmk0HrDuYf2JZ3dt/CobId8jQ== X-Received: by 2002:a17:902:b70b:: with SMTP id d11mr7650535pls.339.1571376248651; Thu, 17 Oct 2019 22:24:08 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id u11sm2178760pgc.61.2019.10.17.22.24.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Oct 2019 22:24:08 -0700 (PDT) From: Bjorn Andersson To: Marcel Holtmann , Johan Hedberg Cc: linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, Jeffrey Hugo , linux-arm-msm@vger.kernel.org Subject: [PATCH 0/4] Bluetooth: hci_qca: Regulator usage cleanup Date: Thu, 17 Oct 2019 22:24:00 -0700 Message-Id: <20191018052405.3693555-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Clean up the regulator usage in hci_qca and in particular don't regulator_set_voltage() for fixed voltages. It cleans up the driver, but more important it makes bluetooth work on my Lenovo Yoga C630, where the regulator for vddch0 is defined with a voltage range that doesn't overlap the values in the driver. Bjorn Andersson (4): Bluetooth: hci_qca: Update regulator_set_load() usage Bluetooth: hci_qca: Don't vote for specific voltage Bluetooth: hci_qca: Use regulator bulk enable/disable Bluetooth: hci_qca: Split qca_power_setup() drivers/bluetooth/hci_qca.c | 135 +++++++++++++++--------------------- 1 file changed, 55 insertions(+), 80 deletions(-) -- 2.23.0