From patchwork Tue Apr 30 01:08:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 793820 Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1BED910E4; Tue, 30 Apr 2024 01:09:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=85.214.62.61 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714439396; cv=none; b=lP/g57aegnXvuHXIqv/kJA9okL+tgPSaqLOVg6KOvzZ/9OAVS5Qgq4dJSNW1riMR9MC3o02duEuQIXt4CXEOhlzBraXpBpBrfXXKgamx5X88y5aR6w90m3v6S7mh9aX90q1NYLIaYpS1u8CS0IxjMJeFdgJdskLBHVRvoJP1qZs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714439396; c=relaxed/simple; bh=/sJXoKozAupCSWpu1W8lTQ5x4rwf/UN0w7tfG7JDwG8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CTW/P7efFg9pE/EyCj+1YhVXgBPebYO6F7ozoF9dE6SFdCgMeCV5tVqSfN0t0Ns/uYQkAXkoYYdmjrQDUX/BWcjXEQ1GJBFaHPjXMXIV3pcqyORNlFFxQibt8xBhcOmg5wFokZqvzclLvclk66dRC1uvQLUgT2KeKOQXpGXJKok= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de; spf=pass smtp.mailfrom=denx.de; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b=mdTZSD/M; arc=none smtp.client-ip=85.214.62.61 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=denx.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b="mdTZSD/M" Received: from tr.lan (ip-86-49-120-218.bb.vodafone.cz [86.49.120.218]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id D34A98870E; Tue, 30 Apr 2024 03:09:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1714439390; bh=GVX4kDqJpQ6ZldhzzqP9pD28pwvHfzCAr0kztvdSrEg=; h=From:To:Cc:Subject:Date:From; b=mdTZSD/MQasKkyg9YIdStVbjqzr43D5KDzDDSbi7g36NLmMiznbfKdFgEqcJdKowT D6hPoRr8fjZlWGpb7p/0i8vkYeWyHuJdSKqhvc5AJtXbO+x/GD9336acgjgEO5++CI PUH4TJhSIj4+3bcnuYsIP+eux8dSjO9GiFLT3s8/MzhK4iFI6WfiTsQ/npaHWsqi6s ZFbKD0DiJN4Drldzt3+9EaWyoh9qIGgdhZDuxUEJW3wApHCRqJT9MyYc5EeQuc4oVI NttY3JHuV7QIYDlJg5qIBTcEn0yMkbQ3gaM+fvan1KaSENGvcHQ6vJGiU4rwqVbxrh 4qAfNepoNOQBw== From: Marek Vasut To: linux-bluetooth@vger.kernel.org Cc: Marek Vasut , Krzysztof Kozlowski , "David S. Miller" , Conor Dooley , Eric Dumazet , Jakub Kicinski , Krzysztof Kozlowski , Linus Walleij , Luiz Augusto von Dentz , Marcel Holtmann , Paolo Abeni , Rob Herring , devicetree@vger.kernel.org, netdev@vger.kernel.org Subject: [bluetooth-next PATCH v3] dt-bindings: net: broadcom-bluetooth: Add CYW43439 DT binding Date: Tue, 30 Apr 2024 03:08:42 +0200 Message-ID: <20240430010914.110179-1-marex@denx.de> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean CYW43439 is a Wi-Fi + Bluetooth combo device from Infineon. The Bluetooth part is capable of Bluetooth 5.2 BR/EDR/LE . This chip is present e.g. on muRata 1YN module. Extend the binding with its DT compatible using fallback compatible string to "brcm,bcm4329-bt" which seems to be the oldest compatible device. This should also prevent the growth of compatible string tables in drivers. The existing block of compatible strings is retained. Acked-by: Krzysztof Kozlowski Signed-off-by: Marek Vasut --- Cc: "David S. Miller" Cc: Conor Dooley Cc: Eric Dumazet Cc: Jakub Kicinski Cc: Krzysztof Kozlowski Cc: Linus Walleij Cc: Luiz Augusto von Dentz Cc: Marcel Holtmann Cc: Paolo Abeni Cc: Rob Herring Cc: devicetree@vger.kernel.org Cc: linux-bluetooth@vger.kernel.org Cc: netdev@vger.kernel.org --- V2: - Introduce fallback compatible string - Reword the second half of commit message to reflect that V3: - Add AB from Krzysztof --- .../bindings/net/broadcom-bluetooth.yaml | 33 +++++++++++-------- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/Documentation/devicetree/bindings/net/broadcom-bluetooth.yaml b/Documentation/devicetree/bindings/net/broadcom-bluetooth.yaml index cc70b00c6ce57..4a1bfc2b35849 100644 --- a/Documentation/devicetree/bindings/net/broadcom-bluetooth.yaml +++ b/Documentation/devicetree/bindings/net/broadcom-bluetooth.yaml @@ -14,20 +14,25 @@ description: properties: compatible: - enum: - - brcm,bcm20702a1 - - brcm,bcm4329-bt - - brcm,bcm4330-bt - - brcm,bcm4334-bt - - brcm,bcm43430a0-bt - - brcm,bcm43430a1-bt - - brcm,bcm43438-bt - - brcm,bcm4345c5 - - brcm,bcm43540-bt - - brcm,bcm4335a0 - - brcm,bcm4349-bt - - cypress,cyw4373a0-bt - - infineon,cyw55572-bt + oneOf: + - items: + - enum: + - infineon,cyw43439-bt + - const: brcm,bcm4329-bt + - enum: + - brcm,bcm20702a1 + - brcm,bcm4329-bt + - brcm,bcm4330-bt + - brcm,bcm4334-bt + - brcm,bcm43430a0-bt + - brcm,bcm43430a1-bt + - brcm,bcm43438-bt + - brcm,bcm4345c5 + - brcm,bcm43540-bt + - brcm,bcm4335a0 + - brcm,bcm4349-bt + - cypress,cyw4373a0-bt + - infineon,cyw55572-bt shutdown-gpios: maxItems: 1