Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2945310imm; Thu, 24 May 2018 19:37:30 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqweK+1zyIm1QqD8g9yrE2azc76YGJkTvwps1jvw2yCYKVjJarVok0N1JHsNih4+zinVgva X-Received: by 2002:a17:902:3181:: with SMTP id x1-v6mr621132plb.198.1527215850099; Thu, 24 May 2018 19:37:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527215850; cv=none; d=google.com; s=arc-20160816; b=B4ycedFXU3A29qvpIp/l25Cj8zkKp4bR08aXkF3R0J1/EAoSqbJ0lS+2lA+hdtvaB1 aBGzyGOm59qs7jKpHkEUwp5gSe/+4KRaxzjyWsICGd36ePqGt8z+MxzgG9XyyUkJC45I XVavOIrkSnXn/KgteCqH87ANIiUoDV9bb8kLlY7LcK1pIedADHrww8SpgPMyDk0FQdjF irmHzTO1xyxTwAHiqcKQU1Jdz7DIC1EWaEbedpLXj/3bjiri/qcYjuQikqyHHsCiMnP/ ywPB9LzEk5Kgmb9ppqSK0lHlmN256LuGMebIncpJ5PZ472kJKXe+wRuwrls/BjLgqEDo 22vQ== 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=dWhkRPjzKu97yxr+BY7bTWzcepcDff2q3Tk6mOl0T9o=; b=tbJqflR9VcuCl84GEojSVnAGLSBqznFCJF3hsVUA3LrrHtZrxjuSUHBVjMzk8zz5Da TZ2Xo8GizPtroyH+VrttDStuJKZSPQEkel4m6Fxyhdr+Oo8+3FpH6eWNDgtvETuTC8BP /JS5GjyrJgNqdBZaql2G1/9smeHW5TLFeuEEgOJdcIN1JYuhc/sh0KeEcWqdo9cPP5d2 J5lTbWAzkQ5/A3gezjo7wW/6fsFusSSQHq60otBtwU67EXkzeOtvV7Dx7CmvDXFslOGH bO5mQS/At0p74qUgdDMx5nb+NxqMYnA7y5kkNY8EbnuZ7VrwUd++DXkaZZxE8eT3Ef42 EibA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZOwQWvwd; 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 a4-v6si22355984plp.219.2018.05.24.19.37.10; Thu, 24 May 2018 19:37:30 -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=ZOwQWvwd; 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 S968480AbeEXSCE (ORCPT + 99 others); Thu, 24 May 2018 14:02:04 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:56301 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967000AbeEXSCC (ORCPT ); Thu, 24 May 2018 14:02:02 -0400 Received: by mail-wm0-f66.google.com with SMTP id a8-v6so7514432wmg.5 for ; Thu, 24 May 2018 11:02:02 -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=dWhkRPjzKu97yxr+BY7bTWzcepcDff2q3Tk6mOl0T9o=; b=ZOwQWvwdAJO9MGHKXD+c2djGQ+f4qSmgSNis+sqIYkEO8lfazojuSZdaYE143ZKCTp Zn7ce2DPTD1Av/IM0AlaEMrfkL8k9kh5oD21+/Krc23qsPYTbdklaGSPwEm2GfGVj6+o 6ud3qxr43FG4CjJZxNLCgMV4XV24afHbdv5RA= 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=dWhkRPjzKu97yxr+BY7bTWzcepcDff2q3Tk6mOl0T9o=; b=sZjEGJGEP/Lr0ygCFBl+wUUI/iiQ14HHmk/Wc7K9leD9CFaPNLqArPbZaSSOwSKiIS AAFb7Emo8OZl/bYaMmwqEJ8w5NwvhKC3laan6+dwrNFPbqnbKE5qAG/eETY4b6cGf7oY TjGvu4Hue8oVfHZpkvPpcX0lGDHDgw/9YSv1lcp3NhLPLPr5g+IK2rDg6S8CmOO7mx/V HWTOjCLqXQyC+zuGh7RUNHT2h1u/XUCVA1NrhWsLHxZKv8Lh6Ncj1q5+h902c0h3QyMW n5Y6qVzcr4N2cw8nnPBc2Hhildd67sr33TG9NRSXcC1w1MCDvbtf/sJg827C5Uv0VaFj kOtA== X-Gm-Message-State: ALKqPwctpa2R5jpF4uk+BcjCJ2JS6zQvS9tHybqvY7SkZZiY1HzmeW0Z /r8Y7KPr1nKNJJ8kWgenLOi8BA== X-Received: by 2002:a1c:c2d5:: with SMTP id s204-v6mr7850661wmf.40.1527184921559; Thu, 24 May 2018 11:02:01 -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 a129-v6sm5102891wme.34.2018.05.24.11.01.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 May 2018 11:02:00 -0700 (PDT) From: Thierry Escande To: Andy Gross , David Brown , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon Cc: Bjorn Andersson , Niklas Cassel , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] arm64: dts: apq8096-db820c: Removed bt-en-1-8v regulator Date: Thu, 24 May 2018 20:01:55 +0200 Message-Id: <20180524180155.24839-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 --- Change in v2: - Rebased on top of [1] posted a few days ago: [1] https://lkml.org/lkml/2018/5/22/949 "arm64: dts: fix regulator property name for wlan pcie endpoint" 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 7ca6e78def55..2c026b8af792 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-3v3-supply = <&wlan_en>; - vddpe1-supply = <&bt_en>; }; pcie@608000 { -- 2.14.1