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: 13465018 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 DE022C61D97 for ; Wed, 22 Nov 2023 14:42:59 +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=mdZXe6XInOMpa5WXlV7NgbZIg3KXbolJcDpWqYgtkgI=; b=wj+Fbdoxted4J+ Chl902RBlh6JQADVmXmmFYvpJAb0kwvqNnipFQIXxN1IsXtkvs8XO5AxdqG4pbEHdrnPZa7kdr+eM nCsoa6ws2LR9PNc3CZw/vhftbwP54BewZwzSYSoTtcUdeCKkJHm3a2Ps8Oa6kkKegPej8/3CZFx3o Q88IqFLcgGNJMdgJgC5AJdMZZf0r+du+4N595rpQBgJO/hZTfmRazU3bCzMl/jqoHSt1t+kkEjmTM sIxqKSdCxORWaJODyD2Ho92wZzKNCAcps41tox4RQn5d2N7xOPGkaYXpXObPgETqJuLKhIIcYFi6R SIKVc3XBFtoIPCrWSkAw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r5oQz-00283Z-0b; Wed, 22 Nov 2023 14:42:33 +0000 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r5oQv-00282m-1u for linux-arm-kernel@lists.infradead.org; Wed, 22 Nov 2023 14:42:31 +0000 Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-5401bab7525so9821239a12.2 for ; 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=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=NUFxX9SRRRyGDoDMgzIpg9Kj0aIkUdbV6wP95me/PNw=; b=XMz2bsJR9pP5KjUXksdWTVXUcFxh/XLVEX0VUcQgF1BcRXyJRAj0Z5JT0Ucdt4DVCo C8Jz9Q0itMvfLUPuz3LhTvG0p2wprYko/cXVv4jGBnaI14a8RpVlpSrqaTdhkq+nhTYg gfH6XW78WlwVTc56wG1LgZcbEuyUJXoK42Y6YoCb3jxAGx2x0DQJVaJTtpVGWH050bzk 7qlyUmguOG7Ar7EB26fJCyAB+fL9NqaDOr0QG9aICIHMtAcWRTWtKHBu06dQVqlHDjb9 S5hRLmcZ2gaFr/PCHCg9g5LfBCHmjeDirCOwGmIZzkUiR56ePjrMFRJEjgLE+c+jONe8 rSuw== 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=aVWH4dYc5qa5GJ4+LpOqV9GEGTVbWqhIXjPo0tYGcmTyUoxUuvikRl8lAQZfiyqS30 B2YzZfC9G000o6RoKj3wgzwUO5K8ETDmkbaQ/bj/a2bOlHp8xe5HCpPG+N77Mgd1fmTV 7D99COdUxaA1qnVvS7JgbIMYLrbbKo8jqK70X5sQkrG3Zxy933qaZiG65a67C+JHC4s1 g9+Thz8ScP0S/1513EkWfQDYt09II6pn5WfGwEjlQwSrNEjhLpqLZytopHAhLNxKmnBu NGI86Ym1tagZenAGMAdKK09QS8HAHmWhnYsHOk7euEoeLiS3AXEHeMqcbRJiUDWnrOCe l40Q== X-Gm-Message-State: AOJu0YwPnDMXWzkMi7LLZGXYvaBQ1A/r4ThHcInSUN1D4Q+ScRG3mKOr bk/5UhFqP1AEJI/McBH3NGs= 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 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231122_064229_651792_D359AC7B X-CRM114-Status: GOOD ( 15.47 ) 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 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 = ; + };