Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp352794pxb; Fri, 22 Apr 2022 02:17:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzFrqusLlfX4SLaCxIYvXWTiyApdMZpzCf0fMYN2wN8vxJBEP/T8c5uGXXNJpv623kXaMlA X-Received: by 2002:a17:907:96a7:b0:6ef:f52a:421f with SMTP id hd39-20020a17090796a700b006eff52a421fmr3327564ejc.752.1650619069500; Fri, 22 Apr 2022 02:17:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650619069; cv=none; d=google.com; s=arc-20160816; b=YZdV+DDnSeSI6ednaeMW8F8/0uCkyTscg4OIxmCfrITHRz3VtulOoY4VC4uztL2Idz IZv+bsSuZkKHsPv1LetcbADVCsdOsyNbRtyM7JqI/yPwF5TgzNX5SDxNI+srLBlQDU2S pPma4725Zp74vBuucfon52rqXpCOjNN8Xtohh2J/WC+j8jzmEbR8gyinqraOcZ+aNe6W LKrTpk7UilHuWHlW9t9F/FR5YRvVhcEc6uonNh89zZvQITsVrrDwFKn+vn9/X2o55lTd T/yBAgHVidXmFdtxcGSECpvUQgd45bNkHfyYKFgUUbDfuJ2NV6VfCVlv6ZI2BpcQR5fR KWmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:references:in-reply-to :sensitivity:importance:date:subject:cc:to:from:message-id :mime-version:dkim-signature; bh=iDKxLn/E6Lu/hQTsooNsBcdYsc69ulVuDCuy+ojTqQw=; b=R2gRRV4I5RQziu2v3sD+oEIG0GKSPDbfTEz8xzeNXF4uomqiw+N1nWyVvT11UXIinK ko2eSKjgYpbO30l2j2SEErCVhHgzVr3OuyD3wo1gl9lkOfbRs44nAu+EsB4aqun/Xcs+ r84SG8XcXts6Ybi4ncpBWuSojfZP7CvJA2FI7O8y99scRBfhpDcIFbFjy7BLQp1vf+zu LuzTTRnAiIaj3BU0Dp6J+UMl6dUJ/9r4FafsLDXHmMYeeyx0SH/d+6JTc0j+WjL2DfTG A+pqbAZXoDqSaMcg+XccfrGPoHCuC2ID5fLphUCb4Gh+7KEGCciU0/IKMeJGNf+IhRaz vS/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=KnsycIGS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id vs23-20020a170907139700b006df76385f31si5791395ejb.977.2022.04.22.02.17.25; Fri, 22 Apr 2022 02:17:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=KnsycIGS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378757AbiDTNIF (ORCPT + 99 others); Wed, 20 Apr 2022 09:08:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378746AbiDTNIB (ORCPT ); Wed, 20 Apr 2022 09:08:01 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CECEB222AC; Wed, 20 Apr 2022 06:05:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1650459879; bh=wOmewmRrbd5TBpBZqdHt25VeQoHFPRad0GP83DFE/KA=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=KnsycIGSKRyZ0zSYB26Acbmgps+aknmDjPdrIVk97n9wZCzqTb9JUdQPb+kLOgW9s 1eiGH1oOYrToBBcafHSbdNfR0kCycUlJ8Mltx4UTkg8M3VmXVzi+V0E9A3d0zyMJmy 6TXFZ+TQ3Lk+jyJLchu4+Lw+zbDqL7teMZ1oh1rs= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [217.61.147.126] ([217.61.147.126]) by web-mail.gmx.net (3c-app-gmx-bap05.server.lan [172.19.172.75]) (via HTTP); Wed, 20 Apr 2022 15:04:38 +0200 MIME-Version: 1.0 Message-ID: From: Frank Wunderlich To: Krzysztof Kozlowski Cc: Frank Wunderlich , linux-rockchip@lists.infradead.org, Kishon Vijay Abraham I , Vinod Koul , Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= , Bjorn Helgaas , Philipp Zabel , Johan Jonker , Peter Geis , Michael Riesch , linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Subject: Aw: Re: Re: [RFC/RFT 2/6] dt-bindings: soc: grf: add pcie30-{phy,pipe}-grf Content-Type: text/plain; charset=UTF-8 Date: Wed, 20 Apr 2022 15:04:38 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <8b9ad0a6-acc0-aad9-c49d-e4a4b38374bb@linaro.org> References: <20220416135458.104048-1-linux@fw-web.de> <20220416135458.104048-3-linux@fw-web.de> <02b3fe1c-12f9-8f96-a9b5-df44ca001825@linaro.org> <8b9ad0a6-acc0-aad9-c49d-e4a4b38374bb@linaro.org> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:9xmgXgx0V9zQ9oJQ2v4jyZ8k5GDOHaZWDau5uvMohn+mtj1rU3a888flYq5JkzAbi24mD FHd6jW/TzjLC2M3aDwNp3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jZ7C UBYIbbG Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, 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 > Gesendet: Dienstag, 19. April 2022 um 21:40 Uhr > Von: "Krzysztof Kozlowski" > On 19/04/2022 19:29, Frank Wunderlich wrote: > >> Gesendet: Montag, 18. April 2022 um 17:54 Uhr > >> Von: "Krzysztof Kozlowski" > > > >>> --- a/Documentation/devicetree/bindings/soc/rockchip/grf.yaml > >>> +++ b/Documentation/devicetree/bindings/soc/rockchip/grf.yaml > >>> @@ -14,6 +14,8 @@ properties: > >>> oneOf: > >>> - items: > >>> - enum: > >>> + - rockchip,pcie30-phy-grf > >>> + - rockchip,pcie30-pipe-grf > >> > >> These are without SoC parts. Are these PCIe v3 General Register Files > >> part of some PCIe spec? > > > > imho they are shared across SoCs rk3568 and rk3588, but have only seen= rk3568 implementation yet. > > PCIe driver currently supports these 2 Soc (different offsets in the P= hy-GRF), but can only test rk3568. > > > > pipe-grf seems only be used for rk35688 (offset used in probe is defin= ed for this SoC), which i cannot test. > > > > so i have left them SoC independed. > > Compatibles should be SoC dependent, with some exceptions. Lack of > documentation or lack of possibility of testing is actually argument > against any exception, so they should be SoC specific/dependent. so i will change to - rockchip,rk3568-pcie30-phy-grf - rockchip,rk3588-pcie30-pipe-grf and maybe add - rockchip,rk3588-pcie30-phy-grf these compatibles are not directly taken by any driver as the nodes be lin= ked via phandle (rockchip,phy-grf property) from the phy driver (rockchip,= rk3568-pcie3-phy / rockchip,rk3588-pcie3-phy). So these compatibles are on= ly in the yaml and dts present. regards Frank