Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2323185rdb; Thu, 21 Sep 2023 15:30:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFeeQMhI1Bol/Qs0dVtxeqagofs2pYTObJ5/KyDYlvWVMOaD/e7re1h8dLtFS8UTRSGND1g X-Received: by 2002:a05:6830:3815:b0:6bf:5010:9d35 with SMTP id bh21-20020a056830381500b006bf50109d35mr6865948otb.3.1695335401050; Thu, 21 Sep 2023 15:30:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695335401; cv=none; d=google.com; s=arc-20160816; b=roSNP+4DYLzkqJS2Un2QHypvd1GeUIlV9x+uuJ+zq/2/+vMCGp+M5/zKQuYJho95JO rvos0Gwfn+5/IWo5ADMmMGpAdGcs0fjmWgadB5pZP2u4IeGncYpYt4FyHxGdF4s4o164 ndkDhMokck/1t7seZ1Q3RBCALs+aXv3C0k6xnPqg6wO91s7+ep4Q4qDDoAP51mOQuger Ys758D7xYlqjdhY+7vK5dzax1oVdxdaniPUyYi2hENxspXRsqpzM+/PTC3L0R7LGdLZp HpOulrRVwMP8XPHAuunDHyBn9TQ/LGFoy3wf/g+yCYQsM/ZLnGt8Ea4jFV2kZiahVcRa 8Pow== 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=cYb7Ub3bti/deKs/jdrs9q+vuzARawcOGZH6tlkcZ0g=; fh=2tk3lrOyd41c44mgl4Cl8YCzXSCkCQQw4e5V4o3zspQ=; b=a+QMlGG7gY68Pc6WjhQv9OMlK/4KTTyd+fdRJYE1RFR0PgJ7C3G7d4j5JtG5fz496K NZOfK0EdLhHmZ8ZUkaS53u7TdARAxDiIB/QlByZPC4ahCm2d/5yWYnGLUABllrPOD/NV dHu4zDSEvJiRkrUyS45AIJ/se5me6K5YICxq5RpTjfVPS+4ow80ogiB75ZLYYZ54gbSD a4aB5okKA0ehFcSmgeeypA8I0qFEMuIcLpKRc5yZQGtSDFRuHGZCJdZwsN5Gxp5zbasM mBCReeSDwAMQtz7NrDmbQj85elAHKNz2qTpGb9M/aUVp+JAirWCV5tHmTe0G6/uiSXZh MLtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rzndAuD5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id f5-20020a056a0022c500b0068fb8704b9csi2646261pfj.28.2023.09.21.15.30.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 15:30:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rzndAuD5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id CADA88135298; Thu, 21 Sep 2023 12:01:22 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230346AbjIUTBJ (ORCPT + 99 others); Thu, 21 Sep 2023 15:01:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229930AbjIUTBB (ORCPT ); Thu, 21 Sep 2023 15:01:01 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A05480FB0; Thu, 21 Sep 2023 10:36:56 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0C58AC116AC; Thu, 21 Sep 2023 08:05:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695283538; bh=cYb7Ub3bti/deKs/jdrs9q+vuzARawcOGZH6tlkcZ0g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rzndAuD5lDrILdYmfpKN3DCvqeXqeVrLQZankoX6JfzmLsKO16hXwIWP7+77ALI3g 6SwpEcPdr0JvsbnP13j7BllSZgFElmxjR/0Yin7ZHXWsFKaSaD6Z3Hu9p4wqvnm4E0 8RnqaD3d6DuKPAt8ILyxMFWgiWUT7f9ovQLmodULkRiyvryk4jdrFhE+1CS9PLkDfN 9rZDGaF6EB68ZyWC1fNCNGYUGzvdcG0tDQgKhU2vjpK48e4mdp8OSxMY8dmrNhfu30 HAVKv2GxAuuXwelQ3pt+z3LY2dQFxdRB+jETIdNiMmT+tl3x/0c0oiw72DzhmIbBrY tjYfVZjbu1VlA== Date: Thu, 21 Sep 2023 09:05:32 +0100 From: Conor Dooley To: Inochi Amaoto Cc: Anup Patel , Krzysztof Kozlowski , aou@eecs.berkeley.edu, chao.wei@sophgo.com, evicetree@vger.kernel.org, emil.renner.berthing@canonical.com, guoren@kernel.org, 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, Chen Wang Subject: Re: [PATCH v2 06/11] dt-bindings: timer: Add Sophgo sg2042 clint Message-ID: <20230921-d7bab3f036e498a23eb6b578@fedora> References: <20230920-53a04651c08acb0796dc63b4@fedora> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kdBFnvGRk9OScnKc" 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,SPF_HELO_NONE,SPF_PASS 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 (snail.vger.email [0.0.0.0]); Thu, 21 Sep 2023 12:01:23 -0700 (PDT) --kdBFnvGRk9OScnKc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 21, 2023 at 08:43:47AM +0800, Inochi Amaoto wrote: > >>>> but not one. In another word, there is no need to defined mtimer and= ipi > >>>> device on the same base address. > >>> > >>> There's also no need to have two compatibles for the same interrupt > >>> controller, so I do not get this reasoning. What actually _requires_ > >>> them to be split? > >>> > >> > >> Yes, it is one, but can be mapped into different address. So I think we > >> need two. > > > >Not two compatibles though, just two memory addresses that you need to > >locate (or maybe even 3, for SSWI?) > > >=20 > We may need four (mtime, mtimecmp, mswi, sswi) if use register range. Why would you need 4? The first two certainly could be individual reg entries, no? > Anyway, I will use a vendor spec implementation as a temporary solution. > I hope this will be corrected in a predictable future, and we can use a > standard way to resolve this at that time. :) If the spec doesn't get frozen, there'll not be a standard way merged. Hopefully not too many others go off an implement non-frozen specs, and we will not really need to worry all that much about it. Cheers, Conor. --kdBFnvGRk9OScnKc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZQv5SAAKCRB4tDGHoIJi 0kwBAQCMThCZ01ziaG8cYDl53BVrJCuqYiEaCp+5ivC/5BrsOAEAptaWzL8Sle9r wuC74Jhg0ariLbfG9Of8Zpra2j83dAM= =fXxo -----END PGP SIGNATURE----- --kdBFnvGRk9OScnKc--