Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp8562552ybi; Thu, 6 Jun 2019 14:48:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqx9VEybOezFle0ftVj0UlsGrXR2MSSBO0hFwNB0PvoMYnySKDBFZF8FeCFsasfHGJguFU9b X-Received: by 2002:a17:902:1e2:: with SMTP id b89mr31036633plb.7.1559857720139; Thu, 06 Jun 2019 14:48:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559857720; cv=none; d=google.com; s=arc-20160816; b=gYBDT/pb16nY4NOo+A/Ka+R9rE/uj5kHfA7CGstFFbVjO4MN0mqcbwfhNYwv3fQeJk JIzXHcSE2uuYZ8F5oUVW0LT7paM0hP+1asSmI+Ql22bBDMjxb1yiUqUQy6fJiAUQQagh 2tYusvjAREUjVlRdEKHjihIzLa1IKXvv+lKKS9jahIo3G+hscTip5wA4rGQp/EBn6IlV fNGmyREWAroFnOpOalhJtgIWKpvGZxe+ReHpBk0Yr4Lfnm04SYTkHuvjaOL1TAz0L7pf efKaP8JK6IfZzmIVzVqj98vxd6rFik9Ow3C4KCRPK/269Pg801sqb3vXeagturz5UisD CWYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=AlGSYF3m5pRxceZLV64eIzJ0xhu9mM8TneWE5MMLmMo=; b=ULlDGxC9KwOjdMZJC9MNJdiX59kThZttUyUD27iDiHEBaZQ17yzggx5JqYPC/RU7ci UDLQjTHDK4J0wuCgeMKwcemADJNX30UUJppJ/lhd64t8Ru6EO5sYC0EEldnYIf0UIV9Q ovRrRkB2DcyNB37QfvUnOKk6ZSS29WLZncfxA/A6HuNvGTt/K+CK9ihQ26MOYU0LviZQ 8gVM2jYiy6mSgzL8hQeV4Q2BBoFjaxPLWqbiU5qgRNcIqiWAwKDMB/lfa0x5dfLXhoZD oZ+6ftzmO8pmEEeYFtEoqWVN9qd5H2OXXyGrGkPrP8EmB1MjCaADhRF1Ybe4BIY+Ax57 qkQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=lfcvSghZ; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q16si205208pgi.222.2019.06.06.14.48.23; Thu, 06 Jun 2019 14:48:40 -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=@googlemail.com header.s=20161025 header.b=lfcvSghZ; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727659AbfFFTwV (ORCPT + 99 others); Thu, 6 Jun 2019 15:52:21 -0400 Received: from mail-oi1-f194.google.com ([209.85.167.194]:35262 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727047AbfFFTwV (ORCPT ); Thu, 6 Jun 2019 15:52:21 -0400 Received: by mail-oi1-f194.google.com with SMTP id y6so2494819oix.2 for ; Thu, 06 Jun 2019 12:52:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AlGSYF3m5pRxceZLV64eIzJ0xhu9mM8TneWE5MMLmMo=; b=lfcvSghZm2oCpWdLgEjYrXEVmh8XE+PsjXfnX3AHi/5voOTkTXZLCTq+seq0WuXEel gtGQ11Z1rgR+Mt1F+lcn7IABiI9vZHDD7nU3a/iM3t7PwlXEjvfNN8k3KEdGWjJ5BYj+ umcRd8UAGrHMIxhJCDMnC/d21mFu5JvnYzfihDu+ibXE6SB1fm6V8AFy2/etSwZeFX5s d/M1M2xQrQYxWua9RLY+hs5y2z8gmaM7EMo1FUTViNaC3BmcGNIbRNSyHc1CRuNrZ8NZ hugYIf7UcC+Tt6/EuroDU5yesWKZEiTJ+nbfBdiqkgs9ssxc4eaooHZgdb1B837ArR+w CF4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AlGSYF3m5pRxceZLV64eIzJ0xhu9mM8TneWE5MMLmMo=; b=GSM0MQSiB4Z1Iwf86/trAFV+OjnaiPyawYwb4ewnnjN7Y1fRv3dJdqmllN1MGq3Ub6 kycs9SutbOpuKaFTEiWOB3muKEyK93HQC2sjhUHL7mDfZrjKU95sCvoQi9xEWpO2I1+Q U18rW/8qeDDGcMj4avPknXYHT3V932Og7tj8cGofdvJ1Eh9/F8VBAmbIdjVS5mTLiYwQ 0c4Z5xvpyI7W0lsLGjmSeakzG69lhnBKYFwrSD237n0TkfBMCrPfj+eqn20XGHKXoRBJ qYxLry9l6ZKIS960+0fu3RxBOHZRGXP7Yiwcv2N87e878wS1WkPE966Hc9dGST8IuPpy fOKA== X-Gm-Message-State: APjAAAWVr1KQUyRX4wfSz91cK1V6JafPLCKBLlh7AQzXAURrBOkHaN9L h8lbJ+qa/VAgKHo+2T34nlmPkW5ictKsWoFRSeQ= X-Received: by 2002:aca:4403:: with SMTP id r3mr1313417oia.39.1559850740303; Thu, 06 Jun 2019 12:52:20 -0700 (PDT) MIME-Version: 1.0 References: <20190527132200.17377-1-narmstrong@baylibre.com> <20190527132200.17377-3-narmstrong@baylibre.com> In-Reply-To: From: Martin Blumenstingl Date: Thu, 6 Jun 2019 21:52:09 +0200 Message-ID: Subject: Re: [PATCH 02/10] arm64: dts: meson-gxm-khadas-vim2: fix Bluetooth support To: Neil Armstrong Cc: khilman@baylibre.com, linux-amlogic@lists.infradead.org, Christian Hewitt , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 3, 2019 at 10:57 AM Neil Armstrong wrote: > > Hi, > > On 29/05/2019 20:08, Martin Blumenstingl wrote: > > On Wed, May 29, 2019 at 12:25 PM Neil Armstrong wrote: > >> > >> On 27/05/2019 20:36, Martin Blumenstingl wrote: > >>> On Mon, May 27, 2019 at 3:22 PM Neil Armstrong wrote: > >>>> > >>>> From: Christian Hewitt > >>>> > >>>> - Remove serial1 alias > >>>> - Add support for uart_A rts/cts > >>>> - Add bluetooth uart_A subnode qith shutdown gpio > >>> I tried this on my own Khadas VIM2: > >>> Bluetooth: hci0: command 0x1001 tx timeout > >>> Bluetooth: hci0: BCM: Reading local version info failed (-110) > >>> > >>> I'm not sure whether this is specific to my board or what causes this. > >> > >> Which kernel version ? > > 5.2-rc2 > > > > it's a Khadas VIM2 Basic (thus it has a AP6356S), board revision v1.2 > > Can you try with : > > clocks = <&wifi32k>; > clock-names = "lpo"; > > added in the bluetooth node ? that did it! I think I also found the explanation why: on my Khadas VIM2 SD card I don't have linux-firmware installed. Thus the wifi driver will disable the 32kHz LPO clock again, breaking Bluetooth are you going to send patches for the existing boards or do you want someone else to do it? Martin