From patchwork Wed Jun 7 09:08:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 103220 Delivered-To: patches@linaro.org Received: by 10.140.91.77 with SMTP id y71csp1831895qgd; Wed, 7 Jun 2017 02:08:41 -0700 (PDT) X-Received: by 10.46.75.1 with SMTP id y1mr9080886lja.87.1496826521354; Wed, 07 Jun 2017 02:08:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496826521; cv=none; d=google.com; s=arc-20160816; b=p5ka+w9/+JcvcO0zFbNZasOgzDf/dykHjxZNhjqDF2Wvf3U0nUXFI4fsDtFp62ki1r 8E+aJ1G3f6mr4HxJUsAwj7LM3jc/U5xE5zv8IQcHKvTCtxHnMfQS0W70tXAAWen4nm5V KNNb+DfD4CLHHvqxaWq8zxZ+cR5FDFZ1v2M8PRX78i90F5a1tvboXjiSl11RR+OtB8zz 7NGof/Cyl/Lp55qtQwV/KIBo/W026lnTqPzeFfSIk4aS9E2SWbvjSwNp8jCk/+dFODpS iOnW43Qot6YdVsskwjqcgeW8mZpY/K7N4a9gJBom+SYxmmz7Ahekz9+YlAbDLSyyaOC3 1E6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=9ijQQ7yUjBojSgmikvay+Ed5zyB8qRfU87vq59UJz/4=; b=Z1UVdBCjXhoy35FQuGMgiuOEtt1XfGz34LHjABmOocD005VKEqPQDvryYw5qRBbxIA XcAOEEw7HDWI7qbLI/9oHrfp7la7ksDxy/iTGpN006J/hrQgcP9mRv2ga0ifi7fPEdKW wesqq+CwOsgGq22/9SQbDiwEB0TA+59ARTNPgDaYOfuoNkEWOPyfFmWOl/7kuamTXyHY wHUyrxYgYMf+biCSJ4YtwY1oG9gCA2fpggnsqfjqi80ixtaAudBCcS2RckxHROCwk0lj z2M8K8K8G1MB5DZWF/ChoAU8uXtTqqkrJbzkwiAdRC0GMOp9QpJqPqGjz+Hi3RWCPNzX QS6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 2a00:1450:4010:c07::22f as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-lf0-x22f.google.com (mail-lf0-x22f.google.com. [2a00:1450:4010:c07::22f]) by mx.google.com with ESMTPS id j73si705653lfi.160.2017.06.07.02.08.41 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Jun 2017 02:08:41 -0700 (PDT) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 2a00:1450:4010:c07::22f as permitted sender) client-ip=2a00:1450:4010:c07::22f; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 2a00:1450:4010:c07::22f as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by mail-lf0-x22f.google.com with SMTP id a136so3054492lfa.0 for ; Wed, 07 Jun 2017 02:08:41 -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:in-reply-to:references; bh=9ijQQ7yUjBojSgmikvay+Ed5zyB8qRfU87vq59UJz/4=; b=WJcV3Cj6yrwoHJ9XUO3//PdrLH7fiNiETxX0GTtSRLPVbmNY/sQHLwCvoO06P4rEia rVAcxidBcgu9MApj8iqvvWYGK9+6df9N44tmx/2e8r/MrBdD5S+0aUxeabkC6MlrVxLb XJknQzcFyWYr5ygU20u8szC9WxRdte12AUEX4= 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:in-reply-to :references; bh=9ijQQ7yUjBojSgmikvay+Ed5zyB8qRfU87vq59UJz/4=; b=KEeoLFBDjgV45pXBHt/vNFMHCpqbGBh0gfwOVm8jqt4dqrdrAA7QYuvbO2vwZ19kfd SFeISlLNTkpr5yidAXrWRUPNJvhqpIECiu8ONBWKcEmJPszhrUrnlWakYi9H0CzfQ3V6 AoANaLQA+LJQZcxjc0aH+bpKtU/EkvpQlTZ0FG5nwjNKDtBVgoNI29iRxYNxrg3/pctW yzBjEhtA8qBWVrf1Z1G9UUCSjTpHvRg/y1TBTMaMWJEuSgnWBhFv7QUUV/g4BqOyxGZ9 irZGD67RnyMY/HrptRNFcNfEMGzBhZhWtMYc758KVFRjfp6JEfwFOlSJNMRkPoCt2JJG MCcQ== X-Gm-Message-State: AODbwcCw64Mk8Y3P7wp3L7HbVa7n4XhgpKq0KXQzfHZcSvVHYX8q/frm F2IVbupGwe8h7JTBH30= X-Received: by 10.46.32.66 with SMTP id g63mr9174554ljg.51.1496826521027; Wed, 07 Jun 2017 02:08:41 -0700 (PDT) Return-Path: Received: from localhost.localdomain (h-158-174-22-67.NA.cust.bahnhof.se. [158.174.22.67]) by smtp.gmail.com with ESMTPSA id e36sm226271lji.49.2017.06.07.02.08.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Jun 2017 02:08:40 -0700 (PDT) From: Ulf Hansson To: Marcel Holtmann , Gustavo Padovan , Johan Hedberg , linux-bluetooth@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Daniel Lezcano , Wei Xu , Rob Herring , John Stultz , Satish Patel , Arnd Bergmann , Olof Johansson , Ulf Hansson Subject: [PATCH 3/3] arm64: dts: hikey: Add external clock to the Bluetooth node Date: Wed, 7 Jun 2017 11:08:22 +0200 Message-Id: <1496826502-1339-4-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1496826502-1339-1-git-send-email-ulf.hansson@linaro.org> References: <1496826502-1339-1-git-send-email-ulf.hansson@linaro.org> To make the TI WiLink chip work again for Bluetooth, let's add the missing external clock to the Bluetooth node, such the driver can deal properly with it during power on/off. Fixes: ea452678734e ("arm64: dts: hikey: Fix WiFi support") Cc: Wei Xu Signed-off-by: Ulf Hansson --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 2 ++ 1 file changed, 2 insertions(+) -- 2.7.4 diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts index 49f6a62..5cdfe73 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts +++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts @@ -141,6 +141,8 @@ bluetooth { compatible = "ti,wl1835-st"; enable-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; + clocks = <&pmic>; + clock-names = "ext_clock"; }; };