Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3244363rwd; Mon, 22 May 2023 10:36:49 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4l/vSV/2sD6xBYFRpITJcPvBHx8cvW8uJ7IyUzn3PN0nvQkpmsYZIR7ahgHcuMwio8aNON X-Received: by 2002:a17:902:a3cf:b0:1ab:675:3e31 with SMTP id q15-20020a170902a3cf00b001ab06753e31mr10849612plb.37.1684777009479; Mon, 22 May 2023 10:36:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684777009; cv=none; d=google.com; s=arc-20160816; b=nbPpgA95PEOkmdcYbDz/2gNa6ONcbwscJ29LiD0sk9z39h5vI/J5Gl8z+hxhBvTLFH EJYLl16jU/laBC+cQaUoUqD5yLKGGGhAdHAW+Ufzn4NH8wm9wG4tyymyx9r6UVxmReG/ jSZ0/En9AVmasOH2pQHVZGSsuenm5VLqZECCeX3hdK7R+B5Di1DmtNb6Uv/vpI3GC1q+ sgL4ECxH+15yiqOnxF2+hZlkTu7fECESJnM6/rZFUczaHs3UNQ1ZqIaB21jYb2VY//TS J78HLSjYNAfVten0m9VeEZTFQMxZKQVUtT2T3KzLCJW/6C6QHAypv9+tWayAt6ADEC7t XnhA== 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 :dkim-signature; bh=+cHnOlHsbfxMznC/2ErXNiqFrJv8zdeYymod+GOxNN4=; b=LcqK8A4Iu7jE2cZrMRTeN/U5l+ipqvYXwga36Pb3sAV3KfLJPjA4k/KY8KETGGXjBk 95pFwF7mJu9JDOgY+wSCNsuRi6eFdIyYrs76FycJ+yk1M9SaqZIJYil+Dy0kGlA3oF6Q AO5RIG2T5ZvmKtC4LeKvGV7XS0t0ecet/wu7a+eYXJ6dU3WbkXiiVEi5Hc78rWBI/pVw rLZsDyD+UNbG3hw7QuRilI12RsFMY+C91Z0VDm8XLYtNVQ6B4SwzpFouyucdg/Z6CO6J CujC6x4GpyV+zLMFjEOYOlMP4cZRRywAuv45YtZrg3iYLMua9Sh/CJKZJMHvYvTCgeyB SCyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=buQ74jR5; 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 i4-20020a17090332c400b001acb38aa5a5si1838281plr.351.2023.05.22.10.36.25; Mon, 22 May 2023 10:36: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=@collabora.com header.s=mail header.b=buQ74jR5; 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 S233169AbjEVRei (ORCPT + 99 others); Mon, 22 May 2023 13:34:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232915AbjEVRee (ORCPT ); Mon, 22 May 2023 13:34:34 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53F11100; Mon, 22 May 2023 10:34:33 -0700 (PDT) Received: from jupiter.universe (dyndsl-091-248-208-162.ewe-ip-backbone.de [91.248.208.162]) (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 2D67E6606E69; Mon, 22 May 2023 18:34:31 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1684776871; bh=+glCV8Ppsmj02ojEvctTLkB95+84CeD8o7UpyPzMpZw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=buQ74jR50Xcc078VNGALUSjE8Gw1t+fRfNqk/WS5gLq/6jxmLRcE9jIFwxZaSbaoB 4izemo4LJVVw55481x+MsP/lWbPLhBmfkAvKMbY/d8k0a3QXxwPocChBoa4ImS/EyM vpoAQo667LDW33XF5xnovwDQuJI0Yz6aYnwQXqaI89a8kim+8KxheE3iSpYjww+Gd0 q7TG7smhZrhPKZWSLIFMX+jlTQy7fy3g9kq1jhg+sWrhaDxVMty0luLer2mLQYloPm JtqsHrY10zLxAWE8t3wY9njfC4Monks1mGOrtSDF1/c9nLHLfigTF/RT0h7lPU57OV Y8yO7jmy5SyGw== Received: by jupiter.universe (Postfix, from userid 1000) id 8DF3B4807E2; Mon, 22 May 2023 19:34:29 +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 v2 3/6] dt-bindings: ata: ahci: dwc: enforce rockchip clocks Date: Mon, 22 May 2023 19:34:20 +0200 Message-Id: <20230522173423.64691-4-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230522173423.64691-1-sebastian.reichel@collabora.com> References: <20230522173423.64691-1-sebastian.reichel@collabora.com> 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 Provide a specific list of clocks allowed for RK3568 and RK3588 based DWC AHCI controllers. Signed-off-by: Sebastian Reichel --- .../bindings/ata/snps,dwc-ahci.yaml | 34 +++++++++++++++++-- 1 file changed, 31 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/ata/snps,dwc-ahci.yaml b/Documentation/devicetree/bindings/ata/snps,dwc-ahci.yaml index c6a0d6c8b62c..37830185b9b5 100644 --- a/Documentation/devicetree/bindings/ata/snps,dwc-ahci.yaml +++ b/Documentation/devicetree/bindings/ata/snps,dwc-ahci.yaml @@ -13,9 +13,6 @@ description: This document defines device tree bindings for the generic Synopsys DWC implementation of the AHCI SATA controller. -allOf: - - $ref: snps,dwc-ahci-common.yaml# - properties: compatible: oneOf: @@ -41,6 +38,37 @@ required: - reg - interrupts +allOf: + - $ref: snps,dwc-ahci-common.yaml# + - if: + properties: + compatible: + contains: + enum: + - rockchip,rk3588-dwc-ahci + then: + properties: + clock-names: + items: + - const: sata + - const: pmalive + - const: rxoob + - const: ref + - const: asic + - if: + properties: + compatible: + contains: + enum: + - rockchip,rk3568-dwc-ahci + then: + properties: + clock-names: + items: + - const: sata + - const: pmalive + - const: rxoob + unevaluatedProperties: false examples: -- 2.39.2