Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1287564pxm; Sat, 26 Feb 2022 10:41:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJwHhXLCTE9+c8hJ+yVcf+tbGE3YIskndSrn7BGy/ZwSIP+S8iRfSSnwGwXRAdJvr8kh4y6q X-Received: by 2002:a05:6402:26cb:b0:3fa:3817:1f78 with SMTP id x11-20020a05640226cb00b003fa38171f78mr12378401edd.219.1645900888956; Sat, 26 Feb 2022 10:41:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645900888; cv=none; d=google.com; s=arc-20160816; b=hFn2IilMTcpfypMwUf20equZZE3oWSCFUWhiajbyP1drTnuie0YYzJ2nBLvztUeY8g ZYDTtLFdz+OVP6ObcW5TzrriIJlR8xuzj+aYQYx0BVvjnY+aARTib1qGzPiVkbXz32We JgFwb/Suj8rLk6eDMD8GFwhTlgmidqvn2Wun3RoX+7nBdsX34P3ZhPgJWkgQSREYEhB4 nreRYZPrFs0KySQNqeGk0gs6/+Kpp0e40vnnxQR23x4zHhqOhcLc1ThVwYhXxrbUds+z ZMPk9qO6DHq+EPLpizm997nXSsvPTOQniB4EPrTZFvDX/X7RIlzGWyH6ZKH+GThkKaMx fmyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=g1zpDtf0hTl+rRyS7O71wRgV9Ie3ZLGQYOKW7l+LJiY=; b=siTZEg7BrS7/oe/yUvHsi4D6kMm2sJ2y1/83RY+YVWXA6i16vFEfUFwj9m7ecxoiK6 nkYDnfl2qsnrOatvrEM75mBb6zlfrUBv/ZGUVO3G6KIjWOO8V7XQEyFMeUJZCfkeoAFj oCN2VFs6istWqvKEodCfAIJTfqqLA2uVRpweNjRZKqimrkFcHmRaPsRus+eaD5vBHcM9 D1zdPYN8s5dm53tEQ+mMSEZpJCrEoWS/nFCqh43NangMe4lFkDKwu7YzJyF+zLlrUl5B X+zYBDY6Gn6VpHz4FiPGAdzQFhsePd3jL/+Ao729MDdLG5b+i6Rm0QF75OF8xHu2+qZG V6/Q== ARC-Authentication-Results: i=1; mx.google.com; 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 h10-20020a170906828a00b006d15042389dsi3820200ejx.776.2022.02.26.10.41.06; Sat, 26 Feb 2022 10:41:28 -0800 (PST) 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; 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 S232520AbiBZSJm (ORCPT + 99 others); Sat, 26 Feb 2022 13:09:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230391AbiBZSJl (ORCPT ); Sat, 26 Feb 2022 13:09:41 -0500 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC2493EB9D; Sat, 26 Feb 2022 10:09:04 -0800 (PST) Received: from ip5b412258.dynamic.kabel-deutschland.de ([91.65.34.88] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nO1Ux-0008U9-7Z; Sat, 26 Feb 2022 19:08:51 +0100 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: linux-rockchip@lists.infradead.org, Frank Wunderlich Cc: Frank Wunderlich , Rob Herring , Krzysztof Kozlowski , Peter Geis , Michael Riesch , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1] arm64: dts: rockchip: Add sata2 node to rk356x Date: Sat, 26 Feb 2022 19:08:50 +0100 Message-ID: <2815432.3mA4caTK8C@diego> In-Reply-To: <20220226135724.61516-1-linux@fw-web.de> References: <20220226135724.61516-1-linux@fw-web.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_NONE, T_SCC_BODY_TEXT_LINE,T_SPF_HELO_TEMPERROR 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 Hi Frank, Am Samstag, 26. Februar 2022, 14:57:24 CET schrieb Frank Wunderlich: > From: Frank Wunderlich > > RK356x supports up to 3 sata controllers which were compatible with the > existing snps,dwc-ahci binding. > > My board has only sata2 connected to combphy2 so only add this one. how far does the added node diverge from the vendor kernel? If it's pretty much similar between both, we can assume the other nodes should work pretty well as well and therefore should all of them at once and hope for the best? Thanks Heiko > Signed-off-by: Frank Wunderlich > --- > arch/arm64/boot/dts/rockchip/rk356x.dtsi | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/arch/arm64/boot/dts/rockchip/rk356x.dtsi b/arch/arm64/boot/dts/rockchip/rk356x.dtsi > index 7cdef800cb3c..7b6c8a0c8b84 100644 > --- a/arch/arm64/boot/dts/rockchip/rk356x.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk356x.dtsi > @@ -230,6 +230,21 @@ scmi_shmem: sram@0 { > }; > }; > > + sata2: sata@fc800000 { > + compatible = "snps,dwc-ahci"; > + reg = <0 0xfc800000 0 0x1000>; > + clocks = <&cru ACLK_SATA2>, <&cru CLK_SATA2_PMALIVE>, > + <&cru CLK_SATA2_RXOOB>; > + clock-names = "sata", "pmalive", "rxoob"; > + interrupts = ; > + interrupt-names = "hostc"; > + phys = <&combphy2 PHY_TYPE_SATA>; > + phy-names = "sata-phy"; > + ports-implemented = <0x1>; > + power-domains = <&power RK3568_PD_PIPE>; > + status = "disabled"; > + }; > + > gic: interrupt-controller@fd400000 { > compatible = "arm,gic-v3"; > reg = <0x0 0xfd400000 0 0x10000>, /* GICD */ >