Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2943076imm; Thu, 24 May 2018 19:34:36 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqIn8Sl+2naRoeHeXYTd5rMNAT2AcZ0hC3vcCATYUQbihuxNME0fXTim0whgJmwJ5jaPuir X-Received: by 2002:a62:20c7:: with SMTP id m68-v6mr577155pfj.110.1527215676013; Thu, 24 May 2018 19:34:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527215675; cv=none; d=google.com; s=arc-20160816; b=pYld/jWHIp9RMcTJHwWkkLRpf+FmfsdFK8uxmnzVf6vXu1UZ3YMF3P+OOLc3JaV56q vLKnHoKCEXlwm4I//OSUPOZ/2dR6n9cQLCiaV6447TBUQBU7obAJcKxruF7XtCE9TC+O cZSnJmo3Fbps/V+BHlx29Z36vEBrT2l+Gx+zHk1zV7l/IZpEhYRV6zX+Mlv1iGYTy8Vi CwEwb3BPTXavPvH1gw/TTVrkt9V/FmObgnezbjMK0/QSNw2MqbQzOkAwEI5qhNPx2l/P nbsAFLScy50MxevdEoRTtrFTv2JTDK6lyGkLAmNSqUaGI/lOuG643RKEO7ESusyxnsph GMMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfert-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=imINqGWlnwxAzC3Xpo+chb3vgKpp97/TOhcEIu2894U=; b=FDOR7WSMAFQrG64vu/XnWRuzh9oZTJiteVQGnattUFCjy2WuSUirTchIUvKqftHhLT 8elL77EICkQSKH41JfdQUA3am56UgSFrRHJNdgtw40Qu1sXPCsVuUbYhoNzZIo6Vkccb 9ctff6IB4BzDKjCNtrnKvk20sHlMfCyube01b37Y7oq0IuriqlmjHWzFO/WRd/esRWb5 nOjFutD8rFInI+9gie7wkVHRkSl6FTTPoMh0AlhH69X60ysr1ThB7QXcWlDChN3Y0Zsf 1WJERsCEiuNAehGuUkF0YaUoPpyr4PzWLDl7R5QjXhKIUE20azYzwvKoZ4xLLypLeR+D orlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dflAT2gz; 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 c5-v6si22696697pfm.119.2018.05.24.19.34.21; Thu, 24 May 2018 19:34:35 -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=dflAT2gz; 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 S967998AbeEXRiq (ORCPT + 99 others); Thu, 24 May 2018 13:38:46 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:52324 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965756AbeEXRio (ORCPT ); Thu, 24 May 2018 13:38:44 -0400 Received: by mail-wm0-f66.google.com with SMTP id 18-v6so1794009wml.2 for ; Thu, 24 May 2018 10:38:43 -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-transfert-encoding; bh=imINqGWlnwxAzC3Xpo+chb3vgKpp97/TOhcEIu2894U=; b=dflAT2gzgEdOA3FZWN67MNGkCr3JHToqR54vUkrPmTmg42xG7QxiEdWcnK0dKr7hZV Wpp+ZR9/TOoJFplnkFjjVQ7b+8qoQp8i5lRBnaXcd7mwLa7VgTZebVjyiw1fztnCzApU YV3FivyH/V12PmNoPUHbB7lBAzm6Qt2sH4Myo= 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-transfert-encoding; bh=imINqGWlnwxAzC3Xpo+chb3vgKpp97/TOhcEIu2894U=; b=KMMuH4WmxpgDhiu2rLrqk95B9xeoKpgwwokh8rJOJCuRHnq4grxERWy72rfv+GdtMR vwm4gd2BcxxgeuVnceB2GHadltoElYrWcagpVpGsqi+yrTyiTfxaKWBjsyxdKyoyxNL9 +N8EmpxK/z/MYGBHeQbECcaLNCSa2ZKWsncobwueKzs6Kls9Sei10IlfJW3/RedG6mlZ /+cYxvfjc1/8f3xFdkl8bKIeAht/7C5wOLl2hNQzBq+p5vVdomUi+1Gk1fHViFxw7Voz N0bqSBUDOOGfGUnWVLJz/V9ItLSIo5e152F0OlSud3FJXXRrbJMO8bK0ntLMchY08mE5 B7Wg== X-Gm-Message-State: ALKqPwfp9/Tkky17D16j5yg3RioHkqNv0It5uG09O+Eos+1N67VECo/g 3c/9dF5QK/fsqjtxJK9XUw+q/2EMNDc= X-Received: by 2002:a1c:6741:: with SMTP id b62-v6mr8026093wmc.0.1527183523352; Thu, 24 May 2018 10:38:43 -0700 (PDT) Received: from localhost.localdomain (mdy34-1-78-229-128-57.fbx.proxad.net. [78.229.128.57]) by smtp.gmail.com with ESMTPSA id 38-v6sm52140069wry.61.2018.05.24.10.38.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 May 2018 10:38:42 -0700 (PDT) From: Thierry Escande To: Andy Gross , David Brown , Rob Herring Cc: Bjorn Andersson , Niklas Cassel , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: apq8096-db820c: Removed bt-en-1-8v regulator Date: Thu, 24 May 2018 19:38:36 +0200 Message-Id: <20180524173836.22719-1-thierry.escande@linaro.org> X-Mailer: git-send-email 2.14.1 MIME-Version: 1.0 Content-Type: text/plain; charset = "utf-8" Content-Transfert-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch removes the unused bt-en-1-8v regulator and moves the bt_en_gios claim to the pm8994_gpios node. This bt_en_gpio could have been moved to the bluetooth serial node but instead this node declares an 'enable' gpio addressing the bt_en_gpio. This is needed by the Qualcomm QCA6174 WLAN/BT combo chip that needs to have the bt_en_gpio claimed even if only WLAN is used. Signed-off-by: Thierry Escande --- arch/arm64/boot/dts/qcom/apq8096-db820c-pmic-pins.dtsi | 2 +- arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 14 -------------- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c-pmic-pins.dtsi b/arch/arm64/boot/dts/qcom/apq8096-db820c-pmic-pins.dtsi index 6167af955659..a6ad3d7fe655 100644 --- a/arch/arm64/boot/dts/qcom/apq8096-db820c-pmic-pins.dtsi +++ b/arch/arm64/boot/dts/qcom/apq8096-db820c-pmic-pins.dtsi @@ -4,7 +4,7 @@ &pm8994_gpios { pinctrl-names = "default"; - pinctrl-0 = <&ls_exp_gpio_f>; + pinctrl-0 = <&ls_exp_gpio_f &bt_en_gpios>; ls_exp_gpio_f: pm8994_gpio5 { pinconf { diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi index 8be666ea92bd..affd4486e10e 100644 --- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi +++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi @@ -171,19 +171,6 @@ pinctrl-0 = <&usb2_vbus_det_gpio>; }; - bt_en: bt-en-1-8v { - pinctrl-names = "default"; - pinctrl-0 = <&bt_en_gpios>; - compatible = "regulator-fixed"; - regulator-name = "bt-en-regulator"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - - /* WLAN card specific delay */ - startup-delay-us = <70000>; - enable-active-high; - }; - wlan_en: wlan-en-1-8v { pinctrl-names = "default"; pinctrl-0 = <&wlan_en_gpios>; @@ -204,7 +191,6 @@ status = "okay"; perst-gpio = <&msmgpio 35 GPIO_ACTIVE_LOW>; vddpe-supply = <&wlan_en>; - vddpe1-supply = <&bt_en>; }; pcie@608000 { -- 2.14.1