Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp783673imu; Mon, 5 Nov 2018 08:43:42 -0800 (PST) X-Google-Smtp-Source: AJdET5ccSeeGuPOpFc5bZXoj2oQ1Zf0q8aCnZame2xU/7vIctaLpkUH9vMEjnvMJQkEPyYeDKksH X-Received: by 2002:a17:902:8342:: with SMTP id z2-v6mr22403262pln.147.1541436222619; Mon, 05 Nov 2018 08:43:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541436222; cv=none; d=google.com; s=arc-20160816; b=0Oddngn4nmwW3dXg7TiVrMZnbM+vDY80mP1xjwTitScirikS5p9mRTLD1MdVg4n36N wyaqEFR2BIJzBp4BpKROQNTchmLtEAHhfqvOq7lJ6WTifzT+nQLfBL8J3vhzJ9XT6UAN AOoRUbDe/l8mwyDZKAYPPA8QdiRbgl5BGmtPiXkpWlgCiws0f3I8Vm4X/cDJ/Gl2uA5/ EEzpLGJPChByTEqwtipe3QYk5JH3fbecfYxDba4uYDGKlVBhNbgx7ELmLSV+lHPmITx5 rbfJ/ypVEJEM+lE7Al+VWVWvz3s9jVQv9MKouJj4SCXIhYr/GMvjH+SwJDW2Hry3ybD+ V4WQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:autocrypt:openpgp:from:references:cc:to :subject:dkim-signature; bh=zmI7+dHKaN8BwVGQDQY0tm20/E9lZzIKXpfq/RUB2ac=; b=wbpm17swOWSnYD9yA2DRF6FISeEUhbREUfy5i5ON5p5rftejc878a47fqVJNUKofw/ iSJPv8C/KzQDGzQzr8TklCbc/2i6UQcdmbxJV5yGAdI4GV1NEyJdbTzsuHmTT6+vfo7i gi/9+NjhOoh5xaHl3Rwd7Gy0qu/1lzSfgpcxp64tYsMjjeeucMkYlA50DvakrGLv75rI xHJGgSXAdgl/bZY1yEdy2PAvBC6JoGuLP13/QONRNd0V5xB7csSE4i96jV4jdYCR3VqS clNWfGRLW5LNCmQbO1n3LA63gaD3GZLNv3kvPWeuW0Bg9hYsWJLqE2nooWLAw5qvlLKG UNYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=XKXW+6Lr; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d17si8942353pgl.484.2018.11.05.08.43.27; Mon, 05 Nov 2018 08:43:42 -0800 (PST) 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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=XKXW+6Lr; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387591AbeKFCDH (ORCPT + 99 others); Mon, 5 Nov 2018 21:03:07 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:38105 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387457AbeKFCDG (ORCPT ); Mon, 5 Nov 2018 21:03:06 -0500 Received: by mail-wm1-f68.google.com with SMTP id l2-v6so8747526wmh.3 for ; Mon, 05 Nov 2018 08:42:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:openpgp:autocrypt:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=zmI7+dHKaN8BwVGQDQY0tm20/E9lZzIKXpfq/RUB2ac=; b=XKXW+6LrYSNpyzSCkm6jpEXF4DUno22+bPgV2L2SBv9lr/QZPLIromqODj/BsadzdV wv+9oe6b1RSW1okE/9F2RTh1e66hlh0eI71FrAGhHVyRbP41T+xkTOiPZRWm+CKNr0An Vsb8xUJo/SGviAtpYL74HZri6dvGCtBHGlXCf1N/znwWxVfE9+Vexwrw7JM1/lZF3efC Tbn/7zZwsa+vn7mHQvuDi/zypIDEQ+MEgcT6MU+wa3mTgx0cFFnCM6Qw5JJJJYlGKQH5 frUJcwm634VzkQx3sBodMjuCrgkeSpe4BLDrWvdM11o0N5Hj3UvikkXgOY6tGJImUiSK FdOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :organization:message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=zmI7+dHKaN8BwVGQDQY0tm20/E9lZzIKXpfq/RUB2ac=; b=kr7cPl8G5tBtxWf+PgGlxkZ7q94gDJi4V3V1V2Q/4wkV0n0ZkBOT/UU6iguBb1rkWa m+AsdymawF8zYaSN761dypk2DPVSZaAmwtCNurdz3C8ogyNPAOV5YbTzNsG07irYPOwN 1vDNkjtTSfcj9V4wQsg8jl6X4iVUX/r9Rf7+5QT/uh365Z2OLJalLG6glYQRb2M5+eg2 Kxr5Peyhw64stjmvqoxSjP79mBdBlIgJVOTR8lCZbBB07YqzZA9a2NcWUguBKitCZSDt n6orIuNZxnK8zbaKtsI8SVYGCuwvz0IbzQxkOsWHDr0oM8+zhgOhFO8W4e/uBdgTXBu3 47ng== X-Gm-Message-State: AGRZ1gJI2AGyafpnfDcMMZUrRiEuab+WyLNXpNQXDNZpT+B4rKI18/JH 1i64to0Tv/w35lAQjTaCJVRw5+hM9V4= X-Received: by 2002:a1c:104:: with SMTP id 4-v6mr6605533wmb.69.1541436153431; Mon, 05 Nov 2018 08:42:33 -0800 (PST) Received: from [10.1.2.12] ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id f67-v6sm22132681wme.22.2018.11.05.08.42.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Nov 2018 08:42:32 -0800 (PST) Subject: Re: [PATCH] ARM64: dts: meson-gxl-s905x-khadas-vim enable Bluetooth To: Christian Hewitt Cc: Mark Rutland , devicetree@vger.kernel.org, Kevin Hilman , linux-kernel@vger.kernel.org, Rob Herring , Carlo Caione , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org References: <1539432427-11779-1-git-send-email-christianshewitt@gmail.com> From: Neil Armstrong Openpgp: preference=signencrypt Autocrypt: addr=narmstrong@baylibre.com; prefer-encrypt=mutual; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAHNKE5laWwgQXJtc3Ryb25nIDxuYXJtc3Ryb25nQGJheWxpYnJlLmNvbT7CwHsEEwEKACUC GyMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheABQJXDO2CAhkBAAoJEBaat7Gkz/iubGIH/iyk RqvgB62oKOFlgOTYCMkYpm2aAOZZLf6VKHKc7DoVwuUkjHfIRXdslbrxi4pk5VKU6ZP9AKsN NtMZntB8WrBTtkAZfZbTF7850uwd3eU5cN/7N1Q6g0JQihE7w4GlIkEpQ8vwSg5W7hkx3yQ6 2YzrUZh/b7QThXbNZ7xOeSEms014QXazx8+txR7jrGF3dYxBsCkotO/8DNtZ1R+aUvRfpKg5 ZgABTC0LmAQnuUUf2PHcKFAHZo5KrdO+tyfL+LgTUXIXkK+tenkLsAJ0cagz1EZ5gntuheLD YJuzS4zN+1Asmb9kVKxhjSQOcIh6g2tw7vaYJgL/OzJtZi6JlIXOwE0ETVkGzwEIALyKDN/O GURaHBVzwjgYq+ZtifvekdrSNl8TIDH8g1xicBYpQTbPn6bbSZbdvfeQPNCcD4/EhXZuhQXM coJsQQQnO4vwVULmPGgtGf8PVc7dxKOeta+qUh6+SRh3vIcAUFHDT3f/Zdspz+e2E0hPV2hi SvICLk11qO6cyJE13zeNFoeY3ggrKY+IzbFomIZY4yG6xI99NIPEVE9lNBXBKIlewIyVlkOa YvJWSV+p5gdJXOvScNN1epm5YHmf9aE2ZjnqZGoMMtsyw18YoX9BqMFInxqYQQ3j/HpVgTSv mo5ea5qQDDUaCsaTf8UeDcwYOtgI8iL4oHcsGtUXoUk33HEAEQEAAcLAXwQYAQIACQUCTVkG zwIbDAAKCRAWmrexpM/4rrXiB/sGbkQ6itMrAIfnM7IbRuiSZS1unlySUVYu3SD6YBYnNi3G 5EpbwfBNuT3H8//rVvtOFK4OD8cRYkxXRQmTvqa33eDIHu/zr1HMKErm+2SD6PO9umRef8V8 2o2oaCLvf4WeIssFjwB0b6a12opuRP7yo3E3gTCSKmbUuLv1CtxKQF+fUV1cVaTPMyT25Od+ RC1K+iOR0F54oUJvJeq7fUzbn/KdlhA8XPGzwGRy4zcsPWvwnXgfe5tk680fEKZVwOZKIEuJ C3v+/yZpQzDvGYJvbyix0lHnrCzq43WefRHI5XTTQbM0WUIBIcGmq38+OgUsMYu4NzLu7uZF Acmp6h8g Organization: Baylibre Message-ID: <277b9fee-de65-41e6-4243-c13142191b5c@baylibre.com> Date: Mon, 5 Nov 2018 17:42:31 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <1539432427-11779-1-git-send-email-christianshewitt@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13/10/2018 14:07, Christian Hewitt wrote: > This enables Bluetooth support for the following models: > > - Khadas VIM basic (AP6212) using firmware BCM43438A1.hcd > - Khadas VIM pro (AP6255) using firmware BCM4345C0.hcd > > The AP6212 module used on the VIM basic has an ID clash with another > device. To get Bluetooth working you either need to apply a kernel > patch to drivers/bluetooth/btbcm.c so 0x2209 loads BCM43438A1 or the > BCM43438A1.hcd firmware must be renamed to BCM43430A1.hcd. > > Signed-off-by: Christian Hewitt > --- > arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts > index d32cf38..7e0717d 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts > +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts > @@ -187,6 +187,13 @@ > }; > }; > > +&uart_A { > + bluetooth { > + compatible = "brcm,bcm43438-bt"; > + shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>; > + }; > +}; > + > /* This is brought out on the Linux_RX (18) and Linux_TX (19) pins: */ > &uart_AO { > status = "okay"; > Reviewed-by: Neil Armstrong