Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp13500156rwb; Sun, 27 Nov 2022 06:41:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf7cRMOj9MnPUhAxkN/n4ahLBEMny+QeGQSbiReZZoW0WrrjMNDZq0nEuiEEZw/9bsUHpnUT X-Received: by 2002:a17:903:1206:b0:186:a2ef:7a74 with SMTP id l6-20020a170903120600b00186a2ef7a74mr31300831plh.148.1669560079654; Sun, 27 Nov 2022 06:41:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669560079; cv=none; d=google.com; s=arc-20160816; b=t2hEunSnLQNQka73DGrchjwpYQ3Or+tOaEROe4sDXuYYktOcesLp+qRu8eG9DurLJu CvDrpTuvBAFfC6KKNJmSmrDzb+MCFxax5xzHgyMVaVRm218Sn9/1XvZ1smTtjtIZggUl kgrpPx1PQfXWJZ2ss2YLb09WOzGQTiwnyJvUmRhJXf2ctdyCAv9Imq+Versml8/CvILg TW5Y7PTEgdWCIfcGTZbT8q3vE2CjvAxkk1kDLGSDiMGJ1fgK/dwwpK6jfZzgxqUBQuUz eK5D0E2ww0cRMtVJjoN3PZN5Osmn3udKouTWqR7YY5G1BQWZOeKv8GFA7GstkqY8Lcl2 Epxg== 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=1vfTeChQQv9v5863N3Uu4QywOm7PbCLjbMrq43Cvay4=; b=Z3WBREkWx3dZsF8FEVnRLQ4yG0niR4YQuW2my8wpLW7/U1RmIxjhTwwQNy6i1HrgQH 4fASwLo8BGtmLfNfzN4MJuQMspRwkgVDyfpsTo6pAacVCxulrRZZ8APRgTn4SlRDfYo6 S1zJ5EhFHIVojtO4Ill/2ZCj8iYHQH/RirO9w9YkG1th3pwVBGcy9652irI+Hi0gKBct Jv706UPC9jAWp3rIPYq6d/Kipyt0OT6RUvDwTVtQAIsqlRxgpu9Hxj2OKanU4Z047g+3 fsYyb1l16U5sPK6Jehqxf4ZkAUpD232msyQMwJQFDu9rQvSqRFxL41ZkA8MvyAS93tnN D9Eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kMzeE0W4; 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 h1-20020a056a00218100b0056d7aaaf1f1si9602900pfi.123.2022.11.27.06.41.08; Sun, 27 Nov 2022 06:41:19 -0800 (PST) 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=kMzeE0W4; 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 S229704AbiK0Nex (ORCPT + 84 others); Sun, 27 Nov 2022 08:34:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229496AbiK0Ner (ORCPT ); Sun, 27 Nov 2022 08:34:47 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90468E0B3; Sun, 27 Nov 2022 05:34:46 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id 45346B80937; Sun, 27 Nov 2022 13:34:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 40455C4347C; Sun, 27 Nov 2022 13:34:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669556084; bh=15Z0ekmHQuePHJoUKLWnOyQhgMLVXxeI8O1zqvC62eA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kMzeE0W41o9ATyLoCvawz1PHyfR8wQ5tI/POnlSgNWQJqB1XozqFn9gm3qG3zH7qi dFiACPyFOMbrVX46RQGgeBmXCIRCG3+wsNWb6PjhDseLURa5YbwlMhKeJ01gKzqy2E C8CpvrWHnd6nmbCzIePmzB33vCUGavajB2Y6HmhvNzxDzuQ9Zr0QV7rrFvGzHk8F9y 8RBBHhDQJM5eK8sIBncJdGA+HyY20JP+PGfP+7DK6lTGV1t9ew4x+oxUI0UHGxkmaP ixq5Gkq99QUHiLHuX/Zqt2C/2C5qF/lNwce0Lcr53OcjCACr4ix9uQR5eW1KFvSnys J7umrnIQT73IA== From: Jisheng Zhang To: Rob Herring , Conor Dooley , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Greg Kroah-Hartman , Jiri Slaby , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH v2 1/9] dt-bindings: serial: add documentation for Bouffalolab UART Driver Date: Sun, 27 Nov 2022 21:24:40 +0800 Message-Id: <20221127132448.4034-2-jszhang@kernel.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221127132448.4034-1-jszhang@kernel.org> References: <20221127132448.4034-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 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 --- .../bindings/serial/bouffalolab,uart.yaml | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/bouffalolab,uart.yaml diff --git a/Documentation/devicetree/bindings/serial/bouffalolab,uart.yaml b/Documentation/devicetree/bindings/serial/bouffalolab,uart.yaml new file mode 100644 index 000000000000..a8293444ca31 --- /dev/null +++ b/Documentation/devicetree/bindings/serial/bouffalolab,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 + +additionalProperties: false + +examples: + - | + #include + + uart0: serial@30002000 { + compatible = "bouffalolab,bl808-uart"; + reg = <0x30002000 0x1000>; + interrupts = <53 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&xtal>; + }; +... -- 2.38.1