Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1035583rwd; Sun, 14 May 2023 11:05:32 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5mmsypTW/2/6hJFQ/q4KUIgLBnTuIPdJlRTddInMA3nUrQCsMxbz0OxySP3AiFmW/4IbAA X-Received: by 2002:a05:6a20:432a:b0:100:5a09:4524 with SMTP id h42-20020a056a20432a00b001005a094524mr28660086pzk.31.1684087532052; Sun, 14 May 2023 11:05:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684087532; cv=none; d=google.com; s=arc-20160816; b=t2XSA1Kyzb7RD5qTQJOuLZCXWHGT3eHyPxEuB+zY/5lc8hhHCgnm46B9QG9fjYP88a Ya5n5h1j+V61BUHm+KS+RTNe+WtFx8e/AR996HkQHDzY5UntdkWpb3bw90EW2bLJ1rou oPNrm1J/TqYThxRuFs7zqXeZ7qzK1XOn/olHG9mhvJOX37PlyNNOj0eAlMOepc2Z5wNx 0E8YPYDYcO50ObXic9KTUyPOrHKU+hDC8TGweeAyQq5eOlKF5YTdrVOKrf0sDKLyg+TG k3depPSSYyTcdepDzMNZlY0E45YK+I5CbZT7PSLdleQgKLlyCA32KzQNnXWp3bnXi5BD Ncaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2WsIBiNzmBd9269+1GXX0BOfx3jv1rBtqspJ3qvNujU=; b=fzuMSHfZ/CF/CIiSIJYk4QT30KXQrYnlTN14x1w3mglkKHN13/dwRxLjlHUBzdfsNG tOuVFsqzzE3hayZhagEaGchhcjqaw4JsM4JorjTHmdTy+HwNRQ6qV6wYsz1foaVDLuoj NJUW3N3JFX6R9V2bvNqzx2DgijigOy4SMcywRlnu1y5IGLNDwqXRbuE4iFx0uHMYFQ0G giFnSv22U3zjKs3on8NI+999dgBKSHjNTSW5u+UR8Gv5+B/C8ighcZg/njJDv1jnl89f ZML+vbBZnJIYebKk/+pf3S9twdK5DG2ngEkr/abAgXjRSQHZfy68rYK2VXh+N95l4NfP V4jQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="tG6Br1/S"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b5-20020a63eb45000000b0052cc0b8d59dsi14241044pgk.798.2023.05.14.11.05.08; Sun, 14 May 2023 11:05:32 -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=pass header.i=@kernel.org header.s=k20201202 header.b="tG6Br1/S"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237524AbjENRIc (ORCPT + 99 others); Sun, 14 May 2023 13:08:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234837AbjENRIP (ORCPT ); Sun, 14 May 2023 13:08:15 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38F0A3C28; Sun, 14 May 2023 10:08:14 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 073EF60A48; Sun, 14 May 2023 17:08:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2D288C433D2; Sun, 14 May 2023 17:08:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684084093; bh=nF3JL8RuDBTKyjXk/txorqM8FS90ktPyRcC6WV+BXac=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tG6Br1/S61N0FCgxfIiQATh1yxfuBb8K/Yabe3bjet9eBWbOL0vJkwkycEoVMoE6y z+kggXrwf7qlBT2iUon62jUuaZvp8fjHD1fE+nqnTWq+Bi/y5xKgzaXWdv1LjjvJmL VRuIKmRZVL9jTvTInG2UtBEvFoLGVmVd9SyeqCGyCdN0G9KlskIWA8yF/QJicLcyP6 ZG4ell1KsWxVqkzyTYvrywz8wK0TV2ie0/V76hwxIq63tdfac2Z485UrrjsO2r1+KB NNm+LNx2yFWim8lgmkTrbPMnXV2QRpo+jRQm3RcU9K1KeNQrYIzZZGqAfsjsjPip5x lY3yJRN7z/r/Q== From: Jisheng Zhang To: Thomas Gleixner , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Palmer Dabbelt , Paul Walmsley , Albert Ou , Greg Kroah-Hartman , Jiri Slaby Cc: Samuel Holland , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-serial@vger.kernel.org, Palmer Dabbelt Subject: [PATCH v3 03/10] dt-bindings: serial: add documentation for Bouffalolab UART Driver Date: Mon, 15 May 2023 00:56:44 +0800 Message-Id: <20230514165651.2199-4-jszhang@kernel.org> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230514165651.2199-1-jszhang@kernel.org> References: <20230514165651.2199-1-jszhang@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Add bindings doc for Bouffalolab UART Driver Signed-off-by: Jisheng Zhang Acked-by: Palmer Dabbelt --- .../serial/bouffalolab,bl808-uart.yaml | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/bouffalolab,bl808-uart.yaml diff --git a/Documentation/devicetree/bindings/serial/bouffalolab,bl808-uart.yaml b/Documentation/devicetree/bindings/serial/bouffalolab,bl808-uart.yaml new file mode 100644 index 000000000000..e1c2c8ac88ab --- /dev/null +++ b/Documentation/devicetree/bindings/serial/bouffalolab,bl808-uart.yaml @@ -0,0 +1,47 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) 2022 Jisheng Zhang +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serial/bouffalolab,uart.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Bouffalolab UART Controller + +maintainers: + - Jisheng Zhang + +allOf: + - $ref: serial.yaml# + +properties: + compatible: + const: bouffalolab,bl808-uart + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +unevaluatedProperties: false + +examples: + - | + #include + + uart0: serial@30002000 { + compatible = "bouffalolab,bl808-uart"; + reg = <0x30002000 0x1000>; + interrupts = <53 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&xtal>; + }; +... -- 2.40.0