From patchwork Sun Aug 18 17:28:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13767554 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 03966C52D7C for ; Sun, 18 Aug 2024 17:31:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=PMnjAah/UWroMhE148PgxhjcZt84A7eF0pUsqexp/xQ=; b=nt+RowZBTZ3AVOuymvpvJRLEyW /stCyBq6E/uJdKfQyRE+z/m8xOQB6tcrE2PYfEfjaSPdctKrvTdiiQmjJWMUsdvM6TVDQuB+83Y7S Zhq6fEwUT2e7R8QzsykunwzCpyzu+1jxRtQsYfNkXsKDQoWR2zab6neh5KPdtfT3CbopZ9EGfP/Yw WkpwmQMxfkegyhDqg42wRhrbUfePfrr+zmpYMmRQhAao4++zlP+xgUQCs1diMLff0P5OW988sTRKD N+aRH/2+nZloT8NxY/EtopAFPbwIVqLBGTieO4yxKkIQ7LED4ydZqIpmXzRBnicH44tkxwikdXALK LrMR+m5A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sfjjx-0000000GtKQ-2hII; Sun, 18 Aug 2024 17:30:53 +0000 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sfjhp-0000000GsWz-0aEv for linux-arm-kernel@lists.infradead.org; Sun, 18 Aug 2024 17:28:42 +0000 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-428119da952so28002595e9.0 for ; Sun, 18 Aug 2024 10:28:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1724002119; x=1724606919; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=PMnjAah/UWroMhE148PgxhjcZt84A7eF0pUsqexp/xQ=; b=USLXKAZEKxgH2O/ARrXcFA7flheLLUyzFcZqO3N7AI3K8FnVPYUeo9tWoDFHfTjUCK 3xjULB2+glgYmREJ7sTR2eIDDl0GUrsoIDemBPsiBQnS8lXvJjcLT6bohJ1heB/3pxIr AelPtpQqJGzMzJW2W3f/ICG1GUEBeZj8QpMCdQ3DePKm3QNwdvU/bY30neVdeF3qGzn4 VjuRxSK+gBdnH1mG1LV/HhwxbF3ARLuMSA0FrstpNmZ//F0R6smJgvxTyet4oLHcmKJ3 1VGS8PudGCtRz0GQWaOr70OwPMwoKNxLiA+mfw4MUYT7yFzrzFndVjcsHDh0H9f8oJ99 WoKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724002119; x=1724606919; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=PMnjAah/UWroMhE148PgxhjcZt84A7eF0pUsqexp/xQ=; b=SSR0n111+GG+kLCtt63y+Fy49pEeqmCFt0NML8CoqzWNOgqWDs8J6MTsz+CbhPCu5c AFB/yqoAiMtQGnjQ2snhQFlONM2+orJzsfE24qTJdOpZPjMCGmp0YbpcS1RMezJL04QM K4+3+X+o+D1mmpgP4fdxb4BiH3dCP/e/aOvxJQbRjnfRcrLLWQAFOBq+NsxbR8thce04 eiNYKqULmCoIWG8sVQXNTvjSC/+PyZ9YSWifFGnCGrMqQOU/abE3kcnGKkct0mJ76ZBH hozeh2rVfxy+tq1OwOwqFNtMEMXAQEGiUhboIv1dInwyjLJo5gS8CjU8eu8Dt8xJEppZ M3AA== X-Forwarded-Encrypted: i=1; AJvYcCW7w0v76ilhH0fsjG1s4hJZjN61kuopBztKGXkq4MuNHk+l7OX9uyWAeJiRaSS+Ap/kxUA0ovlBLHObRlpR9rJF@lists.infradead.org X-Gm-Message-State: AOJu0YzjIWKpin90DBeLOxnAuqO0hvzs1MBrNHoAtlIBmh9FshGnjctk zXn9sHtIFMf3Vq9xRJOTWkatN2Kj9Qi5n4QLVTmnui3Vj9ZpV/zrvS4hX7UL4T4= X-Google-Smtp-Source: AGHT+IHKIKkAiJcdyepoCL+1/HhHa4+A1IIkB0xWHjT0oRr8pb2bKGRlOXa3/rVSag8EpoJHu5jWLw== X-Received: by 2002:adf:b347:0:b0:368:3b21:6643 with SMTP id ffacd0b85a97d-371946a1372mr5523675f8f.48.1724002119278; Sun, 18 Aug 2024 10:28:39 -0700 (PDT) Received: from krzk-bin.. ([178.197.215.209]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-371898498casm8461112f8f.42.2024.08.18.10.28.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Aug 2024 10:28:38 -0700 (PDT) From: Krzysztof Kozlowski To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kunihiko Hayashi , Masami Hiramatsu , linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] dt-bindings: phy: socionext,uniphier: add top-level constraints Date: Sun, 18 Aug 2024 19:28:35 +0200 Message-ID: <20240818172835.121757-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240818_102841_199683_54AF4A49 X-CRM114-Status: GOOD ( 10.22 ) 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 Properties with variable number of items per each device are expected to have widest constraints in top-level "properties:" block and further customized (narrowed) in "if:then:". Add missing top-level constraints for clock-names and reset-names. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring (Arm) Reviewed-by: Kunihiko Hayashi --- .../bindings/phy/socionext,uniphier-ahci-phy.yaml | 8 ++++++-- .../bindings/phy/socionext,uniphier-pcie-phy.yaml | 8 ++++++-- .../bindings/phy/socionext,uniphier-usb3hs-phy.yaml | 7 +++++-- .../bindings/phy/socionext,uniphier-usb3ss-phy.yaml | 7 +++++-- 4 files changed, 22 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/socionext,uniphier-ahci-phy.yaml b/Documentation/devicetree/bindings/phy/socionext,uniphier-ahci-phy.yaml index de3cffc850bc..e34b875a1bb8 100644 --- a/Documentation/devicetree/bindings/phy/socionext,uniphier-ahci-phy.yaml +++ b/Documentation/devicetree/bindings/phy/socionext,uniphier-ahci-phy.yaml @@ -30,13 +30,17 @@ properties: minItems: 1 maxItems: 2 - clock-names: true + clock-names: + minItems: 1 + maxItems: 6 resets: minItems: 2 maxItems: 6 - reset-names: true + reset-names: + minItems: 2 + maxItems: 6 allOf: - if: diff --git a/Documentation/devicetree/bindings/phy/socionext,uniphier-pcie-phy.yaml b/Documentation/devicetree/bindings/phy/socionext,uniphier-pcie-phy.yaml index b3ed2f74a414..9fc0e87c508e 100644 --- a/Documentation/devicetree/bindings/phy/socionext,uniphier-pcie-phy.yaml +++ b/Documentation/devicetree/bindings/phy/socionext,uniphier-pcie-phy.yaml @@ -31,13 +31,17 @@ properties: minItems: 1 maxItems: 2 - clock-names: true + clock-names: + minItems: 1 + maxItems: 2 resets: minItems: 1 maxItems: 2 - reset-names: true + reset-names: + minItems: 1 + maxItems: 2 socionext,syscon: $ref: /schemas/types.yaml#/definitions/phandle diff --git a/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3hs-phy.yaml b/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3hs-phy.yaml index 2107d98ace15..25c4159f86e4 100644 --- a/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3hs-phy.yaml +++ b/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3hs-phy.yaml @@ -34,12 +34,15 @@ properties: minItems: 2 maxItems: 3 - clock-names: true + clock-names: + minItems: 2 + maxItems: 3 resets: maxItems: 2 - reset-names: true + reset-names: + maxItems: 2 vbus-supply: description: A phandle to the regulator for USB VBUS diff --git a/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3ss-phy.yaml b/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3ss-phy.yaml index 8f5aa6238bf3..1f663e9901da 100644 --- a/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3ss-phy.yaml +++ b/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3ss-phy.yaml @@ -35,12 +35,15 @@ properties: minItems: 2 maxItems: 3 - clock-names: true + clock-names: + minItems: 2 + maxItems: 3 resets: maxItems: 2 - reset-names: true + reset-names: + maxItems: 2 vbus-supply: description: A phandle to the regulator for USB VBUS, only for USB host