Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1246374lqj; Mon, 3 Jun 2024 15:16:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXr7qTxEhcWrlN25fYf5KQkokLNup4aNN+SXYPMLPfPxv5Q9f3yFEgjEMh4wKfBRzchjxtGrraKwvu/bTcv4n1LVEFPWYz+2M4jq8B9ZQ== X-Google-Smtp-Source: AGHT+IETLrjhiPogGw9ZRR89K+JqHs5mvfjRNXubsza+GF2xnZHGY7kIV/XUgw7nPTaZHJDuKd+l X-Received: by 2002:a17:902:fb47:b0:1f3:2f8c:8f7b with SMTP id d9443c01a7336-1f636ff6f2bmr89378695ad.15.1717452975585; Mon, 03 Jun 2024 15:16:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717452975; cv=pass; d=google.com; s=arc-20160816; b=gbnBsVs49n7OLaSiKzVyqqFvPf+bK/XtJcyqq612+mQQ0xcSRoGbPPLGou5fhIGtlg q0a1nMTuLo9qHiApFiCo6ycWNj/+LdRD8okqo+ZlGYNM1JfHREgL7JuQ/HbtsZ6KSbG+ C3JJ/Qzm8kijzNr4tm8rAFe+SxZGK5i5RHaEP+dpRXHFmlYcfsuSTOmW1TvqeK6JFVhg paKyNSHgwN459BIYBoAddLSZyzDs7psGs0Wn8NauTtL8ZLqQvZemKTg1YRRKb0DpvW/2 AYmr9IW4+j1fZYHVXnZpX2rDRw+7sUEuAoHriX8HKUsR58ahfpDlPtq1pDa6oJRUZkY5 sVVg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:date:to:cc:from:subject:references:in-reply-to :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:dkim-signature; bh=intyamOp8ve3vpIBggE25x7bWOuAdpbHKHang5nbdCg=; fh=29fAtjy3d9q+ttmTblWbp4JolbcfzpHYS3Kj3FZF9A0=; b=s2gOi8KsczVb9l8at2PxQRWPsC+F8vKu8tZKUQMU0Kd4m2UV72mEOOISUbOr+SZRyf zvafIxSrk58O6ezdonCdentODTPuFbeISV6Yu2rbZ5myQWMun3fFge9FVVecw98+NqIL Ub/ruqvEf57xqlu+y8sk8dgJiP3fcFW1FUihcJ7zaYiZ+lgVArUn3fHKhz8i+h5tfn+/ eIPQzX61AsgExVf7yuaQVgJX6/ptEi70FbKhva8asUymJIgCJmHSIeuHabe9nqOXZor2 126+Fa3pMl19EzSa0CvbQkOQqzZHl4ICQ3VYS18djU3ZpSQW9nE1NGRd6bgyzZhK7ZdX F07Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tbRzgWfi; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-199752-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199752-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d9443c01a7336-1f63242522esi2869935ad.641.2024.06.03.15.16.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 15:16:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199752-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tbRzgWfi; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-199752-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199752-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 9B1D9B23F58 for ; Mon, 3 Jun 2024 22:02:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 03F8D13CA80; Mon, 3 Jun 2024 22:02:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tbRzgWfi" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1FE0113C91F; Mon, 3 Jun 2024 22:02:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717452124; cv=none; b=Bu+ZgwHxxbiVTdWNgdK1YkLS7ornT+DeL+Ifoq3Jik04SDRLBAatKN8UJqaM3ekf8yfG0JZrh8wWsDEcpbNcueeLRpPG17I+wasB+lrN8an6ljje9DLLTvhXSJBaTRsUiAeP058LYFUHW/dFQBjUYhv/d5VZD1yukP4FSlTWsdA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717452124; c=relaxed/simple; bh=djC34ORqw2xb3Cf7QYPDabOUVU/AAmQubNKuizP0gBg=; h=Message-ID:Content-Type:MIME-Version:In-Reply-To:References: Subject:From:Cc:To:Date; b=MME8c1aDgZzKR2dIU1T57v79dehSE+yCQCAKIPQpesZb/JB/Y1Nw9E24Y6NZGVB4yYouts4rz9Bc8EG5mmEDFV6xX/mmYTTkgRmhhKMLvfiZ5naIA3AXRORPvmMrYSPBi4E5OeMCX4gjqR6geNMj7uHcka5WlWWcELEY3mpZYRM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tbRzgWfi; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 867CAC2BD10; Mon, 3 Jun 2024 22:02:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717452123; bh=djC34ORqw2xb3Cf7QYPDabOUVU/AAmQubNKuizP0gBg=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=tbRzgWfixxLCCAnv86IJhJm3P/kq8T5W9Nv/ov0UFl8E8KFqBurN17GHgyofXsMrD pgEPlwTODDI97U0KPzHTUvLA7ro/O/NMFPJrBkuEgEaok154AUrdZQMLkqhmgBH04b F2nARv+gmHL8NxRGcT+bgM6wnJIvk45H8jqzl7soKWoFCwPpiwJIlR2OQ73F7cwkLG /rVtdIACiJNv8VJjbNht4RoaTqve4DGL4AapG1+dsnMuOJaIIAAxFwdDVJhgSRuhKl nduLa666srYuD7qNk06xHNEAfGKdiRszER/GhC/naKhAWhdng7C+rirXbplWGnD9E+ APXqfKXj/LK8A== Message-ID: Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20240422232404.213174-7-sboyd@kernel.org> References: <20240422232404.213174-1-sboyd@kernel.org> <20240422232404.213174-7-sboyd@kernel.org> Subject: Re: [PATCH v4 06/10] dt-bindings: kunit: Add fixed rate clk consumer test From: Stephen Boyd Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, patches@lists.linux.dev, kunit-dev@googlegroups.com, linux-kselftest@vger.kernel.org, devicetree@vger.kernel.org, Brendan Higgins , David Gow , Rae Moar , Greg Kroah-Hartman , Rafael J . Wysocki , Rob Herring , Saravana Kannan , Daniel Latypov , Christian Marangi , Krzysztof Kozlowski , Conor Dooley , Maxime Ripard To: Michael Turquette , Stephen Boyd Date: Mon, 03 Jun 2024 15:02:01 -0700 User-Agent: alot/0.10 Quoting Stephen Boyd (2024-04-22 16:23:59) > diff --git a/Documentation/devicetree/bindings/test/test,clk-fixed-rate.y= aml b/Documentation/devicetree/bindings/test/test,clk-fixed-rate.yaml > new file mode 100644 > index 000000000000..b9f58cba944c > --- /dev/null > +++ b/Documentation/devicetree/bindings/test/test,clk-fixed-rate.yaml > @@ -0,0 +1,35 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/test/test,clk-fixed-rate.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: KUnit clk fixed rate test clk consumer Removed KUnit from the title. > + > +maintainers: > + - Stephen Boyd > + > +description: > + A clk consumer of a fixed rate clk used to test the fixed rate clk > + implementation. > + > +properties: > + compatible: > + const: test,clk-fixed-rate None of this is really fixed rate clk specific. I'm going to rename this to "test,single-clk-consumer" so that it can be used anywhere we want to consume a single clock cell. Someone can introduce a double/multiple binding as needed. > + > + clocks: > + maxItems: 1 > + > +required: > + - compatible > + - clocks > + > +additionalProperties: false > + > +examples: > + - | > + clock-consumer { > + compatible =3D "test,clk-fixed-rate"; > + clocks =3D <&fixed_clk>; > + }; > +...