From patchwork Fri Apr 12 07:30:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 13627049 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DD47BC4345F for ; Fri, 12 Apr 2024 07:31:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=dOmtko2JKQ2wYBs0TX5s/0EYXUxBuMx+KxvsL0oMDOE=; b=yIrkF6Z+MtSyKX UBrPdvKiA+kGvW84e5frnQ1QReomvpWcEwtFBhGSRen4DBPDpt1TZI5Wk6ckcBmQ01Ap/uWRwH+0F gxsjePKnCTvLmP1n5YlzBnt0AcBwBQbJGPdhCB/OM9sDQ8F1CQTnm2En4WZywExwqAPWAEUuGj5Wb TbcffWOdSvwgPQTebOjp//DCj6/dvl6Q1UCI97t/1Svsi0BJp685p52tGr+E9kHe9yaghSVo3Ifkw SzVnIeFkzhp2SpYjx5SGw4PoLEz770CaljkrUc4/HIR306daTUOMpTHCeBzZS6VSo6KNR9/bPLjZ9 7h8F+hfRNUuZZxAd3GlA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rvBNF-0000000Fqvv-1ain; Fri, 12 Apr 2024 07:31:01 +0000 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rvBNB-0000000FqsX-2aV6 for linux-arm-kernel@lists.infradead.org; Fri, 12 Apr 2024 07:31:00 +0000 Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-6ece8991654so637072b3a.3 for ; Fri, 12 Apr 2024 00:30:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1712907055; x=1713511855; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=0kD8JSa/wlHNA1KdEJbBxgwZ9LZz09AqTXMn/5iB0iI=; b=lDnZT3vWfuqSWp+bCclgLwLjvHzIAV+Jn+77Y/An0uGDp1/m+bH3g1Up8ItD2N695q bHeEsd7Ga7FaMaF2JCJCY/Hnmh/9tNbx7vEWa4dHJ2Lr/0J6kkv+6u8mcDs9zmMVR7PZ lsMolX1jh6/WR3fiopZV1CVvhrwui/p/84EJs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712907055; x=1713511855; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0kD8JSa/wlHNA1KdEJbBxgwZ9LZz09AqTXMn/5iB0iI=; b=ar7Kl8hUPrSbMGbf3UVpy68cTszLWJmTCaoJszUlTn5C1p2QPV6cFKPuxIsQXQmAOe 8wCyYMLJfu+sQc+vz2ZAL8IXsPuIgVv390wpDNE2UEccqy8lL0ejRaRlRZhoDr9D0gjk cMWTTH8bT56SWXnK+kNyUJn1NcAH32Il37gZ9+Q51bF6O84mzj2IeV7L1spHKwmIiv7/ u9XRbXV0/d+mgTQ1JBtaEmN7dg7ptIuU12i4QyTfA1OE93qhkUmj77o3+Elep9pwcFiV ekhJb3Y9TUm/pzRoZW7AHXsjPBmnbqK22DLCcb+3Mh/HP/f25/01iFSrD0wv10mMkvtU oFoQ== X-Forwarded-Encrypted: i=1; AJvYcCXZBigBpDslnTryftcBBEGuL0DRjDrfNM1MPmOYYva8Mxv93xvXqzsftCbcTCXSITFyM2fG736cmJquxOxmp9XZ005i5VAodCgmjy8JggM3P5mkhZQ= X-Gm-Message-State: AOJu0Yx29CypnpVzX1o+upFPtbLGtnWOirinbziPulzoWoIPHs7d5/Zq TWd1FGVbKCyfj1Y6FRT8ENJYQyLcXeW3ts9w09h5MihyiZBo/eejExtUF7+OSA== X-Google-Smtp-Source: AGHT+IH9TJ0GU71I2lqJVSkEubfs2YUSVV/7k6TyMcFaUg5ykPaPZHNJ1QhyNg9VCsr2/J7KXJRL0w== X-Received: by 2002:a05:6a00:3d44:b0:6ea:e841:5889 with SMTP id lp4-20020a056a003d4400b006eae8415889mr2368095pfb.33.1712907054781; Fri, 12 Apr 2024 00:30:54 -0700 (PDT) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:e3c8:6e1:dcfa:3e8c]) by smtp.gmail.com with ESMTPSA id d6-20020a637346000000b005d3bae243bbsm2149609pgn.4.2024.04.12.00.30.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 00:30:54 -0700 (PDT) From: Chen-Yu Tsai To: Marcel Holtmann , Luiz Augusto von Dentz , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno Cc: Chen-Yu Tsai , Sean Wang , linux-bluetooth@vger.kernel.org, netdev@vger.kernel.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/2] bluetooth: mt7921s: Add binding and fixup existing dts Date: Fri, 12 Apr 2024 15:30:41 +0800 Message-ID: <20240412073046.1192744-1-wenst@chromium.org> X-Mailer: git-send-email 2.44.0.683.g7961c838ac-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240412_003057_674755_01288DF2 X-CRM114-Status: GOOD ( 17.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi everyone, This is v3 of my MT7921S Bluetooth binding series. Changes since v2: - Expand description and commit message to clearly state that WiFi and Bluetooth are separate SDIO functions, and that each function should be a separate device node, as specified by the MMC binding. - Change 'additionalProperties' to 'unevaluatedProperties' - Add missing separating new line - s/ot/to/ Changes since v1: - Reworded descriptions in binding - Moved binding maintainer section before binding description - Added missing reference to bluetooth-controller.yaml - Added missing GPIO header to example This short series adds a binding document for the MT7921S SDIO Bluetooth controller. The MT7921S is a SDIO-based WiFi/Bluetooth combo. WiFi and Bluetooth are separate SDIO functions. The chip has extra per-subsystem reset lines that can reset only WiFi or Bluetooth cores. Patch 1 documents the SDIO function and the reset line, based on existing device tree and driver usage. I listed Sean Wang, the original driver author and maintainer, as the maintainer of the binding. Patch 2 fixes up the sole existing usage of the compatible string by making it a proper SDIO function node. Please take a look. Not sure which tree patch 1 should be merged through? I suppose with proper acks it could go through the soc/mediatek tree together with patch 2. Regards ChenYu Chen-Yu Tsai (2): dt-bindings: net: bluetooth: Add MediaTek MT7921S SDIO Bluetooth arm64: dts: mediatek: mt8183-pico6: Fix bluetooth node .../bluetooth/mediatek,mt7921s-bluetooth.yaml | 55 +++++++++++++++++++ MAINTAINERS | 1 + .../mediatek/mt8183-kukui-jacuzzi-pico6.dts | 3 +- 3 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/net/bluetooth/mediatek,mt7921s-bluetooth.yaml