From patchwork Wed Nov 22 14:42:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 1867392 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=F+E65So8; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:45e3:2400::1; helo=sv.mirrors.kernel.org; envelope-from=devicetree+bounces-17963-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org [IPv6:2604:1380:45e3:2400::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Sb3qr10BTz1yRg for ; Thu, 23 Nov 2023 01:42:32 +1100 (AEDT) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 715EF281705 for ; Wed, 22 Nov 2023 14:42:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B73F14BA97; Wed, 22 Nov 2023 14:42:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="F+E65So8" X-Original-To: devicetree@vger.kernel.org Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDFF897; Wed, 22 Nov 2023 06:42:25 -0800 (PST) Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-5484ef5e3d2so7581765a12.3; Wed, 22 Nov 2023 06:42:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700664144; x=1701268944; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=NUFxX9SRRRyGDoDMgzIpg9Kj0aIkUdbV6wP95me/PNw=; b=F+E65So8EnLfusiHMdQAFbHsZmMI9Pv/fml6Xw/zZFp2d9cYxaVOqbgTBZ6qs7o+/t XAa/+b6yfUiU9XwUDD8lRf7WWC9C/dfGnLbYBjJPtVo+oMReBvNRJkbBOTAS52Ug2XOl fyOGMl67QjKoRZZifCdE7leh9s0JLJsFgbqt4UaYo57XefU4+1u7/7ht80pc5LB4FpuH ey0v5/Ng+a1RWNSVk73iCQXd+/0dfvWt5z+ahuapaxiBhVZHpD8fGL5+6F2pkcYSqx0v 7pW/QMrrZ/chBZYYDhJIdLs3pZCcqoakaIdJ/zEiotzOWUt9iTqk1uZOIAY9618ITae6 Lknw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700664144; x=1701268944; 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=NUFxX9SRRRyGDoDMgzIpg9Kj0aIkUdbV6wP95me/PNw=; b=lMSP/WRVbhKrL3z4QOCLQ6QNROZhENOYBKQ1LJDESapGJcVqhA8L8QHeWPWodhLueS eErYdoL71OdLy4pz6wj+WI4n39WYVxxs4qIWlyegkF84QlybDAX4nyoteEyo59o4p7Wg ep88nw25egyW0UA0U6Y3iQc7G6cZ7SJ9KovKIZ7X6JKril4EeEnnfbrdSyIGQ2vq5Thr 6lfc+0sBqiXkIe6HfdS4uJZdVk3f1NjtBs7/LsNalzohn0pIVcEe3YeQAL+uzjpMB2aI yJUmM9P5iEh6nYuMjngq8cJkE9EIaOASGZpTFbVtuoX5CHDr5Ehu+4XmZzskaQLAa33d ToIg== X-Gm-Message-State: AOJu0Yyt5rYuYge1ZrZELD6yLDGKUxVc0KnFi29KcBj7yi/zF3l31vO4 cAwko9/hw6lL1mdzx+Rp7Qk= X-Google-Smtp-Source: AGHT+IFK5dXEW4ujsGpPqd7dGdQoi8bAvwXl2MRkh2CAniFxYCzAEJ5gLklZnE2yuRUSqPvKJOBsIw== X-Received: by 2002:a17:906:cb8d:b0:a00:7937:4460 with SMTP id mf13-20020a170906cb8d00b00a0079374460mr1511558ejb.25.1700664144080; Wed, 22 Nov 2023 06:42:24 -0800 (PST) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id g26-20020a170906349a00b00a0451802b3csm941221ejb.4.2023.11.22.06.42.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 06:42:23 -0800 (PST) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Florian Fainelli , William Zhang , Anand Gore , Kursad Oney , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Greg Kroah-Hartman , Jiri Slaby , Andre Przywara , Alexandre TORGUE , Neil Armstrong , linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH V2 1/2] dt-bindings: serial: add Broadcom's BCMBCA family High Speed UART Date: Wed, 22 Nov 2023 15:42:07 +0100 Message-Id: <20231122144208.21114-1-zajec5@gmail.com> X-Mailer: git-send-email 2.35.3 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Rafał Miłecki It's an UART controller that first appeared on BCM63138 SoC and then was reused on other bcmbca familiy chipsets. Signed-off-by: Rafał Miłecki Reviewed-by: Krzysztof Kozlowski --- V2: Extend "compatible" and rename YAML file accordingly Krzysztof: since I reworked "compatible" I didn't want to carry on your Reviewed in case there is sth wrong with the updated schema. .../bindings/serial/brcm,bcmbca-hs-uart.yaml | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/brcm,bcmbca-hs-uart.yaml diff --git a/Documentation/devicetree/bindings/serial/brcm,bcmbca-hs-uart.yaml b/Documentation/devicetree/bindings/serial/brcm,bcmbca-hs-uart.yaml new file mode 100644 index 000000000000..64ef9eee7be2 --- /dev/null +++ b/Documentation/devicetree/bindings/serial/brcm,bcmbca-hs-uart.yaml @@ -0,0 +1,60 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serial/brcm,bcmbca-hs-uart.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom Broadband SoC High Speed UART + +description: + High speed serial port controller that was designed to handle Bluetooth + devices communication. It supports sending custom frames that need to be + processed by a host system. + +maintainers: + - Rafał Miłecki + +allOf: + - $ref: serial.yaml# + +properties: + compatible: + items: + - enum: + - brcm,bcm4908-hs-uart + - brcm,bcm4912-hs-uart + - brcm,bcm6756-hs-uart + - brcm,bcm6813-hs-uart + - brcm,bcm6846-hs-uart + - brcm,bcm6855-hs-uart + - brcm,bcm6856-hs-uart + - brcm,bcm6858-hs-uart + - brcm,bcm6878-hs-uart + - brcm,bcm47622-hs-uart + - brcm,bcm63138-hs-uart + - brcm,bcm63146-hs-uart + - brcm,bcm63158-hs-uart + - brcm,bcm63178-hs-uart + - const: brcm,bcmbca-hs-uart + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - reg + - interrupts + +unevaluatedProperties: false + +examples: + - | + #include + + serial@fffec400 { + compatible = "brcm,bcm63138-hs-uart", "brcm,bcmbca-hs-uart"; + reg = <0xfffec400 0x1e0>; + interrupts = ; + };