Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1168132rwd; Thu, 18 May 2023 08:45:39 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4rozL1qDK/UhuFCOJzoj4fthVUa3L+HmLvdjVES+RE3fGiu3vvVDcXSqyiqFM+gVPekjK1 X-Received: by 2002:a17:90a:eb02:b0:246:8497:37c5 with SMTP id j2-20020a17090aeb0200b00246849737c5mr2989846pjz.46.1684424739483; Thu, 18 May 2023 08:45:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684424739; cv=none; d=google.com; s=arc-20160816; b=C7UqoMBYgGWYf7ZdcBXfP0IRCP300Q04fZOnzqkqKj3oMXhavQ8ttOzcHXwgyb0nl9 WIAdbFoR62TGt/1WkPuvOLW20dAzm/oJgCalWsxdUBc0Tr9/VSXLctI8LXnd9oDkNABi UAJZDzeaFvK8a6HUWS7DOaXvhpwu+wcwhd8Qec3sfrumdRJY579Utk9PDBCR538uvLR7 sjowai/QFruHNlmw4hgB8KGFw4Rk0uJs2hOGX0l0XIKvL5YdESOIe8gp5by0XaUFXcA2 cXV8Vl6zJU26hSC5FVZU77ECgRaUx68suCdk7rrxW4PWDfpjrAdYauepTAY5IEDIhDtE 6K9Q== 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=Rl3mNniocQJGMJfQ8MAxsuhCeIjcdc4RcuKkhhaquh0=; b=aOHt5722fcNERbJolSOPrHLOUavoeu6va+ee9M6LG0mcO8UxXa9m3YtpQfPhjsIikd saNtyH4FMdvNyU/9A5pzRciDLmm9/vqmcVJ+JGwDzpSxIsXWNk/QAxZtEAxW393lInCZ gYveGT6MJMMP8yu/I0ba1OoaQhe5ujO3dcOhMpR8lIdijwdlECpnDdxHXuHKaUPJJhM3 XqQN6GIUEV8UIA9SAn0jFZU7svLie70wMCNjmhZ7baL7EKRha2xUgwzWdapL/C6TLuZj B6lATselki69gH5IjvMdBUL4nX6F30ay7D5iIpjBIRbdyj8GjwFOKdeDMIpeoVLM7X21 35pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XitzRxz5; 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 t4-20020a17090aba8400b00253667cf6e4si1616421pjr.20.2023.05.18.08.45.23; Thu, 18 May 2023 08:45:39 -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=XitzRxz5; 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 S231565AbjERPeW (ORCPT + 99 others); Thu, 18 May 2023 11:34:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231834AbjERPeS (ORCPT ); Thu, 18 May 2023 11:34:18 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82FC01A5; Thu, 18 May 2023 08:34:09 -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 E720E65032; Thu, 18 May 2023 15:34:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1CA78C433D2; Thu, 18 May 2023 15:34:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684424048; bh=zFBld/tZ7AocfQGxbusrEecyvSpoa50rSwNlH5iRWjo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XitzRxz5Rw0UPEAf7onUmdsyr6vVL8LorK/a66OO02ggd2WVcaL4WokSqmKOZqkhP zZou1910bYLnFvJYJqMxtyPGX//KwAubDr0a/RBZsT9IYwitdjKWhHMev2b9mX/S01 9JsJkceJx50s3wF8p3q0N3jSu/CW0TCJmOKOy/ZF+iCENJfeFKEEkDsd/HIjuMcTgi PmhRUjNNM3y//fdiu2DK1qpQMC4DruKIm5CZW/DAUzOVv08ngc3MV+AJLzSoqfJFet GhU/RPQGMYyvkRZK5Y8ix0R9+j7KUuv/0Js3IpI/8nOGfo88SnYUOf1myVOGJrNLb9 2cjJFZjKRK4gQ== 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: linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-serial@vger.kernel.org, Palmer Dabbelt Subject: [PATCH v4 03/10] dt-bindings: serial: add documentation for Bouffalolab UART Driver Date: Thu, 18 May 2023 23:22:37 +0800 Message-Id: <20230518152244.2178-4-jszhang@kernel.org> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230518152244.2178-1-jszhang@kernel.org> References: <20230518152244.2178-1-jszhang@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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..0ef858e50efb --- /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,bl808-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