Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3303473rdh; Thu, 28 Sep 2023 08:04:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEOIWYdaFAabadNGYdRafb+QpMI3kzSZUqJSC6WpTHxuZXe+T7TirHEhTd+Wk+je3aq6cyb X-Received: by 2002:a05:6a00:1347:b0:690:ca4e:661b with SMTP id k7-20020a056a00134700b00690ca4e661bmr1591406pfu.13.1695913482903; Thu, 28 Sep 2023 08:04:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695913482; cv=none; d=google.com; s=arc-20160816; b=hs+z4KCzFNB68geYjx7ZW/JznubHeYorZvveAMakVVgw3EXgbMR/c6PyeMDpSGTVK9 X2d85cAL6UL48v37bilC6ChyAqPnCa27x6xSedHnfJ0OpRxVkXguG794rLuynXntpBWW Lk9W8I43YSOlwpWjUQo7PpyZT6XUrl3hTXGlBb6pjLp66/AI2bbbYlgggrhrk/pw7CM5 VSAJervpzq8ai3zuPRmuNvNtIGs6dC2zUqU79sKnE74EdGB6ds1vY76TJWdLyqzovsO3 /25JjsKiGpWFLOyXBpTSQL5ZwhrmCeIzJq3ILsLdIH/HoYEmGuJy5fjrRVGouIFhinKp QDNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=APeX2kAWrI8LdROLj9r+v2vpipub42bsZ7G4f/WnbUs=; fh=mUimRcbGC43qjr2Xak+8IW2gxjDhzETfCbQzkEP8IJE=; b=YwgA27zehGiVELc93pq8OTufC/X4VqhiR9HH2mYLXzI7DgqPoTb8PTDKcLbaQv2/X4 mNT5BSNBVhwQb9SZGbJGkIAE1gclxsJNNsesMR0Jo4TRu/e4ZiRTS143xcln3+T705M9 pHrTFTIKTMxQNQjDhyBqO/kiwx4aX+1CI/S4qVSyy128xevKZY8MKLpmyQof+FcyF+vF kcswI5PLIaesxvcJANlt8MPmSgE+UsUZil3xULVBy/LshFLp3qvEip2lSEcwtE7wZoHm P+qeb0hjjQvuOVJ+uv9wvAYFN9TKUzc21gbKNiOxz6mkBjNzYaODBnRdgIU7zcLupEJ6 NxBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=OffWTrKJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id cb11-20020a056a00430b00b0068e380c3654si18846179pfb.395.2023.09.28.08.04.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 08:04:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=OffWTrKJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 04BA08083AE7; Thu, 28 Sep 2023 02:03:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231460AbjI1JD4 (ORCPT + 99 others); Thu, 28 Sep 2023 05:03:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231428AbjI1JDz (ORCPT ); Thu, 28 Sep 2023 05:03:55 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1CC9AC; Thu, 28 Sep 2023 02:03:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1695891832; x=1727427832; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=OBb0qKSmHLcYJsOeped2EGIbj9N76LFCrWGOCNJOufU=; b=OffWTrKJmUmlOvTtClgC/hBzZh3zX5LPh14+8/Q3a58AU1Ewdw9D49yw eDlm/w+FlKRpk4t23ayQTaAJyDrjVGRGvyQT1wZ/kjgBkVQ74vwrGN4VT 3u6mxnmHytZ3Fy7l7Nj41S83b46I9a8gt+C9L8f94SVykSDjmNNXMN0yU SyFKsmdZqgg9CZw4hKztnOLx/yQRFYdgcga+bObK1obiHCDJpiL8HXXtB kygDW/4V/VSzMvXUpwBql0zibI85I7ZC+gZeBYQJ1HZ9KCqHvg5fheoDN CeOzfHimcDXb3GQxJTLIkvAT2pkCexA6iTC9ibOknMbVALUHt3Cn6JlW+ w==; X-CSE-ConnectionGUID: G7oJAJERQB+qO+xfGDy6Ng== X-CSE-MsgGUID: 2pAk1O+nRbeRA9AAhduaww== X-ThreatScanner-Verdict: Negative X-IronPort-AV: E=Sophos;i="6.03,183,1694761200"; d="asc'?scan'208";a="174047323" X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 28 Sep 2023 02:03:51 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.87.72) by chn-vm-ex02.mchp-main.com (10.10.87.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Thu, 28 Sep 2023 02:03:51 -0700 Received: from wendy (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Thu, 28 Sep 2023 02:03:48 -0700 Date: Thu, 28 Sep 2023 10:03:30 +0100 From: Conor Dooley To: Inochi Amaoto CC: Conor Dooley , , , , , , , , , , , , , , Anup Patel , Chen Wang Subject: Re: [PATCH v3 06/11] dt-bindings: timer: Add Sophgo sg2042 CLINT timer Message-ID: <20230928-winter-uranium-cc07496a49e3@wendy> References: <20230928-bring-gnarly-05eeeb85f3c5@wendy> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="b6mSgDjZ5Q8taV3j" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_NONE autolearn=ham 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 28 Sep 2023 02:03:59 -0700 (PDT) --b6mSgDjZ5Q8taV3j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 28, 2023 at 04:24:54PM +0800, Inochi Amaoto wrote: > > > >On Thu, Sep 28, 2023 at 08:34:42AM +0800, Inochi Amaoto wrote: > > > >>>> +properties: > >>>> + compatible: > >>>> + oneOf: > >>>> + - items: > >>>> + - const: sophgo,sg2042-clint-mtimer > >>> > >>> There's only one of these, so you don't need the oneOf. > >> > >> Thanks > >> > >>> Also, is the clint here not a thead IP? In which case, you need to ad= d a > >> > >> Yes, The clint is a thead IP, like that of th1520 and allwinner D1. > >> > >>> second compatible IMO. That second compatible then would be the one t= hat > >>> appears in opensbi etc. > >>> > >> > >> As this is a thead IP, maybe use thead,c900-clint-mtimer is fine? > > > >I would suggest calling it -aclint-mtimer instead of clint-mtimer. > > >=20 > It is OK for me. As I describe below, now use sophgo as vendor is better. > Anyway, I will add a new second one in the next patch. >=20 > >> If so, whether we should replace the "thead,c900-clint" with these sep= arate > >> DT to describe the thead clint? > > > >No, since that's a different device, right? > > >=20 > Yes. It seems sophgo defined these by themselves, but the T-HEAD. Sorry > for my mistake. I'm sorry, I don't quite understand this. Do you mean that the IP is not T-Head, but rather designed by Sophgo? If the IP is made by T-Head, then I would expect to see something like compatible =3D "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer"; in the dts. >=20 > >> The DT binding said the thead clint is not > >> compatible with the sifive clint, so maybe this is a chance to just mo= ve > >> them out. > > > >I don't think that it really makes sense to do that. --b6mSgDjZ5Q8taV3j Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZRVBYgAKCRB4tDGHoIJi 0vLWAQCaVGggIAebDnmEiJzjw1X/RgLe0+aKKdWYxJ0fcufvIgD/QjEGmlfqom8m pARBLjaCCUh5j/+WVtng9mGnCts03wA= =pEic -----END PGP SIGNATURE----- --b6mSgDjZ5Q8taV3j--