From patchwork Wed Apr 3 16:20:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 13616459 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 08B98CD1296 for ; Wed, 3 Apr 2024 16:21:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ZQY7y2vtqo+9v/I4HEkGUBcp0HnisVvgJ05I8wRDdKE=; b=bNk5RfVFbJcaNq ns62tIXbJNru0NC/ZpCKZ3/TzPDQiHJcIBRtrkYpih7xs3pKtqLLr0oKu1gIN3++l2qWakIyeeuYd sSvJRuRR7gg3cBGzPcvYlnj2uohKy9ik5IElmfZEr6yhKk5lnZWydJujMeTk/B0G1hvhvC6zacszq ZkA70PtdHIp5qz8WKP90CL6cdwFEAzEez8w1by9N8/4e8ZfcNt3JhneKL3fYhSDwrjF0RkRC+7u/j 1u1zWxxcvsbKLcvRPeY4iPl32f0uDAIdIu4ixXZOJbHRR9ivER9gF5RAIcqgO0DGqZf6Tc24EIKh/ khCZardiRz3aEzcaYx/g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs3MY-0000000GwCK-2Gzq; Wed, 03 Apr 2024 16:21:22 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs3MT-0000000GwAi-3gzH for linux-arm-kernel@lists.infradead.org; Wed, 03 Apr 2024 16:21:19 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 4086A6149F; Wed, 3 Apr 2024 16:21:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 88E48C433F1; Wed, 3 Apr 2024 16:21:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712161276; bh=ApYku/UQWHP6QcJ1ZCGRDlt+UdyUoz7YXy/dLNfRNUE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AKzAGxh1Ouatt2vFZ0eNRCrEtRJ7z44vZ1M0+SKF4HMZMQKl9QbRlQ0Pu9oOpinKU cN8/Tkup1puf8bhqPnxPGDUv/w/S6muTy4bPKGhCe10i3FDPxOVEUj+6GRibFzcqLX bqCzft92Nbprx0DP4A9YHXzb1aulN0mRy9djhOYQdX+XVEy2t4XJslr4maE4mUlOGh Vbvq2t9fM52JmOuDAlyYhcptbjYMiWZVlK6x17x/TAr7cxZhNItbunNMNaBDvURR3J 2YXEmRzvgbIYRNI5fU0no7ULmoFx+p0ILBbYJXtAoGqatbpMm1MRDxWYPvlpYjWO54 Xi8BoUKVA2c+A== From: Lorenzo Bianconi To: linux-clk@vger.kernel.org Cc: mturquette@baylibre.com, sboyd@kernel.org, linux-arm-kernel@lists.infradead.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, nbd@nbd.name, john@phrozen.org, devicetree@vger.kernel.org, dd@embedd.com, catalin.marinas@arm.com, will@kernel.org, upstream@airoha.com, lorenzo.bianconi83@gmail.com, angelogioacchino.delregno@collabora.com Subject: [PATCH 1/4] dt-bindings: clock: airoha: add EN7581 binding Date: Wed, 3 Apr 2024 18:20:42 +0200 Message-ID: <1988a4460ed327bea7841f6a0f3a756dd7cec4bb.1712160869.git.lorenzo@kernel.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240403_092117_988211_DBF9B383 X-CRM114-Status: UNSURE ( 7.82 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Introduce Airoha EN7581 entry in Airoha EN7523 clock binding Signed-off-by: Lorenzo Bianconi --- .../bindings/clock/airoha,en7523-scu.yaml | 26 +++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml b/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml index 79b0752faa91..cf893d4c74cd 100644 --- a/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml +++ b/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml @@ -29,10 +29,13 @@ description: | properties: compatible: items: - - const: airoha,en7523-scu + - enum: + - airoha,en7523-scu + - airoha,en7581-scu reg: - maxItems: 2 + minItems: 2 + maxItems: 3 "#clock-cells": description: @@ -45,6 +48,25 @@ required: - reg - '#clock-cells' +allOf: + - if: + properties: + compatible: + const: airoha,en7523-scu + then: + properties: + reg: + maxItems: 2 + + - if: + properties: + compatible: + const: airoha,en7581-scu + then: + properties: + reg: + maxItems: 3 + additionalProperties: false examples: