From patchwork Sat Apr 6 10:43:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 13619767 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 1DB13C67861 for ; Sat, 6 Apr 2024 10:44:18 +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=RkdDzxotNAx9c/xHHmwTRog8YUB81xzbH0p+76Beu8U=; b=WtFzW1vHlzJoZG UGrMHtK0riylEhihFJTFjse0UvTtd3dOVwY+zOMeklGXyo0gPrm2KF/1tdXO1ZxCPXSVwqdb7/SMa G1tEeNApXNK8nyjjHKK1z3gazuKwQVgHjD6F1kLe4/8Kdk7oV4567XbI+E5S3RG8XTqVvmi82a5OZ ZNqPHrObdeYSFHEIZI8/+dgDVU7kZE08+nRCZkK3klWEW9mzpy176mFkWe5JFQWCziUEfFVrYLo4P 3lyrWhAk8IkoDnsmQF43H/JIJ/3Sb5Mxl/dzGHWuNVpCFUGfxKlL6RVK4ZGKlJYpQYq/5PS0rHv7i n+4lROUzKI3daE0qDtSA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rt3Wq-0000000A93a-39vx; Sat, 06 Apr 2024 10:44:08 +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 1rt3Wk-0000000A91r-2K6t for linux-arm-kernel@lists.infradead.org; Sat, 06 Apr 2024 10:44:03 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id ED12960AE2; Sat, 6 Apr 2024 10:44:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4AAAAC433C7; Sat, 6 Apr 2024 10:44:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712400241; bh=jE8EUhhV3ismuvxfBhAmiN6ZtxbNvZYl2Z6H1eFdV1Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fm79dVgpuZ6dO9+A4sO5rXn3oeb4KmTTFud83IwFB0t83Sxj5knIp1aZj5wJ5MCwk g5H7fpLHyjhX4r1HTDCNk1TFK3X3JBZWyUX5mh7TQQnH6V+pNU6XV459Z5g2gvDqOK 5vjzmY18FFj8HSTMTcwcBUVekccQ3cZ6xFNxm+PWN49OJm1Okhp9qroV1+ub7bRYTM PJcA0OVMf4Nyp5DhCnlXGqm/t6Q1mmo9qW7dFFtKxTfvXTFAnlEVNSMFqNtceFdD5M IJw1OQhUUbB0Gv7Q4MihIp/DYyxWV/uC/BKTg/2FkhdT2zvo3O4eCjxzt4IuqoE5qg FQQrst4esH99w== 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 v2 1/4] dt-bindings: clock: airoha: add EN7581 binding Date: Sat, 6 Apr 2024 12:43:41 +0200 Message-ID: <99734deb28889e685a764da94418f68b55ee3bdc.1712399981.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-20240406_034402_669193_66699672 X-CRM114-Status: UNSURE ( 7.16 ) 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 Reviewed-by: Krzysztof Kozlowski --- .../bindings/clock/airoha,en7523-scu.yaml | 31 +++++++++++++++++-- 1 file changed, 29 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..3f4266637733 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,30 @@ required: - reg - '#clock-cells' +allOf: + - if: + properties: + compatible: + const: airoha,en7523-scu + then: + properties: + reg: + items: + - description: scu base address + - description: misc scu base address + + - if: + properties: + compatible: + const: airoha,en7581-scu + then: + properties: + reg: + items: + - description: scu base address + - description: misc scu base address + - description: pb scu base address + additionalProperties: false examples: