Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3728521imm; Mon, 30 Jul 2018 02:19:41 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcxqauomm9NXmSAk1wjGLKu3J2skjCTgGswMCyzNx6XCAGU4Z6RUzWLVRkn64V9vv6yNbhP X-Received: by 2002:a17:902:5a3:: with SMTP id f32-v6mr15769545plf.286.1532942381742; Mon, 30 Jul 2018 02:19:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532942381; cv=none; d=google.com; s=arc-20160816; b=YTe9PUFyeHLvztJtoP9b8z0K3mC4N+FPhllT4Ru2UvKvqI3SqIIK/byES6VK7CK9Yx UVVeneWup7nQ5f2fLVUxZBbCAGOnWJWiAVZfy8xyR1d//rgS/BKxKuSbPHvvJjh2htWn OEMa2sNPFblP6gmEJqAe0bT6CFS/P6MeOI+q1uZYvfpnrzKoJUmDLOXbYG4vGntmevfx PgAj8TiWsL9rDkMd3kBv1eeP2YBnsdAfBfF/qIoN3F+UDl10CcD/SOY8aPwkKplUyAph p7Opx8CQhQPMbgeTsyLOgRTTzt6irycvv3F04eeK6VecniIo4h0LIiPrDSwpzt7bXT33 5e/Q== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=Yb2OfxeJi1s3dsTFHzzft/KwHps7nJy0mu4sdY63Lck=; b=wx4EptdLW/YlLY/Bl28UXg40gcFO3pWRCxQzH//QJpeWnNqqQesoXL2Os4c0SFvvVp sg58Pa7T0lDz96Q6j6fCIQhfUzJqgQ0GO7VcYAx+9oo1195F962T5l5htQ9YzeMxA/27 kKXTGZhT1Vzvvkal72Si+Q+VZ1wAAhYAccZLjAT9HA3ZsMiZWFaBOaAp+CiSebsk4A9O 1h1E4hdSwlO4ru19gHK8QW++moqMRV2JC15TYXhH/g6u+src47Hp7i24qAJkZJwkA7K/ fONjXN8x2pdVHJLKOMjzXrTfmRv81+9vw9eUHMN+xv5Sv1eoksRt+8+sFk9MW1o8mUFo +0VA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kynetics-com.20150623.gappssmtp.com header.s=20150623 header.b=Q7yEifn3; 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 a74-v6si11055587pfe.301.2018.07.30.02.19.27; Mon, 30 Jul 2018 02:19:41 -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=@kynetics-com.20150623.gappssmtp.com header.s=20150623 header.b=Q7yEifn3; 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 S1726760AbeG3KwI (ORCPT + 99 others); Mon, 30 Jul 2018 06:52:08 -0400 Received: from mail-qt0-f180.google.com ([209.85.216.180]:44044 "EHLO mail-qt0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726604AbeG3KwI (ORCPT ); Mon, 30 Jul 2018 06:52:08 -0400 Received: by mail-qt0-f180.google.com with SMTP id b15-v6so11297297qtp.11 for ; Mon, 30 Jul 2018 02:18:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kynetics-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Yb2OfxeJi1s3dsTFHzzft/KwHps7nJy0mu4sdY63Lck=; b=Q7yEifn3NfA5RVsGAYN2fJ8mjnzm/2X9FF+fV8O5iH64b5q0i8Gj6GLAf9J//9+KsZ Mw48ZQAOYdzOboi1abSCF79sQ5y29yOt3McjfzVZXgvfHgxSWGAxCncTVkb5GV8vo7UQ e6mJFRP5WZcQ67c6OGwJR5W2efrp7lPakzUrBTKAe7Z6EGBIWocMEwbV4TkMqj5mCEcy vzPlfk0tCo+5YTK11lngazbedE6NcCra/VFd8Md1ZAh7vB49ry4baF+HP6o1sMMZpDix fmQf95BxY3dSD1BmKpNYiXG8Z4m34jzn01WkZv6XNAbtQuul+A+qmNHNXU5kZATFOq/I RlIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Yb2OfxeJi1s3dsTFHzzft/KwHps7nJy0mu4sdY63Lck=; b=lRjmGWlgvf6uLRIAOjM1aUTHsCc9rtDtJ8u4N/ZKJt+3z2HAK6rTL5x3COJM6n3Aav OhDnW4sHkM/aheoSDkGfdLL+l4GeoAtOcE19P4pBJDQa0ZIrKZqTaNSXKD+kXi00bGgA Ss9gR9lbi9w5ElekTXtUmF0PlbaxSkddChw6ypY47HszD2FNrnqzh5/BLqgdpUTZwgyz JYA5oeIvh15H4LpVvrIlx7mvWKA7cxjFzuaZbxS3erTfcutki/Lf51/HfqjDqRlqR0V5 Y49pU31WG1WSIJeVfbr6imu5Hc35lG4tjHBEfaDVN2SW8OpkhB6zKvQ9NMpWpwKD3SIC 3YMg== X-Gm-Message-State: AOUpUlEd5GY6tsZsQEuDM2Wc835Lm+kvJ5zto+tAsASIatDi51pq5WO5 qokt7Jg0ex4Qs7EfM+EJPa45QD3lJc2ZH1GFzlGCPA== X-Received: by 2002:a0c:994c:: with SMTP id i12-v6mr14349309qvd.24.1532942284503; Mon, 30 Jul 2018 02:18:04 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ac8:959:0:0:0:0:0 with HTTP; Mon, 30 Jul 2018 02:17:44 -0700 (PDT) X-Originating-IP: [79.7.224.57] In-Reply-To: <20180730084519.iqyhvocxsfuopze7@flea> References: <20180727125739.22871-1-diego.rondini@kynetics.com> <20180730084519.iqyhvocxsfuopze7@flea> From: Diego Rondini Date: Mon, 30 Jul 2018 11:17:44 +0200 Message-ID: Subject: Re: [PATCH] ARM: dts: sun8i: Add initial Orangepi Zero Plus 2 H3 support To: Maxime Ripard Cc: Rob Herring , Mark Rutland , Chen-Yu Tsai , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, Jagan Teki 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 Hi Maxime, On Mon, Jul 30, 2018 at 10:45 AM, Maxime Ripard wrote: > On Fri, Jul 27, 2018 at 02:57:39PM +0200, Diego Rondini wrote: >> +/dts-v1/; >> + >> +#include "sun8i-h3.dtsi" >> + >> +#include >> + >> +/ { >> + model = "OrangePi Zero Plus2 H3"; >> + compatible = "xunlong,orangepi-zero-plus2", "allwinner,sun8i-h3"; > > The H5 version doesn't make that easy, and it's unfortunate, but we > should have a different compatible for the H3 and H5 versions. > > What about something like xunlong,orangepi-zero-plus2-h3? Yes, I think this is the only reasonable option. I'll send v2. > >> +&uart1 { >> + pinctrl-names = "default"; >> + pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>; >> + status = "okay"; >> +}; > > I guess it is the BT chip? Which chip is it? Yes, according to schematics Bluetooth is on uart1. It's an Ampak 6212A with a Broadcom 43438 chip. To my understanding it's the same chip in the Raspberry Pi 3 B / B+ and Raspberry Zero W. I've tried to integrate support for Bluetooth with the following: &uart1 { pinctrl-names = "default"; pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>; status = "okay"; bluetooth { compatible = "brcm,bcm43438-bt"; max-speed = <2000000>; shutdown-gpios = <&pio 0 10 GPIO_ACTIVE_HIGH>; /* PA10 */ device-wakeup-gpios = <&pio 9 2 GPIO_ACTIVE_HIGH>; /* PL2 */ host-wakeup-gpios = <&pio 0 20 GPIO_ACTIVE_HIGH>; /* PA20 */ }; }; but the hci_bcm driver doesn't load automatically and doesn't probe the device when loaded manually. I haven't investigated further. Diego Rondini Sr. Embedded Engineer Kynetics www.kynetics.com