Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1173400rdb; Wed, 20 Sep 2023 01:28:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHZo9pEUbQkb6yV0W0nd8EfUqe7yFbYOYFjgJqZsHoJVlQzHrWICKRkltRImpJOA38gGG6t X-Received: by 2002:a17:902:ecc3:b0:1c3:2df4:8791 with SMTP id a3-20020a170902ecc300b001c32df48791mr1567228plh.27.1695198507501; Wed, 20 Sep 2023 01:28:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695198507; cv=none; d=google.com; s=arc-20160816; b=vY1nEGtI/lidUViT/acDliCn0gKg2Qp1EtLQJmyGBkl+c7kNcREzm6oHyuucJBkcA5 Qna+IqRf/zAMofEUV1XDIDLAsmVKbp26NYgzzsdTcydKDwS1kjUfovXqQMFOuqTzlPh3 VlrRsqC+BKFxgz+am8Kpb34Lm12SlzWJ+o/upireDqzQiX8SoZ7czv1u2/V3Yu2X/ENt wTPNad5TO/E+tnpH0EyoAFgc+M9M4r0RFEQGUPXSYJzBwirWpirH83gFOqFYI4p3UrZu FVISztpsLNtOdNH6ulgfUVxutd2K+YOW1sVhytFoTFlF7kEeSZYpXF0KMyRfIrHtDmXl a05g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=1HnuSeWAgLInxHJaQTlY/stA0GAv/K29sW+MMolt0Gg=; fh=ixJes7ns+VOBG/ixGDGHqAEMjoHKU2JnwXh+I4O8OAc=; b=yHeusaaIxMMP64nzXCzt9nXT+vjPukbOtd7xiIWO4Wmtadn2Fsjla7DEjYW6EcpWoK BE3Fa9ysziRn/bWy/7kiIn12smN2TTfxk6historR7vQFU131aYl/1lqcsIZShJnNNjF dwpbUv8Gbgj2r4SjMO8L3dOqXZugm1EZC/lTD10NEJO+5zGM39nv9evEZ8ZxjUGM8aXO wwdD5/OKT7xq4ur4f5w4gD9e0xAG4XaqGQPoNcQufTApO9O/e3SNwhF1kx7rtjXu4Y7C CHHM2OR+t0I4Dpt+O6BPQVQz0eSTYGpbl3Fe4fYOhL+AxX7H+6IYDWvkA16Og3XHcYaL DGog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FgbS2oaQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id p6-20020a170902780600b001bc434b9d95si6957981pll.156.2023.09.20.01.28.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 01:28:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FgbS2oaQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 4705E80ACC64; Wed, 20 Sep 2023 01:13:18 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232338AbjITINS (ORCPT + 99 others); Wed, 20 Sep 2023 04:13:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233264AbjITINP (ORCPT ); Wed, 20 Sep 2023 04:13:15 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8E8CB4 for ; Wed, 20 Sep 2023 01:13:09 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6356EC433CB; Wed, 20 Sep 2023 08:13:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695197589; bh=BHg2WeM95rpBPjSMtBK54EXDu7Fym4u87Mw9H+3v6no=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=FgbS2oaQQz5/ROzre/v3t66FIfY12n+sbyeiA0ewV0IslizhDBg3fMC/84+vZ/ep5 VgjuhkUvz258KvDgzSAvbnNYfvvY6H7DvjomLj2uL145N+oHZNZHKcPMuHIVR93ea7 HN5vAZ00KgCFHNZP8ARg/RKKSGvhH8/hwNhiSnEh8m8ayYHEFlBI3OZHjZkfFasl8R Gdh7sXZ60vi6bZuyC5Yf/5Nv1KiG4buobDe3lU81Y4ndCUoZN6AwvChFm2E02cKxSm NrLDDzSJm8NKzBoWHnyEk/YWFrK90BYv6oloSNEzcIWv0r5+kpPSjqyunJ9qrkuRfB qmKD5BsNUJ3zw== Received: by mail-lj1-f175.google.com with SMTP id 38308e7fff4ca-2b962c226ceso107127651fa.3; Wed, 20 Sep 2023 01:13:09 -0700 (PDT) X-Gm-Message-State: AOJu0YyuuW6n378j0yl8cTCufv5ZaSMJ92X68grrwz8aD7W8TNnM/yLh xIPG6KJi8lm9PlubL+ULoVCegk69Rwo+4nfzNVg= X-Received: by 2002:a2e:9959:0:b0:2bd:180d:67b7 with SMTP id r25-20020a2e9959000000b002bd180d67b7mr1497733ljj.40.1695197587601; Wed, 20 Sep 2023 01:13:07 -0700 (PDT) MIME-Version: 1.0 References: <55865e1ce40d2017f047d3a9e1a9ee30043b271f.1695189879.git.wangchen20@iscas.ac.cn> In-Reply-To: <55865e1ce40d2017f047d3a9e1a9ee30043b271f.1695189879.git.wangchen20@iscas.ac.cn> From: Guo Ren Date: Wed, 20 Sep 2023 16:12:55 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 06/11] dt-bindings: timer: Add Sophgo sg2042 clint To: Chen Wang Cc: aou@eecs.berkeley.edu, chao.wei@sophgo.com, conor@kernel.org, devicetree@vger.kernel.org, emil.renner.berthing@canonical.com, jszhang@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, palmer@dabbelt.com, paul.walmsley@sifive.com, robh+dt@kernel.org, xiaoguang.xing@sophgo.com, Inochi Amaoto , Chen Wang Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 20 Sep 2023 01:13:18 -0700 (PDT) On Wed, Sep 20, 2023 at 2:39=E2=80=AFPM Chen Wang wro= te: > > From: Inochi Amaoto > > Add two new compatible string formatted like `C9xx-clint-xxx` to identify > the timer and ipi device separately, and do not allow c900-clint as the > fallback to avoid conflict. Please explain more about the c900-clint mtimer & mswi, why do we need to separate the c900-clint into two pieces? When could we use c900-clint which eases dts design? > > Signed-off-by: Inochi Amaoto > Signed-off-by: Chen Wang > --- > Documentation/devicetree/bindings/timer/sifive,clint.yaml | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/Documentation/devicetree/bindings/timer/sifive,clint.yaml b/= Documentation/devicetree/bindings/timer/sifive,clint.yaml > index a0185e15a42f..ae69696c5c75 100644 > --- a/Documentation/devicetree/bindings/timer/sifive,clint.yaml > +++ b/Documentation/devicetree/bindings/timer/sifive,clint.yaml > @@ -39,6 +39,14 @@ properties: > - allwinner,sun20i-d1-clint > - thead,th1520-clint > - const: thead,c900-clint > + - items: > + - enum: > + - sophgo,sg2042-clint-mtimer > + - const: thead,c900-clint-mtimer > + - items: > + - enum: > + - sophgo,sg2042-clint-mswi > + - const: thead,c900-clint-mswi > - items: > - const: sifive,clint0 > - const: riscv,clint0 > -- > 2.25.1 > --=20 Best Regards Guo Ren