Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1750286rwl; Thu, 30 Mar 2023 00:38:11 -0700 (PDT) X-Google-Smtp-Source: AKy350aboQolTKizuYmIl9Kgye5OTuhyRIALjTI/pyzvL25T+j1DOb08X5lL9b+QDZjKAq1YoTWZ X-Received: by 2002:a17:906:74c3:b0:933:fa42:7e36 with SMTP id z3-20020a17090674c300b00933fa427e36mr1137828ejl.5.1680161891652; Thu, 30 Mar 2023 00:38:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680161891; cv=none; d=google.com; s=arc-20160816; b=T3jytiKFjsdIyhvV5N87xI+OZreSmAneOH4VAvxVXSqwAv4Mlh/lITcMT7a00F5gG+ yb0fMLkB36JEL79PiL7ASGKMC65NpI+7fGJ1vImwCMtRQy0kn/yz6V+IIH6L3kVap2lw t4bEPSFRQGzD6j+/neAy4P8wkzPcOrqum5vvYnLkjVHK/wGDmtfqo0zH3FxvqlDGskFa CElVNbxKCy2yZ76EE/AvJDQCjruE+aevHIQXWQrvbjEbDzB11VILjQxKedWFB4FZySwX OcVQCIvxJTAX6IMeufnlshTEo+rQ8EgXuAZUsmdV/9pJc2S1TG3mE+z8fxz0b7ZSEawm Wd7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=P604ZsnbOAq+v946nFOReMjJ0gLlyxAiHWhlhNsrYw0=; b=lRydyh9EjBRmV2qZS55zBwg6QZ7RpKxwhJfg4O4nPByDUZZ0cdAroodUBTTbFKQ6JT C9Z/rRLGimYuWwbyMu+nJKY7fGyjZ4zeptFI3DmoXsAsQAlEX2GROelGueLRrkIy/+qv GnPRodGiQagW7ktU3fkh5c3NC/WKl19TZqHF8I3JYXCeoUOoHfuF6ODEEtMMhccPxYnh byDqoaiqblXmUvbVspYgVihWRKz7NTbsnYPJLJ2CrjNnr+kehPBq8g3VPkknTvVqinef rLUBJO1U3hA7Cj0nODiPmnB5ANJJtjogOxphafNUJl7BMl59YIbbmrhwoBKDdmIOLbpk xg4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xsBSmoe8; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dx19-20020a170906a85300b0092533cf4684si33093087ejb.961.2023.03.30.00.37.46; Thu, 30 Mar 2023 00:38:11 -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=@linaro.org header.s=google header.b=xsBSmoe8; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229846AbjC3H3G (ORCPT + 99 others); Thu, 30 Mar 2023 03:29:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229784AbjC3H3E (ORCPT ); Thu, 30 Mar 2023 03:29:04 -0400 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A5804220 for ; Thu, 30 Mar 2023 00:29:02 -0700 (PDT) Received: by mail-lj1-x231.google.com with SMTP id bx10so313734ljb.8 for ; Thu, 30 Mar 2023 00:29:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680161341; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=P604ZsnbOAq+v946nFOReMjJ0gLlyxAiHWhlhNsrYw0=; b=xsBSmoe88rD4Sr50VffU0fNEmBXRlUvvh8TDt27Dyhnm/kFhaJgj6ixqWOG1gJEalG Gxk7TY4Wedj4oBTt3khUI1y4Wf4zkvkqbiEeEFcns06tTP432Z7/Qmf+NIWItV0n0wfm zBO2SfmMO+X7Up696N9Qv7TqKTmGWqpcUiSTWmn10E0hS3OFpGVjzbBIunnVmSwzCpvc SSrsRxs3V6XdnLIWDaErDgWxTORmKZUJULS197zoUnxTX13CnlBhQxldDkmByUVrbMAp hUtx5UeLkqsZKFNkDn5HxGn2av3vfGwjkW4PkeDiihQ7bXL047YlBzlu51Ozw+p5v1WB c2Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680161341; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=P604ZsnbOAq+v946nFOReMjJ0gLlyxAiHWhlhNsrYw0=; b=Zt9I7O+1KCBQ+fCwKtkLZ8z/VUCMJDtsmJJ2t3ESwXfyHj7mDOar+Bt+0OUCGqd+kw 7jeMSMnfM0hgqK1OGgOAqQL6O/F8pI8Sa6m2oIZTQ0C5vZAkV4FlkqFS8w65/5Zu6O1M gnOnTqswObwFSwlZUMzK1isInoszpgSfQ4msaFi/PLbal+MiHsPMx1ZNCnZfkb9gZN+h +IFNSrSB61x/wzUf7vj1cPvYHwzBZysDwhEVM3rdrj+TAsvGbyY3CZCRRONGOL32ysF7 ohZv1PLw3p8PXXf8OtmJLNqR1BO/YbbDh2ZmE1/ikSyS9lEw3nt0wNssnQP/+VQrkZfu 9n0A== X-Gm-Message-State: AAQBX9eXHJhR36WEMOIT0eO4Y8I/kBYJ0WNxfLAPBTjX5Fkbm7VJqGnK PCf+bqYwv9UMqyQLBv1QcFqoqQ== X-Received: by 2002:a2e:8496:0:b0:2a0:202c:93a7 with SMTP id b22-20020a2e8496000000b002a0202c93a7mr7000613ljh.14.1680161340777; Thu, 30 Mar 2023 00:29:00 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id 2-20020a05651c008200b00295b59fba40sm5768016ljq.25.2023.03.30.00.28.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Mar 2023 00:29:00 -0700 (PDT) Message-ID: <9cd03cb0-0924-3431-8fe3-4d5f4a27b1a1@linaro.org> Date: Thu, 30 Mar 2023 09:28:59 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH tty-next 1/2] dt-bindings: serial: ni,ni16650: add bindings Content-Language: en-US To: Brenda Streiff Cc: Gratian Crisan , Jason Smith , Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Jiri Slaby , linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230329154235.615349-1-brenda.streiff@ni.com> <20230329154235.615349-2-brenda.streiff@ni.com> From: Krzysztof Kozlowski In-Reply-To: <20230329154235.615349-2-brenda.streiff@ni.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 On 29/03/2023 17:42, Brenda Streiff wrote: > Add bindings for the NI 16550 UART. > > Signed-off-by: Brenda Streiff > Cc: Gratian Crisan > Cc: Jason Smith > --- > .../bindings/serial/ni,ni16550.yaml | 53 +++++++++++++++++++ > 1 file changed, 53 insertions(+) > create mode 100644 Documentation/devicetree/bindings/serial/ni,ni16550.yaml > > diff --git a/Documentation/devicetree/bindings/serial/ni,ni16550.yaml b/Documentation/devicetree/bindings/serial/ni,ni16550.yaml > new file mode 100644 > index 000000000000..4ac1c96726f8 > --- /dev/null > +++ b/Documentation/devicetree/bindings/serial/ni,ni16550.yaml > @@ -0,0 +1,53 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/serial/ni,ni16550.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: NI 16550 asynchronous serial interface (UART) > + > +maintainers: > + - Brenda Streiff > + > +allOf: > + - $ref: serial.yaml# > + > +properties: > + compatible: > + items: You have one item, so remove item. > + - enum: > + - ni,ni16550 As Rob pointed out - you did not test it at all. > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + clock-frequency: true > + > + transceiver: Missing description, type and maybe vendor prefix if this is not a common property. Explain what's this. > + items: Not a list. > + - enum: > + - RS-232 > + - RS-485 > + > +required: > + - compatible > + - reg > + - interrupts > + - clock-frequency > + > +unevaluatedProperties: false > + > +examples: > + - | > + serial@80000000 { Broken indentation. Use 4 spaces for example indentation. > + compatible = "ni,ni16550", "ns16550a"; > + reg = <0x80000000 0x8>; > + interrupts = <0 30 4>; > + clock-frequency = <58824000>; > + transceiver = "RS-485"; > + }; > + > +... Best regards, Krzysztof