From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A8A21C4338F for ; Fri, 13 Aug 2021 18:11:25 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 76C4B610CC for ; Fri, 13 Aug 2021 18:11:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 76C4B610CC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=TSQ5D3wSK0TH/Ja5Yx+Lg2eD+DEAyKXMB2c0iJviF4Y=; b=r0cB48JcEUXYvd 9IlMxYBcggWdnyoOcughD+WPA9HpL4vQr8ZVY+AgkH5uoXsD1X31KKkEt3zzX46mZSiipndFjBstR sU/ov4L9bCjQlqfyTHWD0UyowkVZu0KH7HkKpf9HmIl6a4/WmK64LKHcrFf/AF9/RIEc7a+1O7ZRQ p9KsJtxcyI+lobmJSNp5BrRxmX+MCMiEdJE1V47iU42CO8ampNR2wmIzu2yr1WnG94Pmmc4lloRtF GE+Az9iap5hGbh1P0Aioy8SC0gzHXPkcWn8gZ3AdFBUKS7ukOBweNL1mN9YnevM7Qs6C8wtMsSfKc DJHO2ndcTjh8vQfnDHfg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mEbcW-00DKeg-B9; Fri, 13 Aug 2021 18:09:28 +0000 Received: from mail-ot1-f48.google.com ([209.85.210.48]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mEbcR-00DKdG-Vt for linux-arm-kernel@lists.infradead.org; Fri, 13 Aug 2021 18:09:25 +0000 Received: by mail-ot1-f48.google.com with SMTP id c2-20020a0568303482b029048bcf4c6bd9so12992088otu.8 for ; Fri, 13 Aug 2021 11:09:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=RNAJ6CKuegXmSd2Yyh9RqrbADSON9AKbMmt2xHYGKZ0=; b=NRkt3Q0zCvaxd9Dekf01+ACle7Vksq/fs6qP5HhUzIYf4kS+Gzcb5O1AeploMZ1aTI lVopb8q7/xmObUZHwwC1PTgzSOc8N3byazpr3P27nvJo/4I/cC8r47a6USvNuuMkczMd szkLUrB1ymDTf54TjXAUa6jqs7S77lJ4hBG9R//a0w601tmSUwnexOJqM8mi6FWrKRlG u8lHJf0DXk6sA8AzizeM3Z3pqLU9Rh8c5tFHTZpJ+GMAc0n9kPb/mjjmtQuB/E6h1FiH 7EcHRtF6hS2Y4Auq6mZ/rBUGUDdmhZH8LkslXNkYJaeNgUsNwo5jRPF7GdJAcag2jxpB 099A== X-Gm-Message-State: AOAM531r1N1/0TGLBrDm+64uBDaDUV/TSDUqqHSZdvrNL4mAVw5GwRRj 2LZR3v/20WkNl3b5FiflIA== X-Google-Smtp-Source: ABdhPJz0uGlikeQEKkF423szyYb04V8X2TX58aZ6PjFZdAZBO9pfrGTtD8c/lMNwUldYLyLlNiyJYg== X-Received: by 2002:a05:6830:2783:: with SMTP id x3mr3185257otu.37.1628878158745; Fri, 13 Aug 2021 11:09:18 -0700 (PDT) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id u15sm472572oiu.43.2021.08.13.11.09.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Aug 2021 11:09:18 -0700 (PDT) Received: (nullmailer pid 3783560 invoked by uid 1000); Fri, 13 Aug 2021 18:09:16 -0000 Date: Fri, 13 Aug 2021 13:09:16 -0500 From: Rob Herring To: Chester Lin Cc: Greg Kroah-Hartman , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org, Shawn Guo , Krzysztof Kozlowski , Oleksij Rempel , Stefan Riedmueller , Matthias Schiffer , Li Yang , Fabio Estevam , Matteo Lisi , Frieder Schrempf , Tim Harvey , Jagan Teki , s32@nxp.com, catalin-dan.udma@nxp.com, bogdan.hamciuc@nxp.com, bogdan.folea@nxp.com, ciprianmarian.costea@nxp.com, radu-nicolae.pirea@nxp.com, ghennadi.procopciuc@nxp.com, Matthias Brugger , Andreas =?iso-8859-1?Q?F=E4rber?= , "Ivan T . Ivanov" , "Lee, Chun-Yi" Subject: Re: [PATCH 3/8] dt-bindings: serial: fsl-linflexuart: Add compatible for S32G2 Message-ID: References: <20210805065429.27485-1-clin@suse.com> <20210805065429.27485-4-clin@suse.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210805065429.27485-4-clin@suse.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210813_110924_078442_6A0003A8 X-CRM114-Status: GOOD ( 20.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Aug 05, 2021 at 02:54:24PM +0800, Chester Lin wrote: > Add a compatible string for the uart binding of NXP S32G2 platforms. Here > we use "s32v234-linflexuart" as fallback since the current linflexuart > driver still works on S32G2. > > Signed-off-by: Chester Lin > --- > .../bindings/serial/fsl,s32-linflexuart.yaml | 26 ++++++++++++++++--- > 1 file changed, 22 insertions(+), 4 deletions(-) > > diff --git a/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml > index acfe34706ccb..e731f3f6cea4 100644 > --- a/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml > +++ b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml > @@ -21,10 +21,20 @@ allOf: > > properties: > compatible: > - description: The LINFlexD controller on S32V234 SoC, which can be > - configured in UART mode. > - items: > - - const: fsl,s32v234-linflexuart > + minItems: 1 > + maxItems: 2 minItems/maxItems not needed here. > + oneOf: > + - description: The LINFlexD controller on S32G2 SoC, which can be > + configured in UART mode. > + items: > + - enum: > + - fsl,s32g2-linflexuart > + - const: fsl,s32v234-linflexuart > + > + - description: The LINFlexD controller on S32V234 SoC, which can be > + configured in UART mode. > + items: > + - const: fsl,s32v234-linflexuart > > reg: > maxItems: 1 > @@ -41,8 +51,16 @@ unevaluatedProperties: false > > examples: > - | > + /* S32V234 */ > serial@40053000 { > compatible = "fsl,s32v234-linflexuart"; > reg = <0x40053000 0x1000>; > interrupts = <0 59 4>; > }; > + > + /* S32G2 */ > + serial@401c8000 { > + compatible = "fsl,s32g2-linflexuart", "fsl,s32v234-linflexuart"; > + reg = <0x401c8000 0x3000>; > + interrupts = <0 82 1>; > + }; This doesn't really warrant another example just for a new compatible string. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel