Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp102080rwd; Mon, 12 Jun 2023 10:37:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7sJx8FztqNM2VlN5mTKY0rcwEKfucpY1mcLGfU44k9Ywvw1nid7vk1LyozvYuWxyxYuMTp X-Received: by 2002:a17:903:2350:b0:1a1:b3bb:cd5b with SMTP id c16-20020a170903235000b001a1b3bbcd5bmr8638607plh.62.1686591472835; Mon, 12 Jun 2023 10:37:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686591472; cv=none; d=google.com; s=arc-20160816; b=aiITe453e4EOTrLGy2WdAEm4lxHVD5J5puV/UdmwbAVU0Lt6pL+RLsA7kS+yd5s4xq mIuH3Re9e5/ktipNdbTUdLGdd9OgEvHS8EfUkOpumVpS8w6Z6949H6jg6+bUL6U/LNAO ZzxAZToZgo0UzLFcrvEMcISyV/ltkwk4mmNMAmUU3+8/it+7hkT2TxQbu+UGj4t+PCqL plkTPTy4ojiwwDnvLbXLffRrUDJus6TVhgvIBN046ayfzr1bDXubK60eT6uPx02UAMGz r24CfszcKnatFqQYdF2moQ0WeXdaCbkb1s8OQ2vRSmN6eHE4p64K5JqV9L3e5LN1PSmS iylw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=unuMpmVZXFoxfQlby55EkUiNUoONYnUmOMZ+AskPktg=; b=G8fd0NZGRBqO0o4PMtbcYJyYTWigLV35i+Ms1DO0GHpcir//37iKpFvTznmfzjquyh SN5xV1fBFebGWBWFVNy//2D+2KbgXoFAcHArUliqZipdRNGpOh29UDUN865Nb/yRM0Ip SxE2C07vARjSPrH8wy/7Tn1z51itgP2kZr0AshSEmFwFTXz4Q2l9vj7+athV5ack3HaB XIEa+cv73lNl0c86bvVUU/Jl/VxSBmGx8ZvbATi8DlQc4E06Cm80U5oIbVIXUeiNzuxD 4r/ZSbPRAMXryXxDdAmUENn5xEJ3KvZZDthiUncDGTfL148+LExpKHeEoSOTKLGteImT BVng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=NKDg3R0a; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f15-20020a170902ce8f00b001afe7ef68b6si3536913plg.452.2023.06.12.10.37.31; Mon, 12 Jun 2023 10:37:52 -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=@collabora.com header.s=mail header.b=NKDg3R0a; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237397AbjFLRNz (ORCPT + 99 others); Mon, 12 Jun 2023 13:13:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233336AbjFLRNo (ORCPT ); Mon, 12 Jun 2023 13:13:44 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 034D710DA; Mon, 12 Jun 2023 10:13:42 -0700 (PDT) Received: from jupiter.universe (dyndsl-091-248-210-131.ewe-ip-backbone.de [91.248.210.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id 0FFA76606ECF; Mon, 12 Jun 2023 18:13:41 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1686590021; bh=Bf6eekQkfS+tNXR2hhMUzuVzPovEGfpI2wuTSi/+qNc=; h=From:To:Cc:Subject:Date:From; b=NKDg3R0ad4nTEofp9OPAxRwYSdVaJxwT44lcjFXKI4d7Xi+5x+bUQeGodtmYcg7lZ CihWkGiV4YQGWK0XibuOsYBhPhKvBq5n2q++XkW34XRUU7hjedZvPWK45C6asQeytv 7HIznFxvsgFI2iSPYWq2Og73UhKwcKR99m82VmfFF9xtDaK7ErRHrShNnGe3Dv/OLq BxYQbL67gBRVTOiG6Ts2iXwQgF5eUKvIU8/JItn9ZnimR5FsMTOqmWhysOgYFujqvh Erp6KzRT109vU4ITvW+boUVxDRrWiJ9BODaLFbxN2cl7ZFC/CkhdyMdhf/3wftK5xL wqxHgQwAIUznw== Received: by jupiter.universe (Postfix, from userid 1000) id A23304805CC; Mon, 12 Jun 2023 19:13:38 +0200 (CEST) From: Sebastian Reichel To: Heiko Stuebner Cc: Rob Herring , Krzysztof Kozlowski , Damien Le Moal , Serge Semin , Vinod Koul , Kishon Vijay Abraham I , linux-ide@vger.kernel.org, linux-phy@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Reichel , kernel@collabora.com Subject: [PATCH v4 0/5] Add RK3588 SATA support Date: Mon, 12 Jun 2023 19:13:32 +0200 Message-Id: <20230612171337.74576-1-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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, This enables SATA support for RK3588. Changes since PATCHv3: * https://lore.kernel.org/all/20230608162238.50078-1-sebastian.reichel@collabora.com/ * Add Reviewed-by from Serge and Krzysztof to patch 1 * Update patch 2 - Add maxItems to 'clocks' property; without specifying minItems it's implied to be the same - Keep allOf above the properties in snps,dwc-ahci.yaml - Add 'sata-port@0' to list of allowed properties - Replace sata-port pattern property, so that it disallows using any sata-port nodes besides @0 to override the pattern property from the common binding * Add Reviewed-by from Krzysztof to patch 3 Changes since PATCHv2: * https://lore.kernel.org/all/20230522173423.64691-1-sebastian.reichel@collabora.com/ * Drop patch 1 (applied by Heiko) * Update SATA DT binding to split Rockchip into its own file * Enforce correct resets numbers for the rk3568/rk3588 combo PHY Changes since PATCHv1: * https://lore.kernel.org/all/20230413182345.92557-1-sebastian.reichel@collabora.com/ * Rebase to v6.4-rc1 * Collect Acked-by for syscon DT binding update * Use ASIC clock description suggested by Serge Semin * Also add RBC clock (not used by RK3588) * Add extra patch narrowing down the allowed clocks for RK356x and RK3588 -- Sebastian Sebastian Reichel (5): dt-bindings: ata: dwc-ahci: add PHY clocks dt-bindings: ata: dwc-ahci: add Rockchip RK3588 dt-bindings: phy: rockchip: rk3588 has two reset lines arm64: dts: rockchip: rk3588: add combo PHYs arm64: dts: rockchip: rk3588: add SATA support .../bindings/ata/rockchip,dwc-ahci.yaml | 124 ++++++++++++++++++ .../bindings/ata/snps,dwc-ahci-common.yaml | 8 +- .../bindings/ata/snps,dwc-ahci.yaml | 13 +- .../phy/phy-rockchip-naneng-combphy.yaml | 34 ++++- arch/arm64/boot/dts/rockchip/rk3588.dtsi | 44 +++++++ arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 90 +++++++++++++ 6 files changed, 306 insertions(+), 7 deletions(-) create mode 100644 Documentation/devicetree/bindings/ata/rockchip,dwc-ahci.yaml -- 2.39.2