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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0B0DC27C76 for ; Sat, 28 Jan 2023 09:22:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233338AbjA1JWU (ORCPT ); Sat, 28 Jan 2023 04:22:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229464AbjA1JWR (ORCPT ); Sat, 28 Jan 2023 04:22:17 -0500 Received: from sender3-op-o19.zoho.com (sender3-op-o19.zoho.com [136.143.184.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 778B2EC55; Sat, 28 Jan 2023 01:22:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674897723; cv=none; d=zohomail.com; s=zohoarc; b=jw5wUlkaB4m9q6pEVFsXF4b0811CfM9e1oARm78QqCfwHPUUfgsa9Wp29SR8pJnobS6IG5bmDeswqGzw1GrXYbTdaRdtQ7qHdH9po+flVI7v55xGzI1PNvj9199+C8KP5VqWdtWiT4z0KPWhj2ciEy05gPKV/CbPnXF/UChaA7U= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1674897723; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=c3mLu0aZy6uOCJK19gTsXRIo6vWN4vTKXGm5RXWhOI4=; b=iH+7iZmRSJ7e/C4oRmWspY9B4dtW4Tj//sFvEcs1qKd5H7GRMTPzUPFa0tUODkJpcOj9YRBEbQCC9X7+yJe/TcqLZqHL5qxsHdTl3WJfaDhcFIYmPfPmDmigTHm9Ljb92IX7QeNHGzt+H3OgjRPCITdxhVAV4yKPYfMrrVhNnn0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=linux.beauty; spf=pass smtp.mailfrom=me@linux.beauty; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1674897723; s=zmail; d=linux.beauty; i=me@linux.beauty; h=Date:Date:From:From:To:To:Cc:Cc:Message-ID:In-Reply-To:References:Subject:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=c3mLu0aZy6uOCJK19gTsXRIo6vWN4vTKXGm5RXWhOI4=; b=JxoTha8s2+otH6d+ax19Tof19CtLi63UqtDiyo0aXLmgjYvqpyaxsv+b0UCdAj2y y4xrYVwt7gOijtCWM4C0vYarNj7tBJsQN2P1O4gXSeIf7VJruyrPZpNOBT3LPgJYn/J yXnQZAHAV1H5t5UBduBdVTUBffOVPHy5vXpGpokU= Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1674897720911736.6953243528183; Sat, 28 Jan 2023 01:22:00 -0800 (PST) Date: Sat, 28 Jan 2023 17:22:00 +0800 From: Li Chen To: "Krzysztof Kozlowski" Cc: "li chen" , "greg kroah-hartman" , "rob herring" , "krzysztof kozlowski" , "moderated list:arm/ambarella soc support" , "open list:serial drivers" , "open list:open firmware and flattened device tree bindings" , "open list" Message-ID: <185f7af063c.f732379f485828.699470667125550366@linux.beauty> In-Reply-To: References: <20230123073305.149940-1-lchen@ambarella.com> <20230123073305.149940-10-lchen@ambarella.com> <87wn5bgcrv.wl-me@linux.beauty> Subject: Re: [PATCH 09/15] dt-bindings: serial: add support for Ambarella MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Importance: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Krzysztof, Sorry for my late reply. ---- On Wed, 25 Jan 2023 17:56:15 +0800 Krzysztof Kozlowski wrote --- > On 25/01/2023 10:54, Li Chen wrote: > > > > Hi Krzysztof Kozlowski, > > > > Sorry for my late reply. > > > > On Mon, 23 Jan 2023 16:11:52 +0800, > > Krzysztof Kozlowski wrote: > >> > >> On 23/01/2023 08:32, Li Chen wrote: > >>> Add compatible for Ambarella. > >>> > >>> Signed-off-by: Li Chen lchen@ambarella.com> > >>> Change-Id: I32513d98f52af0311dfb55dd5c4739a58f6b9fc1 > >>> --- > >>> .../bindings/serial/ambarella_uart.yaml | 57 +++++++++++++++++++ > >>> MAINTAINERS | 1 + > >>> 2 files changed, 58 insertions(+) > >>> create mode 100644 Documentation/devicetree/bindings/serial/ambarella_uart.yaml > >>> > >>> diff --git a/Documentation/devicetree/bindings/serial/ambarella_uart.yaml b/Documentation/devicetree/bindings/serial/ambarella_uart.yaml > >>> new file mode 100644 > >>> index 000000000000..238d68078270 > >>> --- /dev/null > >>> +++ b/Documentation/devicetree/bindings/serial/ambarella_uart.yaml > >>> @@ -0,0 +1,57 @@ > >>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > >>> +%YAML 1.2 > >>> +--- > >>> +$id: http://devicetree.org/schemas/serial/ambarella_uart.yaml# > >>> +$schema: http://devicetree.org/meta-schemas/core.yaml# > >>> + > >>> +title: Ambarella S6LM SoC UART Controller > >>> + > >>> +maintainers: > >>> + - Li Chen lchen@ambarella.com> > >>> + > >>> +properties: > >>> + compatible: > >>> + const: ambarella,uart > >>> + > >>> + reg: > >>> + maxItems: 1 > >>> + > >>> + amb,ignore-fe: > >>> + description: | > >>> + ignore frame error report for CV2/CV22/CV25/S6LM because it's > >>> + checked too strict so that normal stop may be treated as frame error. > >> > >> Missing type. I don't understand why this is property of DT. > > > > Ok, I will add "type: boolean" to it. > > I still do not understand why this is a property of DT. You need to > justify it. > > Otherwise: No. drop it. Yes, this property is not describing hardware. I will drop it from dts and handle it via soc_device_attribute->data or of_device_id->data instead. Regards, Li