Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2495054rwr; Fri, 21 Apr 2023 09:33:43 -0700 (PDT) X-Google-Smtp-Source: AKy350b1X92KS8LMb7dg9YfYy8dobYdsC7QdtyCfTpFKCaKeOQ7vrMR5jgz+PjV2cdbeM2BwEwf8 X-Received: by 2002:a05:6a20:12c8:b0:f2:c9c:6e8b with SMTP id v8-20020a056a2012c800b000f20c9c6e8bmr6486762pzg.3.1682094822972; Fri, 21 Apr 2023 09:33:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682094822; cv=none; d=google.com; s=arc-20160816; b=aFmFBxCdhT9s2BYkZsUhTVsrYorPp/WwJ3t2SYqQgN8rBX/ofv+36alPrNNu1d5vus MWS0JWn3HQuoFiBpb8/1blH8MyhntzcxvyrGGVyvnbxLwzMgJXoeA1p86N13alGIF1Aa juCfNd4Y6mfIZMxmFoVLs+pl7BiYwlAg1RSTIlBygxDDLYBkHrCoqkRb+VdQZrDMMwFU BghrS3FphNAJwafPxshks7565Db9GL2HL59oj3batUg3gVDvUgP+tZz3lA8WZReJIwXy FsuthOgvTnQrhDhxVy1HHDGJ/b+T3V23r34SFJ0ol/YC30hRMUfU4TmPcYtNC56gSrYC 6miw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=UVr8lLzVps9ZuMV0XAHw4eg8z7YXbZGCdlhpUNWCutQ=; b=ufM9LjZBQVIt48S0EaytpAqytTPBXARbQoDbaSJ1yXgKw2UUwcjM2BTJnHvrdVdxd8 /eBsVkA36zQPnTwiQIN/86sGvm+2ivFgTACdPNzJ3MfZ6v0n+zTbaapjnKv9/rDcPbxZ /wadtkJBht9BQxZsMGUYYuFsOENkBcyhPYMSGVzNKh0VKeBIqKLz6NO38QEsBSASgzeo OgaRg6D9geBCA8WiTFUN456Faoh+fnvaRvOA0/AXYhxc/XA6UaAQwVAA2CwAblHldMC/ KrX650qIKtrX5FbsGhESPxuub4J/L3L43WxSEsuGnn/quafbIGxgsQe5RRHpgqeDOH0s 2swA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DwM7MXIK; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l69-20020a638848000000b0051a788417e3si5072112pgd.466.2023.04.21.09.33.31; Fri, 21 Apr 2023 09:33:42 -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=@linaro.org header.s=google header.b=DwM7MXIK; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229962AbjDUQau (ORCPT + 99 others); Fri, 21 Apr 2023 12:30:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229712AbjDUQas (ORCPT ); Fri, 21 Apr 2023 12:30:48 -0400 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1ED513F89 for ; Fri, 21 Apr 2023 09:30:46 -0700 (PDT) Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-50506ac462bso2753928a12.3 for ; Fri, 21 Apr 2023 09:30:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1682094645; x=1684686645; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=UVr8lLzVps9ZuMV0XAHw4eg8z7YXbZGCdlhpUNWCutQ=; b=DwM7MXIKKSfaUMu1eJSCloBjXJpaWHmzbVeI7uMDb7pgL26Yroz/mrZnf+4gtrdE32 zExJo/fxP73tyLq655HHLTKrCsFatO34nBhRbfiVIMhlyj/+r8Eh8yx8N2ZaXNRi8oAF IW2kt7uZzpCSSmxDo54dDanjtAMdz0KucVKX6OLZf8iP/KTVxB496RNWBL2q4r+SmEK5 TcvtGvBBuW919Awdq2NozfHd2fEMp7na72TSuKyqiu8JdDpk42iHW1YO+ljs8J15VAIg TtU2RWkt0B0KOfnYkux1+LEVI3q2cepzBD1Brn1hT4Qa/4hYdAaJ1ygI60RyEZLy3GtJ aCHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682094645; x=1684686645; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=UVr8lLzVps9ZuMV0XAHw4eg8z7YXbZGCdlhpUNWCutQ=; b=TfO+4i29lxWLEa+CPhYf0nrWtWMQP5zdgDz8fZNtDByCJIMkmT3UmHkrF4a/8TQQ1V Wki+gPP7Ga5Eg2cJ5sn8GsATvfKkB8+GB+W0eOtg5oUP+KAQ8CvGaF6kXQGyd+3C+LXJ bldpy2jp7PoRCCUH+07X3E2DoyNsXvIZNIGco9hfF4mDYf9O4y8M5g5S2RC5vjdvLYG1 wicag+EuBl7iP24Rini1uiPfSv+qN9+wV2RiO66cFBQUzK1QrNnF1zCbrFY497NP7jqE 8hl8c+ConkWNECSV9scBf1avuNjm8Fse5pYJtJjSwsXCF70x4H/VrcK1W2VFsWJgMfbk ReOQ== X-Gm-Message-State: AAQBX9cf/TWkj5VAoAp8jPqQmlDOZSKVZR7n/s79/Qwt9hqQUyPT3UFk mbSdaIwtUQcX1PjtNapTjdfoVA== X-Received: by 2002:aa7:c592:0:b0:506:c288:118 with SMTP id g18-20020aa7c592000000b00506c2880118mr5598942edq.39.1682094645408; Fri, 21 Apr 2023 09:30:45 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:687d:8c5:41cb:9883? ([2a02:810d:15c0:828:687d:8c5:41cb:9883]) by smtp.gmail.com with ESMTPSA id d12-20020a50fb0c000000b004bf999f8e57sm1963884edq.19.2023.04.21.09.30.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 21 Apr 2023 09:30:44 -0700 (PDT) Message-ID: <44e54d54-9a6d-ba49-c0db-f9de81743f64@linaro.org> Date: Fri, 21 Apr 2023 18:30:43 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v5 06/11] dt-bindings: PCI: Update the RK3399 example to a valid one Content-Language: en-US To: Lorenzo Pieralisi Cc: Rick Wertenbroek , alberto.dassatti@heig-vd.ch, xxm@rock-chips.com, dlemoal@kernel.org, Shawn Lin , =?UTF-8?Q?Krzysztof_Wilczy=c5=84ski?= , Rob Herring , Bjorn Helgaas , Krzysztof Kozlowski , Heiko Stuebner , Caleb Connolly , Corentin Labbe , Brian Norris , Johan Jonker , Judy Hsiao , Sascha Hauer , Hugh Cole-Baker , Arnaud Ferraris , linux-pci@vger.kernel.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20230418074700.1083505-1-rick.wertenbroek@gmail.com> <20230418074700.1083505-7-rick.wertenbroek@gmail.com> <172c46b7-256e-b09d-3940-880fa8989b49@linaro.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On 21/04/2023 11:26, Lorenzo Pieralisi wrote: > On Wed, Apr 19, 2023 at 10:01:25PM +0200, Krzysztof Kozlowski wrote: >> On 18/04/2023 09:46, Rick Wertenbroek wrote: >>> Update the example in the documentation to a valid example. >>> Address for mem-base was invalid, it pointed to address >>> 0x8000'0000 which is the upper region of the DDR which >>> is not necessarily populated depending on the board. >>> This address should point to the base of the memory >>> window region of the controller which is 0xfa00'0000. >>> Add missing pinctrl. >>> >>> Signed-off-by: Rick Wertenbroek >>> --- >>> .../devicetree/bindings/pci/rockchip,rk3399-pcie-ep.yaml | 4 +++- >>> 1 file changed, 3 insertions(+), 1 deletion(-) >>> >>> diff --git a/Documentation/devicetree/bindings/pci/rockchip,rk3399-pcie-ep.yaml b/Documentation/devicetree/bindings/pci/rockchip,rk3399-pcie-ep.yaml >>> index 88386a6d7011..6b62f6f58efe 100644 >>> --- a/Documentation/devicetree/bindings/pci/rockchip,rk3399-pcie-ep.yaml >>> +++ b/Documentation/devicetree/bindings/pci/rockchip,rk3399-pcie-ep.yaml >>> @@ -47,7 +47,7 @@ examples: >>> >>> pcie-ep@f8000000 { >>> compatible = "rockchip,rk3399-pcie-ep"; >>> - reg = <0x0 0xfd000000 0x0 0x1000000>, <0x0 0x80000000 0x0 0x20000>; >>> + reg = <0x0 0xfd000000 0x0 0x1000000>, <0x0 0xfa000000 0x0 0x2000000>; >>> reg-names = "apb-base", "mem-base"; >>> clocks = <&cru ACLK_PCIE>, <&cru ACLK_PERF_PCIE>, >>> <&cru PCLK_PCIE>, <&cru SCLK_PCIE_PM>; >>> @@ -63,6 +63,8 @@ examples: >>> phys = <&pcie_phy 0>, <&pcie_phy 1>, <&pcie_phy 2>, <&pcie_phy 3>; >>> phy-names = "pcie-phy-0", "pcie-phy-1", "pcie-phy-2", "pcie-phy-3"; >>> rockchip,max-outbound-regions = <16>; >>> + pinctrl-names = "default"; >>> + pinctrl-0 = <&pcie_clkreqnb_cpm>; >> >> This is just example of the binding, you do not need to fill all >> unrelated (generic) properties like pinctrl. > > Should I merge it as-is ? Yeah, go ahead. That was the note for the future that generic properties are not always needed or even helpful in the example. Best regards, Krzysztof