Message ID | 20230915072517.118266-1-wangchen20@iscas.ac.cn |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp957773vqi; Fri, 15 Sep 2023 04:04:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH8puyq9gLtDwO/sXSTNwUPvmgwHXCAdkPMYYX3MDEwF35P3j+NbcX1+r0Y2Q7jDu1J0M55 X-Received: by 2002:a05:6a00:170d:b0:68c:69ca:2786 with SMTP id h13-20020a056a00170d00b0068c69ca2786mr1378341pfc.34.1694775866494; Fri, 15 Sep 2023 04:04:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694775866; cv=none; d=google.com; s=arc-20160816; b=IsCcFgA+MYKKgBVDJ5PeplVjbnWNSpS8ODkJh6VK+R9I+iGcqn2dPy5CjrevbyRZVT hoSXwSVNWxjSkdhjgwqA+gEYPosvOm3Myciu/cdJTZ2/G7Y36wEGxLbv7JjDBEazJKnF amCs+OKdKs/1JUFfR4xcqME5Ig4adMLPKt83t4NCMJeb6y+fwRV7vCj4vdH7w81vlr8q BNVaBwBhARvNOwv7fWdclzfDx1/5mstNCcD0EAAEYlkXqy9MvOxLVH1o84LjdV2Hk1gx PjF0If/SncEdDhcFfttPx5hFbKZd7bUYp4HU8peqb4dSjfVvrT72KJiWN0/5So+6+ukG ufiw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=vtiQk2mCxeEr3VVOeU3ze8J3wl3kSWve+xDO77CYJdQ=; fh=qcStU/cXmyi6QQmh2OH0Y187/PpiTFL4etZ28pI2hrA=; b=pajayLdxrDdXOxSsMDvUBZWnhQq4V+arLe8W3lcI//rbuCFH6/OtvaWK+jcCgYT50Z Z5RSXlErRuwZuvKIG73VX+EJDOswrBPK9n9hxBQ81bKYFTxKy5jP3X/IVVpnM3JVS39/ IhJsRm/7aiZpLzGTYrRVtq650nh81MKRA6zbYbPdlhoWuTuqlxyGPET64ZoTYijXe5Th I+jAAWq2CKKr194bzG4Ckbu1SqTWFJbIcBrzJf4HyXvKA5U4gXSGbfI9UwfxB1mseAlS JMLR5C5lGjdcGO33BAasptZF75U7GvBLEfYYQNCk27GbDKVcv8U0zaITaX5C8IYTUcLK JOYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=hbcZoBcw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id p11-20020a056a000b4b00b0068be1f7db53si3219340pfo.190.2023.09.15.04.04.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 04:04:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=hbcZoBcw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id C375A808693C; Fri, 15 Sep 2023 00:26:20 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232810AbjIOH0T (ORCPT <rfc822;pwkd43@gmail.com> + 33 others); Fri, 15 Sep 2023 03:26:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232125AbjIOH0O (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 15 Sep 2023 03:26:14 -0400 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB8981FCC; Fri, 15 Sep 2023 00:25:50 -0700 (PDT) Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1c4194f769fso10945055ad.3; Fri, 15 Sep 2023 00:25:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694762750; x=1695367550; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=vtiQk2mCxeEr3VVOeU3ze8J3wl3kSWve+xDO77CYJdQ=; b=hbcZoBcwNZQ6CPKc/D66KDOsf+RmQKCoJuZ0IVap8tnow178Zi1gWjBi0HYFR7JneC tkDILHqic5pn83/kniYNWQPmQvJ87HCRgiLp+iC2vJ3pWlKYKF6GJ1vlvLDRdN4i7Mpq tcGgmHqbstjTjIZnUm0t8HLNb6QwJ71P5Z1AVfbvHlXfAcOYbgg5QVHqam7AXXFTVipI H1xmgHx+YbnHf2v8cb40vjf6xBnbM2a1sNr6Ic3FkXDI2EBm7eECEFM6lKirC4KyeYSo U4DdYr51S9IhhKZ6NjNUxn3OyhIvTGxD/E71KsjCDfD+Bz7rdQj4pvzmjJzxBvNKwi0W gv0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694762750; x=1695367550; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vtiQk2mCxeEr3VVOeU3ze8J3wl3kSWve+xDO77CYJdQ=; b=RCPMTm8fZZxa/JKniCI+p3pMtXN3JZQH3J7ZFilxKmQKo7t+Bat5hBDRoPFjUQ34g0 WjMLRjZ+Uvs4YZY8/fH8inz0xflFbLxsZKS4dkKYHM10OuP+eVH6VWvsHGMRjGNCqkxD BlPNk4THICAVLjgtXtGcg77+2QtjJwwxfScWVahfz2/It2/SbBoLdkdPFBptuZDDzuDJ 9PlMg/ocNXSPiY15eUkr8MnXuzHNvBlrRRbdJ1dn1C2JCy3P0PPMNpyrCNU3txxtZ7VP zuI0YeC1FUg/L+099swc/8kM0YC4SpeLGHI1ndEyUZ5OAIccv8kFRqs+BcTrtN6XAU/0 NMew== X-Gm-Message-State: AOJu0Yw/1vgrPaoEsuHJ1MyWUHAQBPv35NbrlqpQOF/d1baZiDR+gb4H a04Wo5tXFDleVh1sAIJg4kQ= X-Received: by 2002:a17:903:26c7:b0:1bb:8931:ee94 with SMTP id jg7-20020a17090326c700b001bb8931ee94mr747188plb.67.1694762750322; Fri, 15 Sep 2023 00:25:50 -0700 (PDT) Received: from localhost.localdomain ([222.95.63.58]) by smtp.gmail.com with ESMTPSA id 6-20020a170902c10600b001b9d335223csm2768866pli.26.2023.09.15.00.25.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 00:25:50 -0700 (PDT) From: Wang Chen <unicornxw@gmail.com> X-Google-Original-From: Wang Chen <wangchen20@iscas.ac.cn> To: linux-riscv@lists.infradead.org, conor@kernel.org, aou@eecs.berkeley.edu, krzysztof.kozlowski+dt@linaro.org, palmer@dabbelt.com, paul.walmsley@sifive.com, robh+dt@kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, jszhang@kernel.org, guoren@kernel.org, chao.wei@sophgo.com, xiaoguang.xing@sophgo.com, Emil Renner Berthing <emil.renner.berthing@canonical.com> Subject: [PATCH 09/12] dt-bindings: serial: snps-dw-apb-uart: Add Sophgo SG2042 uarts Date: Fri, 15 Sep 2023 15:25:17 +0800 Message-Id: <20230915072517.118266-1-wangchen20@iscas.ac.cn> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,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 pete.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Fri, 15 Sep 2023 00:26:20 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777101299203500632 X-GMAIL-MSGID: 1777101299203500632 |
Series |
[01/12] riscv: Add SOPHGO SOC family Kconfig support
|
|
Commit Message
Chen Wang
Sept. 15, 2023, 7:25 a.m. UTC
From: Emil Renner Berthing <emil.renner.berthing@canonical.com> Add compatible for the uarts on the Sophgo SG2042 RISC-V SoC. Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com> --- Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml | 3 +++ 1 file changed, 3 insertions(+)
Comments
On 15/09/2023 09:25, Wang Chen wrote: > From: Emil Renner Berthing <emil.renner.berthing@canonical.com> > > Add compatible for the uarts on the Sophgo SG2042 RISC-V SoC. > > Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com> Missing Sob. > --- > Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml b/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml > index 17c553123f96..6c23562f1b1e 100644 > --- a/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml > +++ b/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml > @@ -48,6 +48,9 @@ properties: > - starfive,jh7100-hsuart > - starfive,jh7100-uart > - const: snps,dw-apb-uart > + - items: > + - const: sophgo,sg2042-uart No, you do not get your own entry. Stuff it into previous enum. Best regards, Krzysztof
On 18/09/2023 14:49, Chen Wang wrote: > Hi, Krzysztof, > > I see Emil has clarified in anther email, I copy it here for your quick > reference: > > >Sophgo and StarFive are not the same company. Sophgo are using RISC-V > cores from T-Head and StarFive are using cores from SiFive. > > And SG2042 is chip from Sophgo, and JH7100 is chip from StarFive. > > So I think it should be better to use a new entry for sg2042, what do > you think? We talked about different things. Previous discussion was about compatibility. Here, you should just not create your own enum, because there is no single need. Just put it to previous enum. Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml b/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml index 17c553123f96..6c23562f1b1e 100644 --- a/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml +++ b/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml @@ -48,6 +48,9 @@ properties: - starfive,jh7100-hsuart - starfive,jh7100-uart - const: snps,dw-apb-uart + - items: + - const: sophgo,sg2042-uart + - const: snps,dw-apb-uart - const: snps,dw-apb-uart reg: