From patchwork Wed May 10 12:01:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan McDowell X-Patchwork-Id: 92074 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp3588502vqo; Wed, 10 May 2023 05:38:15 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5/LUp8ZI20qObnQ1W5ZaCx2xe43XROKWXo1s+pxyZY/2Ohm+fr4A/9dgRejmFWojvMEZ60 X-Received: by 2002:a17:903:44c:b0:1a6:e1ac:ecb8 with SMTP id iw12-20020a170903044c00b001a6e1acecb8mr17957451plb.43.1683722295050; Wed, 10 May 2023 05:38:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683722295; cv=none; d=google.com; s=arc-20160816; b=kmVVSZNhNp4AS4ZjW37FSJXLoskFTyXponmdg6E/ocKxuj1EC+sS5McGg1Q8zOr8JA 2okZUsbCGpnTWs0noYxesNKaGLnx6VeqAh3fKjF/p3VKPHgin2qYvUY0AFmislSBfKEA 4hvbMEkiKNL1x638j4r1jcmU8NnQRlKvaqE3tUHF9guFXlpoz+I5YACNvcPC4G2jvQ3c IdC5Sps5OKvIJBFrcEI8/2D7V60Bxo2QwNVEf8OD/9Kv/QwLmTKqzJElHCvWHgdDqpXQ tp9DXbEREvYFPKVgMufvJxHYIh5Xl6zdNas44ZLI4AsfQkBrxxIjHNAeEmQrnW+8Ie+g J0ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=bKLK+W81vBKM/pECXVcxEnpWm3L3dUgY4C543mpVQh8=; b=Ez0lHnx7FopMOgS6N4JvuRsFIYaPu4H6XFGoOVpTj9eMKlgG1a+BYALUms8j0rI1Y9 mygHQNEA0rIo4A2cwkx0JM4+pzPbwc4XPjI5aChq/XAGZ4QLe/Y2MjIQjp8ow9ppJF0V NrnOOTAh/v+KXVoOdPHCUU9OLHwmNZDXThh85Qj70Kks9DTWQ/wg8Tt8CU36Tv7mDZCe mZhxM03J4+w6nI8mDBSmyfcJEIfq7ktLHbZW06sRenL3jZPyS9lXhNDV/ej+YAdNgyzz D32HvZX+BDSge7+5r5NewEZwnBnX1HZ8BvTmhur5lC56a2FRLSxzSkmGm5CtxH97jzex s0BA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@earth.li header.s=the header.b=S3TggzWG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o4-20020a170902d4c400b001a9b29b675csi4249594plg.317.2023.05.10.05.38.00; Wed, 10 May 2023 05:38:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@earth.li header.s=the header.b=S3TggzWG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237062AbjEJMgs (ORCPT + 99 others); Wed, 10 May 2023 08:36:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236872AbjEJMgb (ORCPT ); Wed, 10 May 2023 08:36:31 -0400 Received: from the.earth.li (the.earth.li [IPv6:2a00:1098:86:4d:c0ff:ee:15:900d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C4EEAD19; Wed, 10 May 2023 05:36:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=earth.li; s=the; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject: Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=bKLK+W81vBKM/pECXVcxEnpWm3L3dUgY4C543mpVQh8=; b=S3TggzWGud03/eGoUGKY/oIBIb 30ssvG04OkApn7aJUHLqdNHGpvG08YJQuDdPDCleZIu2Hj8XcdZR0+McddD85h7uBivQy/2heezeQ vRoqXe0vSGBnRQBgvskuFIiUVOg45Ti1vQjeqrhBLjp/c6BkmOPkfs/JxS6J8wJYopRcjDvyBNykG QFtlfUi8tIrJsWc6z2Dvx2MSltk2rWQhc+m6s1f2XXiQSWSOfiBxewdhhDcjluc+ETkmJEZSEJumz entf5Q6UF6vb1h0iVY+XNj96agLPdqjowBjhF2R3q1EDC6bdgf1UzKmSJGO3Zxqe+XFRgLYmfQijt CqTMJ4Ng==; Received: from [2001:4d48:ad59:1403::16a3] (helo=earth.li) by the.earth.li with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pwiVy-007ugz-AN; Wed, 10 May 2023 13:01:50 +0100 Date: Wed, 10 May 2023 13:01:43 +0100 From: Jonathan McDowell To: Rob Herring , Krzysztof Kozlowski , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Linus Walleij , Bartosz Golaszewski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org Subject: [PATCH v2 3/5] ARM: dts: sun5i: chip: Enable bluetooth Message-ID: <49ff7f3cc79838a55a89baae09a4ba12c88573fb.1683719613.git.noodles@earth.li> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763266008953076338?= X-GMAIL-MSGID: =?utf-8?q?1765510789225218372?= The C.H.I.P has an rtl8723bs device with the bluetooth interface hooked up on UART3. Support for this didn't exist in mainline when the DTS was initially added, but it does now, so enable it. Signed-off-by: Jonathan McDowell Acked-by: Jernej Skrabec --- arch/arm/boot/dts/sun5i-r8-chip.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/sun5i-r8-chip.dts b/arch/arm/boot/dts/sun5i-r8-chip.dts index fd37bd1f3920..4192c23848c3 100644 --- a/arch/arm/boot/dts/sun5i-r8-chip.dts +++ b/arch/arm/boot/dts/sun5i-r8-chip.dts @@ -255,6 +255,12 @@ &uart3 { pinctrl-0 = <&uart3_pg_pins>, <&uart3_cts_rts_pg_pins>; status = "okay"; + + bluetooth { + compatible = "realtek,rtl8723bs-bt"; + device-wake-gpios = <&axp_gpio 3 GPIO_ACTIVE_HIGH>; + host-wake-gpios = <&pio 1 3 GPIO_ACTIVE_HIGH>; /* PB3 */ + }; }; &usb_otg {